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 |
Quote:
Are you using the gcc from ThirdParty or the system gcc? |
Hi,
I am using gcc from ThirdParty. Pei |
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 |
Hi, Johannes,
Thanks for the suggestion. I will try out the workaround. Pei |
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) |
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 |
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 |
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:
lines 768, 769 Quote:
Quote:
That's All! paraview should be also recompiled, paraFoam doesn't work (use foamToVTK and then paraview) |
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 |
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. |
Quote:
Best |
Quote:
It could be that you are hitting this: https://svn.open-mpi.org/trac/ompi/ticket/2043 |
Quote:
Code:
~/OpenFOAM/OpenFOAM-1.6/src> ./Allwmake Code:
~/OpenFOAM/semyonov-1.6/mesh/gmshToFoamND> wmake |
Quote:
http://albertopassalacqua.com/?p=532 Best, |
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 |
Good!
Probably some missing library brought in by the C/C++ development pattern, which anyway a good idea to have if you use gcc ;-) |
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 |
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. |
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 |
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. |
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 |
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??? |
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. |
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 |
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. |
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. |