|
[Sponsors] |
November 22, 2005, 05:24 |
Some problem with paraview
|
#1 |
Guest
Posts: n/a
|
I've just installed OpenFOAM, which can calculate normally. But there seem some problems with paraview. At first,when I execute paraview, it simply tells that '.../paraview: cannot execute binary file'. So I download another paraview(version-2.2.1) instead. This time,the paraview can work! But a new problem arises,when execute:
paraFoam ... ... it refers: ErrorMessage # Error or warning: ERROR: In /home/amy/ParaViewReleaseRoot/paraview-2.2.1/Utilities/VTKClientServer/vtkClient ServerInterpreter.cxx, line 866 vtkClientServerInterpreter (0x805cf40): Cannot find module "libPVFoamReader.so". The following paths were searched: /home/wzx/OpenFOAM/linux/paraview-2.2.0/lib/paraview-2.2 /home/wzx/OpenFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt/lam-7.1.1 /home/wzx/OpenFOAM/OpenFOAM-1.2/src/lam-7.1.1/platforms/linuxGcc4Opt/lib /home/wzx/OpenFOAM/linux/gcc-4.0.1/lib /home/wzx/OpenFOAM/wzx-1.2/lib/linuxGcc4Opt /home/wzx/OpenFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt /opt/intel/fc/9.0/lib /home/wzx/OpenFOAM/linux/paraview-2.2.0/lib /home/wzx/OpenFOAM/OpenFOAM-1.2/src/lam-7.1.1/platforms/linuxGcc4Opt/bin /home/wzx/OpenFOAM/OpenFOAM-1.2/src/mico-2.3.11/platforms/linuxGcc4Opt/bin /home/wzx/OpenFOAM/linux/j2sdk1.4.2_05/bin /home/wzx/OpenFOAM/linux/gcc-4.0.1/bin /home/wzx/OpenFOAM/wzx-1.2/applications/bin/linuxGcc4Opt /home/wzx/OpenFOAM/OpenFOAM-1.2/applications/bin/linuxGcc4Opt /home/wzx/OpenFOAM/OpenFOAM-1.2/wmake /home/wzx/OpenFOAM/OpenFOAM-1.2/bin /opt/intel/fc/9.0/bin /usr/local/bin /usr/bin /usr/X11R6/bin /bin /usr/games /opt/gnome/bin /opt/kde3/bin /usr/lib/mit/bin /usr/lib/mit/sbin /home/wzx/OpenFOAM/linux/paraview-2.2.0/bin /usr/lib /usr/lib/vtk /usr/local/lib /usr/local/lib/vtk ERROR: In /home/amy/ParaViewReleaseRoot/paraview-2.2.1/GUI/Client/vtkPVXMLPackageParser.cx x, line 677 vtkPVXMLPackageParser (0x8636630): Error loading Library component PVFoamReader ErrorMessage end There isn't the dir '/home/amy...' at all. And there is no 'PVFoamReader' too. who can help me to solve it, thanks a lot. |
|
November 22, 2005, 08:41 |
Hi,
here it is, I would thi
|
#2 |
Member
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17 |
Hi,
here it is, I would think (from above): /home/wzx/OpenFOAM/linux/paraview-2.2.0/bin You have to set $ParaView_VERSION in $WM_PROJECT_DIR/$FOAM_DOT_DIR/apps/paraView/{bashrc,cshrc} Assuming that you keep your new paraview-2.2.1 in $WM_PROJECT_INST_DIR/$WM_ARCH/ |
|
November 22, 2005, 10:28 |
I tried as suggested,but it ha
|
#3 |
Guest
Posts: n/a
|
I tried as suggested,but it has no effect. The situation looks like the same as I posted at first.
hmmm,it mainly mentions: ERROR: In /home/amy/ParaViewReleaseRoot/paraview-2.2.1/GUI/Client/vtkPVXMLPackageParser.cx x, line 677 vtkPVXMLPackageParser (0x864ddb0): Error loading Library component PVFoamReader /home/wzx/OpenFOAM/OpenFOAM-1.2/bin/paraFoam: line 57: 3608 section wrong paraview paraFoam.pvs The dir, '/home/amy/....', seems strange. I cannot find it at all. Execute 'paraFoam paraFoam.pvs' directly, paraview starts,but ends at once, hehe. |
|
November 22, 2005, 10:40 |
The /home/amy-part comes from
|
#4 |
Senior Member
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17 |
The /home/amy-part comes from the directory where the PVFoamReader was built originally, it is ok. You must use the paraview supplied with OpenFoam to be able to use paraFoam. Here it looks like you are using the version you downloaded from paraview homepage instead. If you wish, you can run foamToVTK on your case and use paraview to look at the results.
Did you download the correct paraview for your architecture from OpenFOAM download page? |
|
November 22, 2005, 10:46 |
en,i did download the paraview
|
#5 |
Guest
Posts: n/a
|
en,i did download the paraview supplied with OpenFoam...but it didn't work at all.
it happens that another person meet the same problem, look down. |
|
November 22, 2005, 10:54 |
I downloaded paraview for linu
|
#6 |
Senior Member
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17 |
I downloaded paraview for linux a couple of days ago without any problems (for OpenFOAM-1.2). (I believe the problem of below is different, paraview was not found which indicate some error in the installation process.)
My libPVFoamReader.so is in ${HOME}/OpenFOAM/OpenFOAM-1.2/lib/linuxGcc40pt/libPVFoamReader.so if yours is not there, you should try a reinstall of the OpenFOAM binary pack for linux. |
|
November 25, 2005, 14:44 |
Strange, suddenly I also got m
|
#7 |
Guest
Posts: n/a
|
Strange, suddenly I also got myself a problem with paraview/parafoam. I has worked for 2 months and when I start it now it says:
/home/martin/OpenFOAM/OpenFOAM-1.2/bin/paraFoam: line 57: 8710 Segmentation fault paraview paraFoam.pvs This is really strange. I restarted and still got this problem with all my cases. Perhaps reinstallation is the only way out now... |
|
November 25, 2005, 17:37 |
1. Maybe there is something in
|
#8 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
1. Maybe there is something in your ~/.Paraview* files it is not happy about?
2. Unsetenv PV_INTERFACE_PATH and try running paraview instead of paraFoam. |
|
November 26, 2005, 18:09 |
Hey, thanks a lot Mattijs,
|
#9 |
Guest
Posts: n/a
|
Hey, thanks a lot Mattijs,
I just did a: martin@linux:~> rm .ParaViewlmk martin@linux:~> rm .ParaViewrc And now everything seems to work again. I have absolutely no idea what might have screwed those files up, but the important thing is that now it works again and it was easy to fix :-) |
|
December 20, 2005, 20:32 |
Dear Martin Jørgensen:
I ha
|
#10 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Dear Martin Jørgensen:
I have the same question as you. But I really do not know what you said "martin@linux:~> rm .ParaViewlmk martin@linux:~> rm .ParaViewrc ". Could you please give more help? Thank you very much. Xiang |
|
December 25, 2005, 14:20 |
Those are hidden files. Theref
|
#11 |
Guest
Posts: n/a
|
Those are hidden files. Therefore you wont see them unless you write "ls -a". As I remember it, they were placed in your home directory. So you should be able to type:
1) cd ~ (or I think just "cd" would do the same) 2) rm .ParaViewlmk 3) rm .ParaViewrc And then everything worked, at least for me. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ParaView Execute problem | insta | OpenFOAM Installation | 2 | June 9, 2014 03:37 |
[General] Problem in using paraview | meballav | ParaView | 11 | October 12, 2012 17:03 |
[OpenFOAM] Installation problem with ParaView 3.8.0 on openSUSE 11.2 | aero_ | ParaView | 14 | August 2, 2010 19:13 |
Yet another Paraview problem | gascortado | OpenFOAM | 5 | February 21, 2010 07:39 |
[OpenFOAM] Problem with Colors in ParaView | sven | ParaView | 1 | May 31, 2009 09:13 |