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

« back to all changes in this revision

Viewing changes to src/tce/ccsd_energy_loc.F

  • 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:
25
25
      double precision residual
26
26
      logical nodezero
27
27
      integer dummy
 
28
      integer unitn
28
29
      character*255 filename
29
30
c
30
31
      nodezero=(ga_nodeid().eq.0)
99
100
     2               k_t1_offset,k_t2_offset,k_v2_offset,
100
101
     3               size_t1,size_t2,d_c2,iter)
101
102
           call deletefile(d_c2)
102
 
           call ccsd_t2(d_f1,d_r2,k_t1_local,d_t2,d_v2,
103
 
     1                  k_f1_offset,k_t2_offset,
104
 
     2               k_t1_offset,k_t2_offset,k_v2_offset,size_t2)
 
103
ccx           call ccsd_t2(d_f1,d_r2,k_t1_local,d_t2,d_v2,
 
104
ccx     1                  k_f1_offset,k_t2_offset,
 
105
ccx     2               k_t1_offset,k_t2_offset,k_v2_offset,size_t2)
105
106
           else
106
107
           call ccsd_t2(d_f1,d_r2,k_t1_local,d_t2,d_v2,
107
108
     1                  k_f1_offset,k_t2_offset,
190
191
        call deletefile(d_e)
191
192
        if (nodezero) call util_flush(LuOut)
192
193
      enddo
 
194
c
 
195
          call util_file_name('t1amp',.false.,.false.,filename)
 
196
          unitn=79
 
197
          call write_tensor(filename,d_t1,size_t1,unitn)
 
198
          call util_file_name('t2amp',.false.,.false.,filename)
 
199
          unitn=80
 
200
          call write_tensor(filename,d_t2,size_t2,unitn)
 
201
          call ga_sync()
 
202
c
193
203
      call errquit('ccsd_energy_loc: maxiter exceeded',iter,CALC_ERR)
194
204
      return
195
205
 9020 format(1x,'Cpu & wall time / sec',2f15.1)
200
210
     4     ' Correlation     Cpu    Wall    V2*C2',/
201
211
     5  1x,'----------------------------',
202
212
     6     '-------------------------------------')
203
 
 9051 format(/,1x,A)
 
213
 9051 format(A)
204
214
 9052 format(A,' iterations',/,
205
215
     1  1x,'----------------------------',
206
216
     2     '-----------------------------',/
221
231
 9700 format(1x,'Skipping CCSD altogether')
222
232
      end
223
233
 
224
 
c $Id: ccsd_energy_loc.F 21362 2011-11-02 17:54:22Z kowalski $
 
234
c $Id: ccsd_energy_loc.F 23793 2013-03-15 21:09:54Z kowalski $