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 -