Raad2: Abaqus

From TAMUQ Research Computing User Documentation Wiki
Jump to navigation Jump to search

Sample Job File

#SBATCH -J abaqus_job
#SBATCH -p s_long
#SBATCH --qos sl
#SBATCH --time=08:00:00
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --output=abaqsim.o%j
#SBATCH --error=abaqsim.o%j
#SBATCH --hint=nomultithread
#SBATCH --gres=craynetwork:0

echo "Starting at "`date`
echo "working directory = "$SLURM_SUBMIT_DIR

echo "Starting Simulation.."

srun --ntasks=1 --cpus-per-task=4 /lustre/sw/xc40ac/abaqus/cle6up06/Commands/abq6135 cosimulation cosimjob=uhose.inp job=uhose-fluid,uhose-solid configure=uhose_config cpus=4 int

echo "Simulation Ending.."
echo "Ending at "`date`

How to run this sample job file?

1. Place your input files in a directory on raad2, lets say "run1". In above example, we need input and config files.

2. In same directory, copy above sample job script in a text file "slurm.sh"

3. Issue command "sbatch slurm.sh"

4. Output files will be generated in same directory.