Re: forall and do loop
- From: Tim Prince <timothyprince@xxxxxxxxxxxxx>
- Date: Fri, 27 Jul 2007 23:12:07 GMT
Wade Ward wrote:
"Richard Maine" <nospam@xxxxxxxxxxxxx> wrote in message news:1i1wrdp.1rrv09etp3izwN%nospam@xxxxxxxxxxxxxxxxI suppose you could use it as a purely Fortran syntax check for some of the prerequisites for OpenMP parallel, before switching to OMP PARALLEL DO.highegg <highegg@xxxxxxxxx> wrote:Gosh, having now read this thread and compared to MR&C 6.9, I would think that the latter needs some revision. Are there other advantages to using a forall that don't have to do with speed, where apparently, it's a washout? Maybe something to do with pureness?
[about FORALL]
Yes, I've read somewhere that it was regarded as a sort of "parallelI should hope not. That would be a pretty serious misunderstanding of
DO" by many, even in the standardization committe.
it. While people on the committee are certainly not immune to
misunderstanding things (by a long shot), they would have had to sleep
through an awful lot in order to have avoided getting this one hammered
into them.
It is an assignment and is not much like a DO at all. The fact that some
people confuse it for a parallel DO and thus try to do things other than
assignment with it, is perhaps one of its flaws (in addition to its
usually poor performance).
.
- Follow-Ups:
- Re: forall and do loop
- From: Richard Edgar
- Re: forall and do loop
- References:
- forall and do loop
- From: aeroguy
- Re: forall and do loop
- From: glen herrmannsfeldt
- Re: forall and do loop
- From: aeroguy
- Re: forall and do loop
- From: *** Hendrickson
- Re: forall and do loop
- From: highegg
- Re: forall and do loop
- From: Richard Maine
- Re: forall and do loop
- From: Wade Ward
- forall and do loop
- Prev by Date: Re: forall and do loop
- Next by Date: Re: Converting code from single to double precision
- Previous by thread: Re: forall and do loop
- Next by thread: Re: forall and do loop
- Index(es):