draft (no license for checking)

This commit is contained in:
Martin Diehl 2018-11-20 22:00:08 +01:00
parent aea5730c94
commit d110534eca
1 changed files with 8 additions and 2 deletions

View File

@ -12,9 +12,15 @@
#
import os, re, glob, driverUtils
from damask import version as DAMASKVERSION
from damask import Environment
myEnv = damask.Environment()
# Use the version in $PATH
fortCmd = "ifort"
if myEnv.options['DAMASK_HDF5'] == 'ON':
# use hdf5 compiler wrapper in $PATH
fortCmd = os.popen('h5fc -shlib -show').read().replace('\n','')
else
# Use the version in $PATH
fortCmd = "ifort"
# -free to use free-format FORTRAN 90 syntax
# -O <0-3> optimization level