Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: gfortran pr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 17 Topic 8181 of 8775
Post > Topic >>

Re: gfortran produces huge executables

by hermantobin@[EMAIL PROTECTED] Apr 27, 2008 at 07:08 PM

On Apr 27, 11:33=A0am, "FX" <coud...@[EMAIL PROTECTED]
> wrote:
> > gfortran produces huge (700 megabyte) executable files, while a trial
> > version of ifort produces an executable file under 1 meg. =A0The
> > executable runs in either case, but the large file size and
> > compile+link times are a nuisance. The large executable is likely
> > related to a single large object file, which is associated with a
> > source file that defines a large dynamically allocated (I believe)
> > array.
>
> The only case I know of gfortran creating unreasonably huge executables
> (with very long compile and link times) is when you have a very large,
> static, parameter array. Show us the code and we'll see.
>
> --
> FX

Indeed, the code contains large static executables (not dynamically
allocated).  When I comment these out, the object file is a normal
size.  Suggestions on avoiding this problem?
 




 17 Posts in Topic:
gfortran produces huge executables
hermantobin@[EMAIL PROTEC  2008-04-26 10:28:07 
Re: gfortran produces huge executables
"Anony" <inv  2008-04-26 20:34:59 
Re: gfortran produces huge executables
Terence <tbwright@[EMA  2008-04-26 18:54:02 
Re: gfortran produces huge executables
"FX" <couder  2008-04-27 18:33:04 
Re: gfortran produces huge executables
hermantobin@[EMAIL PROTEC  2008-04-27 19:08:41 
Re: gfortran produces huge executables
glen herrmannsfeldt <g  2008-04-27 18:40:15 
Re: gfortran produces huge executables
nospam@[EMAIL PROTECTED]   2008-04-28 19:59:30 
Re: gfortran produces huge executables
hermantobin@[EMAIL PROTEC  2008-04-27 19:09:23 
Re: gfortran produces huge executables
hermantobin@[EMAIL PROTEC  2008-04-27 19:47:26 
Re: gfortran produces huge executables
glen herrmannsfeldt <g  2008-04-27 21:30:27 
Re: gfortran produces huge executables
hermantobin@[EMAIL PROTEC  2008-04-27 20:16:47 
Re: gfortran produces huge executables
hermantobin@[EMAIL PROTEC  2008-04-27 20:33:15 
Re: gfortran produces huge executables
Walter Spector <w6ws_x  2008-04-27 21:37:44 
Re: gfortran produces huge executables
Charles Coldwell <cold  2008-04-28 11:42:48 
Re: gfortran produces huge executables
e p chandler <epc8@[EM  2008-04-29 08:10:32 
Re: gfortran produces huge executables
"Anony" <no-  2008-05-02 14:04:46 
Re: gfortran produces huge executables
Terence <tbwright@[EMA  2008-04-29 15:17:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 8:44:32 CDT 2008.