scripts/MPI/cpmd: added
This commit is contained in:
19
scripts/MPI/cpmd/build
Executable file
19
scripts/MPI/cpmd/build
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
|
||||
em.configure() {
|
||||
cp "${BUILDSCRIPT_DIR}/Makefile" "${MODULE_BUILDDIR}" || exit 1
|
||||
cp "${MODULE_SRCDIR}/irat.inc" "${MODULE_BUILDDIR}" || exit 1
|
||||
}
|
||||
|
||||
em.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
|
||||
|
||||
Reference in New Issue
Block a user