[mpich2-commits] r6621 - mpich2/trunk
balaji at mcs.anl.gov
balaji at mcs.anl.gov
Thu May 6 20:36:23 CDT 2010
Author: balaji
Date: 2010-05-06 20:36:23 -0500 (Thu, 06 May 2010)
New Revision: 6621
Modified:
mpich2/trunk/configure.in
Log:
In order to check for the size of OPA_ptr_t, we need to make sure
appropriate variables are declared for it to work in emulation mode as
well. This showed up as an error with the suncc compiler on linux
which is not natively supported by OPA.
Modified: mpich2/trunk/configure.in
===================================================================
--- mpich2/trunk/configure.in 2010-05-04 16:44:56 UTC (rev 6620)
+++ mpich2/trunk/configure.in 2010-05-07 01:36:23 UTC (rev 6621)
@@ -5991,7 +5991,10 @@
# Find the size of OPA_ptr_t. This step needs to come after the OPA
# configure above in order to get the size OPA_ptr_t evaluated for
# this platform.
-AC_CHECK_SIZEOF(OPA_ptr_t,-1,[#include "${master_top_srcdir}/src/openpa/src/opa_primitives.h"])
+AC_CHECK_SIZEOF(OPA_ptr_t,-1,[
+#include "${master_top_srcdir}/src/openpa/src/opa_primitives.h"
+pthread_mutex_t *OPA_emulation_lock;
+])
if test "$enable_f77" != "yes" ; then
# These are Fortran datatypes ONLY. Set to null if no Fortran compiler.
More information about the mpich2-commits
mailing list