CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] "ParaView v.5.6.3 compiles without mods" NOT TRUE (https://www.cfd-online.com/Forums/openfoam-installation/236977-paraview-v-5-6-3-compiles-without-mods-not-true.html)

tkoz June 24, 2021 10:40

"ParaView v.5.6.3 compiles without mods" NOT TRUE
 
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 cannot get any more info on exactly what is the termination cause.



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.

olesen June 25, 2021 12:05

Quote:

Originally Posted by tkoz (Post 806769)
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.


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

wyldckat November 14, 2022 05:05

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
  • Note: This will only work if the ParaView source code package was already unpacked.

If your build already failed, then run the makeParaView command with the following additional options:
Code:

-make -install
so that it will continue from where it left off, instead of starting from zero.


All times are GMT -4. The time now is 09:07.