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 |
NOTE this wiki page is out of date, refer to main software page until instructions are unified.
USAGE INSTRUCTIONS (sharcnet installation)
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. Insert the value into the appropriate departmental export statement shown below (before loading the module file) as shown in the following two steps:
Step1 - SPECIFY SHARCNET SERVER
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=UW_Port_Number@db.uwo.sharcnet
o UWO Civil and Environmental Engineering Dept (UWO Sharcnet Systems)
export LSTC_LICENSE_SERVER=UWO_Port_Number@license1.uwo.sharcnet
Step2 - LOAD LSDYNA MODULE
module load lsdyna
RUNNING A TEST EXAMPLE
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 sqsub command line will be posted here - expected by Feb 10 2012.
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:
[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
CHECKING LICENSE DETAILS
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
AVAILABLE BINARY VERSIONS
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
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 here [1]. Specify software as the category and paste any error messages and provide effected job number(s).
USAGE INSTRUCTIONS (uw local installation)
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 uw_lsdyna group and follow the below usage instructions.
o Set up LS-Dyna environment
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.