<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>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>
        </b></font>
      <blockquote type="cite"
cite="mid:CAAbhqc6XCZBBzqsfBAQv=GZeVB2O3eRni193fNwexV8QXTojmg@mail.gmail.com">
        <div class="gmail_quote">
          <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"> <font color="#003333">I'm seeing
                this error building PNetCDF 1.12.0 with GCC 7.4.0 and
                OpenMPI-4.0.2:<br>
              </font>
              <blockquote><font color="#003333"><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>
                </font> <font color="#003333"><tt>In file included from
                    dtype_decode.c:16:0:</tt><br>
                </font> <font color="#003333"><tt>dtype_decode.c: In
                    function ‘ncmpii_dtype_decode’:</tt><br>
                </font> <font color="#003333"><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>
                </font> <font color="#003333"><tt>dtype_decode.c:390:14:
                    error: expected expression before ‘_Static_assert’</tt><br>
                </font> <font color="#003333"><tt>dtype_decode.c:390:42:
                    error: expected expression before ‘:’ token</tt><br>
                  <tt>         case MPI_COMBINER_HVECTOR_INTEGER:</tt><br>
                  <tt>                                          ^</tt><br>
                </font> <font color="#003333"><tt>dtype_decode.c:396:43:
                    error: expected expression before ‘:’ token</tt><br>
                  <tt>         case MPI_COMBINER_HINDEXED_INTEGER:</tt><br>
                  <tt>                                           ^</tt><br>
                </font> <font color="#003333"><tt>In file included from
                    dtype_decode.c:16:0:</tt><br>
                </font> <font color="#003333"><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>
                </font> <font color="#003333"><tt>dtype_decode.c:462:14:
                    error: expected expression before ‘_Static_assert’</tt><br>
                </font> <font color="#003333"><tt>dtype_decode.c:462:42:
                    error: expected expression before ‘:’ token</tt><br>
                  <tt>         case MPI_COMBINER_HVECTOR_INTEGER:</tt><br>
                  <tt>                                          ^</tt><br>
                </font> <font color="#003333"><tt>In file included from
                    dtype_decode.c:16:0:</tt><br>
                </font> <font color="#003333"><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>
                </font> <font color="#003333"><tt>dtype_decode.c:473:14:
                    error: expected expression before ‘_Static_assert’</tt><br>
                </font> <font color="#003333"><tt>dtype_decode.c:473:43:
                    error: expected expression before ‘:’ token</tt><br>
                  <tt>         case MPI_COMBINER_HINDEXED_INTEGER:</tt><br>
                  <tt>                                           ^</tt><br>
                </font> <font color="#003333"><tt>Makefile:535: recipe
                    for target 'dtype_decode.lo' failed</tt><br>
                </font> <font color="#003333"><tt>make[6]: ***
                    [dtype_decode.lo] Error 1</tt><br>
                </font> <font color="#003333"><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>
                </font> <font color="#003333"><tt>Makefile:452: recipe
                    for target 'all' failed</tt><br>
                </font> <font color="#003333"><tt>make[5]: *** [all]
                    Error 2</tt><br>
                </font> <font color="#003333"><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>
                </font> <font color="#003333"><tt>Makefile:473: recipe
                    for target 'all-recursive' failed</tt><br>
                </font> <font color="#003333"><tt>make[4]: ***
                    [all-recursive] Error 1</tt><br>
                </font> </blockquote>
              <font color="#003333"> 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.</font></div>
          </blockquote>
        </div>
      </blockquote>
      <font size="-1"><b>On 10/20/19 1:27 PM, Nick Papior wrote:</b></font><br>
    </div>
    <blockquote type="cite"
cite="mid:CAAbhqc6XCZBBzqsfBAQv=GZeVB2O3eRni193fNwexV8QXTojmg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <blockquote><font color="#003333">Probably this can be fixed by
            compiling OpenMPI 4 with this configure flag:</font></blockquote>
        <blockquote>
          <blockquote>
            <div><font color="#003333"><tt>--enable-mpi1-compatibility</tt><br>
              </font></div>
          </blockquote>
        </blockquote>
        <blockquote>
          <div><font color="#003333">The variables in questions are
              marked as removed in MPI-3 standard. So probably this is
              why?</font></div>
        </blockquote>
      </div>
    </blockquote>
    Yes --- this fixed the problem for both PNetCDF and Valgrind builds.<br>
    Thank you!!<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>