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

[OpenFOAM.org] v6: Problems installing paraFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By olesen
  • 1 Post By wyldckat
  • 1 Post By paulj

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 3, 2019, 06:11
Default v6: Problems installing paraFoam
  #1
New Member
 
Paul Johnston
Join Date: Dec 2018
Location: Manchester UK
Posts: 9
Rep Power: 7
paulj is on a distinguished road
Hi

I have to install OpenFoam on Centos 7.5 (no don't ask!) and following issues with the graphics I have moved to building from source.
I'm using openfoam-6
The actual openfoam is okay but issues with installing openFoam
I have a work around at the bottom but was wondering if anyone has the same issue.


Installing paraView /paraFoam

As per notes https://openfoam.org/download/source...arty-software/

Code:
[paulj@pjux3 ThirdParty-6]$ ./makeParaView              
...
After a long time
Code:
...
[ 99%] Linking CXX shared library ../../lib/libNonOrthogonalSource.so
[ 99%] Built target paraview
[ 99%] Built target NonOrthogonalSource
make: *** [all] Error 2
I save a log file using
Code:
[paulj@pjux3 ThirdParty-6]$ ./makeParaView -qmake $(which qmake-qt4) > log.makePV 2>&1
Looking for errors the only thing I could see was.
Code:
--------------
[ 99%] Compiling Qt help project StreamLinesRepresentation.qhp
Error copying directory from "/home/paulj/OpenFOAM/ThirdParty-6/ParaView-5.4.0/Plugins/StreamLinesRepresentation/doc" to "/home/paulj/OpenFOAM/ThirdParty-6/build/linux64Gcc/ParaView-5.4.0/Plugins/StreamLinesRepresentation/doc".
[ 99%] Compiling Qt help project NonOrthogonalSource.qhp
-------------------------
That is because the source folder does not exist, i.e. no doc folder.

As a consequence

Code:
[paulj@pjux3 cavity]$ paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PVReaders
./Allwclean
./Allwmake
So I do this but get

Code:
[paulj@pjux3 PVReaders]$ ./Allwmake 
Allwmake applications/utilities/postProcessing/graphics/PVReaders
    ERROR: ParaView not found in /home/paulj/OpenFOAM/ThirdParty-6/platforms/linux64Gcc/ParaView-5.4.0
That is because the directory has the wrong name.


Code:
[paulj@pjux3 ~]$ ls /home/paulj/OpenFOAM/ThirdParty-6/platforms/
linux64GccDPInt32
Aside/Workaround
I copied the paraFoam from my Ubuntu box and initially got:

Code:
[paulj@pjux3 cavity]$ ~/paraFoam &
[1] 28895
[paulj@pjux3 cavity]$ FATAL ERROR: The official reader module for OpenFOAM data does not exist on
your system.  This means that the version of ParaView you are using was not
compiled with OpenFOAM, or distributed with a packaged version of OpenFOAM.

For information on packaged versions of OpenFOAM/ParaView and compilation of
OpenFOAM/ParaView, see https://openfoam.org/download

Alternatively, you might be able to view your OpenFOAM data with the reader
module provided with ParaView by running:
    paraFoam -builtin


[1]+  Exit 1                  ~/paraFoam
Trying this seems to work :-)

Code:
[paulj@pjux3 cavity]$ ~/paraFoam -builtin
Created temporary 'cavity.foam'

Last edited by wyldckat; January 5, 2019 at 15:00. Reason: Added [CODE][/CODE] markers
paulj is offline   Reply With Quote

 


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
[OpenFOAM] Unable to launch parafoam & boonhow ParaView 5 March 23, 2022 08:09
[OpenFOAM] Problems running paraFoam with OpenFOAM 6: "Illegal instruction (core dumped)" nwm ParaView 1 December 22, 2018 09:47
[OpenFOAM.org] Problems to install openfoam-2.4.0 on Ubuntu 16.04.01LTS matheusmonjon OpenFOAM Installation 3 February 25, 2017 14:46
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on Ubuntu 12.04 arieljeds OpenFOAM Installation 6 August 19, 2015 07:39
Problems installing CFX on Sun Unix Platform Haley CFX 2 November 9, 2001 09:52


All times are GMT -4. The time now is 11:42.