diff --git a/scripts/MPI/OPAL.14/build b/scripts/MPI/OPAL.14/build new file mode 100755 index 0000000..73d6432 --- /dev/null +++ b/scripts/MPI/OPAL.14/build @@ -0,0 +1,24 @@ +#!/bin/bash + +P='OPAL' + +source "$(dirname $0)/../../../lib/libem.bash" + + +module use unstable + +# add -fopenmp to CC and CXX, if you want to compile with OpenMP +function em.configure() { + cmake \ + -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DENABLE_SAAMG_SOLVER=TRUE \ + "${MODULE_SRCDIR}" +} + +em.add_to_family 'MPI' +em.set_runtime_dependencies "${COMPILER}" "${MPI}" +em.set_build_dependencies 'cmake' "${COMPILER}" "${MPI}" 'boost' 'hdf5' 'H5hut' 'trilinos' 'ippl' 'gsl' +em.set_supported_compilers 'gcc/4.7' 'gcc/4.8' +em.make_all + diff --git a/scripts/MPI/OPAL.14/with_modules b/scripts/MPI/OPAL.14/with_modules new file mode 100644 index 0000000..6d96c4c --- /dev/null +++ b/scripts/MPI/OPAL.14/with_modules @@ -0,0 +1,8 @@ +gcc/4.8.3 +openmpi/1.8.2 +hdf5/1.8.12 +H5hut/1.99.13 +trilinos/11.10.2 +boost/1.55.0 +gsl/1.15 +root/5.34.19