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

[OpenFOAM.org] Installation of ParaView 4.1.0 with OpenFOAM 2.3.0 on OpenSuse 13.2

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By alexeym
  • 1 Post By elones
  • 1 Post By Hrushi
  • 1 Post By behrouz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2014, 06:58
Default Installation of ParaView 4.1.0 with OpenFOAM 2.3.0 on OpenSuse 13.2
  #1
Member
 
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 15
Hrushi is on a distinguished road
Hi,

I have successfully compiled OpenFOAM 2.3.0 on OpenSuse 13.2.
However, I am unable to get paraview running.

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

Please see attached log file for the same.

Can anyone help me with this error?
Attached Files
File Type: zip mkpv.zip (51.7 KB, 11 views)
Hrushi is offline   Reply With Quote

Old   November 24, 2014, 07:16
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,
  1. https://www.google.com/search?client...IqOx8wfV34KICg
  2. http://visitusers.org/forum/YaBB.pl?num=1414609406/2. Though it's VisIt not paraview the problem is the same.

So, you've got rather wide range of solutions:
  1. Use paraview from OpenSUSE repository. This will require correction of paraFoam script (so it use system-wide installed paraview). Search the forum for description of necessary corrections.
  2. Correct VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx (see second link for necessary corrections). Compile paraview yourself.
  3. (ugly) Correct /usr/include/GL/glext.h (also see second link). Compile paraview yourself.
wyldckat likes this.
alexeym is offline   Reply With Quote

Old   December 11, 2014, 17:49
Default OpenFOAM-2.3.1 and openSUSE 13.2
  #3
New Member
 
Join Date: Mar 2014
Location: Czech Republic
Posts: 29
Rep Power: 14
elones is on a distinguished road
Hi,
i had compiled OpenFOAM-2.3.1 and ThirdParty-2.3.1 on openSUSE 13.2 just fine. Problem with compiling ParaView is gone.

Note that i used guide from: http://openfoamwiki.net/index.php/In...#openSUSE_12.3

-Ondra
wyldckat likes this.
elones is offline   Reply With Quote

Old   December 13, 2014, 08:35
Default
  #4
Member
 
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 15
Hrushi is on a distinguished road
Quote:
Originally Posted by elones View Post
Hi,
i had compiled OpenFOAM-2.3.1 and ThirdParty-2.3.1 on openSUSE 13.2 just fine. Problem with compiling ParaView is gone.

Note that i used guide from: http://openfoamwiki.net/index.php/In...#openSUSE_12.3

-Ondra
I tried with the above instructions. But again I ended up with same error.

However I installed paraview versioon 4.2.0 from OpenSUSE repository.Then I added following alias command in my ~/.bashrc file which was given at
HTML Code:
https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.3.0
Code:
alias paraFoam='paraFoam -builtin'
Done! Now i can use paraview.
wyldckat likes this.
Hrushi is offline   Reply With Quote

Old   December 14, 2014, 12:10
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@elones:
Quote:
Originally Posted by elones View Post
Hi,
i had compiled OpenFOAM-2.3.1 and ThirdParty-2.3.1 on openSUSE 13.2 just fine. Problem with compiling ParaView is gone.

Note that i used guide from: http://openfoamwiki.net/index.php/In...#openSUSE_12.3

-Ondra
Thanks for the feedback! The trick is that a certain hack is already performed in the ParaView 4.1.0 source code provided with ThirdParty 2.3.1, namely running this command:
Code:
sed -i -e 's=//#define GLX_GLXEXT_LEGACY=#define GLX_GLXEXT_LEGACY=' \
  ParaView-4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx
@Hrushi and @Alexey: Thanks for sharing your solutions as well!


On a side note: I'm currently writing detailed instructions on how to build OpenFOAM 2.3.0 on openSUSE 13.2, which are being written here: http://openfoamwiki.net/index.php/In...#openSUSE_13.2 - as soon as I manage to complete writing them, I'll update this post.

edit: Finished writing and testing the instructions on a 64-bit virtual machine with openSUSE 13.2. If anyone can test on 32-bit, it would be helpful!

Best regards,
Bruno
__________________

Last edited by wyldckat; December 14, 2014 at 14:46. Reason: added Alexey to the thanks + see "edit:"
wyldckat is offline   Reply With Quote

Old   January 28, 2015, 07:56
Default
  #6
Member
 
Brugiere Olivier
Join Date: Mar 2009
Posts: 34
Rep Power: 17
brugiere_olivier is on a distinguished road
Greetings to all,

I've tried to install Openfoam v2.3.1 on opensuse 13.1. I've already install 2.2.2 without problems but now I can not build ptscotch. I've some problems :
'/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi
collect2: error: ld returned 1 exit status'
I've used the guide. I think it's a problem with my openmpi version :
mpirun --version
mpirun (Open MPI) 1.7.2

