Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment

This commit is contained in:
2015-01-16 16:14:51 +01:00
3 changed files with 30 additions and 1 deletions

View File

@@ -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

9
scripts/gtest.build Executable file
View File

@@ -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

20
scripts/opt-pilot.build Executable file
View File

@@ -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