MPI/gromacs

- use variant files to specify dependencies
- use max SSE2
- SOURCE_URL added
This commit is contained in:
2017-11-20 17:55:44 +01:00
parent a6044f16ba
commit a8f456dfb5
4 changed files with 8 additions and 3 deletions

View File

@@ -0,0 +1 @@
gromacs/2016.4 unstable gcc/5.4.0 openmpi/1.10.4 b:cmake/3.6.3

1
MPI/gromacs/4/variants Normal file
View File

@@ -0,0 +1 @@
gromacs/4.6.7 unstable gcc/4.8.4 openmpi/1.8.4

3
MPI/gromacs/5/variants Normal file
View File

@@ -0,0 +1,3 @@
gromacs/5.0.4 unstable gcc/4.8.4 openmpi/1.8.4
gromacs/5.0.5 unstable gcc/4.9.2 openmpi/1.8.4
gromacs/5.1.2 unstable gcc/4.9.3 openmpi/1.10.0

View File

@@ -1,20 +1,20 @@
#!/usr/bin/env modbuild
SOURCE_URL="http://ftp.gromacs.org/pub/$P/$P-$V.tar.gz"
pbuild::configure() {
cmake \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DGMX_MPI=on \
-DGMX_GPU=off \
-DGMX_SIMD=SSE2 \
-DGMX_BUILD_OWN_FFTW=on \
"${MODULE_SRCDIR}" \
|| exit 1
}
pbuild::add_to_group 'MPI'
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}"
pbuild::set_build_dependencies "${COMPILER}" "${MPI}" cmake
pbuild::set_docfiles \
AUTHORS \
COPYING \