|
[Sponsors] |
February 14, 2020, 21:20 |
Issue Installing Paraview for OpenFOAM
|
#1 |
New Member
anonymous
Join Date: Sep 2009
Posts: 9
Rep Power: 16 |
Hi,
I am trying to install Paraview that's required for OpenFOAM according to the instruction provided in this link: https://www.openfoam.com/download/install-source.php However, I get an error when I enter the following prompt: root@nanay001-Bonobo-WS:/home/nanay001/OpenFOAM/ThirdParty-v1912# ./makeParaView ./makeParaView: 64: local: -DWM_DP: bad variable name ./makeParaView: 64: ./makeParaView: -DOPENFOAM: bad variable name The error message is the last two lines above. Please advise. |
|
February 15, 2020, 03:15 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
Please find the related threads in OF-GitLab and StackExchange. It is a solved problem:
https://stackoverflow.com/questions/...43244#59643244 https://develop.openfoam.com/Develop...am/issues/1541 https://develop.openfoam.com/Develop...mmon/issues/48
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror Last edited by HPE; February 15, 2020 at 06:04. |
|
February 15, 2020, 04:41 |
|
#3 |
New Member
Mary
Join Date: Feb 2020
Posts: 2
Rep Power: 0 |
||
February 16, 2020, 00:28 |
|
#4 |
New Member
anonymous
Join Date: Sep 2009
Posts: 9
Rep Power: 16 |
Hi
I've followed the solution as posted in the 3 links provided above. However, I am still getting error messages. This is what I have done: 1- Edit the ./cmakeParaView file to change the first line from #!/bin/sh to #!/bin/bash 2- run the command: sudo dpkg-reconfigure dash When I run the above command, I get the message prompt shown in the attached file, or below, which I select "NO": Configuring dash The system shell is the default command interpreter for shell scripts. Using dash as the system shell will improve the system's overall performance. It does not alter the shell presented to interactive users. Use dash as the default system shell (/bin/sh)? <Yes> <No> 3- run the command: ./makeParaView At the end of this run, I get the following error output: -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so CMake Error at VTK/CMake/vtkQt.cmake:6 (message): Expected value for VTK_QT_VERSION is '5' Call Stack (most recent call first): VTK/GUISupport/Qt/CMakeLists.txt:1 (include) -- Configuring incomplete, errors occurred! See also "/home/nanay001/OpenFOAM/ThirdParty-v1912/build/linux64Gcc/ParaView-5.6.3/CMakeFiles/CMakeOutput.log". See also "/home/nanay001/OpenFOAM/ThirdParty-v1912/build/linux64Gcc/ParaView-5.6.3/CMakeFiles/CMakeError.log". I am not sure how to fix this error, please advise. Thanks |
|
February 16, 2020, 06:05 |
|
#5 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
It seems you solved the first problem. This is another problem. Have you installed all required pre-requisite packages? e.g. package for VTK?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 16, 2020, 22:53 |
|
#6 |
New Member
anonymous
Join Date: Sep 2009
Posts: 9
Rep Power: 16 |
Hi,
I recently installed VTK 8.2, but I'm still getting the same error as shown below. -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so CMake Error at VTK/CMake/vtkQt.cmake:6 (message): Expected value for VTK_QT_VERSION is '5' Call Stack (most recent call first): VTK/GUISupport/Qt/CMakeLists.txt:1 (include) -- Configuring incomplete, errors occurred! See also "/home/nanay001/OpenFOAM/ThirdParty-v1912/build/linux64Gcc/ParaView-5.6.3/CMakeFiles/CMakeOutput.log". See also "/home/nanay001/OpenFOAM/ThirdParty-v1912/build/linux64Gcc/ParaView-5.6.3/CMakeFiles/CMakeError.log". root@nanay001-Bonobo-WS:/home/nanay001/OpenFOAM/ThirdParty-v1912# I am not sure what else I could do to fix this problem. I have attached a file with the complete run that I obtained. Please advise. Last edited by felik9; February 16, 2020 at 23:58. |
|
February 17, 2020, 15:31 |
|
#7 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
Build ParaView separately?
Almost always ParaView is pain in the arse for OpenFOAM maintainers for various legitimate reasons. I never bother with paraFoam. Using ParaView directly is possible, so. e.g. In your simulation directory you create an empty text file, like with a name a.foam, and just calling "paraview a.foam" is equivalent to "paraFoam", alomost. In the worst case, you can submit a bug ticket in GitLab.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
April 20, 2020, 13:55 |
|
#8 | |
New Member
Gerhard
Join Date: Mar 2017
Posts: 26
Rep Power: 9 |
Quote:
If you made it to that point, the following link might just solve your problem: https://zhuanlan.zhihu.com/p/82423956 I had the same "Expected value for VTK_QT_VERSION is '5'" issue when I tried to install OF v1906. I followed the instructions exactly and it sorted me out. I hope it helps you or others with the same issue as well. All the best! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] foam-extend-3.1 multiple versions paraview issue | CFDpal | OpenFOAM Installation | 1 | May 31, 2018 08:51 |
[General] Paraview display issue on Windows | zjx1805 | ParaView | 0 | May 4, 2018 13:06 |
Issue installing SU2-AD | kaush | SU2 | 1 | April 23, 2018 10:40 |
[OpenFOAM.org] problem installing ParaView with openFoam5 | enginpower | OpenFOAM Installation | 3 | March 26, 2018 10:34 |
Installing OpenFOAM without Paraview | quartzian | OpenFOAM Installation | 0 | September 8, 2008 09:29 |