From Documentation
Jump to: navigation, search
(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
 
}}
 
}}
 
<font color=red> NOTE this wiki page is out of date, refer to main software page until instructions are unified.</font>
 
 
 
<b><u>USAGE INSTRUCTIONS</u> (sharcnet installation)</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. <br>
 
 
Users who belong to a licensed department will be given a 5 digit port number. Insert the value into the appropriate departmental export statement shown below (before loading the module file) as shown in the following two steps:
 
 
<b>Step1 - SPECIFY SHARCNET SERVER</b>
 
 
o Demo License All Users (Jan20 to Feb20)
 
export LSTC_LICENSE_SERVER=31052@license1.uwo.sharcnet
 
 
o UW Mechanical and Mechatronics Engineering Dept (UW Sharcnet Systems)
 
export LSTC_LICENSE_SERVER=<font color=blue>UW_Port_Number</font>@db.uwo.sharcnet
 
 
o UWO Civil and Environmental Engineering Dept (UWO Sharcnet Systems)
 
export LSTC_LICENSE_SERVER=<font color=blue>UWO_Port_Number</font>@license1.uwo.sharcnet
 
 
<b> Step2 - LOAD LSDYNA MODULE</b>
 
 
module load lsdyna
 
 
<b><u>RUNNING A TEST EXAMPLE</u></b>
 
 
cp -a /opt/sharcnet/lsdyna/ls971dR5.0/examples /scratch/$USER/examples-lsdyna
 
cd /scratch/$USER/examples-lsdyna/load/generalized
 
gunzip load_body.shell.k.gz
 
 
 
o SUBMIT 1CPU SERIAL JOB (double precision)
 
 
sqsub -t -q serial -r 10m -o ofile1cpu.%J lsdyna_d ncpu=1 i=load_body.shell.k
 
 
 
o SUBMIT 4CPU THREADED TEST JOB (single precision)
 
 
sqsub -t -q threaded -n 4 -r 5m -o ofile4cpu.%J lsdyna_s ncpu=4 para=2 i=load_body.shell.k
 
 
 
o SUBMIT 4CPU PARALLEL (MPP) TEST JOB
 
 
Support for mpi (MPP) based lsdyna jobs is presently under construction.  Once its ready a sample <i>sqsub</i> command line will be posted here - expected by Feb 10 2012.
 
 
<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:
 
 
[jole@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
 
 
 
<U><b>CHECKING LICENSE DETAILS</b></U>
 
 
At the time of this writing UWO is running on a 4cpu demo license as follows:
 
 
[roberpj@hnd19:~] 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
 
 
 
<U><b>AVAILABLE BINARY VERSIONS</b></U>
 
 
In the previous example, the latest lsdyna versions were specifed using simply lsdyna_s for single precision and lsdyna_d for double precision.  One can alternatively specify any of the following binary names explicty on x86_64 systems assuming your license allows there use:
 
 
ls971_s_R3_1
 
ls971_d_R3_1
 
ls971_s_R4_2_1
 
ls971_d_R4_2_1
 
lsdyna_d = ls971_d_R5_0 --> ls971_d_R5_0_intel64_redhat54
 
lsdyna_s = ls971_s_R5_0 --> ls971_s_R5_0_intel64_redhat54
 
 
 
<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 here  [https://www.sharcnet.ca/my/problems/submit].  Specify software as the category and paste any error messages and provide effected job number(s).
 
 
<br>
 
<HR COLOR="blue" SIZE="6" width="50%" NOSHADE><br>
 
<br>
 
 
<b><u>USAGE INSTRUCTIONS</u> (uw local installation)</b><br>
 
 
These instructions apply to the script driven (non-modularized) site local installation of lsdyna found under /opt/sharcnet/local/lsdyna on orca and saw.  To use this software you must be a member of the <b>uw_lsdyna</b> group and follow the below usage instructions. <br><br>
 
 
o Set up LS-Dyna environment<br>
 
add the following 4 lines to the end of your .bash_profile file in your /home directory, where the port number 3XXXX should be set to override the 31010 default.
 
 
#Env. for LS-Dyna
 
export LSTC_LICENSE=network
 
export LSTC_LICENSE_SERVER="3XXXX@db.uwo.sharcnet"
 
export PATH=/opt/sharcnet/local/lsdyna:$PATH
 
 
 
o RUN 1CPU SERIAL JOB from your file (input file) directory on saw or whale
 
 
sqsub -q serial -r 3.0d -o airbag.out ls971_s_R3_1 i=airbag.deploy.k
 
 
 
O RUN 4CPU SMP JOB
 
 
sqsub -q threaded -n 4 -r 3.0d -o -o airbag.out ls971_s_R3_1 ncpu=4 para=2 i=airbag.deploy.k
 
 
 
A more detailed info and usage suggestions can be found in a file named 'README_uw_lsdyna' in /home/jemmyhu/tests/test_lsdyna on SHARCNET systems.
 
<br>
 

Revision as of 12:32, 20 June 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