all buildblocks moved one level up

This commit is contained in:
2015-10-14 18:20:36 +02:00
parent 75832ca05a
commit 0a9fefd921
134 changed files with 0 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/env modbuild
pbuild::pre_configure() {
./autogen.sh
}
pbuild::configure() {
CC=$MPICC
CXX=$MPICXX
F77=$MPIF77
F90=$MPIF90
FC=$MPIFC
FORTRAN=$MPIFORTRAN
#( cd "${MODULE_SRCDIR}" && ./autogen.sh )
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-parallel \
--enable-debug \
--with-hdf5=$HDF5_PREFIX \
--with-pic \
|| exit 1
}
pbuild::build() {
make -C src
make -C tools
}
pbuild::install() {
make -C src install
make -C tools install
}
pbuild::add_to_group 'HDF5'
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
pbuild::set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "${MPI}" "hdf5"
pbuild::set_docfiles 'AUTHORS' 'COPYING'
pbuild::make_all
+17
View File
@@ -0,0 +1,17 @@
#%Module1.0
set whatis "HDF5 utility toolkit"
set url "http://amas.psi.ch/H5hut"
set license "BSD-like"
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
set help "
H5hut is a veneer API for HDF5: H5hut files are also valid HDF5 files
and are compatible with other HDF5-based interfaces and tools. For
example, the h5dump tool that comes standard with HDF5 can export H5hut
files to ASCII or XML for additional portability. H5hut also includes
tools to convert H5hut data to the Visualization ToolKit (VTK) format
and to generate scripts for the GNUplot data plotting tool.
"
source $env(PSI_LIBMODULES)
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash
declare -r basedir=$(dirname $0)
source '../../config/Pmodules.conf'
declare -r recipe="${basedir}/$1/build"
shift
if [[ ! -x "${recipe}" ]]; then
echo "Error: no recipe to build '$1'!"
exit 1
fi
for cc in "${COMPILER_VERSIONS[@]}"; do
for mpi in "${MPI_VERSIONS[@]}"; do
for hdf5 in "${HDF5_VERSIONS[@]}"; do
"${recipe}" "$@" --with=$cc --with=$mpi --with=$hdf5 || {
echo "Oops: build failed for:"
echo " compile: $cc"
echo " mpi: $mpi"
echo " hdf5: $hdf5"
exit 1
}
done
done
done
+26
View File
@@ -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
+14
View File
@@ -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)