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

Installation of Paraview

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2010, 06:43
Default Installation of Paraview
  #1
New Member
 
Join Date: Mar 2010
Location: Germany
Posts: 10
Rep Power: 15
Aloex is on a distinguished road
Hi,

I have successfullly installed OF 1.6 on my system (ubuntu 9.10) with the help from this forum. Now I want to install paraview and get some problems.

What I done:
1. sudo apt-get install qt4-qmake
2. sudo apt-get install libqt4-dev
3. the steps from the README-File:
  • cd $WM_THIRD_PARTY_DIR
  • rm -rf paraview-3.6.1/platforms
  • makeParaView
After I tipped "makeParaView" I get the follow mistake:
"makeParaView: command not found"

I don't know what I have to do now. I'm new in Linux and OF.

I hope somebody of you can me help.

Regards Aloex
Aloex is offline   Reply With Quote

Old   March 26, 2010, 09:03
Default
  #2
Member
 
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 17
josp is on a distinguished road
add ./ in front of the script i.e: ./makeParaView
josp is offline   Reply With Quote

Old   March 26, 2010, 12:03
Default
  #3
New Member
 
Join Date: Mar 2010
Location: Germany
Posts: 10
Rep Power: 15
Aloex is on a distinguished road
Thank you very much. Paraview is running now!

What's the meaning of this "./"?
Aloex is offline   Reply With Quote

Old   March 26, 2010, 16:41
Default
  #4
New Member
 
Join Date: Dec 2009
Posts: 8
Rep Power: 16
kippo is on a distinguished road
http://hvirvel.dk/wp/?p=3

Here are some usefull installation scripts

kippo
kippo is offline   Reply With Quote

Old   March 26, 2010, 18:18
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Quote:
Originally Posted by Aloex View Post
What's the meaning of this "./"?
The dot states that you're refering to the present/current folder. And in Linux, although when listing the makeParaView file, both represent the same file; but when executing a program, that program has to either belong to one of the folders listed in the PATH environment variable, or be given the correct folder path to that application.

One way to override this behaviour, is to add the dot symbol to that very same PATH... and that is exactly what the OpenFOAM makers have done, and that's why their steps are ambiguous Namely, they refer to either methods, because they both work in their system.

Quote:
Originally Posted by kippo View Post
http://hvirvel.dk/wp/?p=3

Here are some usefull installation scripts

kippo
Those scripts actually don't build Paraview, they just make use of the prebuilt version that comes with ThirdParty binary packages... at least last time I checked. And rebuilding Paraview are sometimes necessary, due to graphic card drivers and other installed libraries that conflict with the prebuilt version.
wyldckat is offline   Reply With Quote

Old   March 27, 2010, 07:37
Default
  #6
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,677
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by wyldckat View Post
One way to override this behaviour, is to add the dot symbol to that very same PATH... and that is exactly what the OpenFOAM makers have done, and that's why their steps are ambiguous Namely, they refer to either methods, because they both work in their system.
Adding '.' to the PATH may be convenient, but is generally not recommended for a secure system. It's probably just matter of habit though whether to write the shell command with or without a leading './' in documentation (with './' is better - less ambiguous).
olesen is offline   Reply With Quote

Old   March 27, 2010, 16:07
Default
  #7
New Member
 
Join Date: Dec 2009
Posts: 8
Rep Power: 16
kippo is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Those scripts actually don't build Paraview, they just make use of the prebuilt version that comes with ThirdParty binary packages... at least last time I checked. And rebuilding Paraview are sometimes necessary, due to graphic card drivers and other installed libraries that conflict with the prebuilt version.
Taht's right, but if using Ubuntu all the small changes needed to get a useful ParaView / paraFoam are included then...

If got all the new things, then just go to the Third-party folder and then run ./makeParaView

(takes a lot of time...)
kippo is offline   Reply With Quote

Old   March 28, 2010, 06:25
Default
  #8
New Member
 
Join Date: Mar 2010
Location: Germany
Posts: 10
Rep Power: 15
Aloex is on a distinguished road
Thx for your replies.
This forum works really well.
Aloex is offline   Reply With Quote

Old   March 28, 2010, 08:49
Default
  #9
New Member
 
Join Date: Dec 2009
Posts: 8
Rep Power: 16
kippo is on a distinguished road
Another additional info: If you run you OS in a different language than english (for me german): You have to add in the file:
$/HOME/OpenFoam/OpenFoam-1.6/bin/paraFoam (be aware, if version is different)

just the additional line in front of all other commands:

export LC_ALL=C

I am a newby, too. It cost a lot of time to get it run...

kippo

ps: I also recommend pyfoam

Gschaider et al. did a very good job
kippo is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
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
Paraview installation problem please help bender OpenFOAM Installation 2 February 27, 2006 06:00


All times are GMT -4. The time now is 02:37.