parent
df2d520630
commit
1a96a9fbad
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
# originally taken from Abaqus ver. 6.9.1
|
# originally taken from Abaqus ver. 6.11.1
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Linux (Opteron/EM64T) Settings:
|
# Linux (Opteron/EM64T) Settings:
|
||||||
|
@ -13,27 +13,18 @@
|
||||||
#
|
#
|
||||||
import os, re, glob, driverUtils
|
import os, re, glob, driverUtils
|
||||||
|
|
||||||
# Always use the newest version
|
# Use the version in $PATH
|
||||||
fortDefPath = '/'
|
fortCmd = "ifort"
|
||||||
|
|
||||||
dirLst = glob.glob('/opt/intel/fce/*')
|
|
||||||
if dirLst:
|
|
||||||
dirLst.sort()
|
|
||||||
fortDefPath = dirLst[-1] + '/bin'
|
|
||||||
|
|
||||||
fortCompiler = "ifort"
|
|
||||||
|
|
||||||
if os.path.exists(os.path.join(fortDefPath, fortCompiler)):
|
|
||||||
fortCmd = os.path.join(fortDefPath, fortCompiler)
|
|
||||||
else:
|
|
||||||
fortCmd = fortCompiler
|
|
||||||
|
|
||||||
# "-free" to use free-format FORTRAN 90 syntax
|
# "-free" to use free-format FORTRAN 90 syntax
|
||||||
# "-O3" maximum optimization level
|
# "-O3" maximum optimization level
|
||||||
# "-fpp" use FORTRAN preprocessor on source code
|
# "-fpp" use FORTRAN preprocessor on source code
|
||||||
# "-openmp" build with openMP support
|
# "-openmp" build with openMP support
|
||||||
|
|
||||||
compile_fortran = (fortCmd + " -c -fPIC -auto -w90 -w95 " +
|
#compile_fortran = (fortCmd + " -c -fPIC -auto -w90 -w95 " +
|
||||||
|
# "-WB -I%I -free -O3 -fpp -openmp")
|
||||||
|
|
||||||
|
compile_fortran = (fortCmd + " -c -fPIC -auto -mP2OPT_hpo_vec_divbyzero=F -w90 -w95 " +
|
||||||
"-WB -I%I -free -O3 -fpp -openmp")
|
"-WB -I%I -free -O3 -fpp -openmp")
|
||||||
|
|
||||||
# Do not use parts in input file
|
# Do not use parts in input file
|
||||||
|
@ -53,7 +44,4 @@ cae_no_parts_input_file=ON
|
||||||
|
|
||||||
# Remove the temporary names from the namespace
|
# Remove the temporary names from the namespace
|
||||||
del fortCmd
|
del fortCmd
|
||||||
del fortDefPath
|
|
||||||
del fortCompiler
|
|
||||||
del dirLst
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue