~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/armci/f90/testanb.f90

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
program main
 
2
  use definekind
 
3
  use armci_types
 
4
  use armci_mem_f90
 
5
  use armci_nbmov
 
6
  use testa_init
 
7
  use checkput
 
8
  type(ARMCI_slice) :: src_slice, dst_slice
 
9
!  integer(kind=I4), pointer :: a1(:)
 
10
 
 
11
  integer :: remote_proc
 
12
  integer :: lb(7), ub(7), rc, i, j,me, nproc
 
13
  integer :: myunit
 
14
  integer :: m
 
15
  integer :: extent(7)
 
16
  integer :: asize(7)
 
17
 
 
18
  call mpi_init(ierr)
 
19
  call mpi_comm_rank(mpi_comm_world, me, ierr)
 
20
  call mpi_comm_size(mpi_comm_world, nproc, ierr)
 
21
 
 
22
  remote_proc = nproc -1 -me
 
23
  myunit = 10+me
 
24
 
 
25
  call ARMCI_Arr_init()
 
26
  lb(:) = 1
 
27
  ub(:) = 7
 
28
 
 
29
  extent(:) = 1
 
30
  extent(:) = extent(:) + ub(:) - lb(:)
 
31
  asize(1) = extent(1)
 
32
  do m= 2,7
 
33
     asize(m) = asize(m-1)*extent(m)
 
34
  enddo
 
35
 
 
36
  call testanb_i4(nproc,me,remote_proc)
 
37
  call testanb_i8(nproc,me,remote_proc)
 
38
  call testanb_r4(nproc,me,remote_proc)
 
39
  call testanb_r8(nproc,me,remote_proc)
 
40
  call testanb_c4(nproc,me,remote_proc)
 
41
  call testanb_c8(nproc,me,remote_proc)
 
42
 
 
43
  call ARMCI_Arr_finalize()
 
44
  call mpi_finalize(ierr)
 
45
 
 
46
end program main