38,757
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 59: | Line 59: | ||
mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | ||
}} | }} | ||
To write restart | To write restart data every N=12 time increments specify in the input file: | ||
*RESTART, WRITE, FREQUENCY=12 | *RESTART, WRITE, OVERLAY, FREQUENCY=12 | ||
To | To write restart data for a total of 12 time increments specify instead: | ||
*RESTART, WRITE, | *RESTART, WRITE, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO | ||
To check | To check for completed restart information do: | ||
egrep -i "step|start" testsp*.com testsp*.msg testsp*.sta | egrep -i "step|start" testsp*.com testsp*.msg testsp*.sta | ||
Some simulations may benefit by adding the following to the Abaqus command at the bottom of the script: | Some simulations may benefit by adding the following to the Abaqus command at the bottom of the script: | ||
Line 92: | Line 92: | ||
mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | ||
}} | }} | ||
The restart input file should contain: | |||
*HEADING | |||
*RESTART, READ | *RESTART, READ | ||
</tab> | </tab> | ||
Line 128: | Line 129: | ||
cp -f * $SLURM_SUBMIT_DIR | cp -f * $SLURM_SUBMIT_DIR | ||
}} | }} | ||
To write restart | To write restart data every N=12 time increments specify in the input file: | ||
*RESTART, WRITE, FREQUENCY=12 | *RESTART, WRITE, OVERLAY, FREQUENCY=12 | ||
To | To write restart data for a total of 12 time increments specify instead: | ||
*RESTART, WRITE, | *RESTART, WRITE, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO | ||
To check the completed restart information do: | To check the completed restart information do: | ||
egrep -i "step|start" testst*.com testst*.msg testst*.sta | egrep -i "step|start" testst*.com testst*.msg testst*.sta | ||
Line 169: | Line 170: | ||
cp -f testst2* $SLURM_SUBMIT_DIR | cp -f testst2* $SLURM_SUBMIT_DIR | ||
}} | }} | ||
The restart input file should contain: | |||
*HEADING | |||
*RESTART, READ | *RESTART, READ | ||
</tab> | </tab> | ||
Line 242: | Line 244: | ||
mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | mp_mode=threads memory="$((${SLURM_MEM_PER_NODE}-3072))MB" | ||
}} | }} | ||
To write restart | To write restart data for a total of 12 time increments specify in the input file: | ||
*RESTART, WRITE, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO | *RESTART, WRITE, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO | ||
Check for completed restart information in relevant output files: | |||
egrep -i "step|restart" testep*.com testep*.msg testep*.sta | egrep -i "step|restart" testep*.com testep*.msg testep*.sta | ||
</tab> | </tab> | ||
Line 270: | Line 270: | ||
rm -f testep2* testep1.lck | rm -f testep2* testep1.lck | ||
for f in testep1*; do [[ -f ${f} ]] && cp -a "$f" "testep2${f#testep1}"; done | for f in testep1*; do [[ -f ${f} ]] && cp -a "$f" "testep2${f#testep1}"; done | ||
abaqus job=testep2 | abaqus job=testep2 input=myexp-sim.inp recover \ | ||
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" | ||
Line 309: | Line 309: | ||
cp -f * $SLURM_SUBMIT_DIR | cp -f * $SLURM_SUBMIT_DIR | ||
}} | }} | ||
To write restart | To write restart data for a total of 12 time increments specify in the input file: | ||
*RESTART, WRITE, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO | *RESTART, WRITE, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO | ||
Check for completed restart information in relevant output files: | |||
egrep -i "step|restart" testet*.com testet*.msg testet*.sta | egrep -i "step|restart" testet*.com testet*.msg testet*.sta | ||
</tab> | </tab> | ||
Line 344: | Line 342: | ||
done & | done & | ||
WPID=$! | WPID=$! | ||
abaqus job=testet2 input=$SLURM_SUBMIT_DIR/myexp-sim | abaqus job=testet2 input=$SLURM_SUBMIT_DIR/myexp-sim.inp recover \ | ||
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" |