|
[Sponsors] |
May 25, 2011, 23:51 |
Building tutrial on SL6 (OF1.7.1)
|
#1 | |
Member
Join Date: Nov 2009
Posts: 65
Rep Power: 17 |
Dear all,
Does anyone can build some solvers on Scientific Linux 6 ? Of cource I know that SL6 is not tested for OF platfoam. In my case, I've downloaded from centFOAM site and successfully run icoFoam of OF 1.7.1. As a next step, go to the simpleWindFoam case and run 'wmake' in the solver folder. Messages below were shown and failed to build. Any comments are welcome and thanks in advance waku2005 Quote:
|
||
May 26, 2011, 03:00 |
|
#2 |
Member
Matthias Walter
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 63
Rep Power: 17 |
Hi,
I have got same error using CentOS5.5 some times ago. That's not a problem of SL6, it's a problem related to your gcc. It seems that the gcc included in Thirdparties was built using another version of c++locale.h from an older linux system. Try to use the native gcc provided by your SL6 installation. That should do the job. Good luck Matthias Last edited by matthias; May 26, 2011 at 05:42. |
|
May 26, 2011, 03:04 |
|
#3 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
As Matthias states the centFOAM version of 1.7 was built on 5.x system which has an older glibc. Similar discussion can be found here http://comments.gmane.org/gmane.comp.gcc.help/35639 You need to compile OF yourself (using system gcc) until I get 1.7/1.6-ext built for 6.x systems and uploaded to the centFOAM page.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
May 26, 2011, 04:42 |
|
#4 |
Member
Join Date: Nov 2009
Posts: 65
Rep Power: 17 |
Dear Linnemann
Thank you very much for your information. I'll try to use system compiler and rebuild it. waku2005 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
Solar Radiation in OpenFOAM | plainstyle | OpenFOAM Running, Solving & CFD | 15 | July 8, 2014 05:43 |
install OpenFoam 1.6 by building source: how? | niudie | OpenFOAM Installation | 13 | April 26, 2011 01:48 |
ParaView 3.8.0 problem on debian | Unseen | OpenFOAM Installation | 4 | August 16, 2010 11:26 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |