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

ParaFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2004, 12:12
Default I would like to thank the Ope
  #1
Ales Alajbegovic (Alajbegovic)
Guest
 
Posts: n/a
I would like to thank the OpenFOAM to release the code open source!

I am going through installation. Due to the Linux system I am using, I had to rebuilt the code from the source. I also built paraview version 1.8.0 since it appears that paraFoam needs some of its libraries. OpenFOAM seems to working, I run the cavity tutorial and the otput to the screen makes sense. However, I cannot make paraFoam to work. These are the messages I am getting:

ErrorMessage
# Error or warning: ERROR: In /home/ales/OpenFOAM/linuxSrc/paraview-1.8.0/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx, line 882
vtkClientServerInterpreter (0xa0dea08): Cannot load module "PVFoamReader" from "/home/ales/OpenFOAM/OpenFOAM-1.0/lib/linuxOpt/libPVFoamReader.so".


ERROR: In /home/ales/OpenFOAM/linuxSrc/paraview-1.8.0/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx, line 886
vtkClientServerInterpreter (0xa0dea08): /lib/i686/libpthread.so.0: version `GLIBC_2.3.2' not found (required by /home/ales/OpenFOAM/linux/paraview-1.8.0/lib/vtk/libvtkCommon.so)


ERROR: In /home/ales/OpenFOAM/linuxSrc/paraview-1.8.0/GUI/Client/vtkPVXMLPackageParser.cxx, line 666
vtkPVXMLPackageParser (0xa5e7d80): Error loading Library component PVFoamReader


ErrorMessage end
/home/ales/OpenFOAM/OpenFOAM-1.0/bin/paraFoam: line 57: 3240 Segmentation fault paraview paraFoam.pvs


paraview works if I don't bring it up with paraFoam. During the built I had to change most of the cmake scripts for the PVFoamReader build since they had hardcoded directory structure and compiler locations.
  Reply With Quote

Old   December 21, 2004, 12:18
Default I had the same problem and en
  #2
Hrvoje Jasak (Hjasak)
Guest
 
Posts: n/a
I had the same problem and ended up rebuilding paraview. Take paraview (I'm using 1.8.1, which requires changing of version), unpack it in ~/OpenFOAM/linux, make a directory /OpenFOAM/linux/paraview-1.8.1/lib/paraview-1.8 and build it in there, with the inst location ~/OpenFOAM/linux/paraview-1.8.1

cmake, make, make install + some fiddling with the include files will sort it out - E-mail me if you're having trouble.

Hrv
  Reply With Quote

Old   December 21, 2004, 17:59
Default It seems you are pretty close
  #3
Henry Weller (Henry)
Guest
 
Posts: n/a
It seems you are pretty close, all you need to do having built paraview sucessfully is build the two parts of the reader module. Go to OpenFOAM-1.0/applications/utilities/postProcessing/graphics/PVFoamReader
and remove the PVFoamReader/linuxOpt and vtkFoam/linuxOpt directories and run Allwmake that should buld the reader module and then paraFoam should run fine.
  Reply With Quote

Old   December 21, 2004, 23:06
Default Thanks Hrvoje and Henry. I wa
  #4
Ales Alajbegovic (Alajbegovic)
Guest
 
Posts: n/a
Thanks Hrvoje and Henry. I was able to complete the installation following your suggestions.
  Reply With Quote

Old   February 22, 2005, 03:28
Default I did not have any problem wit
  #5
Luiz Eduardo Bittencourt Sampaio (Sampaio)
Guest
 
Posts: n/a
I did not have any problem with paraview in RedHat 9, but I am not able to run it in mandrake 10. I assume it has to do with my ignorance in linux. I am getting the following error (anyone has any suggestion?):

[luizebs@localhost linux]$ paraview
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ParaView error: InitializeTcl failed
Tk_Init error: this isn't a Tk applicationcouldn't connect to display ":0.0"

[luizebs@localhost linux]$
  Reply With Quote

Old   February 22, 2005, 03:33
Default err ... hmm ... are you conne
  #6
Kuan Tek Seang (Seang)
Guest
 
Posts: n/a
err ... hmm ... are you connecting to a machine remotely? try "xhost +"
  Reply With Quote

Old   February 22, 2005, 12:13
Default No. I am local...
  #7
Luiz Eduardo Bittencourt Sampaio (Sampaio)
Guest
 
Posts: n/a
No. I am local...
  Reply With Quote

Old   March 23, 2005, 06:24
Default Hi I'm trying to compile Pa
  #8
New Member
 
Paul Wells
Join Date: Mar 2009
Posts: 7
Rep Power: 17
wells is on a distinguished road
Hi

I'm trying to compile Paraview (and later Foam...) on a mac on Yellow Dog Linux. The compilation seems to go OK and creates lots of .o and .a files, but falls over trying to create the Paraview executable.

I'd appreciate any suggestions!

Here is the error:

Building object file ParaView.o...
Building executable /home/paulwells/paraview-1.8.3-linux/bin/paraview...
/usr/lib/gcc-lib/ppc64-yellowdog-linux/3.3.3/../../../../lib/crt1.o(.text+0x20): In function `_start':
: relocation truncated to fit: R_PPC_REL24 __libc_start_main@@GLIBC_2.0
/usr/lib/gcc-lib/ppc64-yellowdog-linux/3.3.3/../../../../lib/crti.o(.text+0x10): In function `call_gmon_start':
: relocation truncated to fit: R_PPC_LOCAL24PC _GLOBAL_OFFSET_TABLE_+fffffffffffffffc
ParaView.o(.text+0x90): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >& std::operator<<> >(std::basic_ostream<char,> >&, char const*)@@GLIBCPP_3.2
ParaView.o(.text+0xa4): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >::operator<<(std::basic_ostream<char,> >& (*)(std::basic_ostream<char,> >&))@@GLIBCPP_3.2
ParaView.o(.text+0xe0): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >& std::operator<<> >(std::basic_ostream<char,> >&, char const*)@@GLIBCPP_3.2
ParaView.o(.text+0x110): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >& std::operator<<> >(std::basic_ostream<char,> >&, char const*)@@GLIBCPP_3.2
ParaView.o(.text+0x124): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >::operator<<(std::basic_ostream<char,> >& (*)(std::basic_ostream<char,> >&))@@GLIBCPP_3.2
ParaView.o(.text+0x160): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >& std::operator<<> >(std::basic_ostream<char,> >&, char const*)@@GLIBCPP_3.2
ParaView.o(.text+0x190): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >& std::operator<<> >(std::basic_ostream<char,> >&, char const*)@@GLIBCPP_3.2
ParaView.o(.text+0x1a4): In function `MyMain(int, char**)':
: relocation truncated to fit: R_PPC_REL24 std::basic_ostream<char,> >::operator<<(std::basic_ostream<char,> >& (*)(std::basic_ostream<char,> >&))@@GLIBCPP_3.2
ParaView.o(.text+0x200): In function `MyMain(int, char**)':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[5]: *** [/home/paulwells/paraview-1.8.3-linux/bin/paraview] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Client] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_GUI] Error 2
make: *** [default_target] Error 2
wells is offline   Reply With Quote

Old   March 23, 2005, 06:52
Default Sounds like your linker has pr
  #9
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Sounds like your linker has problems. You could try using
- absolute latest libtools (ld, as)
- gcc-3.4.3
- paraview-1.8.5 or maybe paraview-2.0 (though paraFoam does not support that)

Anything from the paraview people?

Want to try OpenFOAM first before tackling paraview?

Mattijs
mattijs is offline   Reply With Quote

Old   March 23, 2005, 23:15
Default Hi Brad from Kiteware sugge
  #10
New Member
 
Paul Wells
Join Date: Mar 2009
Posts: 7
Rep Power: 17
wells is on a distinguished road
Hi

Brad from Kiteware suggested that the executable would be too long and gave some hints to fix this (which I'm still working) I since installed gcc3.4.3 and make fails because it can't find libstdc++.so.6 which is in /usr.local/bin (5 is in /usr/bin) how do I tell it to find the new one??

Also, I installed gcc3.4.3 in /usr/local. Can I edit the environment variables to tell FOAM to use this or do I have to install it again in $HOME/../../gcc-3.4.3 ??
wells is offline   Reply With Quote

Old   March 24, 2005, 06:01
Default Can you change your LD_LIBRARY
  #11
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Can you change your LD_LIBRARY_PATH so /usr.local/bin (without the '.' I assume) is first in it?

Foam sets the path to gcc in XXX/.bashrc line ~106. Depending on WM_COMPILER (which is set in the XXX/.OpenFOAM-1.1.1/bashrc for your architecture).

WM_COMPILER empty: you want to use the system default compiler. Nothing is added to the path or ld_library_path.

WM_COMPILER=Gcc: you want to use the Foam supplied gcc-3.4.3. Both path and ld_library_path are adapted.

I think for your architecture you want to set WM_COMPIER=Gcc and change that line 106.
mattijs is offline   Reply With Quote

Old   November 6, 2006, 05:47
Default Hi, I have this problem when
  #12
mss
Guest
 
Posts: n/a
Hi,
I have this problem when I tryed to start the FoamX
---------------------------------------------
Xlib: connection to ":0.0" refused by server
Xlib: no protocol specified
--------------------------------------------
Do you know how to solve this problem?

Thank you,
Rita
  Reply With Quote

Old   November 6, 2006, 06:17
Default Probably you run remote or as
  #13
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Probably you run remote or as a different user. Type
"xhost +" before you login onto a remote machine or as a different user.

Dragos
dmoroian is offline   Reply With Quote

Old   November 7, 2006, 10:44
Default Hi! I am a new user of OpenFO
  #14
darthnico
Guest
 
Posts: n/a
Hi!
I am a new user of OpenFOAM
and I have some difficulties running paraFoam

Here is the paraViewTrace0.pvs I got:

set kw(vtkTemp2) [$Application GetMainWindow]
set kw(vtkTemp76) [$kw(vtkTemp2) GetMainView]
# Error or warning:
# There was a VTK Error in file: ../../../../../paraview-2.4.2/GUI/Client/vtkPVWindow.cxx (2364)
# vtkPVWindow (0x858970): Cannot read file information when no reader is specified. This probably means that the reader for the file with name: /home/nrimbert/OpenFOAM/nrimbert-1.3/run/tutorials/icoFoam/cavity/./..foam cannot be found
#
# Error or warning:
# There was a VTK Error in file: ../../../../../paraview-2.4.2/GUI/Widgets/vtkKWApplication.cxx (1335)
# vtkPVApplication (0x61ba80):
# Script:
# cavity/paraFoam.pvs
# Returned Error on line 11:
# invalid command name ""
#

I imagine it is a simple error but I cannot figure what is it...
Thanks for any help...
Nicolas.

PS: I also have some problem running FoamX: when computing it overloaded my system... run fine through icofoam thought...
PPS: I am using a Dell precision 380 Pentium D830 with suse linux 9.3 and a x86_64 smp kernel
  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
[OpenFOAM] ParaFoam ehsan ParaView 6 November 23, 2008 07:07
[OpenFOAM] ParaFOAM ttdtud ParaView 2 May 29, 2008 10:08
[OpenFOAM] ParaFoam nzy102 ParaView 0 April 13, 2007 21:15
Please help me see this about paraFoam liugx212 OpenFOAM Running, Solving & CFD 2 March 8, 2006 10:54


All times are GMT -4. The time now is 04:16.