- em.xyz renamed to pmodules.xxy

- underscore removed as prefix of function names
- keyword function removed
This commit is contained in:
2015-06-04 20:38:33 +02:00
parent e26a9fae7f
commit b129a8d05d
68 changed files with 522 additions and 522 deletions

View File

@@ -1,12 +1,12 @@
#!/bin/bash
source "$(dirname $0)/../../../lib/libem.bash"
source "$(dirname $0)/../../../lib/libpmodules.bash"
function em.pre_configure() {
pmodules.pre_configure() {
./autogen.sh
}
function em.configure() {
pmodules.configure() {
CC=$MPICC
CXX=$MPICXX
F77=$MPIF77
@@ -23,20 +23,20 @@ function em.configure() {
|| exit 1
}
function em.build() {
pmodules.build() {
make -C src
make -C tools
}
function em.install() {
pmodules.install() {
make -C src install
make -C tools install
}
em.add_to_family 'HDF5'
em.set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
em.set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "${MPI}" "hdf5"
em.set_docfiles 'AUTHORS' 'COPYING'
em.make_all
pmodules.add_to_group 'HDF5'
pmodules.set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
pmodules.set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "${MPI}" "hdf5"
pmodules.set_docfiles 'AUTHORS' 'COPYING'
pmodules.make_all

View File

@@ -1,12 +1,12 @@
#!/bin/bash
source "$(dirname $0)/../../../lib/libem.bash"
source "$(dirname $0)/../../../lib/libpmodules.bash"
function em.pre_configure() {
pmodules.pre_configure() {
:
}
function em.configure() {
pmodules.configure() {
CC=$MPICC
CXX=$MPICXX
F77=$MPIF77
@@ -20,9 +20,9 @@ function em.configure() {
|| exit 1
}
em.add_to_family 'HDF5'
em.set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
em.set_build_dependencies "${COMPILER}" "${MPI}" 'hdf5'
em.set_docfiles 'COPYRIGHT' 'README.md' 'RELEASE_NOTES.md'
em.make_all
pmodules.add_to_group 'HDF5'
pmodules.set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
pmodules.set_build_dependencies "${COMPILER}" "${MPI}" 'hdf5'
pmodules.set_docfiles 'COPYRIGHT' 'README.md' 'RELEASE_NOTES.md'
pmodules.make_all