File: stride.F

package info (click to toggle)
ga 5.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,472 kB
  • sloc: ansic: 192,963; fortran: 53,761; f90: 11,218; cpp: 5,784; makefile: 2,248; sh: 1,945; python: 1,734; perl: 534; csh: 134; asm: 106
file content (33 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#if HAVE_CONFIG_H
#   include "config.fh"
#endif
      program test_patch
      implicit none
#include "mafdecls.fh"
#include "global.fh"
#include "testutil.fh"
      integer g_r
      integer g_2e3c
      integer nbfl, nbf2
      integer nsorb
      logical status
#include "mp3.fh"

      call ga_initialize

      nbfl = 200
      nsorb = 7200
      nbf2 = nbfl*nsorb

      status = ga_create(mt_dbl,nbfl,nbfl,'one',0,0,g_2e3c)
      status = ga_create(mt_dbl,nbf2,nbfl,'Rmat',-1,-1,g_r)

      call ga_zero(g_2e3c)

      call ga_fill(g_r,1.0d00)

      call ga_copy_patch('N',g_r,1,nbfl,1,nbfl,g_2e3c,1,nbfl,1,nbfl)
      call ga_terminate
      call MP_FINALIZE()
      stop
      end