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

Kokron, Daniel S. (ARC-606.2)[InuTeq, LLC] daniel.s.kokron at nasa.gov
Wed Mar 13 08:55:12 CDT 2019


Jed,

You have to specify a flag at configure time to make the 'removed' symbols visible.

On 3/13/19, 6:52 AM, "petsc-dev on behalf of Jed Brown via petsc-dev" <petsc-dev-bounces at mcs.anl.gov on behalf of petsc-dev at mcs.anl.gov> wrote:

    I don't understand what you mean that it's "still there in the library".
    
    This goes along with other MPI-3.0 removals actually taking place in
    this implementation.
    
    Lisandro Dalcin via petsc-dev <petsc-dev at mcs.anl.gov> writes:
    
    > 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:
    >
    >>
    >> https://urldefense.proofpoint.com/v2/url?u=http-3A__ftp.mcs.anl.gov_pub_petsc_nightlylogs_archive_2019_03_01_make-5Fmaster-5Farch-2Dlinux-2Dpkgs-2D64idx-5Fthrash.log&d=DwIFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=7sAQSwN386DiWDHMHlwUt5wWqCjUbNf0BWS-K_15Guo&m=r30FFMrHmm1qd9QopjOe94LhnOPDCEE3rK7cBctciC0&s=qoZWGYkawaI7JSzPI9aZYAhEnvecelbo6qIKc9bT3Ck&e=
    >> 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)
    > https://urldefense.proofpoint.com/v2/url?u=http-3A__ecrc.kaust.edu.sa_&d=DwIFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=7sAQSwN386DiWDHMHlwUt5wWqCjUbNf0BWS-K_15Guo&m=r30FFMrHmm1qd9QopjOe94LhnOPDCEE3rK7cBctciC0&s=wZ-MWYSfq2L_GzELp3pjRuLuSJ2lBLgy2zqd6lS95X0&e=
    >
    > 4700 King Abdullah University of Science and Technology
    > al-Khawarizmi Bldg (Bldg 1), Office # 0109
    > Thuwal 23955-6900, Kingdom of Saudi Arabia
    > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kaust.edu.sa&d=DwIFaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=7sAQSwN386DiWDHMHlwUt5wWqCjUbNf0BWS-K_15Guo&m=r30FFMrHmm1qd9QopjOe94LhnOPDCEE3rK7cBctciC0&s=rlpX8HthoiMa1df0hi3aLgwO56FMVlVyfq1V1KkkW08&e=
    >
    > Office Phone: +966 12 808-0459
    



More information about the petsc-dev mailing list