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

The command to specify a hybrid parallelization configuration is:

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


-n is DMP rank argument

-s is SMP thread argument

For example, if you launch a 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 with the command:

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

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

The command for single precision is:

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

The command for double precision is:

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

Please replace with the input file name including extension. Be sure to remove the brackets < >.

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)

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"

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)

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.