From edf58eb549c65f0d257dd010116765714c42de42 Mon Sep 17 00:00:00 2001 From: Rolf vandeVaart Date: Tue, 3 Mar 2015 09:50:01 -0500 Subject: [PATCH] Implement CUDA-aware workaround while fork support worked out --- opal/mca/btl/openib/btl_openib_mca.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opal/mca/btl/openib/btl_openib_mca.c b/opal/mca/btl/openib/btl_openib_mca.c index 9d19f12a4a..3e4577fe26 100644 --- a/opal/mca/btl/openib/btl_openib_mca.c +++ b/opal/mca/btl/openib/btl_openib_mca.c @@ -790,6 +790,7 @@ int btl_openib_verify_mca_params (void) } else { mca_btl_openib_module.super.btl_flags &= ~MCA_BTL_FLAGS_CUDA_COPY_ASYNC_RECV; } +#if 0 /* Disable this check for now while fork support code is worked out. /* Cannot have fork support and GDR on at the same time. If the user asks for both, * then print a message and return error. If the user does not explicitly ask for * fork support, then turn it off in the presence of GDR. */ @@ -801,6 +802,7 @@ int btl_openib_verify_mca_params (void) return OPAL_ERR_BAD_PARAM; } } +#endif /* Workaround */ #endif #if BTL_OPENIB_MALLOC_HOOKS_ENABLED