~ubuntu-branches/ubuntu/utopic/nwchem/utopic

« back to all changes in this revision

Viewing changes to src/nwpw/nwpwlib/utilities/cpmd_properties.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:
1
1
c
2
 
c     $Id: cpmd_properties.F 19707 2010-10-29 17:59:36Z d3y133 $
 
2
c     $Id: cpmd_properties.F 23043 2012-10-31 15:50:37Z bylaska $
3
3
c
4
4
 
5
5
*     *********************************
12
12
      integer rtdb
13
13
 
14
14
#include "rtdb.fh"
 
15
#include "mafdecls.fh"
 
16
#include "stdio.fh"
15
17
#include "errquit.fh"
16
18
 
17
19
*     **** local variables ****
18
 
      logical value
19
 
      character*50 filename
20
 
      character*255 full_filename
 
20
      integer MASTER,taskid
 
21
      parameter (MASTER=0)
 
22
 
 
23
      logical value,doit,oprint
 
24
      character*80 filename
 
25
      character*255 full_filename,full_filename2
21
26
 
22
27
*     **** external functions ****
23
28
      logical  control_Fei
24
29
      external control_Fei
25
30
 
 
31
      call Parallel_taskid(taskid)
 
32
      oprint = (taskid.eq.MASTER)
 
33
 
 
34
      if (.not.rtdb_get(rtdb,'nwpw:cpmd_properties',mt_log,1,doit))
 
35
     >   doit = .false.
 
36
 
 
37
      if (oprint) then
 
38
         write(luout,*) 
 
39
         write(luout,*) "================================"
 
40
         write(luout,*) "==== CPMD Property Analysis ===="
 
41
         write(luout,*) "================================"
 
42
         if (doit) then
 
43
            write(luout,*) 
 
44
            write(luout,*) "CPMD property analysis is on. ",
 
45
     >         "To turn analysis off set cpmd_properties, i.e."
 
46
            write(luout,*) "nwpw"
 
47
            write(luout,*) "   cpmd_properties off"
 
48
            write(luout,*) "end"
 
49
            write(luout,*)
 
50
         else
 
51
            write(luout,*)
 
52
            write(luout,*) "CPMD property analysis is off. ",
 
53
     >         "To turn analysis on set cpmd_properties, i.e."
 
54
            write(luout,*) "nwpw"
 
55
            write(luout,*) "   cpmd_properties on"
 
56
            write(luout,*) "end"
 
57
            write(luout,*)
 
58
         end if
 
59
      end if
 
60
 
 
61
      if (doit) then
 
62
 
26
63
      if (.not.rtdb_cget(rtdb,'cpmd:ion_motion_filename',1,filename))
27
 
     >  call util_file_prefix('ion_motion',filename)
28
 
 
29
 
      call util_file_name_noprefix(filename,.false.,
30
 
     >                             .false.,
31
 
     >                    full_filename)
32
 
 
 
64
     >    call util_file_prefix('ion_motion',filename)
 
65
      call util_file_name_noprefix(filename,.false.,
 
66
     >                             .false.,
 
67
     >                             full_filename)
 
68
 
 
69
      if (.not.rtdb_cget(rtdb,'cpmd:unfolded_xyz_filename',1,filename))
 
70
     >    call util_file_prefix('unfolded.xyz',filename)
 
71
      call util_file_name_noprefix(filename,.false.,
 
72
     >                             .false.,
 
73
     >                             full_filename2)
33
74
 
34
75
      call pair_dist(full_filename)
35
76
      call pair_distab(full_filename)
36
77
      call velocity_autocorrelation(full_filename)
 
78
      call generate_unfolded_xyz(full_filename,full_filename2)
37
79
 
38
80
 
39
81
*     **** perform shake force averaging if Fei set *****
42
84
         call FixIon_analysis(rtdb)
43
85
      end if
44
86
 
 
87
      end if
 
88
 
45
89
      return
46
90
      end
47
91