|
[Sponsors] |
[OpenFOAM.com] An Error in recompiling of openFoam-7 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2021, 06:56 |
An Error in recompiling of openFoam-7
|
#1 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Dear foamers
I faced the following error during the installation of OpenFOAM-7 from HTML Code:
https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-7/Ubuntu/20.04 Code:
./makeParaView -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1 Code:
vtkmpi4py/src/MPI.c:4: /home/ali/OpenFOAM/ThirdParty-7/ParaView-5.6.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c: In function ‘__pyx_f_6mpi4py_3MPI_del_Datatype’: /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’ 322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.") | ^~~~~~~~~~~~~~ /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1112:24: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’ 1112 | # define MPI_UB THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_UB, MPI_Type_create_resized); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ali/OpenFOAM/ThirdParty-7/ParaView-5.6.0/VTK/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:14831:36: note: in expansion of macro ‘MPI_UB’ 14831 | __pyx_t_1 = (((__pyx_v_ob[0]) == MPI_UB) != 0); | ^~~~~~ /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’ Thanks |
|
Tags |
error, openfoam-7, ubuntu 20.04 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |