#!/bin/sh
#PBS -N pranjalm
#PBS -m bea
#PBS -M yourentrynumber@iitd.ac.in
#PBS -l select=1:ncpus=4:mpiprocs=4
#PBS -l walltime=01:00:00
#PBS -q low # replace "low" with "standard" or "high" based on your project budget
#PBS -P civil #"(replace "civil" with your department code)"
#PBS -l software=abaqus2017
# load/unload the appropriate modules
module unload OpenMPI # Abaqus uses it's own MPI libraries
module load apps/abaqus2017 # Abaqus 2017 as well as Abaqus 6.14 is available in IIT Delhi
module load suite/intel/parallelStudio/2019 # parallel studio for running and subroutines
# Change to the working directory
cd ${PBS_O_WORKDIR}
# Run abaqus
time abaqus cae noGUI=data_ext.py # Abaqus python script running code
time abaqus job="inp_file.inp" user="subroutine.for" analysis cpus=4 interactive # Abaqus input file with a subroutine (place the subroutine in the same folder)
time abaqus job="inp_file.inp" analysis cpus=4 interactive # Abaqus input file only
wait