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

ParaView Installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2012, 15:32
Default ParaView Installation
  #1
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 13
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, 17:26
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 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: http://www.cfd-online.com/Forums/ope...tml#post359479

Good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 20, 2012, 10:23
Default
  #3
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 13
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, 11:39
Default
  #4
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 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, 09:52
Default
  #5
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 13
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, 10:11
Default
  #6
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
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, 10:45
Default
  #7
New Member
 
Paul B
Join Date: Sep 2012
Posts: 9
Rep Power: 13
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


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
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 17:26
[OpenFOAM] Installation problem with ParaView 3.8.0 on openSUSE 11.2 aero_ ParaView 14 August 2, 2010 18:13
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59


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