source: LMDZ5/branches/testing/libf/bibio/cray.F @ 1856

Last change on this file since 1856 was 1795, checked in by Ehouarn Millour, 11 years ago

Version testing basee sur la r1794


Testing release based on r1794

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 612 bytes
RevLine 
[524]1!
2! $Header$
3!
4#ifdef CRAY
5      SUBROUTINE riencray
6      END
7#else
8      subroutine scopy(n,sx,incx,sy,incy)
9c
10      IMPLICIT NONE
11c
12      integer n,incx,incy,ix,iy,i
13      real sx((n-1)*incx+1),sy((n-1)*incy+1)
14c
15      iy=1
16      ix=1
17      do 10 i=1,n
18         sy(iy)=sx(ix)
19         ix=ix+incx
20         iy=iy+incy
2110    continue
22c
23      return
24      end
25
26      function ssum(n,sx,incx)
27c
28      IMPLICIT NONE
29c
30      integer n,incx,i,ix
31      real ssum,sx((n-1)*incx+1)
32c
33      ssum=0.
34      ix=1
35      do 10 i=1,n
36         ssum=ssum+sx(ix)
37         ix=ix+incx
3810    continue
39c
40      return
41      end
42#endif
Note: See TracBrowser for help on using the repository browser.