<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><font size="-1"><b>On 10/20/19 7:36 PM,
Wei-keng Liao wrote:</b></font><br>
</div>
<blockquote type="cite"
cite="mid:DDEE14BC-B8D5-48D0-9A39-3B8151137326@eecs.northwestern.edu">
<blockquote>
<pre class="moz-quote-pre" wrap="">Since you mentioned you have checked file src/include/config.h,
could you please let me know whether this line below appears there?
#define HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER 0
This line shows that PnetCDF configure.ac does check whether the
deprecated MPI constant MPI_COMBINER_HVECTOR_INTEGER is still
defined in mpi.h. Therefore, that compile error from line 390 of
file dtype_decode.c should not happen.
389 #if defined HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER && HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER
390 case MPI_COMBINER_HVECTOR_INTEGER:
391 #endif
</pre>
</blockquote>
</blockquote>
These builds of 1.12.0 have the setting 1<tt><br>
</tt>
<blockquote><tt>PGI-19.9_OpenMPI-4.0.1.LLVM/distro/src/include/config.h:#define
HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER 1</tt><br>
<tt>PGI-19.9_OpenMPI-4.0.1/distro/src/include/config.h:#define
HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER 1</tt></blockquote>
and these have the setting 0<tt><br>
</tt>
<blockquote><tt>PGI-19.9_OpenMPI-4.0.2.LLVM/distro/src/include/config.h:#define
HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER 0</tt><br>
<tt>PGI-19.9_OpenMPI-4.0.2/distro/src/include/config.h:#define
HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER 0</tt></blockquote>
So going from OpenMPI 4.0.1 -> 4.0.2 caused the change.<br>
In this case<br>
<blockquote><tt>GCC-7.4.0_OpenMPI-4.0.2/distro/src/include/config.h:#define
HAVE_DECL_MPI_COMBINER_HVECTOR_INTEGER 1</tt><br>
</blockquote>
I had build GCC with the flag suggested by Nick Papior<br>
<blockquote><tt>--enable-mpi1-compatibility</tt><br>
</blockquote>
and the problem went away for my builds of both PNetCDF &
Valgrind.<br>
Somehow this had been a problem building with GCC but not PGI.<br>
<br>
-- Carl<br>
<br>
<DIV>
<HR>
</DIV>
<DIV>This email message is for the sole use of the intended recipient(s) and may
contain confidential information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message. </DIV>
<DIV>
<HR>
</DIV>
</body>
</html>