CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Installation

ParaView Installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 19, 2012, 16:32
Default ParaView Installation
  #1
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 4
pbarc is on a distinguished road
Hello,

I am attempting to install OpenFOAM 2.1.1 on the Redhat scientific version of Linux.

I receive this error when I attempt execute the command wmSET:

-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamEtcFile: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/etc/config/settings.sh: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/etc/config/aliases.sh: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamEtcFile: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamEtcFile: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory



I also get this error when I run ./Allwmake from the PV3Readers directory.

vtkPV3Foam.C:194: error: ‚partId‚ was not declared in this scope
vtkPV3Foam.C:194: error: ‚forAll‚ was not declared in this scope
vtkPV3Foam.C:195: error: expected ‚;‚ before ‚{‚ token
vtkPV3Foam.C:179: warning: unused variable ‚selection‚
vtkPV3Foam.C:828: error: expected ‚}‚ at end of input
make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Error 1
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
PV3FoamReader/Allwmake: line 12: cmake: command not found
+ make
make: *** No targets specified and no makefile found. Stop.


Any help on how to proceed would be much appreciated
pbarc is offline   Reply With Quote

Old   September 19, 2012, 18:26
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings pbarc and welcome to the forum!

Quote:
Redhat scientific version of Linux
Which specific version? Is it in the 5.x or 6.x series?

Either way, the dedicated project to OpenFOAM +RedHat Linux and derived versions is CentFOAM: http://sourceforge.net/apps/mediawik...itle=Main_Page

Associated to this subject, there is at least this thread: paraView reader module build problem

Good luck!
Bruno
wyldckat is offline   Reply With Quote

Old   September 20, 2012, 11:23
Default
  #3
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 4
pbarc is on a distinguished road
Thanks for the help Bruno,

I am running the 6.x version.

The problems seem to be when I run makeParaview. During the output it says that:

etc/tools/ParaViewFunctions: line 422: cmake: command not found
Starting make
make: *** No targets specified and no makefile found. Stop.

I have installed the most recent version of cmake locally and added the dir of cmake to the .bashrc file.

But when I execute the command which cmake it says no cmake in (then list a bunch of directorys) but I checked the directory that cmake is in and it is listed in the directories that the which command says it is not in.

Any ideas?

Thanks,
Paul
pbarc is offline   Reply With Quote

Old   September 23, 2012, 12:39
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Paul,

Sorry for taking so long to answer you, but only today did I get around to test this. You'll find the resulting instructions from my endeavor at http://openfoamwiki.net/index.php/In...HEL#CentOS_6.3

Skip to point #7 for building CMake and ParaView.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 24, 2012, 10:52
Default
  #5
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 4
pbarc is on a distinguished road
Thanks Bruno,

So I now have Paraview and cmake built, but when I run the wmSET command an error shows up saying:

>> $ wmSET $FOAM_SETTINGS
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamEtcFile: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/etc/config/settings.sh: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/etc/config/aliases.sh: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamEtcFile: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamEtcFile: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory
-bash: /data/app/OpenFOAM/OpenFOAM-2.1.1/bin/foamCleanPath: No such file or directory



If I skip the wmSET and go onto ./Allwclean and ./Allwmake, Error 2 shows up while building:

[ 64%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/moc_pqPV3FoamReaderPanelImplementation.cxx.o
[ 70%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkPV3FoamReader.cxx.o
In file included from /home/pbarc/OpenFOAM/OpenFOAM-2.1.1/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/vtkPV3FoamReader.cxx:43:
/home/pbarc/OpenFOAM/OpenFOAM-2.1.1/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/../vtkPV3Foam/vtkPV3Foam.H:64:23: error: className.H: No such file or directory
/home/pbarc/OpenFOAM/OpenFOAM-2.1.1/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/../vtkPV3Foam/vtkPV3Foam.H:65:22: error: fileName.H: No such file or directory ...
Reader/vtkPV3FoamReader.cxx:349: error: ‚debug‚ is not a member of ‚Foam::vtkPV3Foam‚
make[2]: *** [CMakeFiles/PV3FoamReader_SM.dir/vtkPV3FoamReader.cxx.o] Error 1
make[1]: *** [CMakeFiles/PV3FoamReader_SM.dir/all] Error 2
make: *** [all] Error 2


Any idea on to why that may happen?

Thanks,
Paul
pbarc is offline   Reply With Quote

Old   September 24, 2012, 11:11
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Paul,

Start a new terminal and try the last block once again, without the wmSET command, i.e.:
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers  
./Allwclean
./Allwmake
Additionally, you should check if you have ParaView properly built:
Code:
which paraview
If this command returned nothing, then something went wrong.

The reason why wmSET worked in such a very wrong way was probably because you didn't follow the instructions from the beginning, where the settings are being defined in a different way.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 24, 2012, 11:45
Default
  #7
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 4
pbarc is on a distinguished road
I ran ./Allwclean and ./Allwmake without running wmSET and the installation seems to have worked and I was able to open paraFoam while running the first tutorial.

Thanks for your help Bruno!
pbarc is offline   Reply With Quote

Reply

Tags
paraview 3.12

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 18:26
Installation problem with ParaView 3.8.0 on openSUSE 11.2 aero_ OpenFOAM Paraview & paraFoam 14 August 2, 2010 19:13
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 13:59


All times are GMT -4. The time now is 14:38.