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

Paraview not found

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2011, 19:22
Question Paraview not found
  #1
Member
 
Join Date: Nov 2009
Posts: 56
Rep Power: 16
fusij is on a distinguished road
Hello,

I have compiled OF1.5-dev and setup Paraview according to the instructions given as below (PhD course - Chalmers). When I want to run it and type paraFoam I get the following message: /OpenFOAM/OpenFOAM-1.5-dev/bin/paraFoam: 105: paraview: not found. Does someone have a solution for this problem?

Quote:
Originally it would now have been time for compiling Paraview and the PV3FoamReader module, but there seems to be some problem with this, that has been discussed in the forum. For compiling Paraview, one should use the buildParaView3.3-cvs script, but there are some pieces missing. Instead we will use the pre-compiled Paraview 3.8.0, which includes a new nice reader for OpenFOAM (the instructions for this has been taken from http://www.cfd-online.com/Forums/blo...-openfoam.html): rm -rf $ParaView_DIR
mkdir -p $ParaView_DIR
cd $ParaView_DIR
For i?86 (check if the command “uname –m” returns i686):
wget http://www.paraview.org/files/v3.8/P...ux-i686.tar.gz
tar xzf ParaView-3.8.0-Linux-i686.tar.gz
mv ParaView-3.8.0-Linux-i686/* .
rmdir ParaView-3.8.0-Linux-i686
For x86_64 (check if the command “uname –m” returns x86_64):
wget http://www.paraview.org/files/v3.8/P...-x86_64.tar.gz
tar xzf ParaView-3.8.0-Linux-x86_64.tar.gz
mv ParaView-3.8.0-Linux-x86_64/* .
rmdir ParaView-3.8.0-Linux-x86_64
Now open the file $HOME/OpenFOAM/OpenFOAM-1.5-dev/bin/paraFoam and change
#caseFile="$caseName.foam"
caseFile="$caseName.OpenFOAM"
to:
caseFile="$caseName.foam"
#caseFile="$caseName.OpenFOAM"
Two additional hints from the same page:
* If your Linux installation isn't English, then you better follow these instructions: In the same paraFoam file, add the following after the first block of comments:
export LC_ALL=C
* If you are having problems with rescaling data in Paraview, you might have tripped on a now known bug in ParaView 3.8.0. To get past this, read this post (and its thread): paraview 3.8 auto rescale doesn't work #6
Time to test. In a new terminal window, type:
OF15dev
mkdir -p $FOAM_RUN
cp -r $FOAM_TUTORIALS/icoFoam/cavity $FOAM_RUN
cd $FOAM_RUN/cavity
blockMesh
icoFoam
paraFoam
fusij is offline   Reply With Quote

Old   January 1, 2011, 20:36
Default
  #2
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
Greetings Vigfús,

OK, with the OpenFOAM's 1.5-dev environment up and running, what does this command output:
Code:
echo $ParaView_DIR
If it outputs something, then what do these output:
Code:
ls $ParaView_DIR
du -sh $ParaView_DIR
From these two lines you should get the idea of what's inside the targeted ParaView folder and how much space is being occupied by it. If it's something less than 10-30MB, then you skipped one or two steps of the tutorial.

There is also another possibility for installing ParaView for usgin with OpenFOAM, depending on which Linux Distribution and version you are using. For example, if you are using Ubuntu 10.10, you can install ParaView 3.8.1 that is available from Ubuntu's repositories:
Code:
sudo apt-get install paraview
Best regards,
Bruno

PS: Wow, this is so cool A blog post of mine is being referenced at Chalmers, Dept of Thermo and Fluid Dynamics
__________________
wyldckat is offline   Reply With Quote

Old   January 1, 2011, 20:44
Smile
  #3
Member
 
Join Date: Nov 2009
Posts: 56
Rep Power: 16
fusij is on a distinguished road
Problem is solved. The precompiled ParaView3.8 directory created was named ParaView3.3-cvs. But since ParaView_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView-$ParaView_VERSION
or more specifically ParaView-3.3-cvs had nothing in it unless the linux64Gcc directory, I just moved the files under that directory in ParaView3.3-cvs to the ParaView-3.3-cvs directory. And now it works. I am not sure why there are two folders, but I followed the tutorial step by step.

Thank you Bruno for your quick answer.
fusij is offline   Reply With Quote

Reply

Tags
install, parafoam, paraview, setup


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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26


All times are GMT -4. The time now is 20:33.