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

Installing OpenFOAM 1.5 on OpenSUSE 11.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2009, 21:21
Default
  #21
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
All due to the lack of libPstream.so, which is provided in the ThirdParty binary package, as I said before :-)

Btw, are you on openSUSE 32 or 64 bit?

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 25, 2009, 21:40
Default
  #22
New Member
 
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17
StructureITA is on a distinguished road
Quote:
Originally Posted by alberto View Post
The reader builds. You reported warnings, if I did not miss something.

Could you give more details about the errors you read when you compile OpenFOAM?

Are you using a 64 bit distribution? Have you _all_ (binary and source) the third party packages installed? libPstream should be in

/home/Sam/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/openmpi-1.2.6/libPstream.so

if you have a 64 bit system, and something like that for a 32 bit version (linux instead than linux64 in the path).

Best,
I am running a 32 bit distribution.

What do you mean with "installed"? I simply took the files and I put them into the ThirdParty folder. Have I to do something else?

However, yes, libPstream.so is in /home/Sam/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/openmpi-1.2.6. It exists, it is in there. How it is possible that libOpenFOAM dows not see it?
StructureITA is offline   Reply With Quote

Old   April 25, 2009, 22:06
Default
  #23
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
OK. I have just recompiled 1.5.x on my system after an update and it works OK.

With installed I meant "put the ThirdParty directory into the ~/OpenFOAM directory.

This

Quote:
linux-gate.so.1 => (0xffffe000)
libPstream.so => not found
libz.so => /usr/lib/libz.so (0xb7c5d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b69000)
libm.so.6 => /lib/libm.so.6 (0xb7b40000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b30000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7b16000)
libc.so.6 => /lib/libc.so.6 (0xb79ba000)
/lib/ld-linux.so.2 (0xb8041000)
looks weird. I checked what

ldd $FOAM_LIBBIN/libOpenFOAM.so

gives to me, and the answer was (I'm using the system compiler):

linux-vdso.so.1 => (0x00007fff341fc000)
libPstream.so => /home/alberto/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/openmpi-1.2.6/libPstream.so (0x00007ff72b83a000)
libz.so => /home/alberto/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libz.so (0x00007ff72b622000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007ff72b2ed000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff72b096000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff72ae7e000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff72ab25000)
libmpi.so.0 => /home/alberto/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linux64GccDPOpt/lib/libmpi.so.0 (0x00007ff72a898000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff72c03b000)
libopen-rte.so.0 => /home/alberto/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linux64GccDPOpt/lib/libopen-rte.so.0 (0x00007ff72a63e000)
libopen-pal.so.0 => /home/alberto/OpenFOAM/ThirdParty/openmpi-1.2.6/platforms/linux64GccDPOpt/lib/libopen-pal.so.0 (0x00007ff72a3dc000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff72a1d8000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007ff729fc0000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007ff729dbc000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff729ba0000)

Notice that also other libs are taken from the OpenFOAM/ThirdParty sub-directories.

Did you change the configuration file of OpenFOAM sourced in your /home/Sam/.bashrc ?

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 25, 2009, 22:11
Default
  #24
New Member
 
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17
StructureITA is on a distinguished road
Quote:
Originally Posted by alberto View Post
Did you change the configuration file of OpenFOAM sourced in your /home/Sam/.bashrc ?
Do you mean if I added the line ". $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc"? I did this through the nano command (as gac said, being not superuser):

nano ~./bashrc
StructureITA is offline   Reply With Quote

Old   April 25, 2009, 22:24
Default
  #25
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
If you did type it this way

Quote:
nano ~./bashrc
it is wrong. The correct syntax is nano ~/.bashrc, being .bashrc a hidden file.

Just to be sure, you have to do everything I said as your user (Sam), and not as root, as correctly pointed out by gac.

I meant if you edited $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc or /home/Sam/OpenFOAM/OpenFOAM-1.5.x/etc/settings.sh in some way.

P.S. If you have time, we can talk directly on #openfoam-irc on irc.freenode.net servers, or you can add me to your MSN or Skype.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 25, 2009, 22:43
Default
  #26
New Member
 
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17
StructureITA is on a distinguished road
Quote:
Originally Posted by alberto View Post
P.S. If you have time, we can talk directly on #openfoam-irc on irc.freenode.net servers, or you can add me to your MSN or Skype.
I added you to MSN.
StructureITA is offline   Reply With Quote

Old   April 25, 2009, 22:58
Default
  #27
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
I'm connected (alberto_passalacqua@hotmail.it) but I don't see you.

Edit: Sorry, there was a typo in the address in the profile. Not it is fixed.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 28, 2009, 03:34
Default
  #28
New Member
 
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17
StructureITA is on a distinguished road
I did it!

Alberto helped me very much and I have to thank him a lot. Thanks to him I understood that I was performing several mistakes:
- installation and bash modifications has to be done not as root;
- download of the git repository has to be done in order to have to latest version;
- unzip of the two thirdparty packages has to performed in the same folder, in order to let them to make a single result in a single folder.
Moreover, beyond these instructions he gave me, I discovered that some files from the binary pack (OpenFOAM 1.5) have to be taken and inserted within the 1.5.x version. I refer to:
- several applications/bin/linuxGccDPOpt files;
- several lib/linuxGccDPOpt files;
- the file wmkdep inserted in the folder wmake/rules/linuxGcc.
When I didn't inserted them yet, I was not able to run the tutorial and foamInstallationTest told me that a CRITICAL ERROR in icoFoam installation was present. Now (after this modification and the compilation of ParaView and OpenFOAM), foamInstallationTest is perfect and I am finally able to perform the tutorial about cavity.

foamInstallationTest log:

Quote:
Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux-jw4g
OS: Linux version 2.6.27.21-0.1-pae
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/Sam/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/Sam/OpenFOAM/Sam-1.5.x yes no
$WM_THIRD_PARTY_DIR /home/Sam/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/Sam/OpenFOAM/OpenFOAM-1.5.x yes yes yes

$FOAM_APPBIN ...1.5.x/applications/bin/linuxGccDPOpt yes yes yes
$FOAM_USER_APPBIN ...1.5.x/applications/bin/linuxGccDPOpt yes yes no
$WM_DIR /home/Sam/OpenFOAM/OpenFOAM-1.5.x/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...OpenFOAM/Sam-1.5.x/lib/linuxGccDPOpt yes yes no
$MPI_ARCH_PATH ...penmpi-1.2.6/platforms/linuxGccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 .../OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.20 /bin/tar
icoFoam 1.5.x .../OpenFOAM-1.5.x/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux-jw4g Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.


done.
What I see after typing the three tutorial command lines:

Attached Images
File Type: jpg schermata1.jpg (89.9 KB, 76 views)
StructureITA is offline   Reply With Quote

Old   April 28, 2009, 11:12
Default
  #29
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Click Apply ;-)

