|
[Sponsors] |
November 22, 2016, 12:38 |
OpenFOAM 2.3.0 ubuntu 16.04
|
#1 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Is it possible to install OpenFOAM 2.3.0 on ubuntu 16.04?
|
|
November 29, 2016, 16:45 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer:
__________________
Last edited by wyldckat; November 29, 2016 at 16:47. Reason: see "edit:" |
|
May 12, 2017, 19:21 |
Installation error of OpenFOAM 2.3.0 on Ubuntu 16.04
|
#3 |
Member
Yeru
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 12 |
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. Please set them or make sure they are set and tested correctly in the CMake files: MPI_EXTRA_LIBRARY (ADVANCED) linked by target "mpi4py.MPE" in directory /home/yeru/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/ThirdParty/mpi4py/vtkmpi4py linked by target "mpi4py.MPI" in directory /home/yeru/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/ThirdParty/mpi4py/vtkmpi4py linked by target "pmpi-mpe" in directory /home/yeru/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/ThirdParty/mpi4py/vtkmpi4py linked by target "pmpi-vt" in directory /home/yeru/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/ThirdParty/mpi4py/vtkmpi4py linked by target "pmpi-vt-mpi" in directory /home/yeru/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/ThirdParty/mpi4py/vtkmpi4py linked by target "pmpi-vt-hyb" in directory /home/yeru/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/ThirdParty/mpi4py/vtkmpi4py -- Configuring incomplete, errors occurred! See also "/home/yeru/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0/CMakeFiles/CMakeOutput.log". See also "/home/yeru/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0/CMakeFiles/CMakeError.log". Starting make make: *** No targets specified and no makefile found. Stop. Command exited with non-zero status 2 0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 2480maxresident)k 0inputs+0outputs (0major+142minor)pagefaults 0swaps Done make Installing ParaView to /home/yeru/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 make: *** No rule to make target 'install'. Stop. --- Installation complete for paraview-4.1.0 Set environment variables: export ParaView_DIR=/home/yeru/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.1 --- Done 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 |
|
May 27, 2017, 08:32 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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. |
|
November 1, 2017, 04:33 |
|
#5 |
Member
Johan Roenby
Join Date: May 2011
Location: Denmark
Posts: 93
Rep Power: 21 |
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. |
|
November 17, 2017, 08:11 |
Successfull installation of OF231
|
#6 | |
New Member
Gerrit
Join Date: Nov 2017
Posts: 1
Rep Power: 0 |
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 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Can't find installation instruction for Openfoam 2.4.x , on Ubuntu 16.04 | titanium | OpenFOAM Installation | 14 | February 20, 2020 12:46 |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 09:51 |
[OpenFOAM.com] Installation of OpenFOAM 1.7.1 on Ubuntu 16.04 | MM_Khan | OpenFOAM Installation | 11 | September 3, 2017 10:22 |
[OpenFOAM.org] OpenFoam v2.1.1 for Ubuntu 16.04 | ErickMontesdeOca | OpenFOAM Installation | 1 | July 20, 2016 16:53 |
Problems with OpenFOAM 2.3.0 on Ubuntu 14.04 | smallzilla | OpenFOAM Installation | 15 | September 14, 2014 13:11 |