Files
MX_Pmodule/scripts/OPAL/opt-pilot/build
Achim Gsell b129a8d05d - em.xyz renamed to pmodules.xxy
- underscore removed as prefix of function names
- keyword function removed
2015-06-04 20:38:33 +02:00

21 lines
552 B
Bash
Executable File

#!/bin/bash
source "$(dirname $0)/../../../lib/libpmodules.bash"
module use unstable
# add -fopenmp to CC and CXX, if you want to compile with OpenMP
pmodules.configure() {
cmake \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DCMAKE_BUILD_TYPE=RELEASE \
"${MODULE_SRCDIR}"
}
pmodules.add_to_group 'OPAL'
pmodules.set_runtime_dependencies "${COMPILER}" "${MPI}"
pmodules.set_build_dependencies 'cmake' "${COMPILER}" "${MPI}" 'boost' 'hdf5' 'H5hut' 'trilinos' 'ippl' 'gsl' 'boost' 'OPAL'
pmodules.set_supported_compilers 'gcc/4.8'
pmodules.make_all