[Nek5000-users] Download and running of nek5000

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Mar 26 10:41:41 CDT 2013


Hi Giacinto,

Google unix commands -- perhaps, the following will be helpful

http://doors.stanford.edu/~sr/computing/basic-unix.html


Also your can read the wiki to learn more about Nek

http://nek5000.mcs.anl.gov/index.php/UG

Best.
Aleks



----- Original Message -----
From: nek5000-users at lists.mcs.anl.gov
To: nek5000-users at lists.mcs.anl.gov
Sent: Tuesday, March 26, 2013 10:02:26 AM
Subject: Re: [Nek5000-users] Download and running of nek5000



Dear Paul , 
thanks for your kind reply and useful information . The terminal says : 


"Giacinto-Gencos-MacBook-Pro:~ giacintogenco$ ~/nek5_svn/trunk/tools 
-bash: /Users/giacintogenco/nek5_svn/trunk/tools: is a directory 
Giacinto-Gencos-MacBook-Pro:~ giacintogenco$ ./maketools 
-bash: ./maketools: No such file or directory 
Giacinto-Gencos-MacBook-Pro:~ giacintogenco$ " 


How can I create the directory ? Maybe it is easier than I think , but I am stuck here . Thank you for your precious help , 


Best Regards 


Giacinto Genco 







On Tue, Mar 26, 2013 at 8:43 AM, < nek5000-users at lists.mcs.anl.gov > wrote: 



Dear Giacinto, 

The maketools command should be issued from 

~/nek5_svn/trunk/tools 

where you would type: 

./maketools (since it appears that "." is not in your path) 

Similarly, makenek should be issued from (say) one of the 
examples directories. It is normal to copy the makenek 
script to the location where you will build and run the 
example, so that makenek and SIZE are in the same directory, 
along with the .usr, .rea files, etc. 

I hope this helps. 

Paul Fischer 




On Mon, 25 Mar 2013, nek5000-users at lists.mcs.anl. gov wrote: 



Dear sir , 
I am a new mac user . I am trying to download the Nek5000 software but my MacBook Pro is telling me "Checked out revision 906 " . Later when I try to implement the different commands needed for the initial build I have lots of comment like "command not found" or " *** No rule to make target " and so on . 

This is what I have from my terminal : 

"Last login: Mon Mar 25 12:47:38 on ttys000 
dhcp168:~ giacintogenco$ sudo svn co https://svn.mcs.anl.gov/repos/ nek5/ 
svn: OPTIONS of ' https://svn.mcs.anl.gov/ repos/nek5 ': Could not resolve hostname ` svn.mcs.anl.gov ': Host not found ( https://svn.mcs.anl.gov ) 
dhcp168:~ giacintogenco$ ~/nek5_svn/trunk/tools/ maketools clean 
make: *** No rule to make target `clean'. Stop. 
dhcp168:~ giacintogenco$ ~/nek5_svn/trunk/tools/ maketools all 
make: *** No targets specified and no makefile found. Stop. 
dhcp168:~ giacintogenco$ make -f <filename of makefile> 
-bash: syntax error near unexpected token `newline' 
dhcp168:~ giacintogenco$ svn co https://svn.mcs.anl.gov/repos/ nek5/ nek5_svn 
Checked out revision 906. 
dhcp168:~ giacintogenco$ ~/nek_svn/trunk/tools/ maketools 
-bash: /Users/giacintogenco/nek_svn/ trunk/tools/maketools: No such file or directory 
dhcp168:~ giacintogenco$ sudo svn co https://svn.mcs.anl.gov/repos/ nek5/ 
Password: 
Sorry, try again. 
Password: 
Checked out revision 906. 
dhcp168:~ giacintogenco$ nek5_svn/trunk/tools/maketools 
Usage: maketools [clean|all|tool(s)] 
dhcp168:~ giacintogenco$ nek5_svn/trunk/postnek/ makefile 
-bash: nek5_svn/trunk/postnek/ makefile: No such file or directory 
dhcp168:~ giacintogenco$ svn co https://svn.mcs.anl.gov/repos/ nek5/ nek5_svn 
Checked out revision 906. 
dhcp168:~ giacintogenco$ nek5_svn/trunk/postnek/ makefile 
-bash: nek5_svn/trunk/postnek/ makefile: No such file or directory 
dhcp168:~ giacintogenco$ nek5_svn/trunk/tools/maketools 
Usage: maketools [clean|all|tool(s)] 
dhcp168:~ giacintogenco$ maketools all 
-bash: maketools: command not found 
dhcp168:~ giacintogenco$ maketools clean 
-bash: maketools: command not found 
dhcp168:~ giacintogenco$ ~nek5_svn/trunk/nek/makenek 
-bash: ~nek5_svn/trunk/nek/makenek: No such file or directory 
dhcp168:~ giacintogenco$ ~/nek5_svn/trunk/nek/makenek 
makenek - automatic build tool for Nek5000 

usage: makenek [.usr filename | clean] < -nocompile > 

dhcp168:~ giacintogenco$ ~/nek5_svn/trunk/tools/ maketools clean 
make: *** No rule to make target `clean'. Stop. 
dhcp168:~ giacintogenco$ ~/nek5_svn/trunk/tools/ maketools all 
make: *** No targets specified and no makefile found. Stop. 
dhcp168:~ giacintogenco$ " 

What do you suggest me to do ? It seems that I have all the files I need ( X11 , Mac OS X Lion , etc ) but they are "disconnected " . Please if you have a number of instructions I should follow please send me . I will follow all th hints and the instructions you suggest me to do to run the NEK5000 . 

Thank you ! 

Best Regards 

Giacinto Genco 
______________________________ _________________ 
Nek5000-users mailing list 
Nek5000-users at lists.mcs.anl. gov 
https://lists.mcs.anl.gov/ mailman/listinfo/nek5000-users 

______________________________ _________________ 
Nek5000-users mailing list 
Nek5000-users at lists.mcs.anl. gov 
https://lists.mcs.anl.gov/ mailman/listinfo/nek5000-users 




-- 
Giacinto M. F. Genco 
Master of Science in Nuclear Engineering , Purdue University 
Master of Science in Aerospace Engineering , Purdue University 
Italian " Laurea " in Mechanical Engineering , Politecnico di Bari , Bari , Italy . 

_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


More information about the Nek5000-users mailing list