CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Please report this bug

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2006, 14:20
Default I moved OpenFOAM to our new cl
  #1
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
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
egp is offline   Reply With Quote

Old   December 7, 2006, 14:32
Default You have broken the assembler,
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
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
hjasak is offline   Reply With Quote

Old   December 7, 2006, 14:44
Default Hi Hrv, It is reproducable
  #3
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
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
egp is offline   Reply With Quote

Old   December 8, 2006, 03:06
Default Eric For me it is strange t
  #4
Senior Member
 
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17
jens_klostermann is on a distinguished road
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
jens_klostermann is offline   Reply With Quote

Old   December 8, 2006, 13:48
Default Jens, Thanks for the hint!
  #5
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
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 is offline   Reply With Quote

Old   December 8, 2006, 13:56
Default Jens, Thanks for the hint!
  #6
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
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
egp is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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