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

Installation how-to's - OpenFOAM 1.7 - openSUSE 11.2 and 11.3

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2010, 04:48
Default Installation how-to's - OpenFOAM 1.7 - openSUSE 11.2 and 11.3
  #1
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 updated the how-to's on my blog to reflect the changes required to build OpenFOAM 1.7:
Both contain updated instructions for the native VTK reader.

Thanks to Martin for his help to build on openSUSE 11.3.

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   July 2, 2010, 11:53
Default
  #2
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
Hi Alberto,

I start with a fresh installation of Suse 11.2 x64 and I have followed your guide step by step without success. I have a good experience with Ubuntu (1.7.x compiled without problems) but with Suse is the first time and I am a little bit lost...

I post a little piece of my log file, there are thousands of the same errors for a lots of applications..

Quote:
reeDataPrimitivePatchName.C:26:
/home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.H:309: error: ‘pointIndexHit’ has not been declared
/home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.H:314: error: ‘pointIndexHit’ does not name a type
/home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.H:325: error: ‘pointIndexHit’ does not name a type
/home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.H:503: error: ‘pointIndexHit’ does not name a type
/home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.H:526: error: ‘pointIndexHit’ does not name a type
/home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.H:534: error: ‘pointIndexHit’ does not name a type
/home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.H:541: error: ‘pointIndexHit’ does not name a type
In file included from /home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/meshTools.H:44,
from /home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude/indexedOctree.C:28,
from /home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/src/meshTools/lnInclude
At the end, the process stops with the error "impossible to create application folder" or something like that..

Hope you will help me
Thank in advice
__________________

83_Ale_83 is offline   Reply With Quote

Old   July 2, 2010, 13:54
Default
  #3
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
Hi,

hard to tell from that error message. Could you please run ./Allwmake again and post the first occurrence of an error, or the whole log file as attachment?

Additionally, you might want to check the md5sum of the source package you downloaded, to be sure it is not damaged.

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   July 5, 2010, 06:13
Default
  #4
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
Hi Alberto
See the attachments files for any useful information.

It's build on openSuse 11.2 x64 DVD_version
gcc version 4.4.1
Attached Images
File Type: jpg capture d'écran1_mod.jpg (65.4 KB, 24 views)
Attached Files
File Type: gz log.make.tar.gz (14.5 KB, 2 views)
__________________

83_Ale_83 is offline   Reply With Quote

Old   July 5, 2010, 06:21
Default
  #5
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 sorry, but the log file you posted containes NO error message for what I can see.

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   July 5, 2010, 06:27
Default
  #6
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
Quote:
Originally Posted by alberto View Post
I'm sorry, but the log file you posted containes NO error message for what I can see.

Best,
I have checked it, I don't know the reason why the log file is different from the console screen...What's happen?? I have run ./Allwmake > log.make
__________________

83_Ale_83 is offline   Reply With Quote

Old   July 5, 2010, 06:34
Default
  #7
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
Just run ./Allwmake and press Ctrl-C when the first errors appear, then cut and paste that in a file. :-)
__________________
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   July 5, 2010, 06:40
Default
  #8
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
Easy way
Attached Files
File Type: gz errors.tar.gz (2.7 KB, 3 views)
__________________

83_Ale_83 is offline   Reply With Quote

Old   July 5, 2010, 07:00
Default
  #9
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
Quote:
make: *** Pas de règle pour fabriquer la cible « primitives/random/Random.dep », nécessaire pour « Make/linux64GccDPOpt/dependencies ». Arrêt.
It cannot find rules to make that. Did you check the package integrity (or are you using git sources)?

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   July 5, 2010, 09:17
Default
  #10
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
Quote:
Originally Posted by alberto View Post
It cannot find rules to make that. Did you check the package integrity (or are you using git sources)?

Best,
Git sources update this morning...(git pull inside OpenFOAM-1.7.x folder)
__________________

83_Ale_83 is offline   Reply With Quote

Old   July 5, 2010, 11:22
Default
  #11
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
1.7.0 version,compiled without issues, could be a problem related to git version?
I have had some problems to download git version with Suse; for this reason I have dowloaded git version to an USB key using Ubuntu-PC, then copy-paste the folder on Suse-PC and finally update the folder by git-pull command..What do you think about that? I have just installed the git-core package on SUSE but if I try to download the git version through Suse I got the error posted:

