|
[Sponsors] |
November 15, 2009, 20:40 |
OpenSuSE 11.2 installation
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
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 |
|
November 16, 2009, 04:00 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
||
November 16, 2009, 08:22 |
|
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi,
I am using gcc from ThirdParty. Pei |
|
November 20, 2009, 08:38 |
|
#4 |
Member
Johannes Baumann
Join Date: Mar 2009
Location: Baden-Wuerttemberg, Germany
Posts: 43
Rep Power: 17 |
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 |
|
November 25, 2009, 08:24 |
|
#5 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi, Johannes,
Thanks for the suggestion. I will try out the workaround. Pei |
|
November 25, 2009, 15:59 |
|
#6 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
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) |
|
November 25, 2009, 18:51 |
|
#7 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
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 |
|
December 3, 2009, 11:57 |
|
#8 |
New Member
rlobosco
Join Date: Nov 2009
Posts: 5
Rep Power: 17 |
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 |
|
December 3, 2009, 12:11 |
Cure for OpenSuSE 11.2
|
#9 | |||
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
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) Last edited by mkraposhin; December 3, 2009 at 12:12. Reason: i hadn't completed text |
||||
December 11, 2009, 23:37 |
|
#10 |
New Member
Jonathas Assunção de Castro
Join Date: Mar 2009
Posts: 11
Rep Power: 17 |
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. |
|
December 16, 2009, 15:15 |
|
#11 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
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. |
|
December 16, 2009, 20:48 |
|
#12 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
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. |
||
December 17, 2009, 03:40 |
|
#13 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
It could be that you are hitting this: https://svn.open-mpi.org/trac/ompi/ticket/2043 |
||
December 20, 2009, 18:44 |
|
#14 | |
New Member
Denis Semyonov
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Quote:
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 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 |
||
December 21, 2009, 01:52 |
|
#15 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
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. |
||
December 21, 2009, 13:29 |
|
#16 |
New Member
Denis Semyonov
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
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 |
|
December 21, 2009, 13:49 |
|
#17 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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. |
|
December 22, 2009, 05:45 |
OpenFAOM1.6 on Suse 10 - compiling problem
|
#18 |
New Member
shyam prasad
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
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 |
|
January 5, 2010, 07:10 |
|
#19 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
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. |
|
January 5, 2010, 08:07 |
|
#20 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
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. |
|
|
|
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 |