[petsc-dev] MPI_UB is deprecated in MPI-2.0

Lisandro Dalcin dalcinl at gmail.com
Wed Mar 13 01:29:40 CDT 2019


Please note that OpenMPI 4.0.0 actually removed MPI_UB from mpi.h; the
symbol is still there in the library, but scheduled for definitive removal
in an upcoming release.

On Wed, 13 Mar 2019 at 07:13, Balay, Satish via petsc-dev <
petsc-dev at mcs.anl.gov> wrote:

>
> http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2019/03/01/make_master_arch-linux-pkgs-64idx_thrash.log
> has the following [but for some reason - its filtered out from the warning
> count]
>
> >>>>>>>
> In file included from
> /sandbox/petsc/petsc.master-3/src/dm/impls/forest/p4est/dmp4est.c:13:0:
> /sandbox/petsc/petsc.master-3/src/dm/impls/forest/p4est/pforest.c: In
> function ‘DMPforestGetTransferSF_Point’:
> /sandbox/petsc/petsc.master-3/src/dm/impls/forest/p4est/pforest.c:2518:7:
> warning: ‘ompi_mpi_ub’ is deprecated (declared at
> /sandbox/petsc/petsc.master-3/arch-linux-pkgs-64idx/include/mpi.h:928):
> MPI_UB is deprecated in MPI-2.0 [-Wdeprecated-declarations]
>        MPI_Datatype     blockTypes[5] =
> {MPI_INT32_T,MPI_INT8_T,MPI_INT16_T,MPI_INT32_T,MPI_UB};
> <<<<<<
>
> Any idea how to fix this?
>
> Thanks,
> Satish



-- 
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 0109
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190313/487e68e8/attachment.html>


More information about the petsc-dev mailing list