building with GCC needs special variables added. Intel compilers build just fine
This commit is contained in:
parent
d7fdb8e015
commit
4e0d47f1dd
1 changed files with 10 additions and 5 deletions
|
@ -23,9 +23,14 @@ class Adios(Package):
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure_args = ["--prefix=%s" % prefix,
|
configure_args = ["--prefix=%s" % prefix,
|
||||||
"--with-mxml=%s" % spec['mxml'].prefix,
|
"--with-mxml=%s" % spec['mxml'].prefix,
|
||||||
"--with-hdf5="+os.environ["HDF5_DIR"],
|
"--with-hdf5=%s" % os.environ["HDF5_DIR"],
|
||||||
"--with-netcdf="+os.environ["NETCDF_DIR"],
|
"--with-netcdf=%s" % os.environ["NETCDF_DIR"],
|
||||||
"--with-infiniband=no"]
|
"--with-infiniband=no",
|
||||||
|
"MPICC=cc","MPICXX=CC","MPIFC=ftn",
|
||||||
|
"CPPFLAGS=-DMPICH_IGNORE_CXX_SEEK"]
|
||||||
|
|
||||||
|
if spec.satisfies('%gcc'):
|
||||||
|
configure_args.extend(["CC=gcc", "CXX=g++", "FC=gfortran"])
|
||||||
|
|
||||||
configure(*configure_args)
|
configure(*configure_args)
|
||||||
make()
|
make()
|
||||||
|
|
Loading…
Reference in a new issue