From d247c26b846e97be33c20dde9d43ff28ca13ea9b Mon Sep 17 00:00:00 2001 From: Rolf vandeVaart Date: Fri, 13 Sep 2013 14:38:49 +0000 Subject: [PATCH] In the case that HAVE_IBV_FORK_INIT is not defined, we will need this variable so we can give the user an error if they ask for it. Also fixes compile error when HAVE_IBV_FORK_INIT is not defined. This commit was SVN r29160. --- ompi/mca/btl/openib/btl_openib.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ompi/mca/btl/openib/btl_openib.h b/ompi/mca/btl/openib/btl_openib.h index 974e11e130..82756bc0b3 100644 --- a/ompi/mca/btl/openib/btl_openib.h +++ b/ompi/mca/btl/openib/btl_openib.h @@ -16,6 +16,7 @@ * reserved. * Copyright (c) 2006-2007 Voltaire All rights reserved. * Copyright (c) 2009-2010 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013 NVIDIA Corporation. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -284,10 +285,8 @@ struct mca_btl_openib_component_t { unsigned int cq_poll_progress; unsigned int cq_poll_batch; unsigned int eager_rdma_poll_ratio; -#ifdef HAVE_IBV_FORK_INIT /** Whether we want fork support or not */ int want_fork_support; -#endif int rdma_qp; int credits_qp; /* qp used for software flow control */ bool cpc_explicitly_defined;