Thanks to your help

Best regards
Olivier
brugiere_olivier is offline   Reply With Quote

Old   January 28, 2015, 15:13
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Olivier,

A few questions:
  1. How are you keeping the two shell environments apart? Namely how are you making sure that the OpenFOAM 2.2.2 installation will not interfere with new installation of OpenFOAM 2.3.1?
  2. Which specific installation instructions are you following?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 29, 2015, 02:44
Default
  #8
Member
 
Brugiere Olivier
Join Date: Mar 2009
Posts: 34
Rep Power: 17
brugiere_olivier is on a distinguished road
Greetings Bruno,

I've already installed Openfoam 2.2.2 and I've used this version with other Openfoam 2.3.0.
But I've made some modifications on my compter and now I can not compile Openfoam 2.3.0 and 2.3.1. I've a problem with ptscotch library. I can used OpenFoam but not SnappyHexMesh in parallel. So if you have some tips...

Best regards

Olivier
brugiere_olivier is offline   Reply With Quote

Old   January 29, 2015, 05:13
Default
  #9
Member
 
Brugiere Olivier
Join Date: Mar 2009
Posts: 34
Rep Power: 17
brugiere_olivier is on a distinguished road
Hi all,

I've upgraded my opensuse 13.1 to 13.2 and I think it will work.

Best regards

Olivier
brugiere_olivier is offline   Reply With Quote

Old   January 29, 2015, 15:39
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Olivier,

I hope upgrading to openSUSE 13.2 works for you.
If not, without more specific information, my best tip based on a guess is what I already indicated: http://openfoamwiki.net/index.php/In...nFOAM_versions

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 4, 2015, 10:08
Default
  #11
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17
karamiag is on a distinguished road
I successfully installed version 2.3.1 on opensuse 13.2 following the instruction on
http://openfoamwiki.net/index.php/In...#openSUSE_13.2
the only thing I had to do (not indicated) was to make these two link:

Code:
ln -s  /usr/lib64/libGL.so.1 /usr/lib64/libGL.so (because of nvidia driver installation)
ln -s /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so.1 /usr/lib64/libmpi.so.1
without the second link this is what I obtain:
Code:
icoFoam -help
icoFoam: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory

ldd $(which icoFoam) 
        linux-vdso.so.1 (0x00007fff25374000)
        libfiniteVolume.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so (0x00007f39242ee000)
        libsampling.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libsampling.so (0x00007f3923db1000)
        libOpenFOAM.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so (0x00007f392346a000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f392323e000)
        libstdc++.so.6 => /home/caramia/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/CGAL-4.3/lib/libstdc++.so.6 (0x00007f3922f36000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f3922c35000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3922a1d000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f3922675000)
        libPstream.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/openmpi-system/libPstream.so (0x00007f3922467000)
        libtriSurface.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libtriSurface.so (0x00007f39221d2000)
        libmeshTools.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libmeshTools.so (0x00007f3921c20000)
        libsurfMesh.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libsurfMesh.so (0x00007f3921923000)
        libfileFormats.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libfileFormats.so (0x00007f39216a8000)
        liblagrangian.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangian.so (0x00007f3921489000)
        libconversion.so => /home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libconversion.so (0x00007f392120e000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f3920ff8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f39257a5000)
        libmpi.so.1 => not found
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3920dda000)

echo $MPI_ARCH_PATH
/usr

echo $WM_MPLIB
SYSTEMOPENMPI

echo $LD_LIBRARY_PATH | tr -s ' ' '\n'
/home/caramia/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/CGAL-4.3/lib:/home/caramia/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/gperftools-svn/lib:/home/caramia/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/ParaView-4.1.0/lib/paraview-4.1:/home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/openmpi-system:/home/caramia/OpenFOAM/ThirdParty-2.3.1/platforms/linux64GccDPOpt/lib/openmpi-system:/usr/lib64:/home/caramia/OpenFOAM/caramia-2.3.1/platforms/linux64GccDPOpt/lib:/home/caramia/OpenFOAM/site/2.3.1/platforms/linux64GccDPOpt/lib:/home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib:/home/caramia/OpenFOAM/ThirdParty-2.3.1/platforms/linux64GccDPOpt/lib:/home/caramia/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/dummy

Last edited by wyldckat; February 4, 2015 at 14:41. Reason: Added [CODE][/CODE]
karamiag is offline   Reply With Quote

Old   February 4, 2015, 13:56
Default
  #12
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17
karamiag is on a distinguished road
I am sorry but the link

