Closed 12Tall closed 4 years ago
Hi 12Tall,
This patch works for my case(Ubuntu MATE 20.04 LTS, OpenMPI 4.0.3). https://bitbucket.org/mpi4py/mpi4py/commits/42f5e35a6a90454516c11131549a08cd766edbb0
Just after you got above error, modify your
ThirdParty-7/ParaView-5.6.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/lib-mpi/config/openmpi.h
as above patch mentioned lines.
like this.
-----------(omitted)----------------
#endif /* OMPI <= 1.7.5 */
#endif
#if OMPI_NUMVERSION >= 40000
#undef PyMPI_HAVE_MPI_LB
#undef PyMPI_HAVE_MPI_UB
#endif /* OMPI >= 4.0.0 */
#endif /* !PyMPI_CONFIG_OPENMPI_H */
Then, build ParaView again.
./makeParaView -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 2>&1 | tee log.makePV
I found this patch from issues on mpi4py repository. https://bitbucket.org/mpi4py/mpi4py/issues/123/mpi4py-does-not-build-with-openmpi4
Best,
Hello panda1100 , Thanks a lot for such a detailed instruction. I've installed it successfully. Thanks again and Best wishes,
Hello, I am trying to install openfoam just follow http://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-7/Ubuntu/20.04. And there are some issues happened. I'm not good at python, nor openmpi. I'm very appreciate if anybody can help me.
I've got an error when I trying to execute the follow command:
and the log file shows:
System info:
Ubuntu 20.04 LTS 64bits
openmpi: