Heracles 4.0 Quick Start: Difference between revisions
(One intermediate revision by one other user not shown) | |||
Line 189: | Line 189: | ||
The <code>umask 022</code> is not strictly necessary, but it will make the various files readable to others, which will facilitate data sharing and user support. Your home directory <code>~''USERID''</code> is also inaccessible to others by default; running <code>chmod 755 ~</code> is helpful. | The <code>umask 022</code> is not strictly necessary, but it will make the various files readable to others, which will facilitate data sharing and user support. Your home directory <code>~''USERID''</code> is also inaccessible to others by default; running <code>chmod 755 ~</code> is helpful. | ||
Copy the restart (initial condition) files and associated <code>cap_restart</code> into ''EXPDIR''. You can get an arbitrary set of restarts by copying the contents of the directory <code>/archive/u/aeichman/restarts/Heracles-4_0/c48/19800309</code>, containing 2-degree cubed sphere restarts from | Copy the restart (initial condition) files and associated <code>cap_restart</code> into ''EXPDIR''. You can get an arbitrary set of restarts by copying the contents of the directory <code>/archive/u/aeichman/restarts/Heracles-4_0/c48/19800309</code>, containing 2-degree cubed sphere restarts from March 9, 1980, and their corresponding <code>cap_restart</code>. If you are unfamiliar with the way that the <code>/archive</code> filesystem works, keep in mind that a <code>cp</code> from there might appear to stall while the tape is loaded -- see the NCCS documentation for details. | ||
The script you submit, <code>gcm_run.j</code>, is in ''HOMEDIR''. It should be ready to go as is. The parameter END_DATE in <code>CAP.rc</code> can be set to the date you want the run to stop. Submit the job with <code>sbatch gcm_run.j</code>. You can keep track of it with <code>qstat</code> or <code>qstat | grep ''USERID''</code>, or follow stdout with <code>tail -f ''EXPDIR''/slurm-''JOBID''.out</code>, ''JOBID'' being returned by <code>sbatch</code> and displayed with <code>qstat</code>. Jobs can be killed with <code>qdel ''JOBID''</code>. | The script you submit, <code>gcm_run.j</code>, is in ''HOMEDIR''. It should be ready to go as is. The parameter END_DATE in <code>CAP.rc</code> can be set to the date you want the run to stop. Submit the job with <code>sbatch gcm_run.j</code>. You can keep track of it with <code>qstat</code> or <code>qstat | grep ''USERID''</code>, or follow stdout with <code>tail -f ''EXPDIR''/slurm-''JOBID''.out</code>, ''JOBID'' being returned by <code>sbatch</code> and displayed with <code>qstat</code>. Jobs can be killed with <code>qdel ''JOBID''</code>. | ||
Line 213: | Line 213: | ||
'''Back to [[GEOS-5 Documentation for Heracles 4.0]]''' | '''Back to [[GEOS-5 Documentation for Heracles 4.0]]''' | ||
Contact | Contact Matt Thompson at GMAO with questions and comments |