Questions? Feedback? powered by Olark live chat software
Resources Home


What command do I use to run LS-DYNA?

Rescale provides an easy to use command-line interface for running LS-DYNA jobs. The full command is as follows:

ls-dyna -n <dmp-ranks> -s <smp-threads/dmp-rank> -i <input-file> -p <precision> -a <options>

For example, if you had launched the job with 16 cores (16 smp threads), you can specify a hybrid parallelization configuration by having 8 nodes (dmp ranks) with 2 cores/threads (16/8 = 2) each: -n 8 -s 2

However, if you want to run in pure DMP the job can be run without the DMP rank argument -n and SMP thread argument -s:

ls-dyna -i <input-file> -p <precision>

In this case, the number of DMP ranks will taken from the hardware selection.

How do I use a pfile?

A pfile may be used by adding the -a flag to the command line. For example:

ls-dyna -i input.k -p single -a "p=my-pfile"

How do I insert switches/kill the program?

First, you'll need to SSH into your running cluster.

Once you are on the bash interface of the virtual machine, please navigate into the correct folder using cd work/shared. Next please enter the following command echo <switch> > d3kil, replacing <switch> with the switch command you wish to execute. For example: echo sw2 > d3kil

Please note that the d3kil file will be consumed and removed once it is executed.

Here is the list of sense switches and its response for LS-DYNA:

  • sw1 - A restart file is written and LS-DYNA terminates (cluster will shutdown)
  • sw2 - LS-DYNA responds with time and cycle numbers (output in ls-dyna.log)
  • sw3 - A restart file is written and LS-DYNA continues
  • sw4 - A plot state is written and LS-DYNA continues
  • swa - LS-DYNA flushes all output i/o buffers
  • stop/quit - halt execution (cluster will shutdown)

How do I add additional LS-DYNA command line options?

The full command for LS-DYNA jobs is as follows:

ls-dyna -n <dmp-ranks> -s <smp-threads/dmp-rank> -i <input-file> -p <precision> -a <options>

Additional command line options may be used by adding the -a flag to the command line. These extra arguments will be directly passed into the LS-DYNA executable.

If there is a need for you to specify the memory usage for a particular run, for example:

ls-dyna -i input.k -p single -a "memory=600m memory2=60m"


ls-dyna -i input.k -p single -a "memory=30000 memory2=20000 p=my-pfile"

memory: Memory used by the master processor to initially decompose the model

memory2: Memory used by all the processors to solve the decomposed problem (including master)

How do I run a custom build of LS-DYNA on Rescale?

If you need to use a version of LS-DYNA that is not in the dropdown menu, please select the 'Custom Version/Revision' option.

Please ensure that the build of LS-DYNA is:

  • 64 bit linux
  • mpp version

You will need to upload the build executable file together with your input file. For custom builds to work, the executable has to be renamed to lsdyna-CUSTOM.<mpi-flavor>-mpp-<precision>. An example would be: lsdyna-CUSTOM.platformmpi-mpp-single. Please make sure that your custom build corresponds with the mpi flavor you have named, or your job will fail.

Once the renamed executable has been uploaded alongside with your input file, you need to run the job using the following command (on the Software Settings page):

ls-dyna -v CUSTOM -i <input file> -p single

Your job will now run on your custom LS-DYNA version.

Last Updated: Oct 31, 2016 03:54PM PDT

Powered by
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found