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 10 of 17 Topic 8181 of 8774
Post > Topic >>

Re: gfortran produces huge executables

by glen herrmannsfeldt <gah@[EMAIL PROTECTED] > Apr 27, 2008 at 09:30 PM

hermantobin@[EMAIL PROTECTED]
 wrote:

> I'll just post the code.  The main offenders are 2-dimensional arrays:

>             logical(kind=onebyte)                                ::
> InContactRR(NMOL,NMOL)
>             logical(kind=onebyte)                                ::
> CheckedRR(NMOL,NMOL)

> where NMOL is a large number.  It does not seem that the array is
> initialized at compile time.  These arrays are defined within a module.

If they are not initialized it is unusual for them to take up
large amounts of space in the object file.   For g95, it seems
that even initialized to zero they don't take up space.

If you are not initializing them I would re****t a compiler bug.
(Having the SAVE attribute might be enough, though.)

-- glen
 




 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 Sun Oct 12 23:32:54 CDT 2008.