CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] "ParaView v.5.6.3 compiles without mods" NOT TRUE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2021, 10:40
Default "ParaView v.5.6.3 compiles without mods" NOT TRUE
  #1
New Member
 
Thomas Kosvic
Join Date: Mar 2009
Posts: 17
Rep Power: 17
tkoz is on a distinguished road
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.
tkoz is offline   Reply With Quote

Old   June 25, 2021, 12:05
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by tkoz View Post
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
olesen is offline   Reply With Quote

Old   November 14, 2022, 05:05
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 5 March 6, 2024 02:09
Sampling air passing through multiple windows b.simpson OpenFOAM Post-Processing 3 September 4, 2020 08:07
Sampling fields values passing through multiple windows b.simpson OpenFOAM Post-Processing 0 May 1, 2020 11:14
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
CFD post cannot load results-Error appeared? mariam.sara ANSYS 9 September 17, 2018 15:23


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