Texas A&M Supercomputing Facility Home Texas A&M

Home
Technical Assistance
Documentation
User Research
Short Courses
Governance
Systems
Software
Accounts
Policies
Machine Status
Job Openings
Usage Statistics
SC Annual User Meeting
Affiliations
Search

LS-DYNA FAQ

LS-DYNA Environment

We provide modules to setup the basic environment for using LS-DYNA on our systems. This includes adding LS-DYNA commands to your PATH variable and setting the necessary environment variables for the LS-DYNA license. If you do not wish to use the modules environment, the following environment variables MUST be set for LS-DYNA licensing to function properly:

For ksh/bash shells:

export LSTC_FILE=/usr/local/lstc/LSTC_FILE 
export LSTC_LICENSE=network 
export LSTC_LICENSE_SERVER=sclserver-private 

For csh/tcsh shells:

setenv LSTC_FILE /usr/local/lstc/LSTC_FILE 
setenv LSTC_LICENSE network 
setenv LSTC_LICENSE_SERVER sclserver-private 

Commands for LS-DYNA

System(s)VersionCommand
hydraMPI, Single Precisionls-dyna-mpi
hydraMPI, Double Precisionls-dyna-mpi_d
hydra, cosmos, agaveOpenMP, Single Precisionls-dyna
hydra, cosmos, agaveOpenMP, Double Precisionls-dyna_d

Command Line Options for LS-DYNA

OptionDescription
i=inputfileSpecifies the name of the input file.
o=outputfileSpecifies the name of the output file.
ncpu=XSpecifies X cpus for shared memory LS-DYNA. Note, this option should be used only with the OpenMP version of LS-DYNA.
memory=XXX
memory=XXXm
Specifies NNN words of memory. The argument for this option may also be specified in megawords as XXXm. A word is 4 KB while a megaword is 4 MB for LS-DYNA single precision. For double-precision LS-DYNA, a word is 8 KB while a megaword is 8 MB.

Serial Example With LS-DYNA

This is an example of using single-precision LS-DYNA using 100 megawords (400 MB):

ls-dyna i=input.k o=outputfile memory=100m

Examples Using LS-DYNA with Multiple CPUs

These examples assume that you have already loaded the appropriate environment module for LS-DYNA or have manually set up your environment for LS-DYNA properly.

This is an example of using single-precision LS-DYNA using 4 MPI tasks and 100 megawords (400 MB) per MPI task on hydra with the ksh shell:

poe ls-dyna-mpi i=input.k o=outputfile ncpu=4 memory=100m

This is an example of using single-precision LS-DYNA using 4 OpenMP threads and up to 100 megawords (400 MB) on agave and hydra with the ksh shell:

export OMP_NUM_THREADS=4
# This environment variable is mandatory for OpenMP LS-DYNA on AIX
export AIXTHREAD_SCOPE=S                             
ls-dyna i=input.k o=outputfile ncpu=4 memory=100m

This is an example of using single-precision LS-DYNA using 4 OpenMP threads and up to 100 megawords (400 MB) on cosmos with the bash shell:

export OMP_NUM_THREADS=4
ls-dyna i=input.k o=outputfile ncpu=4 memory=100m

Read our privacy policy
Document last modified: [Tuesday April 08, 2008]
Powered by the Apache WebServer
Site maintained by webmaster@sc.tamu.edu