MPI/dks/build

- fix for static CUDA and OPAL
This commit is contained in:
2017-11-20 17:40:45 +01:00
parent 1d6aee6e7e
commit 85ab5178af

View File

@@ -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