|
[Sponsors] |
[OpenFOAM.com] Issues building Paraview/Parafoam for OpenFOAM 1612+: |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 19, 2017, 16:46 |
Issues building Paraview/Parafoam for OpenFOAM 1612+:
|
#1 |
New Member
Rui Diogo
Join Date: Jun 2017
Location: Lisbon
Posts: 1
Rep Power: 0 |
Hello everyone,
I've been trying to figure out my way around OpenFOAM 1612+ for several days now, (fresh Linux and OpenFOAM user here, so bear with me), so setting up my question will take a while, for which I'd like to apologize in advance. First things first, this is not a critical issue, though I'm guessing it could come back to bite me in the a** in a few tutorials' time. These are my specs: - OpenFOAM 1612+ - Ubuntu 16.04 (i686), running out of a Fujitsu Siemens with an intel Pentium Dual-Core I've followed this installation guide as best as possible: https://openfoamwiki.net/index.php/I...1612%2B/Ubuntu The step-by-step description was really helpful, but the problems began as I started to build Paraview (step 9 of the aforementioned guide) [see log in attachment]. Code:
./makeParaView -python -mpi -python-lib /usr/lib/i386-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1 Pushing on with the guide, I proceeded to build OpenFOAM. After some trial-and-error, I figured that the core number specification in Code:
./Allwmake -j 4 > log.make 2>&1 Now, as far as I can tell, I've successfully built OpenFOAM (both "blockMesh" and "icoFoam" are running smoothly]. At this point in time, this was my output for running "paraFoam" from the command line: Code:
rui@rui-AMILO-PRO-V3515:~/OpenFOAM/rui-v1612+/run/tutorials/incompressible/icoFoam/cavity/cavity$ paraFoam ERROR: ParaView reader module library (PVFoamReader) does not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PVReaders ./Allwclean ./Allwmake Created temporary 'cavity.foam' I tried the recommended solution: Code:
rui@rui-AMILO-PRO-V3515:~/OpenFOAM/OpenFOAM-v1612+/applications/utilities/postProcessing/graphics/PVReaders$ ./Allwclean wclean libso vtkPVReaders wclean libso vtkPVblockMesh wclean libso vtkPVFoam rui@rui-AMILO-PRO-V3515:~/OpenFOAM/OpenFOAM-v1612+/applications/utilities/postProcessing/graphics/PVReaders$ ./Allwmake ==> skip build of ParaView plugins include directory was for paraview major version 'none' Having no luck with the Paraview recommendations, I decided to build Paraview 5.0.1 directly from the site source (which isn't recommended for Ubuntu systems, as I've read). This worked to a limited extent. This is my output now: Code:
rui@rui-AMILO-PRO-V3515:~/OpenFOAM/rui-v1612+/run/tutorials/incompressible/icoFoam/cavity/cavity$ paraFoam ERROR: ParaView reader module library (PVFoamReader) does not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PVReaders ./Allwclean ./Allwmake Using the native VTK/OpenFOAM reader instead Created temporary 'cavity.foam' Any thoughts on how to make the build better, or at least sidestep this error message? Also, and I'm not sure if this is relevant, I haven't been able to correctly reboot or shutdown my system since installing the Ubuntu OS! Your help is greatly appreciated. Warm regards. |
|
October 19, 2017, 09:10 |
|
#2 |
New Member
Join Date: Aug 2016
Posts: 5
Rep Power: 10 |
Hi ruisdiogo,
I just reinstall the OpenFOAM v1612+ and I got exactly a same issue with you, all built are fine, as I took post-compilation steps the error occurred, then I tried to access to result folder and paraFoam appeared with same issue in terminal. Did you solve the problem? Regards |
|
December 15, 2017, 17:19 |
|
#3 |
New Member
Francisco Peņa Gallardo
Join Date: Jun 2016
Posts: 5
Rep Power: 10 |
I have the same problem building openfoam 1706
|
|
July 30, 2018, 07:13 |
|
#4 |
Senior Member
Join Date: Oct 2015
Location: Germany
Posts: 100
Rep Power: 11 |
Same with v1806
|
|
July 31, 2018, 09:55 |
|
#5 |
New Member
Join Date: Jun 2009
Location: Belgium
Posts: 11
Rep Power: 17 |
Me too... v1806 on Linux Mint
Laika, still orbiting |
|
October 22, 2018, 05:52 |
Yep... v1806 on ubuntu16.04
|
#6 |
New Member
Join Date: Mar 2017
Posts: 28
Rep Power: 9 |
Yep... v1806 on ubuntu16.04 |
|
October 24, 2018, 12:12 |
|
#7 |
Member
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 8 |
I have the same problem with -v1806 on Ubuntu 18.04.1 LTS.
Can anyone give a piece of advice? Regards P. |
|
October 27, 2018, 13:18 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Unfortunately I was not able to answer nor look into this anytime sooner and was not able to give an answer to the first two posts. The quick workaround would have been to install the paraview package that comes with Ubuntu, by running this command: Code:
sudo apt-get install paraview Code:
paraFoam -builtin Worse case scenario, you can export the case to VTK format with this command: Code:
foamToVTK Code:
paraFoam Best regards, Bruno
__________________
|
|
November 7, 2018, 22:45 |
|
#9 |
New Member
Luke Fitzpatrick
Join Date: Nov 2018
Location: Ontario, Canada
Posts: 2
Rep Power: 0 |
I'm a v1806 user. I followed instructions from this webpage to download OpenFOAM. OpenFOAM itself works fine with no issues, but I can't get paraview to work. I initially tried to run paraview simply by typing 'paraview' and the terminal told me:
Code:
sudo apt-get install paraview Code:
paraview: cannot connect to X server Code:
apt-get install xvfb xvfb-run paraview Code:
xvfb-run: error: Xvfb failed to start Code:
ERROR: ParaView reader module library (PVFoamReader) does not exist Please build the reader module before continuing: cd $WM_PROJECT_DIR/applications/utilities/postProcessing/graphics/PVReaders ./Allwclean ./Allwmake Using the native VTK/OpenFOAM reader instead Created temporary 'lpjf54.foam' paraview: cannot connect to X server Code:
==> skip build of ParaView plugins include directory was for paraview major version 'none' I think that's everything. Tbh I'm currently starting to use WRF and may not even use paraview with it, but I'll likely use it in the future if I play with OpenFOAM some more. Hopefully, there is enough info for you to help! |
|
November 8, 2018, 20:02 |
|
#10 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Quote:
Quote:
So after you've installed ParaView, you should follow the example at the bottom of the page you mentioned and then launch ParaView interactively on Windows. Then from within ParaView, menu File->Open, then browse to the folder where the case is located and open the file that ends with ".foam". This is because X server communications are not easy to enable from within WSL.
__________________
|
|||
November 11, 2018, 14:43 |
|
#11 |
New Member
Luke Fitzpatrick
Join Date: Nov 2018
Location: Ontario, Canada
Posts: 2
Rep Power: 0 |
Thank you. Everything works fine now.
|
|
Tags |
installation issue, openfoam 1612, parafoam, paraview |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] paraview not runing? (foam extended 3.2 and ubuntu 15.04) | Milan2013 | OpenFOAM Installation | 23 | April 20, 2017 06:49 |
[OpenFOAM.org] OpenFOAM 2.3.0 on CentOS 6.5 | entropies | OpenFOAM Installation | 33 | January 4, 2017 06:01 |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) | sfigato | OpenFOAM Installation | 22 | January 31, 2013 11:16 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |