Compiling and Running a Fortran Program

You can compile and run your own Fortran program to carry out preprocessing or postprocessing related to Abaqus jobs.

See Also
Preparing a User Subroutine
Run a Preprocessing or Postprocessing Script
In Other Guides
Making User-Defined Executables and Subroutines

To compile and run a Fortran program, you need access to the Abaqus make utility and a supported Fortran compiler.

To run a Fortran program, use the following script:

. /grid/cust/code/IntelFortran/setvars.sh
. /opt/rh/gcc-toolset-12/enable
$GRID_PRODUCT_PATH/linux_a64/code/bin/SMALauncher make job=myProgram.f
$GRID_PRODUCT_PATH/linux_a64/code/bin/SMALauncher myProgram

The first two commands initialize the compiler environment and configure the path so that the Abaqus make utility can locate the compiler during the job.