CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation how-to's - OpenFOAM 1.7 - openSUSE 11.2 and 11.3 (https://www.cfd-online.com/Forums/openfoam-installation/77557-installation-how-tos-openfoam-1-7-opensuse-11-2-11-3-a.html)

alberto June 27, 2010 03:48

Installation how-to's - OpenFOAM 1.7 - openSUSE 11.2 and 11.3
 
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,

83_Ale_83 July 2, 2010 10:53

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

alberto July 2, 2010 12:54

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,

83_Ale_83 July 5, 2010 05:13

2 Attachment(s)
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

alberto July 5, 2010 05:21

I'm sorry, but the log file you posted containes NO error message for what I can see.

Best,

83_Ale_83 July 5, 2010 05:27

Quote:

Originally Posted by alberto (Post 265707)
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

alberto July 5, 2010 05:34

Just run ./Allwmake and press Ctrl-C when the first errors appear, then cut and paste that in a file. :-)

83_Ale_83 July 5, 2010 05:40

1 Attachment(s)
Easy way :)

alberto July 5, 2010 06:00

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,

83_Ale_83 July 5, 2010 08:17

Quote:

Originally Posted by alberto (Post 265717)
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 July 5, 2010 10:22

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 July 7, 2010 03:15

Someone else?? Thank in advance

alberto July 7, 2010 03:54

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,

phsieh2005 July 18, 2010 11:59

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

alberto July 18, 2010 18:16

It works fine on 11.3, but I do not have any problem also on 11.2, so I'm not sure.

Best,

phsieh2005 July 18, 2010 21:27

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

aero_ July 18, 2010 22:10

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

alberto July 19, 2010 07:34

Quote:

Originally Posted by phsieh2005 (Post 267931)
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 July 19, 2010 07:37

Quote:

Originally Posted by aero_ (Post 267933)
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,

semaviso July 31, 2010 03:35

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!!!


All times are GMT -4. The time now is 02:35.