diff options
author | Elizabeth F <rpf2116@columbia.edu> | 2016-03-04 11:09:40 -0500 |
---|---|---|
committer | citibeth <rpf2116@columbia.edu> | 2016-03-04 11:14:52 -0500 |
commit | 0eb6ef2cd031d1668e1891425bdc6234df0594df (patch) | |
tree | 74cc9dd39e78268a3fba3df4c6ab164f8f8925ae /var/spack/repos/builtin/packages/netcdf/package.py | |
parent | 976d0240c467b9ff74333fafcd2ac1e896819a80 (diff) | |
download | spack-0eb6ef2cd031d1668e1891425bdc6234df0594df.tar.gz spack-0eb6ef2cd031d1668e1891425bdc6234df0594df.tar.bz2 spack-0eb6ef2cd031d1668e1891425bdc6234df0594df.tar.xz spack-0eb6ef2cd031d1668e1891425bdc6234df0594df.zip |
1. Removed fake MPI dependency from netcdf-cxx4 and netcdf-fortran.
2. Removed Fortran bootstrap variant from netcdf. Users who need NetCDF Fortran interface should install netcdf-fortran.
3. Added result of ./configure --help on the netcdf-fortran. Verified the package has no additional options that should be exposed through Spack.
Diffstat (limited to 'var/spack/repos/builtin/packages/netcdf/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/netcdf/package.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf/package.py b/var/spack/repos/builtin/packages/netcdf/package.py index 41a0d2b6f9..0b112a59ce 100644 --- a/var/spack/repos/builtin/packages/netcdf/package.py +++ b/var/spack/repos/builtin/packages/netcdf/package.py @@ -13,7 +13,6 @@ class Netcdf(Package): version('4.3.3', '5fbd0e108a54bd82cb5702a73f56d2ae') variant('mpi', default=True, description='Enables MPI parallelism') - variant('fortran', default=False, description="Download and install NetCDF-Fortran") variant('hdf4', default=False, description="Enable HDF4 support") # Dependencies: @@ -66,11 +65,7 @@ class Netcdf(Package): # Fortran support # In version 4.2+, NetCDF-C and NetCDF-Fortran have split. - # They can be installed separately, but this bootstrap procedure - # should be able to install both at the same time. - # Note: this is a new experimental feature. - if '+fortran' in spec: - config_args.append("--enable-remote-fortran-bootstrap") + # Use the netcdf-fortran package to install Fortran support. config_args.append('CPPFLAGS=%s' % ' '.join(CPPFLAGS)) config_args.append('LDFLAGS=%s' % ' '.join(LDFLAGS)) @@ -79,8 +74,3 @@ class Netcdf(Package): configure(*config_args) make() make("install") - - # After installing NetCDF-C, install NetCDF-Fortran - if '+fortran' in spec: - make("build-netcdf-fortran") - make("install-netcdf-fortran") |