|
[Sponsors] |
August 2, 2012, 16:26 |
paraFoam error on dual version install
|
#1 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
Hi my name is Clint. I took an OpenFOAM course a year or two ago, where we were given the bootable Linux flash drives. I actually still run on the drive sometimes. It has OF 1.6-ext installed on it. And I decided I wanted 2.1.1 to get some of the lagrangian examples. So I downloaded and installed it according to the directions for the Deb pack. It seemed like everything went fine. I edited my bashrc file so I had an alias for of16x and one for of211. I restarted everything and tried my of16x alias and it worked fine. I could run everything and paraFoam worked.
Then I restarted the terminal and ran my of211 alias. Seemed like it worked. I went into my 2.1.1 directory and was able to use blockMesh to mesh an example geometry and was able to run the solver (rhoSimplecFoam was the one I started with). Then I went to look at the results with paraFoam and go this: FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake I read some threads troubleshooting this. One suggested to add "PV_PLUGIN_PATH" to the bashrc file, which I tried. That didn't fix it. Actually I did notice that right when I start a terminal, I can echo PV_PLUGIN_PATH and get the correct path, but then once I run openfoam 2.1.1, it returns nothing if I echo it. Anyway, just looking for some help with this. I can currently visualize results from my 2.1.1 install in a round about way by restarting the terminal and loading openfoam 1.6ext for running paraFoam, but I shouldn't have to. Thanks! -Clint |
|
August 2, 2012, 16:54 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Clint and welcome to the forum!
Did you install the ParaView deb package as well, the one provided with OpenFOAM 2.1.1? Or better yet, what does this command output: Code:
which paraview Bruno
__________________
|
|
August 2, 2012, 20:48 |
|
#3 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
I did install the new Paraview version that came with OF 2.1.1. I followed the installation directions on the OF download page:
sudo apt-get install paraviewopenfoam3120 It appears to have installed the correct version. I get Paraview 3.12 when I type which. Is there something else I needed to do? |
|
August 3, 2012, 06:08 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Clint,
I've seen this error occur for other people several times, but I can't seem to understand what's necessary for replicating this issue I re-read your first post: Quote:
By the way, do you know which Linux distribution, version and architecture you're using? You should be able to get that information by running: Code:
cat /etc/lsb-release uname -m Best regards, Bruno
__________________
|
||
August 6, 2012, 09:41 |
|
#5 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
Sorry, I was out of town without internet over the weekend.
I meant once I type the alias I created for openfoam 2.1.1 (I created a second one for openfoam 1.6-ext), that PV_PLUGIN_PATH seems to disappear. I am running kubuntu. I'll check the version and post it in a few mins. |
|
August 7, 2012, 10:58 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Clint,
I've installed Kubuntu 12.04 x86_64 in a virtual machine and followed the instructions from http://www.openfoam.org/download/ubuntu.php - I had to reboot the machine after installing ParaView, in order for the graphics drivers to adjust or something like that. But after that, I've had no problems. So, let's do some more diagnosing:
Bruno
__________________
|
|
August 7, 2012, 17:22 |
|
#7 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
Thanks again for the help with this!
So, the response for "which paraview" is: /usr/bin/paraview Also, just for reference, these are my aliases for OpenFOAM version 1.6-ext and 2.1.1 that I created in my bashrc: alias of16x = 'source /usr/lib/OpenFOAM-1.6-ext/etc/bashrc alias of211 = 'source /opt/openfoam211/etc/bashrc Just to be clear, I didn't install the original OpenFOAM 1.6-ext. I was given a bootable Linux USB drive during the OpenFOAM training course I took that had it pre-installed, so I don't know details of that installation procedure. So it looks like my paraview path is different from yours. I noticed that I do not have the "paraviewopenfoam3120" folder at all in my /opt directory. Next, I tried your suggestions of defining PV_PLUGIN_PATH manually right before running paraFOAM. When I did this, it started to run paraview, but then aborted and gave the following error: Read float past end of buffer paraview: /build/buildd/paraview-3.6.2/vtk/utilities/vtknetcfd/posixio.c: 433: px-get: Assertion 'extent!=0' failed I didn't copy and paste that into here, so if a dot or a slash isn't right, it's my fault, but that's what it came back with. After that error I closed out my terminal and opened a new one, typed my of16x alias to load the old openfoam version, went back to the same tutorial directory I tried above, and paraFoam loaded right up and I could see the geometry. It seems like paraview is currently linked to my old version of openfoam only (same directory when I type "which paraview"). Is the paraview/paraFoam path independent of which version of openfoam I'm using? What I mean is, should that path change depending on which openfoam alias I type? |
|
August 7, 2012, 19:37 |
|
#8 | |||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
this isn't a good sign...
Quote:
Code:
alias of16x='source /usr/lib/OpenFOAM-1.6-ext/etc/bashrc' alias of211='source /opt/openfoam211/etc/bashrc' Quote:
Quote:
Quote:
Quote:
If you confirm that ParaView 3.6.2 is the version being used by OpenFOAM 1.6-ext, then what file extension is it using for opening the file? ".foam" or ".OpenFOAM"?
__________________
|
||||||
August 8, 2012, 11:48 |
|
#9 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
OK, so I think it's an issue with the paraview 3.12 install. Apparently the old paraview is still running rather than the new one. I thought I was running the newer version this whole time. I followed the install instructions and it did create some folders, but the old one is still running. Do I need to uninstall it completely? I thought it might just update my version. I am a bit nervous about screwing up my 1.6-ext version.
Also, my aliases don't have those spaces after the '=' signs, I just typed it like that in my response for some reason. I'll wait to hear from you before I try to install paraview 3.12 again from the instructions on the openfoam download page. FYI, my version of Ubuntu is 10.04.1 LTS and I have KDE 4.4.2 according to the help menu. Thanks for your help! |
|
August 8, 2012, 15:05 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Clint,
Something is off in your system I've finished testing in a clean installation and the ParaView package installed without problems. Running the following command gives the shown output: Code:
$ du -sh /opt/paraviewopenfoam3120/ 128M /opt/paraviewopenfoam3120/ Code:
uname -m
Code:
sudo dpkg -P paraviewopenfoam3120_0-1_amd64.deb sudo dpkg -i paraviewopenfoam3120_0-1_amd64.deb Bruno
__________________
|
|
August 9, 2012, 12:23 |
|
#11 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
Thanks for all the help here. But I think the whole problem is this bootable USB. I think I'm running out of space and things are acting funny. I'm going to scrap the install here and do a proper install on a spare PC. I imagine it will fix all my issues. Thanks again, and I'll let you know if I have trouble with that.
-Clint |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
OpenFoam install script Error during paraFoam installation | SePe | OpenFOAM Installation | 10 | June 19, 2010 16:15 |
How to change the compiler version | ivanyao | OpenFOAM Installation | 0 | September 11, 2008 23:48 |
Install development version on Ubuntu | hsieh | OpenFOAM Installation | 9 | December 31, 2007 09:18 |
P4 1.5 or Dual P3 800EB on Gibabyte board | Danial | FLUENT | 4 | September 12, 2001 12:44 |