all buildblocks moved one level up
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::pre_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::configure() {
|
||||
CC=$MPICC
|
||||
CXX=$MPICXX
|
||||
F77=$MPIF77
|
||||
F90=$MPIF90
|
||||
FC=$MPIFC
|
||||
FORTRAN=$MPIFORTRAN
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-netcdf-4 \
|
||||
--with-pic \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'HDF5'
|
||||
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
|
||||
pbuild::set_build_dependencies "${COMPILER}" "${MPI}" 'hdf5'
|
||||
pbuild::set_docfiles 'COPYRIGHT' 'README.md' 'RELEASE_NOTES.md'
|
||||
pbuild::make_all
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "Network Common Data Form"
|
||||
set url "http://www.unidata.ucar.edu/software/netcdf/"
|
||||
set license "BSD-like, see \${NETCDF_DIR}/share/doc/netcdf/COPYRIGHT"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
NetCDF is a set of software libraries and self-describing, machine-
|
||||
independent data formats that support the creation, access, and
|
||||
sharing of array-oriented scientific data.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
Reference in New Issue
Block a user