This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
informational question: compile time of large DATA arrays
- From: "Daniel Franke" <franke dot daniel at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Date: Thu, 7 Sep 2006 12:05:54 +0200
- Subject: informational question: compile time of large DATA arrays
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y+AvAApY2j0k8XQuJbOe4BfxjRd/Pr+uNZn1cRA4yfTUpmdk1x7PttjinWFhHacXI4eUYyET6Gf91w2COA4J3apsJ8Dd4wAVmZTppPL5yZ7Zux59lSgjhJVyJs0lS+eO+R7vnZJSJoqO8tjjMZn4Jet5Nrkys0ylgzDj1rlsuLc=
- References: <640ad44b0609070302u2c7558d2k1e312b88c68d3ac3@mail.gmail.com>
Hi all.
I am currently waiting for gfortran to finish compilation of a module
that looks like this:
MODULE foo
REAL :: grid(0: 50 , 0: 10000 )
DATA grid( 0 , 0 ) / 1.000000 /
DATA grid( 0 , 1 ) / 0.9999750 /
DATA grid( 0 , 2 ) / 0.9999000 /
[ ... ]
CONTAINS
[a simple function working on the grid]
END MODULE
Could someone enlighten my why it takes more than 20 minutes
(3.2GHz P4, 2GB RAM) to compile a module like this?
Thanks
Daniel