CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Please report this bug (https://www.cfd-online.com/Forums/openfoam-installation/57587-please-report-bug.html)

egp December 7, 2006 13:20

I moved OpenFOAM to our new cl
 
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

hjasak December 7, 2006 13:32

You have broken the assembler,
 
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

egp December 7, 2006 13:44

Hi Hrv, It is reproducable
 
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

jens_klostermann December 8, 2006 02:06

Eric For me it is strange t
 
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

egp December 8, 2006 12:48

Jens, Thanks for the hint!
 
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

egp December 8, 2006 12:56

Jens, Thanks for the hint!
 
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


All times are GMT -4. The time now is 20:48.