Abaqus: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
= Submission script = <!--T:3-->
= Submission script = <!--T:3-->
Below is an example submission script for a small Abaqus Explicit job running on four cores:  
Below is an example submission script for a small Abaqus Explicit job running on four cores:  
</translate>
 
{{File|contents=
{{File|contents=
#!/bin/bash
#!/bin/bash
Line 48: Line 48:
</pre>
</pre>


===Running CAE GUI On A Viz or Vdi Workstation ===
===Running CAE GUI on a viz or VDI workstation ===


To connecting we recommend installing the tigervnc client on your desktop, as described in https://www.sharcnet.ca/help/index.php/Remote_Graphical_Connections.  The best vdi machine at Sharcnet to run abaqus on interactivly in gui mode is currently <b>gra-vdi.computecanada.ca</b>.  This machine is located at uw therefore the uwo engineering/robarts combined licenses cannot be use.  To start abaqus gui running on gra-vdi do the following:<br>
To connecting we recommend installing the tigervnc client on your desktop, as described in https://www.sharcnet.ca/help/index.php/Remote_Graphical_Connections.  The best vdi machine at Sharcnet to run abaqus on interactivly in gui mode is currently <b>gra-vdi.computecanada.ca</b>.  This machine is located at uw therefore the uwo engineering/robarts combined licenses cannot be use.  To start abaqus gui running on gra-vdi do the following:<br>
Line 59: Line 59:
</pre>
</pre>


Previously sharcnet recommended using <b>vdi-centos6.user.sharcnet.ca</b> with tigervnc with the following procedure. it is likely this machine will be shutdown May1 along with all other sharcnet legacy systems.
Previously Sharcnet recommended using <b>vdi-centos6.user.sharcnet.ca</b> with tigervnc with the following procedure. it is likely this machine will be shutdown May1 along with all other sharcnet legacy systems.


<pre>
<pre>
Line 68: Line 68:
</pre>
</pre>


==Check License Status==
==Check license status==


Load the abaqus module and run tne following commands.  Note that 1 CAE & 19 standard tokens are reserved for a research group who purchased them and these will always appear in use. To purchase a CAE or standard compute licenses (to ensure access) open a ticket, pro-rated pricing will be explained if during the middle of the license year commencing each mid January.  
Load the abaqus module and run tne following commands.  Note that 1 CAE & 19 standard tokens are reserved for a research group who purchased them and these will always appear in use. To purchase a CAE or standard compute licenses (to ensure access) open a ticket, pro-rated pricing will be explained if during the middle of the license year commencing each mid January.  


===All Features===
===All features===


<pre>
<pre>
Line 78: Line 78:
</pre>
</pre>


===Cae Feature===
===Cae feature===


<pre>
<pre>
Line 86: Line 86:
</pre>
</pre>


===Standard Feature===
===Standard feature===


<pre>
<pre>
Line 94: Line 94:
</pre>
</pre>


===Show Abaqus Command Line Options===
===Show Abaqus command line options===


<pre>
<pre>
Line 100: Line 100:
</pre>
</pre>


===Mapping from Tokens to CPUs for Abaqus Standard/Explicit===
===Mapping from tokens to CPUs for Abaqus standard/explicit===


<pre>
<pre>
Line 109: Line 109:
See also https://deviceanalytics.com/abaqus-token-calculator
See also https://deviceanalytics.com/abaqus-token-calculator


===Example of Token Consumption with Consequtively Run Jobs===
===Example of token consumption with consecutively run jobs===


<pre>
<pre>
Line 140: Line 140:
Users of standard:  (Total of 35 licenses issued;  Total of 16 licenses in use)
Users of standard:  (Total of 35 licenses issued;  Total of 16 licenses in use)
</pre>
</pre>
</translate>

Revision as of 15:52, 28 May 2019

Other languages:

Abaqus FEA is a software suite for finite element analysis and computer-aided engineering.

Using your own license[edit]

Abaqus is available on Compute Canada clusters, but you must provide your own license. Configure your license by creating in your account a file named $HOME/.licenses/abaqus.lic containing the single line prepend_path("LM_LICENSE_FILE","port@server", ";").
The license server on your end will have to be reachable by our compute nodes and your firewall will need to be configured appropriately. This usually requires our technical team to get in touch with the technical people managing your license software. Please contact our technical support and we will provide a list of IP addresses used by our clusters and obtain the information we need on the port and IP address of your server.

Submission script[edit]

Below is an example submission script for a small Abaqus Explicit job running on four cores:


File : file.txt

#!/bin/bash
#SBATCH --time=1-00:00
#SBATCH --mem=2500M
#SBATCH --cpus-per-task=4
 
module load abaqus/6.14.1
unset SLURM_GTIDS
export MPI_IC_ORDER='tcp'

abaqus job=Job-SBS-ALU-EXPLICIT-01 input=2018-04-14-SBS-ALUMINUM-EXPLICIT-01.inp memory="2 gb" scratch=$SCRATCH cpus=4 interactive


Graham VDI[edit]

see Graham VDI Nodes
The gra-vdi machine can be used to run abaqus interactively with the sharcnet licenses by any compute canada member. Further details regarding how to connect with tigervnc are described below. The license can also be used for running jobs by connecting to dusky.sharcnet.ca. Once connected load the following module:

module load abaqus/2019-sn

If an abaqus job fails to get a license upon startup, it must be manually killed otherwise it will sit idle on the compute node until its "sqsub -r runtime" limit is reached, and the queue automatically kills it off. One can tell if a job is in an idle by inspecting the job output file then killing it with the sqkill or scancel commands.

[roberpj@dus241:~/test-abaqus] cat ofile.93249
Abaqus JOB myjob
Abaqus 6.13-3
"standard" license request queued for the License Server.
Total time in queue: 0 seconds.
"standard" license request queued for the License Server.
Total time in queue: 30 seconds.
"standard" license request queued for the License Server.
Total time in queue: 60 seconds.
etc

Running CAE GUI on a viz or VDI workstation[edit]

To connecting we recommend installing the tigervnc client on your desktop, as described in https://www.sharcnet.ca/help/index.php/Remote_Graphical_Connections. The best vdi machine at Sharcnet to run abaqus on interactivly in gui mode is currently gra-vdi.computecanada.ca. This machine is located at uw therefore the uwo engineering/robarts combined licenses cannot be use. To start abaqus gui running on gra-vdi do the following:

1) connect to gra-vdi.computecanada.ca with tigervnc
2) module load StdEnv
3) module load abaqus/2019-sn
4) abaqus cae

