[mvapich-discuss] mvapich2-1.4.1.tgz build error with
--disable-registration-cache
Krishna Chaitanya
kandalla at cse.ohio-state.edu
Sat Apr 24 11:35:26 EDT 2010
Skipped content of type multipart/alternative-------------- next part --------------
Index: src/mpid/ch3/channels/mrail/src/gen2/dreg.c
===================================================================
--- src/mpid/ch3/channels/mrail/src/gen2/dreg.c (revision 3840)
+++ src/mpid/ch3/channels/mrail/src/gen2/dreg.c (working copy)
@@ -690,6 +690,7 @@
goto fn_exit;
}
+#if !defined(DISABLE_PTMALLOC)
int dreg_finalize()
{
lock_dreg();
@@ -729,13 +730,6 @@
return MPI_SUCCESS;
}
-
-
-
-
-#if !defined(DISABLE_PTMALLOC)
-
-
int have_dereg()
{
return pthread_equal(th_id_of_dereg_lock, pthread_self());
@@ -866,8 +860,6 @@
unlock_dereg();
unlock_dreg();
}
-
-
#endif /* !defined(DISABLE_PTMALLOC) */
/* will return a NULL pointer if registration fails */
Index: src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_init.c
===================================================================
--- src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_init.c (revision 3840)
+++ src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_init.c (working copy)
@@ -885,8 +885,9 @@
/* De-allocate vbuf region */
deallocate_vbuf_region();
-
+#if !defined(DISABLE_PTMALLOC)
err = dreg_finalize();
+#endif
if(MPIDI_CH3I_RDMA_Process.polling_set != NULL) {
MPIU_Free(MPIDI_CH3I_RDMA_Process.polling_set);
More information about the mvapich-discuss
mailing list