Build on Linux

Build the user subroutine library for Linux.

In order to build the user subroutine library (libcompanU.so), the target machine must have a valid Fortran compiler (Intel Fortran 10.1 or 11.1 is recommended).

Once the correct environment is setup the user subroutine library can be compiled and linked using a shell script installed with Simulation Composite Analysis. This shell script is located at ADSDIR/asca2015/bin/make-companU.sh where ADSDIR is the base installation path for Autodesk. Run this script from the directory which holds the target source code and send each Fortran source file as an argument to the script. For example, if the user subroutines are contained in the files file1.f90 and file2.f90, the command to build the library is shown below (assuming Simulation Composite Analysis was installed to /usr/local/autodesk/asca2015).

If everything compiles and links correctly, the result will be a file named libcompanU.so in the working directory.