|
LS-DYNA
LS-PrePost Online Documentation | Tutorials
Getting
Started With LS-DYNA
Keyword 971 2 volumes Download 17.0 MB
LS-DYNA Examples Download
1.9 MB
LS-OPT Download 3.6 MB
LS-DYNA Theory 2006 Download
2.3 MB
Here are instructions on LS-DYNA environment variables: README.setenv
Introduction
to LS-DYNA3D
To break jobs into 48 CPU hour chunks:
1) Using C=cpu [cpu
limit in seconds] defines the maximum cpu usage allowed
that if exceeded will cause LS-DYNA to terminate with a restart file. Note that
48 hours is 172800 seconds.
2) During a restart, cpu should be set to the total cpu used up to the current restart plus whatever
amount of additional time is wanted.
3) Use R=rtf where rtf is the restart filename when restarting.
4) Use qsub -W depend=after:<JobID> on the
second job where <JobID> is the Job ID of the first job.
☞Note: DYNA_SCRDIR is
required!
notus
example
Differences from apollo/artemis script are bold
Replace Y where Y is the number of
nodes
#!/bin/csh
#PBS -q para -l nodes=Y:notusall:ppn=2
setenv MY_DIR "/user/jmatrow/LS-DYNA/forming/2procs"
setenv DYNA_SCRDIR "/temp/jmatrow/$PBS_JOBNAME.$PBS_JOBID"
setenv DYNA_ARGS "i=forming.k" #<---REQUIRED!
mkdir
$DYNA_SCRDIR
cp $MY_DIR/forming.k $DYNA_SCRDIR
cp $MY_DIR/model.key $DYNA_SCRDIR
source /apps/LS-dyna/run_dyna.csh
cp $DYNA_SCRDIR/d3plot* $MY_DIR
cd; rm -rf
$DYNA_SCRDIR
^ ^ ^ ^ ^
This is using mpp970 and it is not working right now
v v v v v Use ls970 example below and only 1 node (2 processors)
#!/bin/csh
#PBS -q para -l nodes=1:notusall:ppn=2
setenv MY_DIR "/user/jmatrow/LS-DYNA/forming/2procs"
setenv DYNA_SCRDIR "/temp/jmatrow/$PBS_JOBNAME.$PBS_JOBID"
mkdir $DYNA_SCRDIR
cp $MY_DIR/forming.k $DYNA_SCRDIR
cp $MY_DIR/model.key $DYNA_SCRDIR
cd $DYNA_SCRDIR
setenv LSTC_FILE /apps/LS-dyna/LSTC_FILE.txt
ls970 i=forming.k ncpu=-2
cp $DYNA_SCRDIR/d3plot* $MY_DIR
cd; rm -rf
$DYNA_SCRDIR
zeus
example
Replace X where X is the number of processors
#!/bin/csh
#PBS -q para -l host=zeus -l ncpus=X #<---Notice
change from nodes= to host=
setenv MY_DIR "/user/jmatrow/LS-DYNA/forming/2procs"
setenv DYNA_SCRDIR "/temp/jmatrow/$PBS_JOBNAME.$PBS_JOBID"
mkdir $DYNA_SCRDIR
cp $MY_DIR/forming.k $DYNA_SCRDIR
cp $MY_DIR/model.key $DYNA_SCRDIR
cd $DYNA_SCRDIR
setenv LSTC_FILE /apps/LS-dyna/LSTC_FILE.txt
ls960 i=forming.k
memory=120000000 ncpu=-X
cp $DYNA_SCRDIR/d3plot* $MY_DIR
cd; rm -rf
$DYNA_SCRDIR
You may substitute ls970 for ls960 if needed
Contact me if you *have* to use single
processor ls960
LS_OPT
lsopt and related programs are
found in /apps/LS-dyna/LSOPT_EXE for zeus
|