Fork me on GitHub

Abaqus

Abaqus is a software suite for Finite Element Analysis (FEA) developed by Dassault Systèmes.

Interactive usage

After connecting to Bessemer (see Establishing a SSH connection), start an interactive graphical session.

Abaqus version 2018 can be activated using the module file:

module load ABAQUS/2018

and launched using:

abaqus cae

Note: there is an Abaqus/SLURM mpi issue which prevents Abaqus from running jobs correctly. To rectify this problem the following command should be used prior to lauching the GUI:

unset SLURM_GTIDS

Abaqus example problems

Abaqus contains a large number of example problems which can be used to become familiar with Abaqus on the system. These example problems are described in the Abaqus documentation and can be obtained using the Abaqus fetch command. For example, after loading the Abaqus module enter the following at the command line to extract the input file for test problem s4d:

abaqus fetch job=s4d

This will extract the input file s4d.inp to run the computation defined by the commands and batch submission script below.

Batch jobs

The following is an example batch submission script, my_job.sh, to run the executable abaqus with input file is s4d.inp. The script requests 4 cores using the OpenMP parallel environment smp with a runtime of 30 mins and 2 GB of real memory per core.

#!/bin/bash
#SBATCH --comment=abaqus_smp_test
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --mem=8000
#SBATCH --output=output_abaqus_smp_4
#SBATCH --time=00:30:00
#SBATCH --mail-user=joe.bloggs@sheffield.ac.uk
#SBATCH --mail-type=ALL
module load ABAQUS/2018
unset SLURM_GTIDS
abaqus job=my_job input=s4d.inp mp_mode=threads cpus=$SLURM_NTASKS scratch=$TMPDIR memory="8gb" interactive

The job is submitted to the queue by typing:

sbatch my_job.sh

User subroutines: The umatmst3 model has a user defined subroutine umatmst3.f. The model files are obtained using

abaqus fetch job=umatst3*

The script below is an example of a batch submission script for a single core job with a runtime of 30 mins, 8 GB of real memory and with user subroutine umatmst3.f and input file umatmst3.inp.

#!/bin/bash
#SBATCH --comment=abaqus_subroutine_test
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --mem=8000
#SBATCH --output=output_abaqus_subroutine
#SBATCH --time=00:30:00
#SBATCH --mail-user=joe.bloggs@sheffield.ac.uk
#SBATCH --mail-type=ALL
module load ABAQUS/2018
module load ifort/2019.1.144-GCC-8.2.0-2.31.1
unset SLURM_GTIDS
abaqus job=my_job input=umatmst3.inp user=umatmst3.f scratch=$TMPDIR memory="8gb" interactive

Note that the module ifort/2019.1.144-GCC-8.2.0-2.31.1, required for compiling the user subroutines, is not automatically loaded when the module for Abaqus is loaded.

Addendum: Abaqus 6.14.2 (non-EasyBuild install):

Abaqus 6.14.2 was installed using the standard Abaqus installer due to issues using EasyBuild.

It can be activated using the following module commands:

module use /usr/local/modulefiles/live/apps
module load ABAQUS/6.14.2/binary

and launched using:

abaqus cae

The following is an example batch submission script, my_job.sh, to run the executable abaqus with input file is s4d.inp. The script requests 4 cores using the OpenMP parallel environment smp with a runtime of 30 mins and 2 GB of real memory per core.

#!/bin/bash
#SBATCH --comment=abaqus_smp_test
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --mem=8000
#SBATCH --output=output_abaqus_smp_4
#SBATCH --time=00:30:00
#SBATCH --mail-user=joe.bloggs@sheffield.ac.uk
#SBATCH --mail-type=ALL
module use /usr/local/modulefiles/live/apps
module load ABAQUS/6.14.2/binary
unset SLURM_GTIDS
abaqus job=my_job input=s4d.inp mp_mode=threads cpus=$SLURM_NTASKS scratch=$TMPDIR memory="8gb" interactive