From 85ab5178af7282c1d2563d9917c3744c0c7e4389 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 20 Nov 2017 17:40:45 +0100 Subject: [PATCH] MPI/dks/build - fix for static CUDA and OPAL --- MPI/dks/build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MPI/dks/build b/MPI/dks/build index 7c8de63..8bbcd6c 100755 --- a/MPI/dks/build +++ b/MPI/dks/build @@ -6,6 +6,13 @@ conf=() if (( ${vers[0]} >= 1 && ${vers[1]} >= 1 )); then conf+=("-DDKS_FULL=ON") fi +if (( ${vers[0]} >= 1 && ${vers[1]} >= 1 && ${vers[2]} >= 2 )); then + # if we want to link OPAL with static cuda libraries, we + # cannot use DKS_FULL=ON. This must be fixed in DKS. + conf=() + conf+=("-DENABLE_OPAL=ON") + conf+=("-DSTATIC_CUDA=1") +fi pbuild::configure() { export CXX=mpicxx