|
[Sponsors] |
June 27, 2010, 01:54 |
OpenFOAM 1.7 - openSUSE 11.3 - gcc 4.5.0
|
#1 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hello,
I've been trying to compile OpenFOAM 1.7 on openSUSE 11.3 - 64 bit (RC1, since the stable is not out yet) for testing purposes. This distributions comes with gcc 4.5.0. The compile process fails always due to the same error: linux64GccDPOpt/options:6: *** Missing separator. Stop. wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created OpenFOAM 1.7 compiles without problems on openSUSE 11.2. Any suggestion or similar experience? Thanks
__________________
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. |
|
June 27, 2010, 03:16 |
|
#2 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Alberto,
although I only compiled OpenFOAM 1.6.x on OpenSUSE 11.3RC, I think it's the same solution here: One has to add a parameter "-P" to the g++ compiler. I have done this by editing the "~/OpenFOAM/OpenFOAM-1.6.x/wmake/rules/linux64Gcc/general" file, I think. The GFLAGS settings become: GFLAGS = -D$(WM_ARCH) -DWM_$(WM_PRECISION_OPTION) -P Well, I had to remove the OpenSUSE 11.3RC again because of trouble with the graphics driver. Martin |
|
June 27, 2010, 03:28 |
|
#3 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Thanks, I'll try and let you know.
What driver problem? I just fixed one (which will be corrected in the final release too).
__________________
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. |
|
June 27, 2010, 03:41 |
|
#4 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
About the driver problem: I were not able to install the proprietary NVIDIA driver, and the open nouveou driver was too slow and too buggy to display anything useful in Paraview.
More hints about a solution can be found here: http://forums.opensuse.org/get-help-...ia-driver.html But I were running out of time to get it done... and OpenSUSE 11.2 works fine... Martin |
|
June 27, 2010, 04:10 |
|
#5 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Your solution works perfectly. Thank you.
Just a clarification: the -P option has to be added to ~/OpenFOAM/OpenFOAM-1.7.0/wmake/rules/General/general About the nVidia driver, yes, in my case adding "nomodeset" to grub (permanently in /boot/grub/menu.lst at the end of the kernel line) fixed the problem, and I had the weekend to work on it :-) I'm testing 11.3 because of some nice hardware support feature it has and for the updated KDE, and with your help, also OpenFOAM works on it :-)
__________________
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. Last edited by alberto; June 28, 2010 at 04:28. |
|
June 28, 2010, 04:30 |
|
#7 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
__________________
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. |
||
June 28, 2010, 12:17 |
|
#8 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
We've added -traditional-cpp to the cpp rules for all linux platforms. If you re-get the packs it should be in there. Please let us know if it doesn't work.
Thanks, Mattijs |
|
June 28, 2010, 13:37 |
|
#9 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
It fixes the problem on openSUSE 11.3 RC1.
Thanks.
__________________
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. |
|
July 28, 2010, 07:14 |
-P option
|
#11 |
New Member
Jacques
Join Date: Oct 2009
Posts: 15
Rep Power: 17 |
What is this -P option for. Do you think it would disrupt compilation with other versions of gcc ? Is there not a way of putting this option in the linux64gcc folder?
|
|
July 28, 2010, 07:41 |
|
#12 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
The -P option should have the same effect as the -traditional-cpp flag.
|
|
July 28, 2010, 12:59 |
|
#13 | |
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. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Openfoam installation on OpenSuse 11.1 | Bufacchi | OpenFOAM Installation | 1 | June 15, 2010 20:55 |
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio | alberto | OpenFOAM | 40 | May 23, 2010 17:15 |
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 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |