Commit d2539cb1 authored by caubet_m's avatar caubet_m

Merge branch 'gromacs' into 'master'

Added Gromacs 2020.2

See merge request Pmodules/buildblocks!90
parents 2a9f473b a21e9b18
gromacs/2020_sp unstable gcc/7.4.0 openmpi/3.1.5_merlin6 cuda/10.0.130 Python/3.7.4 b:cmake/3.14.0
gromacs/2020.2_sp unstable gcc/7.5.0 openmpi/3.1.6_slurm cuda/10.0.130 Python/3.7.4 b:cmake/3.15.5
gromacs/2020.2_sp_gpu unstable gcc/7.5.0 openmpi/4.0.4_slurm cuda/10.0.130 Python/3.7.4 b:cmake/3.15.5
......@@ -11,10 +11,6 @@ else
pbuild::pre_configure() {
# For enabling GPU, set to 'yes'
local enable_gpu='yes'
echo here
pbuild::add_configure_args "-DCMAKE_BUILD_TYPE=RELEASE"
pbuild::add_configure_args "-DGMX_MPI=on"
......@@ -24,11 +20,16 @@ pbuild::pre_configure() {
pbuild::add_configure_args "-DGFMX_DOUBLE=off"
if [[ "${enable_gpu}" == 'yes' ]]; then
if pbuild::use_flag "gpu"; then
pbuild::add_configure_args "-DGMX_GPU=on"
pbuild::add_configure_args "-DGMX_GPU=off"
# To remove: pbuild::add_configure_args "-DGMX_SIMD=SSE2"
# For GMX_SIMD the lowest instruction number you think might work on all nodes
# |- Available numbers:
# |- AVX_512 is only for newest Intel processors (Xeon Scalable Gold, Core i9, etc.)
# AVX_512 will not work on old GPUs, this is why we chood AVX2_256 which are processors from 2013
pbuild::add_configure_args "-DGMX_SIMD=AVX2_256"
pbuild::add_configure_args "-DGMX_BUILD_OWN_FFTW=on"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment