draft (no license for checking)
This commit is contained in:
parent
aea5730c94
commit
d110534eca
|
@ -12,9 +12,15 @@
|
||||||
#
|
#
|
||||||
import os, re, glob, driverUtils
|
import os, re, glob, driverUtils
|
||||||
from damask import version as DAMASKVERSION
|
from damask import version as DAMASKVERSION
|
||||||
|
from damask import Environment
|
||||||
|
myEnv = damask.Environment()
|
||||||
|
|
||||||
# Use the version in $PATH
|
if myEnv.options['DAMASK_HDF5'] == 'ON':
|
||||||
fortCmd = "ifort"
|
# 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
|
# -free to use free-format FORTRAN 90 syntax
|
||||||
# -O <0-3> optimization level
|
# -O <0-3> optimization level
|
||||||
|
|
Loading…
Reference in New Issue