- 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
+7 -7
View File
@@ -1,19 +1,19 @@
#!/bin/bash
source "$(dirname $0)/../../../lib/libem.bash"
source "$(dirname $0)/../../../lib/libpmodules.bash"
em.configure() {
pmodules.configure() {
cp "${BUILDSCRIPT_DIR}/Makefile" "${MODULE_BUILDDIR}" || exit 1
cp "${MODULE_SRCDIR}/irat.inc" "${MODULE_BUILDDIR}" || exit 1
}
em.install() {
pmodules.install() {
mkdir -p "${PREFIX}/bin"
cp "${MODULE_BUILDDIR}/cpmd.x" "${PREFIX}/bin"
}
em.add_to_group 'MPI'
em.set_runtime_dependencies "${COMPILER}" "${MPI}"
em.set_build_dependencies "${COMPILER}" "${MPI}"
em.make_all
pmodules.add_to_group 'MPI'
pmodules.set_runtime_dependencies "${COMPILER}" "${MPI}"
pmodules.set_build_dependencies "${COMPILER}" "${MPI}"
pmodules.make_all