CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

fortran error on g77 compiler

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

LinkBack Thread Tools Display Modes
Old   January 27, 2006, 14:47
Default fortran error on g77 compiler
Posts: n/a
I am getting an error when I give the following command.

[ghugeha@octavian GTS]$ g77 convert3d.f -o convert3d.exe

The error is

/tmp/cckYhF9g.o(.text+0x967): In function `MAIN__':
: relocation truncated to fit: R_X86_64_32S .bss

/tmp/cckYhF9g.o(.text+0x979): In function `MAIN__':
: relocation truncated to fit: R_X86_64_32S .bss collect2: ld returned 1 exit status

Can someone tell me what it is.

Thank you
  Reply With Quote

Old   February 8, 2006, 11:47
Default Re: fortran error on g77 compiler
M. Alonso
Posts: n/a
It could be for many reasons. It could be you are trying to run a >2Gb job in a 32 bit machine. If it is 64 bit try putting a -64 flag, and try the ulimit command.

It could also be that you can run the job but your system has been capped to a specific RAM... talk to your computer administrator.

The reason is your linker is trying to "truncate" your executable to "fit" your capacity.

Of course, it may be something else... but I hope this helps.


  Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Fortran Compiler & Tutorial 17 Young CFX 1 March 30, 2011 01:39
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Fortran compiler Erik CD-adapco 2 November 28, 2008 21:05
fortran error for g77 compiler vishwas Main CFD Forum 10 January 30, 2006 18:16
Fortran compiler Arnab CD-adapco 5 September 14, 2004 03:59

All times are GMT -4. The time now is 00:42.