diff --git a/config/versions.conf b/config/versions.conf index 0752132..bf43224 100644 --- a/config/versions.conf +++ b/config/versions.conf @@ -27,7 +27,7 @@ mpc 1.0.2 mpfr 3.1.2 netcdf 4.3.2 nmap 6.46 -OPAL 1.2.0 +OPAL 1.3.0 OpenBLAS 0.2.9 OpenBLAS_OMP 0.2.9 parmetis 3.2.0 diff --git a/scripts/gtest.build b/scripts/gtest.build new file mode 100755 index 0000000..cfabab8 --- /dev/null +++ b/scripts/gtest.build @@ -0,0 +1,9 @@ +#!/bin/bash + +source "$(dirname $0)/../lib/libem.bash" + +em.add_to_family 'Programming' +em.set_runtime_dependencies "" +em.set_build_dependencies "${COMPILER}" +em.make_all + diff --git a/scripts/opt-pilot.build b/scripts/opt-pilot.build new file mode 100755 index 0000000..b1d73f8 --- /dev/null +++ b/scripts/opt-pilot.build @@ -0,0 +1,20 @@ +#!/bin/bash + +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 \ + "${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' 'boost' 'OPAL' +em.set_supported_compilers 'gcc/4.7' 'gcc/4.8' +em.make_all +