<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I'm seeing this error building PNetCDF 1.12.0 with GCC 7.4.0 and
    OpenMPI-4.0.2:<br>
    <blockquote><tt>make[6]: Entering directory
'/gpfs/fs1/SHARE/Utils/PNetCDF/1.12.0/GCC-7.4.0_OpenMPI-4.0.2/distro/src/drivers/common'</tt><br>
      <tt>  CC       utf8proc.lo</tt><br>
      <tt>  CC       mem_alloc.lo</tt><br>
      <tt>  CC       dtype_decode.lo</tt><br>
      <tt>In file included from dtype_decode.c:16:0:</tt><br>
      <tt>dtype_decode.c: In function ‘ncmpii_dtype_decode’:</tt><br>
      <tt>dtype_decode.c:390:14: error: expected expression before
        ‘_Static_assert’</tt><br>
      <tt>         case MPI_COMBINER_HVECTOR_INTEGER:</tt><br>
      <tt>              ^</tt><br>
      <tt>dtype_decode.c:390:14: error: expected expression before
        ‘_Static_assert’</tt><br>
      <tt>dtype_decode.c:390:42: error: expected expression before ‘:’
        token</tt><br>
      <tt>         case MPI_COMBINER_HVECTOR_INTEGER:</tt><br>
      <tt>                                          ^</tt><br>
      <tt>dtype_decode.c:396:43: error: expected expression before ‘:’
        token</tt><br>
      <tt>         case MPI_COMBINER_HINDEXED_INTEGER:</tt><br>
      <tt>                                           ^</tt><br>
      <tt>In file included from dtype_decode.c:16:0:</tt><br>
      <tt>dtype_decode.c:462:14: error: expected expression before
        ‘_Static_assert’</tt><br>
      <tt>         case MPI_COMBINER_HVECTOR_INTEGER:</tt><br>
      <tt>              ^</tt><br>
      <tt>dtype_decode.c:462:14: error: expected expression before
        ‘_Static_assert’</tt><br>
      <tt>dtype_decode.c:462:42: error: expected expression before ‘:’
        token</tt><br>
      <tt>         case MPI_COMBINER_HVECTOR_INTEGER:</tt><br>
      <tt>                                          ^</tt><br>
      <tt>In file included from dtype_decode.c:16:0:</tt><br>
      <tt>dtype_decode.c:473:14: error: expected expression before
        ‘_Static_assert’</tt><br>
      <tt>         case MPI_COMBINER_HINDEXED_INTEGER:</tt><br>
      <tt>              ^</tt><br>
      <tt>dtype_decode.c:473:14: error: expected expression before
        ‘_Static_assert’</tt><br>
      <tt>dtype_decode.c:473:43: error: expected expression before ‘:’
        token</tt><br>
      <tt>         case MPI_COMBINER_HINDEXED_INTEGER:</tt><br>
      <tt>                                           ^</tt><br>
      <tt>Makefile:535: recipe for target 'dtype_decode.lo' failed</tt><br>
      <tt>make[6]: *** [dtype_decode.lo] Error 1</tt><br>
      <tt>make[6]: Leaving directory
'/gpfs/fs1/SHARE/Utils/PNetCDF/1.12.0/GCC-7.4.0_OpenMPI-4.0.2/distro/src/drivers/common'</tt><br>
      <tt>Makefile:452: recipe for target 'all' failed</tt><br>
      <tt>make[5]: *** [all] Error 2</tt><br>
      <tt>make[5]: Leaving directory
'/gpfs/fs1/SHARE/Utils/PNetCDF/1.12.0/GCC-7.4.0_OpenMPI-4.0.2/distro/src/drivers/common'</tt><br>
      <tt>Makefile:473: recipe for target 'all-recursive' failed</tt><br>
      <tt>make[4]: *** [all-recursive] Error 1</tt><br>
    </blockquote>
    There has been some work done on the src/include/config.h file, that
    look like compatibility fixes for OpenMPI 4.0.2.<br>
    I'm able to build the same OpenMPI & PNetCDF with the PGI 19.9
    compiler without any problem.<br>
    Do any of you have some settings I can use to get around this?<br>
    I don't mind moving up to GCC 9.* if I have to.<br>
    Thanks in advance,<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>