|
[Sponsors] |
[OpenFOAM.org] "ParaView v.5.6.3 compiles without mods" NOT TRUE |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 24, 2021, 11:40 |
"ParaView v.5.6.3 compiles without mods" NOT TRUE
|
#1 |
New Member
Thomas Kosvic
Join Date: Mar 2009
Posts: 17
Rep Power: 17 |
I have been trying to get openfoam v8, or openfoam extend, or openfoam-dev running for a few weeks now. I am continually thwarted at the paraview compile. using ./makeparaview. Allother openfoam processes run except parafoam. Paraview is the main results source from openfoam runs and is the main reason for running openfoam.
There is a conflict between the "make" code processing and the files that are downloaded by the makeparaview process. A log of the compilation process shows an error as below: Code:
[ 88%] CS Wrapping - generating vtkFastMarchingGeodesicPathClientServer.cxx [ 88%] CS Wrapping - generating vtkGeodesicsBetweenPointsClientServer.cxx [ 88%] Compiling Qt help project MooseXfemClip.qhp /bin/sh: line 0: cd: /home/tom/OpenFOAM/ThirdParty-dev/build/linux64Gcc/ParaView-5.6.3/Plugins/MOOSETools/doc: No such file or directory make[2]: *** [Plugins/MOOSETools/CMakeFiles/MooseXfemClip.dir/build.make:95: Plugins/MOOSETools/doc/MooseXfemClip.qch] Error 1 make[1]: *** [CMakeFiles/Makefile2:44152: Plugins/MOOSETools/CMakeFiles/MooseXfemClip.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 88%] Building CXX object Plugins/AnalyzeNIfTIReaderWriter/CMakeFiles/AnalyzeNIfTIIO.dir/vtkznzlib.cxx.o There is no file MooseXfemClip.qch that is in MOOSETools/doc that the make system is looking for and was supposed to downloaded in theparaview compile process.. The above, I believe, results in termination of compilation as below: Code:
[ 89%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/moc_pqDisplayPolicy.cpp.o [ 89%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/moc_pqPythonView.cpp.o [ 89%] Linking CXX shared library ../../lib/libvtkpqCore-pv5.6.so [ 89%] Built target pqCore make: *** [Makefile:169: all] Error 2 real 24m46.272s user 170m36.263s sys 26m10.034s I have to go back to v1912 before I can get a version with parafoam script and the reader working. Any guidance, please? I could modify the make process to not ask for MOOSETools doc at all if pointed in the right direction. MOOSETools is under /paraview/plugins. I am using opensuse 15.3 with alll system files updated. There is a system version of paraview 5.9 installed but I can't see how to use a system paraview and get the openfoam reader. |
|
June 25, 2021, 13:05 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
I haven't tried it recently, but if you use the openSUSE science repo and install the paraview-devel-static package as well, it should provide enough files to compile various plugins. For specifying the system paraview, note there is also a corresponding file that you can use: https://develop.openfoam.com/Develop...araview-system |
||
November 14, 2022, 06:05 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I'm somewhat late to answering this, but the fix is to run the following command:
Code:
sed -i -e 's=\(arg_TABLE_OF_CONTENTS}")\)=\1\n file(MAKE_DIRECTORY "${arg_DESTINATION_DIRECTORY}")=' ParaView-5.6.3/CMake/ParaViewMacros.cmake
If your build already failed, then run the makeParaView command with the following additional options: Code:
-make -install
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using rhoSimpleFoam for simulating steady state flow in a CD nozzle | vignesh_sr | OpenFOAM Running, Solving & CFD | 6 | June 30, 2024 01:46 |
Sampling air passing through multiple windows | b.simpson | OpenFOAM Post-Processing | 3 | September 4, 2020 09:07 |
Sampling fields values passing through multiple windows | b.simpson | OpenFOAM Post-Processing | 0 | May 1, 2020 12:14 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
CFD post cannot load results-Error appeared? | mariam.sara | ANSYS | 9 | September 17, 2018 16:23 |