Running the GEOS-5 SBU Benchmark: Difference between revisions
Line 185: | Line 185: | ||
To run a test one-day run, go to the experiment directory: | To run a test one-day run, go to the experiment directory: | ||
<nowiki>$ cd /discover/nobackup/mathomp4/test-1day-expt | |||
total 96M | total 96M | ||
-rwxr-xr-x 1 mathomp4 g0620 96M Feb 13 11:11 GEOSgcm.x* | -rwxr-xr-x 1 mathomp4 g0620 96M Feb 13 11:11 GEOSgcm.x* | ||
Line 200: | Line 200: | ||
drwxr-xr-x 2 mathomp4 g0620 512 Feb 13 14:47 forecasts/ | drwxr-xr-x 2 mathomp4 g0620 512 Feb 13 14:47 forecasts/ | ||
drwxr-xr-x 2 mathomp4 g0620 16K Feb 13 14:47 RC/ | drwxr-xr-x 2 mathomp4 g0620 16K Feb 13 14:47 RC/ | ||
Directory: /discover/nobackup/mathomp4/test-1day-expt | Directory: /discover/nobackup/mathomp4/test-1day-expt</nowiki> | ||
Now you'll run another script called <tt>makeoneday.bash</tt> that edits some .rc files, edits run scripts, as well as linking in some example restarts and sets up the model to stop after one day (with no options). Note: these restarts are write-protected, so if you want to run a multi-year run, don't use this script! | |||
<nowiki>$ ~mathomp4/bin/makeoneday.bash | |||
Using Heracles-5_0 directories | |||
Making one-day experiment | |||
Restoring AGCM.rc.save to AGCM.rc... | |||
Copying AGCM.rc to AGCM.rc.save... | |||
Restoring CAP.rc.save to CAP.rc... | |||
Copying CAP.rc to CAP.rc.save... | |||
Restoring HISTORY.rc.save to HISTORY.rc... | |||
Copying HISTORY.rc to HISTORY.rc.save... | |||
Restoring gcm_run.j.save to gcm_run.j... | |||
Copying gcm_run.j to gcm_run.j.save... | |||
Restoring regress/gcm_regress.j.save to regress/gcm_regress.j... | |||
Copying regress/gcm_regress.j to regress/gcm_regress.j.save... | |||
Restoring RC/GEOS_ChemGridComp.rc.save to RC/GEOS_ChemGridComp.rc... | |||
Copying RC/GEOS_ChemGridComp.rc to RC/GEOS_ChemGridComp.rc.save... | |||
DYN_INTERNAL_RESTART_TYPE not found. Assuming NC4 | |||
Found fvcore_internal_rst. Assuming you have needed restarts! | |||
Changes made to CAP.rc: | |||
9,10c9,10 | |||
< JOB_SGMT: 00000015 000000 | |||
< NUM_SGMT: 20 | |||
--- | |||
> JOB_SGMT: 00000001 000000 | |||
> NUM_SGMT: 1 | |||
25c25 | |||
< MAPL_ENABLE_TIMERS: NO | |||
--- | |||
> MAPL_ENABLE_TIMERS: YES | |||
Changes made to gcm_run.j: | |||
7c7 | |||
< #PBS -l walltime=12:00:00 | |||
--- | |||
> #PBS -l walltime=0:15:00 | |||
11a12 | |||
> #SBATCH --mail-type=ALL | |||
260c261 | |||
< if($numrs == 0) then | |||
--- | |||
> if($numrs == 1) then | |||
433a435 | |||
> exit | |||
</nowiki> | |||
At this point, you should be able to <tt>sbatch gcm_run.j</tt> and the model should run a day. | |||