> I got confused on the similarities of DO and FORALL until it finally
> sunk in that FORALL was just array assignment written out in a very
> long form. The compiler might be able to optimize the array
> temporaries
> out but that is extra work for it and good luck for you when it works.
>
Thanks!
This is really nice advise you just saved me a lot of frustration...
I was looking at FORALL as the faster / more optimisable / more
parallelisable version of the DO loop...
I always had problems with the new array features of Fortran and I now
see that a lot of what I read in the transition from F77 just got me
going in the wrong way...
Best regards
José Rui
========================================================================
What most people really want to do in a conversation is to tell you
their favorite stories about themselves and have you like them for it. -
Roger C. Shank.
========================================================================
Iam://José Rui Faustino de Sousa http://homepage.esoterica.pt/~jrfsousa/
mailto:[log in to unmask] phone://+351-239444940
address://rua Carlos A. Pinto de Abreu nº 30C, 1º 3040 Coimbra Portugal
========================================================================
Real Programmers do sig blocks in Fortran 95.
========================================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|