Previously Sharcnet recommended using vdi-centos6.user.sharcnet.ca with tigervnc with the following procedure. it is likely this machine will be shutdown May1 along with all other sharcnet legacy systems.

1) connect to vdi-centos6.user.sharcnet.ca with tigervnc
2) run the following two commands ...
module load intel/12.1.3 abaqus/6.14.2-sn
abaqus cae

Check license status[edit]

Load the abaqus module and run tne following commands. Note that 1 CAE & 19 standard tokens are reserved for a research group who purchased them and these will always appear in use. To purchase a CAE or standard compute licenses (to ensure access) open a ticket, pro-rated pricing will be explained if during the middle of the license year commencing each mid January.

All features[edit]

abaqusstat

Cae feature[edit]

[roberpj@vdi-centos6:~] abaqusstat | grep cae  
Users of cae:  (Total of 3 licenses issued;  Total of 1 license in use)
  "cae" v61.8, vendor: ABAQUSLM

Standard feature[edit]

[roberpj@vdi-centos6:~] abaqusstat | grep standard
Users of standard:  (Total of 40 licenses issued;  Total of 38 licenses in use)
  "standard" v61.8, vendor: ABAQUSLM

Show Abaqus command line options[edit]

abaqus -help

Mapping from tokens to CPUs for Abaqus standard/explicit[edit]

CPUS   1   2  4   8  12  16  24  32  64  128
TOKENS 5   6  8  12  14  16  19  21  28   38

See also https://deviceanalytics.com/abaqus-token-calculator

Example of token consumption with consecutively run jobs[edit]

1) abaqus cae -mesa
Abaqus License Manager checked out the following license(s):
"cae" release 6.11 from license3.sharcnet.ca
<1 out of 2 licenses remain available>.

2) abaqus cae -mesa
Abaqus License Manager checked out the following license(s):
"cae" release 6.11 from license3.sharcnet.ca
<0 out of 2 licenses remain available>.

3) PARALLEL JOB USING 2CPU
sqsub -r 1h --nompirun --mpp=6G -q mpi -n 2 -N 1 -o ofile.%J
abaqus cpus=2 mp_mode=mpi interactive input=heattransfermanifold_cavity.inp job=job_par3
Abaqus/Standard checked out 6 tokens.
<29 out of 35 licenses remain available>.

4) ADDITIONAL PARALLEL JOB USING 4CPU
sqsub -r 1h --nompirun --mpp=6G -q mpi -n 4 -N 1 -o ofile.%J
abaqus cpus=4 mp_mode=mpi interactive input=heattransfermanifold_cavity.inp job=job_par3
Abaqus/Standard checked out 8 tokens.
<21 out of 35 licenses remain available>.

5) SUMMARY
[roberpj@viz10-uwo:~] abaqusstat | grep abaqus
Users of abaqus:  (Total of 35 licenses issued;  Total of 16 licenses in use)
[roberpj@viz10-uwo:~] abaqusstat | grep standard
Users of standard:  (Total of 35 licenses issued;  Total of 16 licenses in use)