Problem building PNetCDF 1.12.0 with GCC 7.4.0 and OpenMPI-4.0.2

Carl Ponder cponder at nvidia.com
Sun Oct 20 16:36:28 CDT 2019


*Den søn. 20. okt. 2019 kl. 18.41 skrev Carl Ponder via parallel-netcdf 
<parallel-netcdf at lists.mcs.anl.gov 
<mailto:parallel-netcdf at lists.mcs.anl.gov>>:
*
>
>     I'm seeing this error building PNetCDF 1.12.0 with GCC 7.4.0 and
>     OpenMPI-4.0.2:
>
>         make[6]: Entering directory
>         '/gpfs/fs1/SHARE/Utils/PNetCDF/1.12.0/GCC-7.4.0_OpenMPI-4.0.2/distro/src/drivers/common'
>           CC       utf8proc.lo
>           CC       mem_alloc.lo
>           CC       dtype_decode.lo
>         In file included from dtype_decode.c:16:0:
>         dtype_decode.c: In function ‘ncmpii_dtype_decode’:
>         dtype_decode.c:390:14: error: expected expression before
>         ‘_Static_assert’
>                  case MPI_COMBINER_HVECTOR_INTEGER:
>                       ^
>         dtype_decode.c:390:14: error: expected expression before
>         ‘_Static_assert’
>         dtype_decode.c:390:42: error: expected expression before ‘:’ token
>                  case MPI_COMBINER_HVECTOR_INTEGER:
>                                                   ^
>         dtype_decode.c:396:43: error: expected expression before ‘:’ token
>                  case MPI_COMBINER_HINDEXED_INTEGER:
>                                                    ^
>         In file included from dtype_decode.c:16:0:
>         dtype_decode.c:462:14: error: expected expression before
>         ‘_Static_assert’
>                  case MPI_COMBINER_HVECTOR_INTEGER:
>                       ^
>         dtype_decode.c:462:14: error: expected expression before
>         ‘_Static_assert’
>         dtype_decode.c:462:42: error: expected expression before ‘:’ token
>                  case MPI_COMBINER_HVECTOR_INTEGER:
>                                                   ^
>         In file included from dtype_decode.c:16:0:
>         dtype_decode.c:473:14: error: expected expression before
>         ‘_Static_assert’
>                  case MPI_COMBINER_HINDEXED_INTEGER:
>                       ^
>         dtype_decode.c:473:14: error: expected expression before
>         ‘_Static_assert’
>         dtype_decode.c:473:43: error: expected expression before ‘:’ token
>                  case MPI_COMBINER_HINDEXED_INTEGER:
>                                                    ^
>         Makefile:535: recipe for target 'dtype_decode.lo' failed
>         make[6]: *** [dtype_decode.lo] Error 1
>         make[6]: Leaving directory
>         '/gpfs/fs1/SHARE/Utils/PNetCDF/1.12.0/GCC-7.4.0_OpenMPI-4.0.2/distro/src/drivers/common'
>         Makefile:452: recipe for target 'all' failed
>         make[5]: *** [all] Error 2
>         make[5]: Leaving directory
>         '/gpfs/fs1/SHARE/Utils/PNetCDF/1.12.0/GCC-7.4.0_OpenMPI-4.0.2/distro/src/drivers/common'
>         Makefile:473: recipe for target 'all-recursive' failed
>         make[4]: *** [all-recursive] Error 1
>
>     There has been some work done on the src/include/config.h file,
>     that look like compatibility fixes for OpenMPI 4.0.2.
>     I'm able to build the same OpenMPI & PNetCDF with the PGI 19.9
>     compiler without any problem.
>     Do any of you have some settings I can use to get around this?
>     I don't mind moving up to GCC 9.* if I have to.
>
*On 10/20/19 1:27 PM, Nick Papior wrote:*
>
>     Probably this can be fixed by compiling OpenMPI 4 with this
>     configure flag:
>
>         --enable-mpi1-compatibility
>
>     The variables in questions are marked as removed in MPI-3
>     standard. So probably this is why?
>
Yes --- this fixed the problem for both PNetCDF and Valgrind builds.
Thank you!!

-----------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20191020/f021f148/attachment.html>


More information about the parallel-netcdf mailing list