now based on abq6111

now using ifort in $PATH
This commit is contained in:
Franz Roters 2012-05-16 06:57:37 +00:00
parent df2d520630
commit 1a96a9fbad
1 changed files with 7 additions and 19 deletions

View File

@ -3,7 +3,7 @@
#
# $Id$
# ------------------------------------
# originally taken from Abaqus ver. 6.9.1
# originally taken from Abaqus ver. 6.11.1
#
#
# Linux (Opteron/EM64T) Settings:
@ -13,27 +13,18 @@
#
import os, re, glob, driverUtils
# Always use the newest version
fortDefPath = '/'
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
# 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
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")
# Do not use parts in input file
@ -53,7 +44,4 @@ cae_no_parts_input_file=ON
# Remove the temporary names from the namespace
del fortCmd
del fortDefPath
del fortCompiler
del dirLst