OpenFOAM 2.3.0 ubuntu 16.04
Is it possible to install OpenFOAM 2.3.0 on ubuntu 16.04?
|
Quick answer:
|
Installation error of OpenFOAM 2.3.0 on Ubuntu 16.04
1 Attachment(s)
Hi Bruno,
As suggested, I followed the tutorials in your thread to install OF230 on Ubuntu 16.04. But it appeared error when I build ParaView with Python and MPI (ie, step 3). The error message is as below (attached also find log.makePV.failed.txt): Code:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Interestingly, when I tried to build without the flag of -mpi, the building process seemed proceed successfully. Do you know why -mpi flag caused the failure of build and whether the absence of -mpi can affect the performance of my installation? Many thanks, Yeru |
Quick answer @Yeru: If you followed the instructions from https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 - then the error message that you have gotten is because one of the fixes that use patch in 10.2 has failed.
Run the following command: Code:
cd $WM_THIRD_PARTY_DIR/ParaView-4.1.0 When running makeParaView4 without the "-mpi" option, that means that it has been built without MPI support. This is only needed if you are planning on using multi-core capabilities with ParaView itself. |
I have just installed OpenFOAM 2.2.0, 2.2.2, 2.3.1 and 3.0.1 on an Ubuntu 16.04 laptop. If I just follow the official instructions the OF installation fails with the first error being related to an "undefined reference to `yyFlexLexer::yywrap()'" when compiling PDRMesh. Following the instructions mentioned in this thread:
http://openfoamwiki.net/index.php/In...u#Ubuntu_16.04 this problem was solved (I guess due to step 11?) for all the above OF versions. The paraview patches in step 10 only worked for 2.3.1 and 3.0.1 since 2.2.0 and 2.2.2 use an older paraview version. Thanks a lot for sharing. |
Successfull installation of OF231
Quote:
Thanks for sharing, too. Via this thread I managed to finally install OF231 following this step by step instructions: http://openfoamwiki.net/index.php/In...u#Ubuntu_16.04 :) |
All times are GMT -4. The time now is 15:46. |