public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Edvardsen Kåre" <kare.edvardsen@uit.no>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: [SOLVED] Re: What updates done after October 3 may affect gfortran built binaries?
Date: Wed, 16 Nov 2011 11:30:00 -0000	[thread overview]
Message-ID: <1321443015.6778.44.camel@kare-desktop> (raw)


> >> FLEXPART is one of those huge number-crunching Fortran programs that's
> >> just jam-packed with ginormous multi-dimensional arrays. The final linked
> >> executable had 3.38 GB of .bss space!
> 
> > Out of curiosity, how then was the OP ever able to make *any* version run?
> 
>   Not clear yet but probably owing to changes in one or more of the array
> dimensions in the upstream source that he didn't notice taking place.
> 
>     cheers,
>       DaveK

I managed to track down one critical array specification which I sat
smaller before compiling. The 64-bit version use the same initialisation
file as the 32-bit, so an array size of 22E+06 elements instead of 6E+06
was used. The SizeOfUninitializedData is now 5eeba800 (1.6 GB) and
everything works beautiful :)

I would never had thought of this without your help! Thank you very
much!

Cheers,
Kåre

             reply	other threads:[~2011-11-16 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 11:30 Edvardsen Kåre [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-16  9:06 Edvardsen Kåre
2011-11-09 12:15 Edvardsen Kåre
2011-11-15 15:54 ` [SOLVED] " Dave Korn
2011-11-15 16:21   ` Ryan Johnson
2011-11-15 22:55     ` Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1321443015.6778.44.camel@kare-desktop \
    --to=kare.edvardsen@uit.no \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).