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

OpenSuSE 11.2 installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2009, 20:40
Default OpenSuSE 11.2 installation
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi,

Has anyone successfully installed OpenFOAM-1.6.x on OpenSUSE 11.2 64 yet?

I have no problem with compiling OpenFOAM-1.6.x on OpenSUSE 11.1 64, but, got tons of errors when compiling OpenFOAM-1.6.x on OpenSUSE 11.2 64.

Pei
phsieh2005 is offline   Reply With Quote

Old   November 16, 2009, 04:00
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by phsieh2005 View Post
I have no problem with compiling OpenFOAM-1.6.x on OpenSUSE 11.1 64, but, got tons of errors when compiling OpenFOAM-1.6.x on OpenSUSE 11.2 64.


Are you using the gcc from ThirdParty or the system gcc?
olesen is offline   Reply With Quote

Old   November 16, 2009, 08:22
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi,

I am using gcc from ThirdParty.

Pei
phsieh2005 is offline   Reply With Quote

Old   November 20, 2009, 08:38
Default
  #4
Member
 
Johannes Baumann
Join Date: Mar 2009
Location: Baden-Wuerttemberg, Germany
Posts: 43
Rep Power: 17
johannes is on a distinguished road
Hi Pei,

what kind of error do you get? Can you post the log or parts of it?

I'm in the same situation (11.2 x64) not beeing able to compile 1.6.x with the ThirdParty gcc-4.3.3 regardless if I use the self compiled gcc or the provided binaries. I'm getting numerous complaints about a missing GLIBCXX_3.4.11, although I have the corresponding lib (libstdc++.so.6, version 6.0.12) installed.

I then tried to relink the gcc variant of libstdc++.so.6 as suggested here but that didn't work either. Although the GLIBCXX_3.4.11 errors dissapeared, gcc still wasn't working properly.

As a workaround, you can install the system gcc-43 via YaST (in fact 4.3.4) and use it instead of the native system gcc (4.4.1). With this workaround I was able to compile 1.6.x without any errors.

I hope you finally get it working, too.

Best regards,
Johannes
johannes is offline   Reply With Quote

Old   November 25, 2009, 08:24
Default
  #5
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Johannes,

Thanks for the suggestion. I will try out the workaround.

Pei
phsieh2005 is offline   Reply With Quote

Old   November 25, 2009, 15:59
Default
  #6
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Johannes,

Here is part of the error messages before the workaround.

Pei
-------------------

+ Pstream/Allwmake
+ wmake libso dummy
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libgmpxx.so.4)
make: *** [linux64GccDPOpt/options] Error 1
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libgmpxx.so.4)
make: *** [linux64GccDPOpt/files] Error 1
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created
+ case "$WM_MPLIB" in
+ set +x

Note: ignore spurious warnings about missing mpicxx.h headers
+ WM_OPTIONS=linux64GccDPOptOPENMPI
+ wmake libso mpi
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libgmpxx.so.4)
make: *** [linux64GccDPOptOPENMPI/options] Error 1
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl_c.so.2)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libppl.so.7)
/usr/lib64/gcc/x86_64-suse-linux/4.4/cc1: /home/phsieh/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib64/libgmpxx.so.4)
phsieh2005 is offline   Reply With Quote

Old   November 25, 2009, 18:51
Default
  #7
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi,

Thanks to Johannes that I finally am able to compile OpenFOAM-1.6.x on OpenSUSE 11.2 64 bit OS.

I had to do the following two steps suggested:

cd /home/USER_NAME/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64
1.
sudo mv libstdc++.so.6 libstdc++.so.6.orig
sudo ln -s /usr/lib64/libstdc++.so.6.0.10 libstdc++.so.6

sudo mv libgcc_s.so.1 libgcc_s.so.1.orig
sudo ln -s /lib64/libgcc_s.so.1

2. install gcc43.

Pei
phsieh2005 is offline   Reply With Quote

Old   December 3, 2009, 11:57
Default
  #8
New Member
 