The case is not visible, as shown by the "eye" next to the name "cavity.OpenFOAM".
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 29, 2009, 03:30
Default
  #30
Member
 
Hy Yu
Join Date: Mar 2009
Location: Hessen, Germany
Posts: 34
Rep Power: 17
ttdtud is on a distinguished road
Quote:
Originally Posted by alberto View Post
Click Apply ;-)

The case is not visible, as shown by the "eye" next to the name "cavity.OpenFOAM".
Hi Alberto,
actually i have the same problem as above. The case is not visible. Especially in my case i have no chance to click "Apply" which is always grey.
How can i correct it?

Best Regards
Hongyi
ttdtud is offline   Reply With Quote

Old   April 30, 2009, 19:37
Default Results can't be seen in ParaFoam
  #31
Member
 
Hy Yu
Join Date: Mar 2009
Location: Hessen, Germany
Posts: 34
Rep Power: 17
ttdtud is on a distinguished road
Hi Alberto,
as you said, the case is not visible. Using FoamToVTK and starting paraview, everything can be seen.

The results of run "foamInstallationTest" are:
-----------------------------------------------------------------------------------------------------------------------
Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: ttdws92
OS: Linux version 2.6.25.20-0.1-default
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/hongyi/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/hongyi/OpenFOAM/hongyi-1.5.x yes no
$WM_THIRD_PARTY_DIR /home/hongyi/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/hongyi/OpenFOAM/OpenFOAM-1.5.x yes yes yes

$FOAM_APPBIN ...5.x/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_USER_APPBIN ...5.x/applications/bin/linux64GccDPOpt yes yes no
$WM_DIR ...hongyi/OpenFOAM/OpenFOAM-1.5.x/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...M/OpenFOAM-1.5.x/lib/linux64GccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...OAM/hongyi-1.5.x/lib/linux64GccDPOpt yes yes no
$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.19 /bin/tar
icoFoam 1.5.x ...penFOAM-1.5.x/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_ttdws92 Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.


done.
-----------------------------------------------------------------------------------------------------------------------
My setup is:
uname -a
Linux ttdws92 2.6.25.20-0.1-default #1 SMP 2008-12-12 20:30:38 +0100 x86_64 x86_64 x86_64 GNU/Linux
--------------------------------------------------------------------------------------------------------------------------

What is false?
Please help me! Since last week i have concentrated myself on compiling OF-1.5.x. Till now the paraFoam does not work rightly.

Best Regards
Hongyi
ttdtud is offline   Reply With Quote

Old   April 30, 2009, 19:45
Default
  #32
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Did you recompile ParaView and the reader using your system Qt library?

If so, I don't know why it doesn't work. It is working smoothly here on openSUSE 11.1 64 bit.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto 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
My experiences about Installing OpenFOAM on OPENSUSE103 32bit coompressor OpenFOAM Installation 9 February 18, 2010 23:00
OpenFOAM 15 with ParaView 340 on OpenSuSE 110 zairja OpenFOAM Installation 7 February 10, 2009 08:31
Fonts not displaying properly under openSuse 11.1 F.P. FLUENT 0 January 8, 2009 08:44
OpenFOAM Version 1.5 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 July 14, 2008 18:22
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 00:07.