basic example

Hi I am completely new in CESM software. I am looking to run the basic example. http://www.cesm.ucar.edu/models/cesm1.2/cesm/doc/usersguide/c1850.html#use_case_basicIn the beginning I faced a problem which is described in image #1 (attached). The error is :
/glade/apps/opt/lmod/lmod/init/csh: No such file or directory.
> > ERROR:
> > /fusion/gpfs/home/darwish/cesm/EXAMPLE_CASE/preview_namelists
> > failed: 256After that they advise me to follow the instructions in the following link (Use create_newcase with a userdefined machine name):http://www.cesm.ucar.edu/models/cesm1.2/cesm/doc/usersguide/x1730.htmlBut I get another problem while I am applying these steps . I don’t know what I have to change exactly in env_mach_specific and Macros and when I did the build command I got the errors that appeared in image #2 (attached ).The errors guide me to check the build log file (attached). The build log file has the following error:
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directoryPlease, have a look on the attached images and the build log file and advice what I have to do exactly. 
 

jedwards

CSEG and Liaisons
Staff member
Hi Omar,
As a new user I would suggest that you try running on a CESM supported machine such as mira, another machine available at ANL.   If you cannot do that and really need to port tofusion I would suggest that you contact the ALCF staff for help in porting CESM to fusion.     
 
Hello, I'm a new in CESM too. Now I was facing the same error when setting up the basic example."/glade/apps/opt/lmod/lmod/init/csh: No such file or directory."I tried other maches as Yellowstone, Mira and sierra. They all have error when I run "./cesm_setup"Yellowstone: /glade/apps/opt/lmod/lmod/init/csh: No such file or directory.Mira: /etc/profile.d/00softenv.csh: No such file or directory.Sierra: /usr/global/tools/dotkit/init.csh: No such file or directory.How can I resolve any of the three error?
 

jedwards

CSEG and Liaisons
Staff member
Yellowstone: ls -l /glade/apps/opt/lmod/lmod/init/csh -rwxr-xr-x 1 csgteam csgteam 886 Mar 13  2014 /glade/apps/opt/lmod/lmod/init/csh
Mira:ls -l  /etc/profile.d/00softenv.csh -rw-r--r-- 1 root root 1439 Jul 17  2012 /etc/profile.d/00softenv.cshI don't have access to Sierra.   



 
Sorry, I didn't understand what you mean.I could not find both the two files in my own computer. And I found few messages about how to install such files in local platform. Or if I made any errors when setting up the support modules, such as Netcdf, pnetcdf, MPI, etc.?  
 

jedwards

CSEG and Liaisons
Staff member
You should run the basic example on a supported machine like yellowstone or mira - if you are unable to access a supported machine you need to follow the instructions in the porting section of the users guide.
 
I have not dealt with the problems yet. The two, " Yellowstone: /glade/apps/opt/lmod/lmod/init/csh" and "Mira: /etc/profile.d/00softenv.csh" ,  are local files or directory, right ? Do the errors mean that I'm not accessable to Yellowstone or Mira ? Where is the problem? How can I find any solutions to install these files ? Thanks!I'm now still working on how to run a newcase on my local computer.
 
Back
Top