GEOS-5 Checkout and Build Instructions: Difference between revisions
Line 104: | Line 104: | ||
In what follows I will assume we are working on the NCCS computer '''discover'''. | In what follows I will assume we are working on the NCCS computer '''discover'''. | ||
Before we get going, let's make some light edits to your .cshrc file. First, near the top of your .cshrc file add the word: | |||
unlimit | |||
We're not sure what this means, but Arlindo says it is important. | |||
Next, let's setup an environment variable GEOSUTIL that points to the GEOS_Util directory in your model build. In my case, it looks something like: | |||
setenv GEOSUTIL /home/colarco/GEOSagcm/src/Shared/GEOS_Util | |||
The GEOS_Util stuff is needed by the post-processing scripts. | |||
Finally, let's make sure that your binaries from your compiled GEOS-5 code are in your path. Include the following line somewhere in your .cshrc file: | |||
setenv PATH .:/home/colarco/GEOSagcm/Linux/bin:$PATH | |||
where obviously you replace the particular path to my binaries (/home/colarco/GEOSagcm/Linux/bin) with your path. Note what this implies: it won't be a good idea to move or clean this directory while the model is running! | |||
=== Decide on Your Experiment ID and Setup the Associated Directories === | === Decide on Your Experiment ID and Setup the Associated Directories === | ||
Line 195: | Line 208: | ||
=== Run the Simulation === | === Run the Simulation === | ||
At this point we're ready to take a crack at running the model. Go into your experiment home directory (e.g., /home/colarco/geos5/dragnet). You can start the model job by issuing: | At this point we're ready to take a crack at running the model. Go into your experiment home directory (e.g., /home/colarco/geos5/dragnet). You can start the model job by issuing: | ||
% qsub gcm_run.j | % qsub gcm_run.j | ||
And check the progress by issuing: | And check the progress by issuing: | ||
% qstat | grep YOUR_USERNAME | % qstat | grep YOUR_USERNAME |