rlobosco
Join Date: Nov 2009
Posts: 5
Rep Power: 16
rlobosco is on a distinguished road
Hi,
I am also doing the installation of OpenFoam1.6 on OpenSUSE 11.2, 64 bit OS.
Actually I followed the steps here to fix the GLIBCXX problems but something is still missing. When I try ./Allwmake in the OpenFoam/OpenFOAM-1.6 directory many of the follow problems appear:
g++: no input files
make: ** [libNULL.so] Erro 1
Can anyone help me to solve this problem?
rlobosco
rlobosco is offline   Reply With Quote

Old   December 3, 2009, 12:11
Default Cure for OpenSuSE 11.2
  #9
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Dear Foamers!

After few hours, i found how to install OpenFOAM on OpenSuSE 11.2 (32 & 64 bit) using system compiler (gcc v. 4.4)

There are some bugs (i think) in configuration and source files of OpenFOAM.

Steps are:

1) Correct file OpenFOAM/OpenFOAM-1.6/etc/settings.sh as suggested here:
Quote:
# Compiler settings
# ~~~~~~~~~~~~~~~~~
unset compilerBin compilerLib

# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilerInstall = OpenFOAM | System
compilerInstall=System #OpenFOAM

case "${compilerInstall:-OpenFOAM}" in
OpenFOAM)
case "$WM_COMPILER" in
Gcc)
export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.3.3/platforms/$WM_ARCH$WM_COMPILER_ARCH
_foamAddLib $WM_THIRD_PARTY_DIR/mpfr-2.4.1/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib
_foamAddLib $WM_THIRD_PARTY_DIR/gmp-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib
;;
Gcc43)
export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.3.3/platforms/$WM_ARCH$WM_COMPILER_ARCH
_foamAddLib $WM_THIRD_PARTY_DIR/mpfr-2.4.1/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib
_foamAddLib $WM_THIRD_PARTY_DIR/gmp-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib
;;
Gcc42)
export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH
;;
esac
;;

System)
export WM_COMPILER_DIR="/usr"

# Check that the compiler directory can be found
if [ ! -d "$WM_COMPILER_DIR" ]
then
echo
echo "Warning in $WM_PROJECT_DIR/etc/settings.sh:"
echo " Cannot find $WM_COMPILER_DIR installation."
echo " Please install this compiler version or if you wish to use the system compiler,"
echo " change the 'compilerInstall' setting to 'System' in this file"
echo
fi
compilerBin=$WM_COMPILER_DIR/bin
compilerLib=$WM_COMPILER_DIR/lib$WM_COMPILER_LIB_ARCH:$WM_COMPILER_DIR/lib
esac
2) Correct source code in file OpenFOAM/OpenFOAM-1.6/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C, lines 768, 769, 869, 870

lines 768, 769
Quote:
static_cast<treeBoundBox>(samples), // overall search domain
static_cast<octreeDataPoint>(samples), // all information needed to do checks
lines 869, 870:
Quote:
static_cast<treeBoundBox>(samples), // overall search domain
static_cast<octreeDataPoint>(samples), // all information needed to do checks
3) run ./Allwmake

That's All!

paraview should be also recompiled, paraFoam doesn't work (use foamToVTK and then paraview)

Last edited by mkraposhin; December 3, 2009 at 12:12. Reason: i hadn't completed text
mkraposhin is offline   Reply With Quote

Old   December 11, 2009, 23:37
Default
  #10
New Member
 
Jonathas Assunção de Castro
Join Date: Mar 2009
Posts: 11
Rep Power: 17
jonmec is on a distinguished road
Kraposhin

Could you detail the point 3 listed above?

I'm trying to follow your steps but I need your help in the last step

thanks

Last edited by jonmec; December 13, 2009 at 22:00.
jonmec is offline   Reply With Quote

Old   December 16, 2009, 15:15
Default
  #11
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
go to OpenFOAM/OpenFOAM-1.6/ and run script ./Allwmake

Also, it was found, that openmpi on OpenSuSE 11.2 with OpenFOAM behaves strangely.

On 4-core Intel processor:
icoFoam (and all other apps)
- runs well for 2 cores
- stalls sometimes for 3 cores
- stall everytime for 4 cores

Why? I don't know. I switched to OpenSuSE 10.3 (gcc 4.2), in this distribution everything goes fine.
mkraposhin is offline   Reply With Quote

Old   December 16, 2009, 20:48
Default
  #12
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 mkraposhin View Post
go to OpenFOAM/OpenFOAM-1.6/ and run script ./Allwmake

