[mvapich-discuss] [PATCH] MV2_NUM_SA_QUERY_RETRIES

Subramoni, Hari subramoni.1 at osu.edu
Tue Aug 13 12:32:46 EDT 2019


Dear, Alex.

Thanks for the patch. I have taken it into the code. It will be available with the next public release of MVAPICH2.

Best,
Hari.

From: mvapich-discuss-bounces at cse.ohio-state.edu <mvapich-discuss-bounces at mailman.cse.ohio-state.edu> On Behalf Of Alexander Melnikov
Sent: Tuesday, August 13, 2019 4:45 AM
To: mvapich-discuss at cse.ohio-state.edu <mvapich-discuss at mailman.cse.ohio-state.edu>
Subject: [mvapich-discuss] [PATCH] MV2_NUM_SA_QUERY_RETRIES

This patch fixes the processing of the variable MV2_NUM_SA_QUERY_RETRIES.
diff -ru mvapich2-2.3.2-orig/src/mpid/ch3/channels/mrail/src/gen2/ibv_param.c mvapich2-2.3.2/src/mpid/ch3/channels/mrail/src/gen2/ibv_param.c
--- mvapich2-2.3.2-orig/src/mpid/ch3/channels/mrail/src/gen2/ibv_param.c 2019-08-09 04:26:25.000000000 +0500
+++ mvapich2-2.3.2/src/mpid/ch3/channels/mrail/src/gen2/ibv_param.c 2019-08-13 13:25:26.873671663 +0500
@@ -1561,7 +1561,7 @@
 #endif /* ENABLE_QOS_SUPPORT */

     if ((value = getenv("MV2_NUM_SA_QUERY_RETRIES")) != NULL) {
-        rdma_num_sa_query_retries = !!atoi(value);
+        rdma_num_sa_query_retries = atoi(value);
         if (rdma_num_sa_query_retries < RDMA_DEFAULT_NUM_SA_QUERY_RETRIES) {
             rdma_num_sa_query_retries = RDMA_DEFAULT_NUM_SA_QUERY_RETRIES;
         }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20190813/88b3ae0c/attachment.html>


More information about the mvapich-discuss mailing list