CFD Online Logo CFD Online URL
www.cfd-online.com
[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   February 17, 2012, 00:45
Default Paraview Installation
  #1
New Member
 
Aru
Join Date: Feb 2012
Location: Chennai, India
Posts: 26
Rep Power: 6
arunsmec is on a distinguished road
Send a message via Skype™ to arunsmec
I installed OpenFOAM using the source pack. While i was trying to run one of the tutorials, i encountered the following error.

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake

But i had done these prior to running the tutorial. When i executed the ./allwmake i got the following message.

user@ubuntu:~/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/postProcessing/graphics/PV3Readers$ ./Allwmake
+ [ -d /home/arun/OpenFOAM/ThirdParty-2.1.0/platforms/linuxGcc/paraview-3.12.0 -a -r /home/arun/OpenFOAM/ThirdParty-2.1.0/platforms/linuxGcc/paraview-3.12.0 ]


I am not able to understand what is wrong. What is the way out of this?
ps: I am an absolute beginner in UNIX
arunsmec is offline   Reply With Quote

Old   February 18, 2012, 07:16
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Arun and welcome to the forum!

I didn't get an opportunity and enough time yesterday, but right now I've managed to focus a bit on this thread... but, you aren't providing much information as what exactly you've done and what errors occurred!

I've seen some issues similar to these a few days ago, so check there as well: ParaView installation problem on Suse 11.4

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 18, 2012, 10:16
Default
  #3
New Member
 
Aru
Join Date: Feb 2012
Location: Chennai, India
Posts: 26
Rep Power: 6
arunsmec is on a distinguished road
Send a message via Skype™ to arunsmec
Thank You
I installed using soure pack as directed in http://www.openfoam.org/download/source.php
I have followed the steps closely as i am new to Linux.
I could build the Openfoa using ./allwmake command.
Towards the end when i tried to run an example case (as directed) i got the error that
"FATAL ERROR: PARAVIEW LIBRARIES DOES NOT EXIST"
I was asked to do the folowing steps which i have done already.

cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
wmSET
./Allwclean
./Allwmake


I have found similar problems in this forum. In one of the forums you have asked to check if some files are there in /opt.
But i extracted the files to home/arun/OpenFOAM/
arunsmec is offline   Reply With Quote

Old   February 18, 2012, 17:38
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Arun,

OK, I was expecting some more information, namely, which Linux distribution are you using?
  • Ubuntu?
  • Fedora?
  • openSUSE?
And which version?
  • Ubuntu 10.04 or 11.10?
  • Fedora 16?
  • openSUSE 12.1?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 19, 2012, 00:20
Default Sorry for not mentioning!
  #5
New Member
 
Aru
Join Date: Feb 2012
Location: Chennai, India
Posts: 26
Rep Power: 6
arunsmec is on a distinguished road
Send a message via Skype™ to arunsmec
Ubuntu 10.04
arunsmec is offline   Reply With Quote

Old   February 19, 2012, 07:28
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Arun,

Aaaaah HA! If only you had said that sooner

Quote:
Originally Posted by http://www.cfd-online.com/Forums/blogs/wyldckat/533-related-issues-paraview-openfoam-fixes-solutions.html
OpenFOAM 2.1.0/x and building ParaView 3.12.0 on Ubuntu 10.04: paraview compilation error paraview-3.12.0 - post #9


Good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 20, 2012, 12:29
Default Thank you
  #7
New Member
 
Aru
Join Date: Feb 2012
Location: Chennai, India
Posts: 26
Rep Power: 6
arunsmec is on a distinguished road
Send a message via Skype™ to arunsmec
But i cant connect to openfoam website. So I couldnt do what you have said.
I am using proxy to connect to internet. It could be because of that. I may try from somewhere else.
arunsmec is offline   Reply With Quote

Old   February 21, 2012, 00:30
Default
  #8
New Member
 
Sam-CFD's Avatar
 
Sam Mathew
Join Date: Apr 2010
Location: India
Posts: 19
Rep Power: 8
Sam-CFD is on a distinguished road
I am not successful either in connecting to the OpenFOAM website and doing the installation from there. But I was finally able to successfully install from the source package, although I encountered similar errors as you mentioned.

You should do the following steps (I humbly must repeat that you should rigorously follow the steps as mentioned below, if you are a beginner with GNU/Linux):

1. You can set your proxy server ip/port along with username/password for your Ubuntu 10.04 following the instructions given here - http://www.youtube.com/watch?v=edLl9tEg7oI

2. The next step is to install OpenFOAM and ParaFOAM, exactly according to the instructions given on the official website - http://www.openfoam.org/download/source.php. I can assure you that if you obey all the instructions as stated there, you should be able to resolve the matter. Even if you tried it earlier, do it again, now that you have set the proxy server settings for your OS.

Hopefully it helps.

Sam
Sam-CFD is offline   Reply With Quote

Old   March 13, 2012, 11:42
Default Thank you all
  #9
New Member
 
Aru
Join Date: Feb 2012
Location: Chennai, India
Posts: 26
Rep Power: 6
arunsmec is on a distinguished road
Send a message via Skype™ to arunsmec
Finally it is working. Sam, As you told i configured the proxy settings and installed all dependency packages 1 by 1. I guess that was the problem which i had.. Any way, thanks once again!!
arunsmec is offline   Reply With Quote

Old   March 13, 2012, 14:12
Default
  #10
Member
 
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 6
nadine is on a distinguished road
Hello,
I am dealling with a similar problem, and i wish to get some help in here
I am new in the linux world, I installed an OpenFoam package for Fedora 15 from the OpenFoam site http://www.openfoam.org/download/fedora.php
and everything worked when i did the test.
Then i installed a Salome package ( i used the Madriva package which was recommended for fedora http://www.salome-platform.org/downloads/salome-v6.4.0 ) after that when i tried to use paraview i had this error:
"
FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
"
and when i tried to check the modules buy typing "module available", i had this second error: " init.c(479):ERROR:161: Cannot initialize TCL "
I tried to reinstall tcl, but i am getting a "nothing to do" message!!!
So please can some one help me!

Best Regards,
Nadine
nadine is offline   Reply With Quote

Old   March 15, 2012, 18:59
Default
  #11
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Nadine and welcome to the forum!

The module that the error message refers to is a whole other kind of module, not the type that Fedora uses.

I won't be able to test this kind of installation any time soon, nor go into detail in trying to help you, so I suggest that you read the following blog post: Advanced tips for working with the OpenFOAM shell environment

Good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 16, 2012, 05:11
Default
  #12
Member
 
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 6
nadine is on a distinguished road
Hello bruno,
Thanks for answering me that quickly, but unfortunately your link didn't give me any information related to my problem.
I wish you had more time
Have a nice day,
Nadine
nadine is offline   Reply With Quote

Old   March 16, 2012, 21:06
Default
  #13
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Nadine,

I think my first guess was right, although I didn't make it very clear: the problem is very likely a collision of software versions that are present in both Salome and OpenFOAM.

By the way, which version for "Mandriva" did you use on Fedora 15? I tried the one for Mandriva 2010 and it simply wasn't able to run the installer!

Anyway, I installed the "Universal Binary for Linux" in my home folder and the solution was this:
  1. Re-edit the file "~/.bashrc":
    Code:
    gedit ~/.bashrc
  2. Remove the two lines that were stated in step 3 from http://www.openfoam.org/download/fedora.php :
    Code:
    module load openmpi-x86_64
    source /opt/OpenFOAM-2.1.0/etc/bashrc
  3. Add in place of them the following two lines:
    Code:
    alias of210opt='module load openmpi-x86_64 ; source /opt/OpenFOAM-2.1.0/etc/bashrc'
    alias salome='$HOME/salome/appli_V6_4_0/runAppli'
  4. Save and close gedit.
  5. Now start a new terminal. If you want a working OpenFOAM environment, run:
    Code:
    of210opt
    And that terminal is ready to use OpenFOAM.
  6. If you want to run Salome:
    Code:
    salome
If you show us what the lines you've added to "~/.bashrc" look like, it'll be a loooot easier to help

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 17, 2012, 10:53
Default
  #14
Member
 
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 6
nadine is on a distinguished road
Hello Bruno,

You are absolutely right! I am amazed by the fact, that you could guess what's the problem and find the solution without enough information from my part!
Actually the problem was that when I source salome.sh, a problem appears with openmpi module which disfonction paraview, so yesterday before reading your reply, I tried another solution by adding another account where I only use salome! That's seems to work until now, but I will also try your solution.

And yes I installed Mandriva 2010.

Thanks a lot for your Help and the time that you consumed in order to solve my problem

Have a nice Week-end,
Nadine
nadine is offline   Reply With Quote

Reply

Tags
openfoam, openfoam 2.1.0, paraview, 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 18: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 18:07
Paraview installation troubles jjhall OpenFOAM Installation 3 April 17, 2008 12:59


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