From 3de7360f79dfb6a1c4fb08e8e51ca574f169dbd7 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 9 Oct 2014 13:54:42 +0200 Subject: [PATCH] OPAL.build: moved to family MPI, add gcc/4.8 to supported compilers --- scripts/OPAL.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/OPAL.build b/scripts/OPAL.build index aa49cc3..fca9ff3 100755 --- a/scripts/OPAL.build +++ b/scripts/OPAL.build @@ -2,18 +2,18 @@ source "$(dirname $0)/../lib/libem.bash" +# add -fopenmp to CC and CXX, if you want to compile with OpenMP function em.configure() { - CC="$MPICC -fopenmp" CXX="$MPICXX -fopenmp" cmake \ + CC="$MPICC" CXX="$MPICXX" cmake \ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ -DCMAKE_BUILD_TYPE=RELEASE \ -DENABLE_SAAMG_SOLVER=TRUE \ "${MODULE_SRCDIR}" } -em.add_to_family 'Tools' +em.add_to_family 'MPI' em.set_runtime_dependencies "${COMPILER}" "${MPI}" em.set_build_dependencies 'cmake' "${COMPILER}" "${MPI}" 'hdf5' 'H5hut' 'trilinos' 'ippl' 'gsl' -em.set_supported_compilers 'gcc/4.7' +em.set_supported_compilers 'gcc/4.7' 'gcc/4.8' em.make_all -