Skip to content
Snippets Groups Projects
Commit 6017a6a6 authored by Denis Davydov's avatar Denis Davydov Committed by Todd Gamblin
Browse files

netcdf: fix missing CC = mpicc ; this makes it work with Intel MPI (#3942)

parent a2135dff
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ class Netcdf(AutotoolsPackage):
url = "http://www.gfd-dennou.org/arch/netcdf/unidata-mirror/netcdf-4.3.3.tar.gz"
# Version 4.4.1.1 is having problems in tests
# https://github.com/Unidata/netcdf-c/issues/343
# https://github.com/Unidata/netcdf-c/issues/343
version('4.4.1.1', '503a2d6b6035d116ed53b1d80c811bda')
# netcdf@4.4.1 can crash on you (in real life and in tests). See:
# https://github.com/Unidata/netcdf-c/issues/282
......@@ -137,6 +137,7 @@ def configure_args(self):
if '+mpi' in spec:
config_args.append('--enable-parallel4')
config_args.append('CC=%s' % spec['mpi'].mpicc)
CPPFLAGS.append("-I%s/include" % spec['hdf5'].prefix)
LDFLAGS.append("-L%s/lib" % spec['hdf5'].prefix)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment