JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for COMP-FORTRAN-90 Archives


COMP-FORTRAN-90 Archives

COMP-FORTRAN-90 Archives


COMP-FORTRAN-90@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

COMP-FORTRAN-90 Home

COMP-FORTRAN-90 Home

COMP-FORTRAN-90  2002

COMP-FORTRAN-90 2002

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Slow compilation! (reply to Peter Shenkin)

From:

David Vowles <[log in to unmask]>

Reply-To:

Fortran 90 List <[log in to unmask]>

Date:

Wed, 13 Nov 2002 18:43:09 +1030

Content-Type:

multipart/mixed

Parts/Attachments:

Parts/Attachments

text/plain (244 lines) , dvowles.vcf (15 lines)

I also experience the same sort of problem with quite slow compilation
using CVF 6.6. In my case the main program is less than 1000 lines long
and USEs many modules and many of those modules use many modules etc.
The modules are not INCLUDEd in the main program.

Compilation of the main program takes several minutes on a Pentium 1V
1.8 GHz running Windows 2000. None of the modules is being compiled.
Just the main program.

I am disinclined to USE ONLY because one has to manually maintain a list
of the entities used. Rather I make everything in a my modules PRIVATE
and explicitly make PUBLIC only those entities I want to have accessible
outside the module.

David.
  

