From Documentation
Jump to: navigation, search
Line 115: Line 115:
 
<br><u><b>GETTING HELP</b></u>
 
<br><u><b>GETTING HELP</b></u>
  
If you experience problems submitting or running jobs please submit a ticket to the web portal and it will be resolved asap by clicking <a href="https://www.sharcnet.ca/my/problems/submit">https://www.sharcnet.ca/my/problems/submit</a>.  Specify software as the category and paste any error messages and provide effected job number(s).
+
If you experience problems submitting or running jobs please submit a ticket to the web portal https://www.sharcnet.ca/my/problems/submit.  Specify software as the category and paste any error messages and provide effected job number(s).

Revision as of 23:01, 6 January 2013

LS-DYNA
Description: Suite of programs for transient dynamic finite element program
SHARCNET Package information: see LS-DYNA software page in web portal
Full list of SHARCNET supported software



USAGE INSTRUCTIONS

These usage instructions apply to the module based installation of lsdyna found under directory /opt/sharcnet/lsdyna on licensed clusters shown in the above Availability Table. To access and use this software you must be a member of the lsdyna group. Users who belong to a licensed department will be given a 5 digit port number. The value should then be inserted into the appropriate departmental export statement before loading the module file as follows:

Step1 - SPECIFY SHARCNET SERVER

o UWO Civil and Environmental Engineering Dept

export LSTC_LICENSE_SERVER='PortNumber'@license1.uwo.sharcnet

o McGill Mechanical Engineering Department

export LSTC_LICENSE_SERVER='PortNumber'@license2.uwo.sharcnet

o UW Mechanical and Mechatronics Engineering Dept

export LSTC_LICENSE_SERVER='PortNumber'@license3.uwo.sharcnet


Step2 - LOAD LSDYNA MODULES

For serial or threaded jobs (using version ls971) do:

module load lsdyna/ls971smp6.1.0

For mpi jobs (using version ls971) do:

module load lsdyna/ls971mpp6.1.0

For serial or threaded jobs (using version ls980) do:

module load lsdyna/ls980smpB1

For mpi (mpp) jobs (using version ls980) do:

module unload intel openmpi
module load intel/12.1.3 openmpi/intel/1.4.5 lsdyna/ls980mppB1

Step3 - RUN AIRBAG EXAMPLE

To run lsdyna in single precision specify lsdyna_s on the sqsub command line, to run in double precision specify lsdyna_d. The following shows sample sqsub jobs submission for the airbag example http://www.dynaexamples.com/examples-manual/misc/airbag to the serial, threaded and mpi queus on sharcnet.

cp -a /opt/sharcnet/lsdyna/ls971r6.0.0/examples /work/$USER/test-lsdyna
cd /work/$USER/test-lsdyna/misc/airbag
gunzip airbag.deploy.k.gz

o SUBMIT 1CPU SERIAL JOB

module load lsdyna/ls971smp6.1.0
sqsub -r 7d -q serial -o ofile.%J --mpp=2G lsdyna_d i=airbag.deploy.k ncpu=1 
Elapsed time: 96 seconds

o SUBMIT 4CPU SMP JOB

module load lsdyna/ls971smp6.1.0
sqsub -r 7d -q threaded -n 4 -o ofile.%J --mpp=2G lsdyna_d i=airbag.deploy.k ncpu=4
Elapsed time: 187 seconds

o SUBMIT 4CPU MPI JOB

module load lsdyna/ls971mpp6.1.0
sqsub -r 7d -q mpi -n 4 -o ofile.%J --mpp=1G lsdyna_d i=airbag.deploy.k
Elapsed time: 60 seconds


CHECKING JOB STATUS

To check the status of your job in the queue use the sqjobs command. On x86_64 systems you can check whether any of your jobs are queued on the license server use lstc_qrun. Its possible that sqsub will start your job but it will sit idle until enough license are available on the license server and the lstc_qrun command will reveal this:

[roberpj@saw:~] lstc_qrun
Defaulting to server 1 specified by LSTC_LICENSE_SERVER variable
                     Running Programs
    User             Host          Program              Started       # procs
-----------------------------------------------------------------------------
 roberpj     9383@silky.sharcnet.c LS-DYNA_971      Mon Aug 23 18:31     4
No programs queued


CHECKING LICENSE DETAILS

At the time of this writing UWO is running on a 4cpu demo license as follows:

[roberpj@orca:~] lstc_qrun -R
Defaulting to server 1 specified by LSTC_LICENSE_SERVER variable

LICENSE INFORMATION

PROGRAM          EXPIRATION CPUS  USED   FREE    MAX | QUEUE
---------------- ----------      ----- ------ ------ | -----
LS-DYNA_971      02/15/2012          0    128    128 |     0
MPPDYNA_971      02/15/2012          0    128    128 |     0
                   LICENSE GROUP     0    128    128 |     0

PROGRAM          EXPIRATION CPUS  USED   FREE    MAX | QUEUE
---------------- ----------      ----- ------ ------ | -----
LS-OPT           02/15/2012          0    128    128 |     0
                   LICENSE GROUP     0    128    128 |     0


GETTING HELP

If you experience problems submitting or running jobs please submit a ticket to the web portal https://www.sharcnet.ca/my/problems/submit. Specify software as the category and paste any error messages and provide effected job number(s).