CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenSuSE 11.2 installation (https://www.cfd-online.com/Forums/openfoam-installation/70131-opensuse-11-2-installation.html)

phsieh2005 November 15, 2009 19:40

OpenSuSE 11.2 installation
 
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

olesen November 16, 2009 03:00

Quote:

Originally Posted by phsieh2005 (Post 236364)
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?

phsieh2005 November 16, 2009 07:22

Hi,

I am using gcc from ThirdParty.

Pei

johannes November 20, 2009 07:38

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

phsieh2005 November 25, 2009 07:24

Hi, Johannes,

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

Pei

phsieh2005 November 25, 2009 14:59

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 November 25, 2009 17:51

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

rlobosco December 3, 2009 10:57

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

mkraposhin December 3, 2009 11:11

Cure for OpenSuSE 11.2
 
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)

jonmec December 11, 2009 22:37

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

mkraposhin December 16, 2009 14:15

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.

alberto December 16, 2009 19:48

Quote:

Originally Posted by mkraposhin (Post 240239)
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

olesen December 17, 2009 02:40

Quote:

Originally Posted by mkraposhin (Post 240239)
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

sundaero December 20, 2009 17:44

Quote:

Originally Posted by rlobosco (Post 238613)
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?

alberto December 21, 2009 00:52

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 :D)

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

Best,

sundaero December 21, 2009 12:29

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

alberto December 21, 2009 12:49

Good!
Probably some missing library brought in by the C/C++ development pattern, which anyway a good idea to have if you use gcc ;-)

shyam December 22, 2009 04:45

OpenFAOM1.6 on Suse 10 - compiling problem
 
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

openfoam_user January 5, 2010 06:10

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::printStack(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.

alberto January 5, 2010 07:07

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

openfoam_user January 5, 2010 08:35

Hi Alberto,

I run again foamInstallationTest and get :

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 : /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.

So the installation seems OK.




But I can't run MRFSimpleFoam

Create time

Create mesh for time = 0

Reading field p

#0 Foam::error::printStack(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

Regards,

Stephane.

alberto January 5, 2010 11:18

OK.

Did you rebuild everything with the system compiler? I have just run the MRFSimpleFoam tutorial successfully, and it seems we have the same system.

Best,
Alberto

baernibaer January 5, 2010 18:13

Hello @all,

same problem (Suse11.2&2.6.31.5-0.1-default&Kde4.3.1-32bit on 64bit system, git clone git://repo.or.cz/OpenFOAM-1.6.x.git) -> 1 critical gcc error ($WM_COMPILER_DIR))

(recompiled paraView and openmpi (yast2: software installed?) first)
until now this worked (...OpenFOAM-1.6/etc/settings.sh):
...
compilerBin=$WM_COMPILER_DIR/bin
compilerLib=$WM_COMPILER_DIR/lib$WM_COMPILER_LIB_ARCH:$WM_COMPILER_DIR/lib
;;
System)
export WM_COMPILER_DIR="/usr"
;;
esac

if [ -d "$compilerBin" ]
then
_foamAddPath $compilerBin
_foamAddLib $compilerLib
fi
...

just compiled ~/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/icoFoam/cavity
(could look at it with:
console:~/OpenFOAM/FOAM_RUN/tutorials/incompressible/icoFoam # icoFoam -case cavity
console:~/OpenFOAM/FOAM_RUN/tutorials/incompressible/icoFoam # paraview)

Thanks to Alberto and all supporters.

hopefully helpful,
Regards
bernhard

p.s. there is no "ThirdParty/cmake" folder anymore???

openfoam_user January 6, 2010 02:17

Hi,

I have run the tutorial mixerVessel2D without success.
Hereafter is the log.MRFSimpleFoam.

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x-f3456b234025
Exec : MRFSimpleFoam
Date : Jan 06 2010
Time : 08:10:19
Host : cfs10
PID : 7929
Case : /shared/sanchi/mixerVessel2D
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

#0 Foam::error::printStack(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"


I have always the same error message with the use of MRFSimpleFoam !!!

Regards,

Stephane.

openfoam_user January 6, 2010 11:03

Hi,

to all people that have installed OpenFOAM-1.6.x with Linux 11.2

I am not able to run the MRFSimpleFoam solver.

I have the following error message when running the mixer 2D tutorial :

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x-f3456b234025
Exec : MRFSimpleFoam
Date : Jan 06 2010
Time : 16:42:36
Host : cfs10
PID : 16108
Case : /shared/sanchi/mixerVessel2D
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

#0 Foam::error::printStack(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"

Advices are welcome.

I need help to solve this problem.

Best regards,

Stephane

openfoam_user January 8, 2010 07:18

Hi,

I discover the problem.

For OpenFOAM-1.6.x and OpenSUSE 11.2 I have to use the system compiler.

So I just have forgotten to recompile MRFSimpleFoam too.

cd ~/OpenFOAM/OpenFOAM-1.6.x/tutorials/incompressible/MRFSimpleFoam
wmake

and now MRFSimpleFoam works again.

Regards,

Stephane.

openfoam_user January 8, 2010 07:31

Following the steps of Alberto works fine for me (OpenFOAM-1.6.x and pvFoam).

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

Stephane


All times are GMT -4. The time now is 05:23.