Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Global array operations: a performance hit?
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
deltaquattro  
View profile  
 More options Jun 18 2008, 4:20 am
Newsgroups: comp.lang.fortran
From: deltaquattro <deltaquat...@gmail.com>
Date: Wed, 18 Jun 2008 01:20:25 -0700 (PDT)
Local: Wed, Jun 18 2008 4:20 am
Subject: Re: Global array operations: a performance hit?
On 17 Giu, 19:21, Dennis Wassel <dennis.was...@googlemail.com> wrote:

> On 17 Jun., 17:41, deltaquattro <deltaquat...@gmail.com> wrote:
[..]

> This is quite a strange observation and raises some questions:

> 1) What optimisation options did you use?

 None.

> 2) Which compiler did you use?

Compaq Visual Fortran.

> 3) How did you measure execution time?
> I find that accuarate timing on a computer is a nontrivial task. The
> 'time' command on my machine shows up to 200% variance. I can only
> assume you used some clever and appropriately precise way of
> measuring.

When Richard told you exactly the same, you didn't ask which "clever
and appropriately precise way of measuring" he used, but you quickly
thanked him for "enlightening us". I can only assume that for you
using "some clever and appropriate precise way of measuring" means
asking for Richard's agreement on the subject.

> I'm not a compiler specialist but AFAIK, array operations should not
> usually be slower than explicit loop constructs.

Well, then you could just try some example for yourself and see what
happens. My experience comes from different CFD codes I wrote using
whole array operations and single DO loops, and with my compiler I
often found significant execution time differences in real life codes
on real life cases. That's enough for me to start asking questions on
the ng, and yes thanks, I know enough Fortran to reverse index
ordering outside initialization loops: that was just an example.

> Cheers,
> Dennis

Best regards,

deltaquattro


 
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.