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)

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 22:42.