Also, it was found, that openmpi on OpenSuSE 11.2 with OpenFOAM behaves strangely.

On 4-core Intel processor:
icoFoam (and all other apps)
- runs well for 2 cores
- stalls sometimes for 3 cores
- stall everytime for 4 cores

Why? I don't know. I switched to OpenSuSE 10.3 (gcc 4.2), in this distribution everything goes fine.
Hmm interesting. I cannot reproduce the problems on openSUSE 11.2. Might it depend on the machine? What is your hardware configuration? Also, I built OF 1.6.x on openSUSE 11.2 using the system compiler without fixing the script and it seems to behave correctly here. I'm using gcc, cmake and gcc from openSUSE 11.2, but the rest from ThirdParty.

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   December 17, 2009, 03:40
Default
  #13
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by mkraposhin View Post
go to OpenFOAM/OpenFOAM-1.6/ and run script ./Allwmake

Also, it was found, that openmpi on OpenSuSE 11.2 with OpenFOAM behaves strangely.

On 4-core Intel processor:
icoFoam (and all other apps)
- runs well for 2 cores
- stalls sometimes for 3 cores
- stall everytime for 4 cores

Why? I don't know. I switched to OpenSuSE 10.3 (gcc 4.2), in this distribution everything goes fine.
Do you still have problem if you add mpirun option "-mca btl ^sm" ?

It could be that you are hitting this:
https://svn.open-mpi.org/trac/ompi/ticket/2043
olesen is offline   Reply With Quote

Old   December 20, 2009, 18:44
Default
  #14
New Member
 
Denis Semyonov
Join Date: Mar 2009
Posts: 14
Rep Power: 17
sundaero is on a distinguished road
Quote:
Originally Posted by rlobosco View Post
Hi,
I am also doing the installation of OpenFoam1.6 on OpenSUSE 11.2, 64 bit OS.
Actually I followed the steps here to fix the GLIBCXX problems but something is still missing. When I try ./Allwmake in the OpenFoam/OpenFOAM-1.6 directory many of the follow problems appear:
g++: no input files
make: ** [libNULL.so] Erro 1
rlobosco
Actually have exactly the same problem. The listing is something like
Code:
~/OpenFOAM/OpenFOAM-1.6/src> ./Allwmake 
+ wmakePrintBuild -check                                  
no git description found                                  
+ /bin/rm -f 'OpenFOAM/Make/linux64GccDPOpt/global.?'     
+ wmakeLnInclude OpenFOAM                                 
+ wmakeLnInclude OSspecific/POSIX                         
+ Pstream/Allwmake                                        
+ wmake libso dummy                                       
g++: no input files                                       
make: *** [libNULL.so] Error 1                            
+ case "$WM_MPLIB" in                                     
+ set +x                                                  

Note: ignore spurious warnings about missing mpicxx.h headers
+ WM_OPTIONS=linux64GccDPOptOPENMPI                          
+ wmake libso mpi                                            
g++: no input files                                          
make: *** [libNULL.so] Error 1                               
+ wmake libo OSspecific/POSIX                                
ld -r -o libNULL.o                                           
ld: no input files                                           
make: *** [libNULL.o] Error 1
+ wmake libso OpenFOAM
g++: no input files
make: *** [libNULL.so] Error 1
+ wmake libso lagrangian/basic
g++: no input files
make: *** [libNULL.so] Error 1
+ wmake libso triSurface
g++: no input files
make: *** [libNULL.so] Error 1
+ wmake libso edgeMesh
g++: no input files
make: *** [libNULL.so] Error 1
+ wmake libso surfMesh
g++: no input files
make: *** [libNULL.so] Error 1
+ decompositionMethods/Allwmake
+ wmake libso decompositionMethods
g++: no input files
make: *** [libNULL.so] Error 1
Also, I guess, that the following problem also somehow relates to this: when I am trying to compile any of the utilities (for ex. gmshToFoam, or ParabolicVelocityInlet, all works fine with OF-1.6 and Suse 11.1) I am getting the following error:
Code:
~/OpenFOAM/semyonov-1.6/mesh/gmshToFoamND> wmake
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-40  -IlnInclude -I. -I/home/semyonov/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/semyonov/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude   -fPIC  -L/home/semyonov/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
              -lOpenFOAM -liberty -ldl   -lm -o OpenFOAM.out
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [OpenFOAM.out] Error 1
Could anyone give me any hints please?
sundaero is offline   Reply With Quote

