38,757
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 61: | Line 61: | ||
scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | ||
mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | ||
}} To write restart date every N=12 time increments and at the end of each step of the analysis: | }} | ||
To write restart date every N=12 time increments and at the end of each step of the analysis: | |||
*RESTART, WRITE, FREQUENCY=12 | *RESTART, WRITE, FREQUENCY=12 | ||
To disable writing restart data (into res,mdl,stt files) instead specify: | |||
*RESTART, WRITE, FREQUENCY=0 | *RESTART, WRITE, FREQUENCY=0 | ||
To check the completed restart information do: | |||
cat testsp1.msg | grep "STARTS\|COMPLETED\|WRITTEN" | cat testsp1.msg | grep "STARTS\|COMPLETED\|WRITTEN" | ||
</tab> | </tab> | ||
Line 90: | Line 91: | ||
scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | ||
mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | ||
}} To read input file, input file should contain: | }} | ||
To read input file, input file should contain: | |||
*RESTART, READ | *RESTART, READ | ||
</tab> | </tab> | ||
Line 124: | Line 126: | ||
kill $WPID | kill $WPID | ||
cp -f * $SLURM_SUBMIT_DIR | cp -f * $SLURM_SUBMIT_DIR | ||
}} To write restart date every N=12 time increments and at the end of each step of the analysis: | }} | ||
To write restart date every N=12 time increments and at the end of each step of the analysis: | |||
*RESTART, WRITE, FREQUENCY=12 | *RESTART, WRITE, FREQUENCY=12 | ||
To disable writing restart data (into res,mdl,stt files) instead specify: | |||
*RESTART, WRITE, FREQUENCY=0 | *RESTART, WRITE, FREQUENCY=0 | ||
To check the completed restart information do: | |||
cat testst1.msg | grep "STARTS\|COMPLETED\|WRITTEN" | cat testst1.msg | grep "STARTS\|COMPLETED\|WRITTEN" | ||
</tab> | </tab> | ||
Line 163: | Line 166: | ||
kill $WPID | kill $WPID | ||
cp -f testst2* $SLURM_SUBMIT_DIR | cp -f testst2* $SLURM_SUBMIT_DIR | ||
}} To read restart file, input file should contain: | }} | ||
To read restart file, input file should contain: | |||
*RESTART, READ | *RESTART, READ | ||
</tab> | </tab> | ||
Line 193: | Line 197: | ||
scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | ||
mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | ||
}} To write restart output at n=12 time intervals (at the beginning of the step and at increments ending immediately after each time interval) your input file should contain: | }} | ||
To write restart output at n=12 time intervals (at the beginning of the step and at increments ending immediately after each time interval) your input file should contain: | |||
*RESTART, WRITE, NUMBER INTERVAL=12, TIME MARKS=NO | *RESTART, WRITE, NUMBER INTERVAL=12, TIME MARKS=NO | ||
To disable writing restart output (into the abq and sta files) instead specify: | |||
*RESTART, WRITE, NUMBER INTERVAL=0 | *RESTART, WRITE, NUMBER INTERVAL=0 | ||
To check the completed restart information do: | |||
cat testep1.sta | grep Restart | cat testep1.sta | grep Restart | ||
</tab> | </tab> | ||
Line 223: | Line 228: | ||
scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \ | ||
mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | ||
}} No input file modifications are required to restart the analysis. | }} | ||
No input file modifications are required to restart the analysis. | |||
</tab> | </tab> | ||
<tab name="tmpdir job script"> | <tab name="tmpdir job script"> | ||
Line 256: | Line 262: | ||
kill $WPID | kill $WPID | ||
cp -f * $SLURM_SUBMIT_DIR | cp -f * $SLURM_SUBMIT_DIR | ||
}} To write restart output at n=12 time intervals (at the beginning of the step and at increments ending immediately after each time interval) your input file should contain: | }} | ||
To write restart output at n=12 time intervals (at the beginning of the step and at increments ending immediately after each time interval) your input file should contain: | |||
*RESTART, WRITE, NUMBER INTERVAL=12, TIME MARKS=NO | *RESTART, WRITE, NUMBER INTERVAL=12, TIME MARKS=NO | ||
To disable writing restart output (into the abq and sta files) instead specify: | |||
*RESTART, WRITE, NUMBER INTERVAL=0 | *RESTART, WRITE, NUMBER INTERVAL=0 | ||
To check the completed restart information do: | |||
cat testet1.sta | grep Restart | cat testet1.sta | grep Restart | ||
</tab> | </tab> | ||
Line 295: | Line 302: | ||
kill $WPID | kill $WPID | ||
cp -f * $SLURM_SUBMIT_DIR | cp -f * $SLURM_SUBMIT_DIR | ||
}} No input file modifications are required to restart the analysis. | }} | ||
No input file modifications are required to restart the analysis. | |||
</tab> | </tab> | ||
</tabs> | </tabs> |