Alvaro Fernandez wrote:
> 
> Depends, I guess. Some environments create a makefile and then process
> it, and you can view it if you know where to look. Don't know if CVF is
> one of them... He should at least ask the vendor how the dependencies
> are handled. Maybe the compiler is creating a bad makefile, or at least
> a naïve one.
> If the changes aren't down "in the boiler room", a properly set up list
> of dependencies should avoid a cascade.
> 
> Is it just me, or does it sound like the poster continually (?) has to
> change things at the bottom level of the USE hierarchy?  How come?
> Perhaps a sketch of the code organization would help...
> 
> Alvaro
> 
> PS If there is no makefile being created, perhaps he may try to install
> cygwin and try GNUmake with a properly set-up makefile?
> 
> A.F.
> 
> -----Original Message-----
> From: Fortran 90 List [mailto:[log in to unmask]] On Behalf
> Of Peter Shenkin
> Sent: Tuesday, November 12, 2002 10:27 AM
> To: [log in to unmask]
> Subject: Re: Slow compilation! (reply to Peter Shenkin)
> 
> Hi,
> 
> Though if he's using CVF from the IDE, there's unlikely to be
> an explicit Makefile....
> 
> -P.
> 
> On Tue, 12 Nov 2002, 9:49am -0600, [log in to unmask] wrote:
> 
> > There's also the matter of the makefile being employed. Perhaps you
> > could post it? There's more than one way to handle module dependencies
> > in the make syntax.
> >
> > Alvaro
> >
> >
> > -----Original Message-----
> > From: Fortran 90 List [mailto:[log in to unmask]] On
> Behalf
> > Of Peter Shenkin
> > Sent: Tuesday, November 12, 2002 9:09 AM
> > To: [log in to unmask]
> > Subject: Re: Slow compilation! (reply to Peter Shenkin)
> >
> > Hi,
> >
> > Sorry to belabor the issue but...  is it really only the 450
> > lines that are being recompiled, or is there really a
> > "cascade" effect, where before compiling those 450 lines, all
> > the modules have to be recompiled?
> >
> > That is, are you quite sure that it is really taking all that
> > time to compile just those 450 lines, or is the attempt to
> > compile those 450 lines requiring lots of other stuff to be
> > compiled?
> >
> > -P.
> >
> > On Tue, 12 Nov 2002, 3:09pm +0100, [log in to unmask] wrote:
> >
> > > The compile time doesn't seem to vary very much from optmized to
> debug
> > > version. The compiler i'm refering to is CVF version 6.6B. The 450
> > lines of
> > > code contains a number of USE statements within a PROGRAM unit. Hope
> > this
> > > makes it a little bit clearer. Thanks for your reply!
> > >
> > > Magne
> > >
> > > ----- Original Message -----
> > > From: "Peter Shenkin" <[log in to unmask]>
> > > To: <[log in to unmask]>
> > > Sent: Tuesday, November 12, 2002 2:48 PM
> > > Subject: Re: Slow compilation!
> > >
> > >
> > > > By the way, Magne, are you compiling an Optimized or a Debugging
> > version?
> > > > Does it make a difference?
> > > >
> > > > Also, you referred to "cascade compilation".  I usually understand
> > > > this to mean that when you recompile one file containing a MODULE,
> > > > all the others that USE the MODULE need to be recompiled.  Is this
> > > > what you mean?  Does the 450 lines of code you refer to include
> the
> > > > MODULEs, or is this just the code that USEs the modules?
> > > >
> > > > -P.
> > > >
> > > > On Tue, 12 Nov 2002, 8:15am -0500, [log in to unmask] wrote:
> > > >
> > > > >     You don't mention which compiler you're currently using. We
> > also
> > > > > have a large project comprising hundreds of units (files),
> > thousands of
> > > > > procedures, about 100K lines of code and a fairly complex
> > hierarchy of
> > > > > derived data types and modules. Of the four compilers we've
> tried
> > only
> > > > > one has consistently been able to completely build our program:
> > > > > Lahey/Fujitsu LF95. One of the compilers required 1.8 GBytes of
> > memory
> > > > > to compile one file, albeit a long one containing a long list of
> > use
> > > > > statements. The Lahey/Fujitsu compiler compiled this without any
> > problem
> > > > > and without allocating a large amount of memory. BUT, we've
> found
> > no
> > > > > compiler compiles particularly faster than the others and have
> > seen
> > > > > phenomena similar to the one you describe: individual
> subroutines
> > or
> > > > > functions compile very quickly; modules with many use statements
> > take a
> > > > > long time. For example, it takes the Lahey compiler almost two
> > minutes
> > > > > to compile the aforementioned file, and it takes well over ten
> > minutes
> > > > > for us to build our entire program. This is on a single
> processor
> > AMD
> > > > > 2200+ (1.8 GHz) computer with Windows 2000 Pro, S.P. 2
> installed.
> > > > >
> > > > > Norman S. Clerman
> > > > > Opcon Associates, Inc.
> > > > > www.opconassociates.com
> > > > > [log in to unmask]
> > > > >
> > > > >
> > > > > Magne Rudshaug wrote:
> > > > >
> > > > > > Hi list members!
> > > > > >
> > > > > > I'm working on a fairly large F90 project . This has proved to
> > be a
> > > > > > though challenge mainly due to two factors:
> > > > > >
> > > > > >         1) Cascade compliation due to USE
> > > > > >         2) Slow compilation and excessive memory due to USE.
> > > > > >
> > > > > > The first issue is well known and I only wonder if there is a
> > good
> > > > > > solution available for this problem? The second problem has
> not
> > been
> > > > > > focused very much to my knowledge. However, this is a real
> > problem in
> > > > > > practical use of the compiler. As an example my compiler use
> > about 45
> > > > > > sec compiling the main program of my project. This file
> consists
> > of a
> > > > > > mere 450 lines of code. I use ONLY clauses with my USE
> > statements to
> > > > > > reduce compile times. During compilation I also notice that
> the
> > > > > > compiler use roughly 700MB to compile this file. You might
> > wonder if I
> > > > > > use a slow PC, but that is not the case. I'm using a 1.7GHz
> dual
> > > > > > processor Windows 2000 machine. Even on this machine I think
> the
> > > > > > compiler I use is too slow for practical F90 work on the scale
> > of my
> > > > > > project. Compiling the files without USE is lightning fast
> > compared to
> > > > > > the files containing USE. Why does this USE business put such
> a
> > huge
> > > > > > penalty on the compilation time? Is there some problem with
> the
> > > > > > algorithm used with this particular compiler? Does anyone have
> > > > > > experience with the performace of different compilers with
> > repect to
> > > > > > these issues?
> > > > > >
> > > > > > I would be very greatful for a comment on these problems. And
> I
> > thank
> > > > > > you in advance for any reply!
> > > > > >
> > > > > > Magne Rudshaug
> > > > >
> > > >
> > > > --
> > > >   Peter S. Shenkin                      Schrodinger, Inc.
> > > >   VP, Software Development              120 W. 45th St.
> > > >   646 366 9555 x111 Tel                 New York, NY 10036
> > > >   646 366 9550 FAX                      [log in to unmask]
> > > >                                         http://www.schrodinger.com
> > > >   Pre-arranged conf. calls: 702-759-8420 or 888-867-7084; passcode
> > 646-366
> > > >
> > >
> >
> > --
> >   Peter S. Shenkin                      Schrodinger, Inc.
> >   VP, Software Development              120 W. 45th St.
> >   646 366 9555 x111 Tel                 New York, NY 10036
> >   646 366 9550 FAX                      [log in to unmask]
> >                                         http://www.schrodinger.com
> >   Pre-arranged conf. calls: 702-759-8420 or 888-867-7084; passcode
> > 646-366
> >
> 
> --
>   Peter S. Shenkin                      Schrodinger, Inc.
>   VP, Software Development              120 W. 45th St.
>   646 366 9555 x111 Tel                 New York, NY 10036
>   646 366 9550 FAX                      [log in to unmask]
>                                         http://www.schrodinger.com
>   Pre-arranged conf. calls: 702-759-8420 or 888-867-7084; passcode
> 646-366

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

December 2023
February 2023
November 2022
September 2022
February 2022
January 2022
June 2021
November 2020
September 2020
June 2020
May 2020
April 2020
December 2019
October 2019
September 2019
March 2019
February 2019
January 2019
November 2018
October 2018
September 2018
August 2018
July 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
December 2015
November 2015
October 2015
September 2015
August 2015
June 2015
April 2015
March 2015
January 2015
December 2014
November 2014
October 2014
August 2014
July 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
July 2013
June 2013
May 2013
April 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
August 2010
July 2010
June 2010
March 2010
February 2010
January 2010
December 2009
October 2009
August 2009
July 2009
June 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
1997


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager