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 64: Line 64:
  *RESTART, WRITE, FREQUENCY=0
  *RESTART, WRITE, FREQUENCY=0
To check the completed restart information do:
To check the completed restart information do:
  cat testsp1.msg | grep "STARTS\|COMPLETED\|WRITTEN"
  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:
  order_parallel=OFF
  order_parallel=OFF
Line 87: Line 87:
echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE"
echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE"


rm -f testsp2*
rm -f testsp2* testsp1.lck
abaqus job=testsp2 oldjob=testsp1 input=mystd-sim-restart.inp \
abaqus job=testsp2 oldjob=testsp1 input=mystd-sim-restart.inp \
   scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \
   scratch=$SCRATCH cpus=$SLURM_CPUS_ON_NODE interactive \
Line 133: Line 133:
  *RESTART, WRITE, FREQUENCY=0
  *RESTART, WRITE, FREQUENCY=0
To check the completed restart information do:
To check the completed restart information do:
  cat testst1.msg | grep "STARTS\|COMPLETED\|WRITTEN"
  egrep -i "step|start" testst*.com testst*.msg testst*.sta
</tab>
</tab>
<tab name="temporary directory restart script">
<tab name="temporary directory restart script">
Line 156: Line 156:
echo "SLURM_TMPDIR = " $SLURM_TMPDIR
echo "SLURM_TMPDIR = " $SLURM_TMPDIR


rm -f testst2*
rm -f testst2* testst1.lck
cp testst1* $SLURM_TMPDIR
cp testst1* $SLURM_TMPDIR
cd $SLURM_TMPDIR
cd $SLURM_TMPDIR
Line 243: Line 243:
}}
}}
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, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO
To disable writing restart output (into the abq and sta files) instead specify:
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:
To check the completed restart information do:
  cat testep1.sta | grep Restart
  egrep -i "step|restart" testep*.com testep*.msg testep*.sta
</tab>
</tab>
<tab name="project directory restart script">
<tab name="project directory restart script">
Line 268: Line 268:
echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE"
echo "ABAQUSLM_LICENSE_FILE=$ABAQUSLM_LICENSE_FILE"


rm -f testep2*
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 input=myexp-sim-restart.inp recover \
abaqus job=testep2 oldjob=testep1 input=myexp-sim-restart.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 310: Line 310:
}}
}}
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, OVERLAY, NUMBER INTERVAL=12, TIME MARKS=NO
To disable writing restart output (into the abq and sta files) instead specify:
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:
To check the completed restart information do:
  cat testet1.sta | grep Restart
  egrep -i "step|restart" testet*.com testet*.msg testet*.sta
</tab>
</tab>
<tab name="temporary directory restart script">
<tab name="temporary directory restart script">
Line 337: Line 337:
echo "SLURM_TMPDIR = " $SLURM_TMPDIR
echo "SLURM_TMPDIR = " $SLURM_TMPDIR


rm -f testet2*
rm -f testet2* testet1.lck
for f in testet1*; do cp -a "$f" $SLURM_TMPDIR/"testet2${f#testet1}"; done
for f in testet1*; do cp -a "$f" $SLURM_TMPDIR/"testet2${f#testet1}"; done
cd $SLURM_TMPDIR
cd $SLURM_TMPDIR
38,757

edits

Navigation menu