- build-block added
This commit is contained in:
2016-12-16 17:22:40 +01:00
parent fb0a397e04
commit d0af7c7fb0
3 changed files with 35 additions and 0 deletions

3
MPI/dks/1/variants Normal file
View File

@@ -0,0 +1,3 @@
dks/1.0.1 unstable gcc/4.8.5 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
dks/1.0.1 unstable gcc/4.9.4 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3
dks/1.0.1 unstable gcc/5.4.0 openmpi/1.10.4 boost/1.62.0 cuda/8.0.44 b:cmake/3.6.3

23
MPI/dks/build Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env modbuild
pbuild::configure() {
export CXX=mpicxx
export CC=mpicc
cmake \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" "${MODULE_SRCDIR}" \
|| exit 1
}
pbuild::install() {
install -d "${PREFIX}/lib"
make install
}
pbuild::add_to_group 'MPI'
pbuild::make_all
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End:

9
MPI/dks/modulefile Normal file
View File

@@ -0,0 +1,9 @@
#%Module1.0
module-whatis "Dynamic Kernel Scheduler"
#module-url "http://"
module-license "PSI"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
"