Abaqus/en: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
(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 date every N=12 time increments and at the end of each step of the analysis:
To write restart data every N=12 time increments specify in the input file:
  *RESTART, WRITE, FREQUENCY=12
  *RESTART, WRITE, OVERLAY, FREQUENCY=12
To disable writing restart data (into res,mdl,stt files) instead specify:
To write restart data for a total of 12 time increments specify instead:
  *RESTART, WRITE, FREQUENCY=0
  *RESTART, WRITE, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO
To check the completed restart information do:
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"
}}
}}
To read input file, input file should contain:
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 date every N=12 time increments and at the end of each step of the analysis:
To write restart data every N=12 time increments specify in the input file:
  *RESTART, WRITE, FREQUENCY=12
  *RESTART, WRITE, OVERLAY, FREQUENCY=12
To disable writing restart data (into res,mdl,stt files) instead specify:
To write restart data for a total of 12 time increments specify instead:
  *RESTART, WRITE, FREQUENCY=0
  *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
}}
}}
To read restart file, input file should contain:
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 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 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
To disable writing restart output (into the abq and sta files) instead specify:
Check for completed restart information in relevant output files:
*RESTART, WRITE, NUMBER INTERVAL=0
To check the completed restart information do:
  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 oldjob=testep1 input=myexp-sim-restart.inp recover \
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 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 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
To disable writing restart output (into the abq and sta files) instead specify:
Check for completed restart information in relevant output files:
*RESTART, WRITE, NUMBER INTERVAL=0
To check the completed restart information do:
  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-restart.inp recover \
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"
38,757

edits

Navigation menu