Abaqus

Abaqus is used for both the modeling and analysis of mechanical components and assemblies (pre-processing) and visualizing the finite element analysis result. It has both a Graphical User Interface (GUI) and a command line interface.

Below is a sample submit script for the command line application.
#!/bin/bash
#
#SBATCH --output=/work/abc123/abaqus.out   #name of your output file
#SBATCH --job-name=test  #name of your job
#SBATCH --ntasks=1       #how many CPU tasks you will be using. Multiple threads can be used
#SBATCH --time=10:00     #this is optional but might be required
#SBATCH --partition=defq #this is the default queue

. /etc/profile.d/modules.sh
module load abaqus
module load slurm

ABAQUS_PROGRAM=abaqus 
ABAQUS_INPUT=/home-new/abc123/your_input_file 
ABAQUS_JOBNAME=ABAQUS_${SLURM_JOB_ID} ABAQUS_ARGS="" 
# change abc123 below to your campus abc123 
ABAQUS_SCRATCH_DIR=/work/abc123  
# To manage abaqus jobs, you need to catch signals 
# and use "abaqus terminate" to stop the job 
# invoke abaqus in the background on the compute node: trap exit_gracefully SIGUSR2 
# use this for MPI (distributed memory) parallelism 
srun $ABAQUS_PROGRAM cpus=$SLURM_NTASKS mp_mode=mpi job=$ABAQUS_JOBNAME input=$ABAQUS_INPUT scratch=$ABAQUS_SCRATCH_DIR $ABAQUS_ARGS 

# Report some useful info 
/bin/uname -a
srun hostname

-- AdminUser - 17 May 2016
Topic revision: r7 - 04 Aug 2020, AdminUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback