|
[Sponsors] |
December 21, 2004, 12:12 |
I would like to thank the Ope
|
#1 |
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. |
|
December 21, 2004, 12:18 |
I had the same problem and en
|
#2 |
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 |
|
December 21, 2004, 17:59 |
It seems you are pretty close
|
#3 |
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. |
|
December 21, 2004, 23:06 |
Thanks Hrvoje and Henry. I wa
|
#4 |
Guest
Posts: n/a
|
Thanks Hrvoje and Henry. I was able to complete the installation following your suggestions.
|
|
February 22, 2005, 03:28 |
I did not have any problem wit
|
#5 |
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]$ |
|
February 22, 2005, 03:33 |
err ... hmm ... are you conne
|
#6 |
Guest
Posts: n/a
|
err ... hmm ... are you connecting to a machine remotely? try "xhost +"
|
|
February 22, 2005, 12:13 |
No. I am local...
|
#7 |
Guest
Posts: n/a
|
No. I am local...
|
|
March 23, 2005, 06:24 |
Hi
I'm trying to compile Pa
|
#8 |
New Member
Paul Wells
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
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 |
|
March 23, 2005, 06:52 |
Sounds like your linker has pr
|
#9 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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 |
|
March 23, 2005, 23:15 |
Hi
Brad from Kiteware sugge
|
#10 |
New Member
Paul Wells
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
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 ?? |
|
March 24, 2005, 06:01 |
Can you change your LD_LIBRARY
|
#11 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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. |
|
November 6, 2006, 05:47 |
Hi,
I have this problem when
|
#12 |
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 |
|
November 6, 2006, 06:17 |
Probably you run remote or as
|
#13 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Probably you run remote or as a different user. Type
"xhost +" before you login onto a remote machine or as a different user. Dragos |
|
November 7, 2006, 10:44 |
Hi!
I am a new user of OpenFO
|
#14 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |