Google Groups Home
Help | Sign in
Compiler writer questions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Bil Kleb  
View profile
 More options May 6, 1:38 pm
Newsgroups: comp.lang.fortran
From: Bil Kleb <Bil.K...@NASA.gov>
Date: Tue, 06 May 2008 13:38:23 -0400
Local: Tues, May 6 2008 1:38 pm
Subject: Compiler writer questions
Hi,

This request just went out to our team:

   itemize what we would want out of a compiler-writer visit

I can only think of two related questions:

   What areas of the F95 cause the most pain w.r.t. optimization?

   What can we do as code developers to "help" the compiler?

Other ideas?

Thanks,
--
Bil Kleb
http://fun3d.larc.nasa.gov


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Harper  
View profile
 More options May 6, 5:52 pm
Newsgroups: comp.lang.fortran
From: har...@mcs.vuw.ac.nz (John Harper)
Date: 7 May 2008 09:52:56 +1200
Local: Tues, May 6 2008 5:52 pm
Subject: Re: Compiler writer questions
In article <fvq52g$6j...@aioe.org>, Bil Kleb  <Bil.K...@NASA.gov> wrote:

>Hi,

>This request just went out to our team:

>   itemize what we would want out of a compiler-writer visit

>I can only think of two related questions:
...
>Other ideas?

What areas of the F2003 standard are causing you the most pain to
implement?

When do you think you'll be able to release a full f2003 compiler?

What areas of the F2008 standard do you think will cause you the most
pain to implement?

When do you think you'll be able to release a full f2008 compiler?

-- John Harper, School of Mathematics, Statistics and Computer Science,
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.har...@vuw.ac.nz phone (+64)(4)463 6780 fax (+64)(4)463 5045


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Beliavsky  
View profile
 More options May 6, 6:51 pm
Newsgroups: comp.lang.fortran
From: Beliavsky <beliav...@aol.com>
Date: Tue, 6 May 2008 15:51:35 -0700 (PDT)
Local: Tues, May 6 2008 6:51 pm
Subject: Re: Compiler writer questions
On May 6, 1:38 pm, Bil Kleb <Bil.K...@NASA.gov> wrote:

> Hi,

> This request just went out to our team:

>    itemize what we would want out of a compiler-writer visit

> I can only think of two related questions:

>    What areas of the F95 cause the most pain w.r.t. optimization?

Same for F2003. I think allocation upon assignment is one "painful"
area, as discussed here recently.

>    What can we do as code developers to "help" the compiler?

> Other ideas?

When will you have a Fortran 2003 compiler?

If a compiler offers free updates for the next N months, will they
have a Fortran 2003 compiler in N months?

What is your timeline on adding specific features? If g95 has a
Fortran 2003 feature, I'll be more likely to employ it if Intel
Fortran has it now or will have it in a few months.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
William Clodius  
View profile
 More options May 6, 9:15 pm
Newsgroups: comp.lang.fortran
From: wclod...@los-alamos.net (William Clodius)
Date: Tue, 6 May 2008 19:15:57 -0600
Local: Tues, May 6 2008 9:15 pm
Subject: Re: Compiler writer questions

Bil Kleb <Bil.K...@NASA.gov> wrote:
> Hi,

> This request just went out to our team:

>    itemize what we would want out of a compiler-writer visit

> I can only think of two related questions:

>    What areas of the F95 cause the most pain w.r.t. optimization?

>    What can we do as code developers to "help" the compiler?
> <snip>

Others have suggested asking about F2003. I would suggest asking about
detecting more fundamental problems with the source code, i.e., illegal
modifiable aliasing, array out of bound checks, memory leaks, etc. For
optimization/memory management you might ask about stack versus heap
alloction.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Koenig  
View profile
 More options May 7, 3:14 pm
Newsgroups: comp.lang.fortran
From: Thomas Koenig <tkoe...@netcologne.de>
Date: Wed, 7 May 2008 19:14:08 +0000 (UTC)
Local: Wed, May 7 2008 3:14 pm
Subject: Re: Compiler writer questions
On 2008-05-06, Bil Kleb <Bil.K...@NASA.gov> wrote:

