mpi4py compilation error with openMPI 4.0
Archlinux has just bump openmpi to version 4.0. This version seems to remove some deprecated code, leading to this failure:
In file included from /home/nicolas/ParaView/ParaView/VTK/ThirdParty/mpi4py/vtkmpi4py/src/MPI.c:4: /home/nicolas/ParaView/ParaView/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c: In function ‘__pyx_f_6mpi4py_3MPI_del_Datatype’: /home/nicolas/ParaView/ParaView/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:15141:36: error: ‘MPI_UB’ undeclared (first use in this function); did you mean ‘MPI_IO’? __pyx_t_1 = (((__pyx_v_ob) == MPI_UB) != 0); ^~~~~~ MPI_IO /home/nicolas/ParaView/ParaView/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:15141:36: note: each undeclared identifier is reported only once for each function it appears in /home/nicolas/ParaView/ParaView/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:15154:36: error: ‘MPI_LB’ undeclared (first use in this function); did you mean ‘MPI_IO’? __pyx_t_1 = (((__pyx_v_ob) == MPI_LB) != 0); ^~~~~~ MPI_IO
Regarding this issue https://bitbucket.org/mpi4py/mpi4py/issues/115/cannot-build-against-openmpi-400#comment-49251364 this should be fixed in mpi4py upstream.