corrected fortran compile command and added comments on the compiler switches
This commit is contained in:
parent
05d3c1bf28
commit
48a9104b7e
|
@ -16,18 +16,22 @@ import os, re, glob, driverUtils
|
|||
# Use the version in $PATH
|
||||
fortCmd = "ifort"
|
||||
|
||||
# "-free" to use free-format FORTRAN 90 syntax
|
||||
# "-O3" maximum optimization level
|
||||
# "-fpp" use FORTRAN preprocessor on source code
|
||||
# "-openmp" build with openMP support
|
||||
# -free to use free-format FORTRAN 90 syntax
|
||||
# -O <0-3> optimization level
|
||||
# -fpp use FORTRAN preprocessor on source code
|
||||
# -openmp build with openMP support
|
||||
# -w90 -w95 suppress messages about use of non-standard Fortran (previous version of abaqus_v6.env only)
|
||||
# -WB turn a compile-time bounts check into a warning (previous version of abaqus_v6.env only)
|
||||
# -mP2OPT_hpo_vec_divbyzero=F inofficial compiler switch, proposed by abaqus but highly dubios (previous version of abaqus_v6.env only)
|
||||
# -ftz flush underflow to zero
|
||||
# -implicitnone assume no implicit types (e.g. i for integer)
|
||||
# -assume byterecl count record length in bytes
|
||||
# -real-size 64 -DFLOAT=8 assume size of real to be 8 bytes, matches our definition of pReal
|
||||
# -integer-size 32 -DINT=4 assume size of integer to be 4 bytes, matches our definition of pInt
|
||||
|
||||
#compile_fortran = (fortCmd + " -c -fPIC -auto" +
|
||||
# "-WB -I%I -free -O3 -fpp -openmp " +
|
||||
# "-implicitnone -assume byterecl " +
|
||||
# "-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4")
|
||||
|
||||
compile_fortran = (fortCmd + " -c -fPIC -auto -mP2OPT_hpo_vec_divbyzero=F " +
|
||||
"-WB -I%I -free -O3 -fpp -openmp "+
|
||||
compile_fortran = (fortCmd + " -c -fPIC -auto " +
|
||||
"-I%I -free -O2 -fpp -openmp " +
|
||||
"-ftz +
|
||||
"-implicitnone -assume byterecl " +
|
||||
"-real-size 64 -integer-size 32 -DFLOAT=8 -DINT=4")
|
||||
|
||||
|
|
Loading…
Reference in New Issue