Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!news.cs.indiana.edu!ariel.unm.edu!ghostwheel.unm.edu!john From: john@ghostwheel.unm.edu (John Prentice) Newsgroups: comp.lang.fortran Subject: Re: Array Notation Message-ID: <1991Jan4.004719.21640@ariel.unm.edu> Date: 4 Jan 91 00:47:19 GMT Sender: news@ariel.unm.edu (News supported software) Organization: University of New Mexico, Albuquerque, NM Lines: 19 In article <10818@uhccux.uhcc.Hawaii.Edu> tholen@uhccux.uhcc.Hawaii.Edu (David Tholen) writes: > >So the problem isn't limited to the Cray compiler. What I'd like to know are >the kind of situations in which array notation slows things down. The sort of place I expect the Cray has trouble with array syntax is: A=B+C D=E+F where these arrays are all the same length. In a do-loop, one would do: do 10 i=1,len a(i)=b(i)+c(i) d(i)=e(i)+f(i) 10 continue and this would easily vectorize within a single loop. Will the Cray compiler interpret the array syntax equivalent the same way? John K. Prentice Amparo Corporation Albuquerque, NM