|
[Sponsors] |
December 7, 2006, 14:20 |
I moved OpenFOAM to our new cl
|
#1 |
Senior Member
|
I moved OpenFOAM to our new cluster. Everything runs fine when using the AMD64 precompiled binaries. However, if I try to compile something, I get an error, including a statement, "Please report this bug," (see example below when compiling foamToTecplot). Questions:
1. Is this statement coming from wmake/OF, or from the g++ compiler? 2. Is this really a bug? 3. Has anyone seen this before? What is the solution? Thanks, Eric ====================================== Making dependency list for source file foamToTecplot.C SOURCE_DIR=. SOURCE=foamToTecplot.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/egp11/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/home/egp11/OpenFOAM/OpenFOAM-1.3/src/cfdTools/lnInclude -I/home/egp11/OpenFOAM/OpenFOAM-1.3/src/meshTools/lnInclude -I/home/egp11/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/foamToTecplot.o /tmp/ccG3f0di.s: Assembler messages: /tmp/ccG3f0di.s:13: Internal error, aborting at ../../gas/config/tc-i386.c line 3500 in output_imm Please report this bug. make: *** [Make/linuxGcc4DPOpt/foamToTecplot.o] Error 1 |
|
December 7, 2006, 14:32 |
You have broken the assembler,
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
You have broken the assembler, which is very interesting indeed. Is it reproducable, have you compiled gcc locally, what do:
which as and which ld say? Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
December 7, 2006, 14:44 |
Hi Hrv,
It is reproducable
|
#3 |
Senior Member
|
Hi Hrv,
It is reproducable in that I get a similar message when trying to compile anything. No, I have not compiled gcc locally. The which commands give: [egp11@uwe-eb foamToTecplot]$ which as /usr/bin/as [egp11@uwe-eb foamToTecplot]$ which ld /usr/bin/ld Eric |
|
December 8, 2006, 03:06 |
Eric
For me it is strange t
|
#4 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
Eric
For me it is strange that your compiler is compiling in 32 bit when you are using a 64 bit cluster? Did you put export WM_64=1 in your ~/.bashrc? What gives gcc -v? Jens |
|
December 8, 2006, 13:48 |
Jens,
Thanks for the hint!
|
#5 |
Senior Member
|
Jens,
Thanks for the hint! Someone else installed the binaries, and by mistake used the 32-bit version. I copied their OpenFOAM directory without looking and got burned... I installed the 64-bit versions, and everything now works fine (and my first utlity and solver mods compile and link just fine!). Eric |
|
December 8, 2006, 13:56 |
Jens,
Thanks for the hint!
|
#6 |
Senior Member
|
Jens,
Thanks for the hint! Someone else installed the binaries, and by mistake used the 32-bit version. I copied their OpenFOAM directory without looking and got burned... Anyway, I've installed the 64-bit versions, and everything now works fine (and my first utlity and solver mods compile and link just fine!). Eric |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD report | Sami | FLUENT | 0 | April 15, 2008 12:09 |
Report > Discrete Phase > Report > How to commands | Francesco Micchetti | FLUENT | 1 | January 23, 2008 07:10 |
need a report... | CFD Student | Main CFD Forum | 0 | April 3, 2006 16:33 |
BÚG REPORT for CD | Piet | Siemens | 2 | September 20, 2004 03:45 |
Report | Gabry | FLUENT | 2 | December 5, 2003 10:38 |