>    What can we do as code developers to "help" the compiler?

If you think something is broken, submit bug reports through
the appropriate channels, with self-contained, preferably small
test cases.  Indicate what you expected of the compiler, and what
happened instead.

If the compiler in question happens to be a "bazaar" - style
open-source project, you can also volunteer to fix bugs :-)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bil Kleb  
View profile
 More options May 7, 4:37 pm
Newsgroups: comp.lang.fortran
From: Bil Kleb <Bil.K...@NASA.gov>
Date: Wed, 07 May 2008 16:37:08 -0400
Local: Wed, May 7 2008 4:37 pm
Subject: Re: Compiler writer questions

Thomas Koenig wrote:
> On 2008-05-06, Bil Kleb <Bil.K...@NASA.gov> wrote:

>>    What can we do as code developers to "help" the compiler?

> If you think something is broken, submit bug reports through
> the appropriate channels,  [..]

I feel you've taken this second, related question out of context
with the first:

  What areas of the F95 cause the most pain w.r.t. optimization?

I meant "help" in terms of what coding conventions (e.g.,
using INTENT, using TARGET, unrolling array syntax, unrolling derived
types in calling arguments, and so forth) should we, as code writers,
adopt to "help" the compiler more easily produce optimized code.

Sorry about the ambiguity,
--
http://twitter.com/bil_kleb


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Lindahl  
View profile
 More options May 7, 5:30 pm
Newsgroups: comp.lang.fortran
From: lind...@pbm.com (Greg Lindahl)
Date: 7 May 2008 14:30:02 -0700
Local: Wed, May 7 2008 5:30 pm
Subject: Re: Compiler writer questions
In article <slrng23vs0.46r.tkoe...@meiner.onlinehome.de>,
Thomas Koenig  <tkoe...@netcologne.de> wrote:

>If you think something is broken, submit bug reports through
>the appropriate channels, with self-contained, preferably small
>test cases.

In many cases, a self-contained small test case is not necessary, and
generating the self-contained small test case can take a long
time. Telling users that you prefer one can cause many bugs to go
unreported.

You can look in the PathScale manuals for some text suggesting bug
types for which finding a small example isn't worth the end-users
effort.

>If the compiler in question happens to be a "bazaar" - style
>open-source project, you can also volunteer to fix bugs :-)

I've submitted patches to "cathedral" style open source projects,
and they were used.

-- greg


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
fj  
View profile
 More options May 7, 6:41 pm
Newsgroups: comp.lang.fortran
From: fj <francois.j...@irsn.fr>
Date: Wed, 7 May 2008 15:41:42 -0700 (PDT)
Local: Wed, May 7 2008 6:41 pm
Subject: Re: Compiler writer questions
On 6 mai, 23:52, har...@mcs.vuw.ac.nz (John Harper) wrote:

All these questions are interesting (especially the release of F2003
and F2008 compilers) but I would prefer the answers :-(

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Xia  
View profile
 More options May 7, 10:47 pm
Newsgroups: comp.lang.fortran
From: Jim Xia <jim...@hotmail.com>
Date: Wed, 7 May 2008 19:47:12 -0700 (PDT)
Local: Wed, May 7 2008 10:47 pm
Subject: Re: Compiler writer questions

>    What areas of the F95 cause the most pain w.r.t. optimization?

>    What can we do as code developers to "help" the compiler?

Don't write illegal code probably is the most important thing to do to
"help" the optimizer.  One very common error is procedure calls like
"proc(a, a)", where both dummy arguments can alter its value.  This
screws up optimizer in aliasing.  Another common problem is common
block declaration mismatch in different scoping units because they may
end up with different alignments.  Many other small things like try to
avoid equivalence.  One piece of suggestion you may hear from the
optimizer is, don't try to optimize your code by yourself, let the
optimizer do its job :-)

Cheers,


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google