<div dir="ltr">Probably this can be fixed by compiling OpenMPI 4 with this configure flag:<div><br></div><div>--enable-mpi1-compatibility<br></div><div><br></div><div>The variables in questions are marked as removed in MPI-3 standard. So probably this is why?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den søn. 20. okt. 2019 kl. 18.41 skrev Carl Ponder via parallel-netcdf <<a href="mailto:parallel-netcdf@lists.mcs.anl.gov">parallel-netcdf@lists.mcs.anl.gov</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div 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>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Kind regards Nick</div></div></div>