Commit e0ac0557 authored by Nicholas Breen's avatar Nicholas Breen

patches/openmpi-disable-gputest.patch: bypass...

patches/openmpi-disable-gputest.patch: bypass ChangingPinningPolicyRequiresCuda with OpenMPI build only
parent 28e9278c
Description: Disable CUDA pinning test on OpenMPI build
Seems to be broken with OpenMPI 3 only.
Origin: vendor
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896194
Forwarded: no
Last-Update: 2018-04-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: gromacs/src/gromacs/gpu_utils/tests/hostallocator.cpp
===================================================================
--- gromacs.orig/src/gromacs/gpu_utils/tests/hostallocator.cpp
+++ gromacs/src/gromacs/gpu_utils/tests/hostallocator.cpp
@@ -308,12 +308,14 @@ TYPED_TEST(HostAllocatorTest, ManualPinn
#else
+#if ! defined (OMPI_VERSION)
TYPED_TEST(HostAllocatorTest, ChangingPinningPolicyRequiresCuda)
{
typename TestFixture::VectorType input;
EXPECT_DEATH_IF_SUPPORTED(changePinningPolicy(&input, PinningPolicy::CanBePinned),
".*A suitable build of GROMACS.* is required.*");
}
+#endif // OMPI_VERSION
TYPED_TEST(HostAllocatorTest, ManualPinningOperationsWorkEvenWithoutCuda)
{
......@@ -5,3 +5,4 @@ doxygen.patch
disable-cpuinfotest.patch
hurd-disable-numa-test.patch
mdrun-test-timeout.patch
openmpi-disable-gputest.patch
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