Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment
This commit is contained in:
@@ -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
9
scripts/gtest.build
Executable 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
20
scripts/opt-pilot.build
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user