PV3FoamReader and SUSE SLE-11 SP 3
gcc (SUSE Linux) 4.7.3
mpirun (Open MPI) 1.7.2 I installed OpenFOAM 2.2.x for Suse SLE-11 SP3 from this repository: https://build.opensuse.org/package/s...ge=openfoam22x I downloaded Third-Party-2.2.2.tgz i unzip it and move it to /opt/OpenFOAM/Third-Party-2.2.x ./makeParaView seems to work. Code:
cd /opt/OpenFOAM/OpenFOAM-2.2.x/applications/utilities/postProcessing/graphics/PV3Readers/ Now i tried ./Allwmake Code:
+ cd . |
Greetings jokergermany.de.vu and welcome to the forum!
It's possible that the people that created those packages are using the default ParaView version that comes with openSUSE. The simplest hack to use the system's ParaView version (or even the one you've already built now) is to add the following alias to your "~/.bashrc" file: Code:
paraFoam -builtin Code:
ls -l /opt/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libblockMesh.so Best regards, Bruno |
Thanks, I've done the two commands from the instructions, but the files sill didn't exist...
Code:
/opt/openfoam/OpenFOAM-2.2.x/platforms/linux64GccDPOpt # ls Code:
/opt/openfoam/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib # ls |
There is something very wrong in that installation. I have 104 "*.so" files inside the folder "lib" in my installation (edit: without counting the ones inside the subfolders!).
I strongly suggest that you remove that installation and build OpenFOAM 2.2.x from source code instead. The following instructions are for 2.2.2: http://openfoamwiki.net/index.php/In...#openSUSE_12.2 - but you can easily adjust your steps, based on the old git instructions, mostly because of the git repository link: http://www.openfoam.org/archive/2.2.2/download/git.php |
Thanks,
i trying to install the git repository now, but when i try to compile OpenFoam i get the following error: Code:
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lincompressibleTransportModels |
In the first link I had provided, in step #8, it specifies to execute this command:
Code:
./Allwmake > make.log 2>&1 In addition, even though you've mentioned in the first post that you have gcc 4.7.3, make sure that you also have the GNU C++ compiler of the same version: Code:
gcc --version |
Ok the g++ version was too old.
now both are version 4.6.4 I compile OpenFoam at the moment.... |
Yeah =)
Everything seems to work fine now with the root user. But a user without root rights didn't can run ParaFoam: user: Code:
blub@blubber:~/OpenFOAM/blub-2.2.x/run/motorbike> paraFoam Code:
blubber:/home/blub/OpenFOAM/blub-2.2.x/run/motorbike # paraFoam Code:
wmSet: command not found |
Ok the solution:
as root: Code:
chmod 777 -R /opt/OpenFoam Code:
cd /opt/OpenFOAM/OpenFOAM-2.2.x/applications/utilities/postProcessing/graphics/PV3Readers/ |
Quote:
"wmSet" is an invalid name, simply because Linux Distributions are usually case sensitive ;) |
All times are GMT -4. The time now is 15:25. |