(Replaced content with "{{Software |package_name=LS-DYNA |package_description=Suite of programs for transient dynamic finite element program |package_idnumber=104 }}") |
|||
Line 4: | Line 4: | ||
|package_idnumber=104 | |package_idnumber=104 | ||
}} | }} | ||
+ | <u><b>USAGE INSTRUCTIONS</u></b><br> | ||
+ | |||
+ | These usage instructions apply to the module based installation of lsdyna found under directory <i>/opt/sharcnet/lsdyna</i> on licensed clusters shown in the above Availability Table. To access and use this software you must be a member of the <b><i>lsdyna</i></b> 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: | ||
+ | |||
+ | <b>Step1 - SPECIFY SHARCNET SERVER</b> | ||
+ | |||
+ | o UWO Civil and Environmental Engineering Dept | ||
+ | <pre>export LSTC_LICENSE_SERVER=<font color=blue>Port_Number</font>@license1.uwo.sharcnet</pre> | ||
+ | |||
+ | o McGill Mechanical Engineering Department | ||
+ | <pre>export LSTC_LICENSE_SERVER=<font color=blue>Port_Number</font>@license2.uwo.sharcnet</pre> | ||
+ | |||
+ | o UW Mechanical and Mechatronics Engineering Dept | ||
+ | <pre>export LSTC_LICENSE_SERVER=<font color=blue>Port_Number</font>@license3.uwo.sharcnet</pre> | ||
+ | |||
+ | |||
+ | <b> Step2 - LOAD LSDYNA MODULE</b> | ||
+ | |||
+ | For serial or threaded job do: | ||
+ | <pre> | ||
+ | module load lsdyna/ls971r6.0.0 | ||
+ | </pre> | ||
+ | |||
+ | For mpi (mpp) jobs do: | ||
+ | <pre> | ||
+ | module load lsdyna/ls971r6.0.0mpp | ||
+ | </pre> | ||
+ | |||
+ | <b>Step3 - RUN AIRBAG EXAMPLE</b> | ||
+ | |||
+ | To run lsdyna in single precision specify <i>lsdyna_s</i> on the sqsub command line, to run in double precision specify <i>lsdyna_d</i>. 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. | ||
+ | |||
+ | <pre> | ||
+ | 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 | ||
+ | </pre> | ||
+ | |||
+ | o SUBMIT 1CPU SERIAL JOB | ||
+ | <pre> | ||
+ | module load lsdyna/ls971r6.0.0 | ||
+ | sqsub -r 7d -q serial -o ofile.%J --mpp=2G <i>lsdyna_d</i> i=airbag.deploy.k ncpu=1 | ||
+ | Elapsed time: 96 seconds | ||
+ | </pre> | ||
+ | |||
+ | o SUBMIT 4CPU SMP JOB | ||
+ | <pre> | ||
+ | module load lsdyna/ls971r6.0.0 | ||
+ | sqsub -r 7d -q threaded -n 4 -o ofile.%J --mpp=2G <i>lsdyna_d</i> i=airbag.deploy.k ncpu=4 | ||
+ | Elapsed time: 187 seconds | ||
+ | </pre> | ||
+ | |||
+ | o SUBMIT 4CPU MPP JOB | ||
+ | |||
+ | <pre> | ||
+ | module load lsdyna/ls971r6.0.0mpp | ||
+ | sqsub -r 7d -q mpi -n 4 -o ofile.%J --mpp=1G lsdyna_d i=airbag.deploy.k | ||
+ | Elapsed time: 60 seconds | ||
+ | </pre> | ||
+ | |||
+ | <br><U><b>CHECKING JOB STATUS</b></U> | ||
+ | |||
+ | 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 <i>lstc_qrun</i>. 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: | ||
+ | |||
+ | <pre> | ||
+ | [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 | ||
+ | </pre> | ||
+ | |||
+ | <br><u><b>CHECKING LICENSE DETAILS</b></u> | ||
+ | |||
+ | At the time of this writing UWO is running on a 4cpu demo license as follows: | ||
+ | |||
+ | <pre> | ||
+ | [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 | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | <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). |
Revision as of 10:32, 20 November 2012
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</u>
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=<font color=blue>Port_Number</font>@license1.uwo.sharcnet
o McGill Mechanical Engineering Department
export LSTC_LICENSE_SERVER=<font color=blue>Port_Number</font>@license2.uwo.sharcnet
o UW Mechanical and Mechatronics Engineering Dept
export LSTC_LICENSE_SERVER=<font color=blue>Port_Number</font>@license3.uwo.sharcnet
Step2 - LOAD LSDYNA MODULE
For serial or threaded job do:
module load lsdyna/ls971r6.0.0
For mpi (mpp) jobs do:
module load lsdyna/ls971r6.0.0mpp
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/ls971r6.0.0 sqsub -r 7d -q serial -o ofile.%J --mpp=2G <i>lsdyna_d</i> i=airbag.deploy.k ncpu=1 Elapsed time: 96 seconds
o SUBMIT 4CPU SMP JOB
module load lsdyna/ls971r6.0.0 sqsub -r 7d -q threaded -n 4 -o ofile.%J --mpp=2G <i>lsdyna_d</i> i=airbag.deploy.k ncpu=4 Elapsed time: 187 seconds
o SUBMIT 4CPU MPP JOB
module load lsdyna/ls971r6.0.0mpp sqsub -r 7d -q mpi -n 4 -o ofile.%J --mpp=1G lsdyna_d i=airbag.deploy.k Elapsed time: 60 seconds
<U>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 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).