Quote:
aguinaga@ZC-Kitt:~/OpenFOAM/OpenFOAM-1.7.x> git clone http://github.com/OpenCFD/OpenFOAM-1.7.x.git
Initialized empty Git repository in /home/aguinaga/OpenFOAM/OpenFOAM-1.7.x/OpenFOAM-1.7.x/.git/
got 28a9bc1de4a03eeda021adb6c528c4ca755a804a
walk 28a9bc1de4a03eeda021adb6c528c4ca755a804a
got aff6cfa058687c5827c80b4aa4f7ed2d6ca83d5e
got 1f3faad7168d9bc63331e9a320a1575ecba1543c
walk 1f3faad7168d9bc63331e9a320a1575ecba1543c
Getting alternates list for http://github.com/OpenCFD/OpenFOAM-1.7.x.git
got 339ad14cc18b23ee474419ce0dd3a50b11c53268
got 04e5252a254740f6eeae006bd2870fc9a755ac35
got 1c7663bcd28980d5d9a59e8eff576267e2da6167
Getting pack list for http://github.com/OpenCFD/OpenFOAM-1.7.x.git
got 2a43926bf423cc8918d58dcecd8b3ece2a1a8ea0
got 5cb781dc5b698e468f5091fab4c4fa4e8a480f94
got f10fe8b2ab3469aa941e8f0453b6e6e4d982178e
got 8e7cb1dc438ead26eca762e4a16d19d658adb2c0
Getting index for pack dd4ad2b185c4f91aeba18b3b1ac3fedd57bbd70c
Getting index for pack 2758df1ccc1415152fa9b4bcb7b9a081c6c03cf6
Getting pack dd4ad2b185c4f91aeba18b3b1ac3fedd57bbd70c
which contains 2798a1bcf4bd2fde806d6d7ff29d4b448aadf137
error: Unable to get pack file http://github.com/OpenCFD/OpenFOAM-1...d57bbd70c.pack
transfer closed with 14443107 bytes remaining to read
error: Unable to find 2798a1bcf4bd2fde806d6d7ff29d4b448aadf137 under http://github.com/OpenCFD/OpenFOAM-1.7.x.git
Cannot obtain needed blob 2798a1bcf4bd2fde806d6d7ff29d4b448aadf137
while processing commit 1f3faad7168d9bc63331e9a320a1575ecba1543c.
fatal: Fetch failed.
aguinaga@ZC-Kitt:~/OpenFOAM/OpenFOAM-1.7.x>
No way by "git" instead of "http" (due to company firewall I guess)
__________________

83_Ale_83 is offline   Reply With Quote

Old   July 7, 2010, 04:15
Default
  #12
Member
 
83_Ale_83's Avatar
 
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16
83_Ale_83 is on a distinguished road
Someone else?? Thank in advance
__________________

83_Ale_83 is offline   Reply With Quote

Old   July 7, 2010, 04:54
Default
  #13
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
Here you find a package of working source taken from git this morning:

http://dl.dropbox.com/u/659842/HW/OpenFOAM-1.7.x.tar.gz

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   July 18, 2010, 12:59
Default
  #14
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Alberto,

I installed the just-released OpenSUSE 11.3 64 bit OS. OF-1.7.x (from git) compiled successfully, I also recompiled paraview and paraFoam. A tutorial case completed without any error. However, each time I started paraFoam, paraview ended up frozen. I noticed that you installed 11.3 RC, I am wondering if you run into the same problem.

Pei
phsieh2005 is offline   Reply With Quote

Old   July 18, 2010, 19:16
Default
  #15
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
It works fine on 11.3, but I do not have any problem also on 11.2, so I'm not sure.

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   July 18, 2010, 22:27
Default
  #16
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Alberto,

I never have any problem with 11.2. I am wondering if you can do a quick test. After loading the case by starting paraFoam, can you re-set the Opacity to say 0.3? And see if your paraview freezes or not? This problem happens to me every time. If I do not re-set the Opacity, paraview seems to be fine.

Thanks!

Pei
phsieh2005 is offline   Reply With Quote

Old   July 18, 2010, 23:10
Default
  #17
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Hi Alberto,
I have come to the conclusion that you have successfully worked with openSUSE platform, OpenFOAM and ParaView.
As a newbie in Linux I use openSUSE 11.2, OpenFOAM 1.7.0 and I am trying to install ParaView 3.8.0. My relating thread is on:

http://www.cfd-online.com/Forums/ope...tml#post267932

I am wondering whether a straightforward way for installing (functionally) ParaView 3.8.0 exists.

Could you please provide me with a hint?

Thank you,
Menandros
aero_ is offline   Reply With Quote

Old   July 19, 2010, 08:34
Default
  #18
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
Quote:
Originally Posted by phsieh2005 View Post
Hi, Alberto,

I never have any problem with 11.2. I am wondering if you can do a quick test. After loading the case by starting paraFoam, can you re-set the Opacity to say 0.3? And see if your paraview freezes or not? This problem happens to me every time. If I do not re-set the Opacity, paraview seems to be fine.
I tested on one tutorial, and it seems to work correctly. Try checking what paraview writes in your terminal to see if you can figure out what's going on.

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   July 19, 2010, 08:37
Default
  #19
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
Quote:
Originally Posted by aero_ View Post
Hi Alberto,
I have come to the conclusion that you have successfully worked with openSUSE platform, OpenFOAM and ParaView.
As a newbie in Linux I use openSUSE 11.2, OpenFOAM 1.7.0 and I am trying to install ParaView 3.8.0. My relating thread is on:

http://www.cfd-online.com/Forums/ope...tml#post267932

I am wondering whether a straightforward way for installing (functionally) ParaView 3.8.0 exists.

Could you please provide me with a hint?

Thank you,
Menandros
Hi, I simply followed the procedure linked at the beginning of this thread.
I do not use paraFoam, but the pvFoam reader on the wiki however, because it seems to be more reliable on different platforms, and less sensitive to the versions of the libraries.

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   July 31, 2010, 04:35
Default
  #20
New Member
 
Sibusiso Mavuso
Join Date: Jul 2010
Location: South Africa/Pretoria
Posts: 22
Rep Power: 16
semaviso is on a distinguished road
hi guys

I am new to the OpenFOAM and linux world.

I have installed fedora 13 as my OS and would like to know how to install OpenFOAM 1.7.0. I have downloaded the gtgz source files from th OF site.

Please help guys.

Thanx in advance,
Cheers!!!
semaviso 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
OpenFOAM 1.7 - openSUSE 11.3 - gcc 4.5.0 alberto OpenFOAM 12 July 28, 2010 12:59


All times are GMT -4. The time now is 09:28.