Code:
ln -s /usr/lib64/mpi/gcc/openmpi/lib64/libmpi.so.1 /usr/lib64/libmpi.so.1
is not sufficient to let openfoam work in parallel. Launching in parallel this is the message I receive:
Code:
--> FOAM FATAL ERROR:
bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor
Any hint?
Thank you.

Last edited by wyldckat; February 4, 2015 at 14:42. Reason: Added [CODE][/CODE]
karamiag is offline   Reply With Quote

Old   February 4, 2015, 14:50
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Giovanni,
  1. The (unofficial) instructions for installing OpenFOAM 2.3.1 on openSUSE 13.2 are these ones: http://openfoamwiki.net/index.php/In...#openSUSE_13.2 - the link you provided was for 2.3.0
  2. The hack for the NVidia installation is something I usually don't write on the wiki, because it's something that is explained on the Internet at least a few times
    And because I don't have an NVidia card... and even if I had one, it's not guaranteed that it'll work for all NVidia driver variants
  3. The hack for Open-MPI should not be necessary. If you have a look at the instructions in step #4, the instructions state this:
    Quote:
    4. Now, since we're trying to minimize the number of packages to be built, the Open-MPI package that is available with openSUSE is going to be chosen. The downside is that this requires that you logout and log back in, for the system to update the environment settings.
    Nonetheless, we can postpone logging out by running:
    Code:
    source /etc/profile.d/mpi-selector.sh
    Note: But keep in mind that until you logout, use this command line on every new terminal window/tab!
  4. The last error message you've gotten was because you did not use the "-parallel" option at the end of the command, e.g. the correct execution is like this:
    Code:
    mpirun -np 2 icoFoam -parallel
    edit: actually, the problem seems to be that you had only executed something like this:
    Code:
    icoFoam -parallel
Best regards,
Bruno
__________________

Last edited by wyldckat; February 5, 2015 at 15:12. Reason: see "edit:" in point #4
wyldckat is offline   Reply With Quote

Old   February 5, 2015, 03:13
Default
  #14
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17
karamiag is on a distinguished road
Hi Bruno!
Thank you for the quick response.
Everything works after sourcing /etc/profile.d/mpi-selector.sh.
Thank you very much!!
karamiag is offline   Reply With Quote

Old   March 13, 2015, 03:40
Default plz help
  #15
Member
 
behrouz
Join Date: Mar 2015
Posts: 34
Rep Power: 11
behrouz is on a distinguished road
hi everyone
i installed openFOAM-2.3.1 on opensuse 13.2
and i try to run cavity(in tutorials) so when i type 'paraFoam' in terminal the error occured az below:


FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

so im lost!!! i search for solution in sevral pages but i just confused!!
note:im a beginner and am just start linux,so plz answer very simple,
thanks
behrouz is offline   Reply With Quote

Old   March 14, 2015, 06:21
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings behrouz and welcome to the forum!

It would help if you had detailed which installation instructions you have followed.

Without knowing which instructions you followed, then I suggest you try following these instructions: http://openfoamwiki.net/index.php/In...#openSUSE_13.2

You could also try running:
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers 
wmSET $FOAM_SETTINGS
./Allwclean 
./Allwmake
to see if it would fix the problem.

If it does not solve the problem, then please do detail which installation instructions you have followed.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 14, 2015, 08:48
Default
  #17
Member
 
behrouz
Join Date: Mar 2015
Posts: 34
Rep Power: 11
behrouz is on a distinguished road
Dear Bruno Santos
first of all: Thanks a lot for your reply
second of all: I will test your code and sahre result with you
behrouz is offline   Reply With Quote

Old   March 14, 2015, 12:59
Default
  #18
Member
 
behrouz
Join Date: Mar 2015
Posts: 34
Rep Power: 11
behrouz is on a distinguished road
Dear dear Bruno Santos
your guide work,and my problem solved.
THANKS A LOT my friend
<3
wyldckat likes this.
behrouz is offline   Reply With Quote

Old   May 27, 2015, 10:54
Default
  #19
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Dear OF-users,

These days I successfully installed OpenFOAM-2.4 on openSUSE-13.2.

At the beginning I had problem in compiling preview-4.1.

Then, thanks to B. Santos, I followed the step 13 (see below link) and it compiled without trouble.

http://openfoamwiki.net/index.php/In...#openSUSE_13.2

Regards,
Stéphane.
openfoam_user is offline   Reply With Quote

Reply


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[OpenFOAM] ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case romant ParaView 3 April 7, 2014 15:42
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
[OpenFOAM] Installation problem with ParaView 3.8.0 on openSUSE 11.2 aero_ ParaView 14 August 2, 2010 18:13


All times are GMT -4. The time now is 06:22.