Old   December 21, 2009, 01:52
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
Quote:
Could anyone give me any hints please?
Could you check you installed the whole C/C++ development pattern, and followed the steps I summed up here (warning, marketing my stuff )

http://albertopassalacqua.com/?p=532

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   December 21, 2009, 13:29
Default
  #16
New Member
 
Denis Semyonov
Join Date: Mar 2009
Posts: 14
Rep Power: 17
sundaero is on a distinguished road
Thank you, Alberto!

By following instructions on your site I have managed to solve mentioned problems. I have compiled OpenFOAM and paraFoam without any further problems. Now they are fine and working well.

Still did not understand, where error could be, but anyway I am happy that the OpenFOAM works again.

BR
Denis
sundaero is offline   Reply With Quote

Old   December 21, 2009, 13:49
Default
  #17
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
Good!
Probably some missing library brought in by the C/C++ development pattern, which anyway a good idea to have if you use gcc ;-)
__________________
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   December 22, 2009, 05:45
Default OpenFAOM1.6 on Suse 10 - compiling problem
  #18
New Member
 
shyam prasad
Join Date: Mar 2009
Posts: 25
Rep Power: 17
shyam is on a distinguished road
I have installed OpenFOAM-1.6 on Suse 10. When I compile MRFSimpleFoam, I get the following error.

g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/software/OpenFOAM/OpenFOAM-1.6/src/turbulenceModels -I/software/OpenFOAM/OpenFOAM-1.6/src/turbulenceModels/incompressible/RAS/RASModel -I/software/OpenFOAM/OpenFOAM-1.6/src/transportModels -I/software/OpenFOAM/OpenFOAM-1.6/src/transportModels/incompressible/singlePhaseTransportModel -I/software/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -IlnInclude -I. -I/software/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/software/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/MRFSimpleFoam.o -L/software/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lincompressibleRASModels -lincompressibleTransportModels -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/u530655/OpenFOAM/u530655-1.6/applications/bin/linux64GccDPOpt/MRFSimpleFoam
/software/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libincompressibleRASModels.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
shyam is offline   Reply With Quote

Old   January 5, 2010, 07:10
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,

I have installed OpenFOAM-1.6.x on OpenSUSE Linux 11.2 following the steps of Alberto.

Both tutorials (airfoil2D and dambreak) run well.

But I think I have still some problems.
The foamInstallationTest give 1 critical error. As suggested I have used gcc from the system.

Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.3
User version : 4.4.1
Minimum required: 4.3.1

gcc 4.4.1
WARNING: Conflicting installations:
OpenFOAM settings : /shared/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/bin/gcc
current path : /usr/bin/X11/gcc
CRITICAL ERROR

gzip 1.3.12 /usr/bin/X11/gzip
tar 1.21 /bin/tar
icoFoam 1.6.x ...penFOAM-1.6.x/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------

Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

done.


And I am no more able to run MRFSimpleFoam. I have the following error message.

Create time

Create mesh for time = 0

Reading field p

#0 Foam::error:rintStack(Foam::Ostream&) in "/shared/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/shared/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libc.so.6"
Segmentation fault

Thanks for helping me !

Best regards,

Stephane.
openfoam_user is offline   Reply With Quote

Old   January 5, 2010, 08:07
Default
  #20
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,

I don't think you exactly followed my steps . You should not have gcc 4.3.3. at all on your system.
Delete or rename its directory in the OpenFOAM/ThirdParty directory, and to the same with cmake, since you are supposed to use the version provided with openSUSE.

You will still get a "critical" error from foamInstallationTest, which says

gcc 4.4.1
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

Feel free to ignore it.

Best,
Alberto
__________________
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Installation problem in OpenSuse 11.1 oort OpenFOAM Installation 4 June 30, 2009 16:56
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 15:06
OpenFOAM 1.5 installation on OpenSUSE 11.0 bigphil OpenFOAM Installation 16 April 29, 2009 07:28
OpenFOAM 1.5-dev installation in OpenSuSe 10.3 darenyang OpenFOAM Installation 0 April 28, 2009 05:30
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


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