~ubuntu-branches/ubuntu/saucy/nwchem/saucy

« back to all changes in this revision

Viewing changes to src/nwpw/pspw/lcao/lcao_wvfnc.F

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2012-02-09 20:02:41 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120209200241-jgk03qfsphal4ug2
Tags: 6.1-1
* New upstream release.

[ Michael Banck ]
* debian/patches/02_makefile_flags.patch: Updated.
* debian/patches/02_makefile_flags.patch: Use internal blas and lapack code.
* debian/patches/02_makefile_flags.patch: Define GCC4 for LINUX and LINUX64
  (Closes: #632611 and LP: #791308).
* debian/control (Build-Depends): Added openssh-client.
* debian/rules (USE_SCALAPACK, SCALAPACK): Removed variables (Closes:
  #654658).
* debian/rules (LIBDIR, USE_MPIF4, ARMCI_NETWORK): New variables.
* debian/TODO: New file.
* debian/control (Build-Depends): Removed libblas-dev, liblapack-dev and
  libscalapack-mpi-dev.
* debian/patches/04_show_testsuite_diff_output.patch: New patch, shows the
  diff output for failed tests.
* debian/patches/series: Adjusted.
* debian/testsuite: Optionally run all tests if "all" is passed as option.
* debian/rules: Run debian/testsuite with "all" if DEB_BUILD_OPTIONS
  contains "checkall".

[ Daniel Leidert ]
* debian/control: Used wrap-and-sort. Added Vcs-Svn and Vcs-Browser fields.
  (Priority): Moved to extra according to policy section 2.5.
  (Standards-Version): Bumped to 3.9.2.
  (Description): Fixed a typo.
* debian/watch: Added.
* debian/patches/03_hurd-i386_define_path_max.patch: Added.
  - Define MAX_PATH if not defines to fix FTBFS on hurd.
* debian/patches/series: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
*
2
 
* $Id: lcao_wvfnc.F,v 1.25 2008-12-15 21:12:46 bylaska Exp $
 
2
* $Id: lcao_wvfnc.F 19821 2010-12-14 07:46:49Z d3y133 $
3
3
*
4
4
      logical function lcao_wvfnc(oprint_in,it_max,
5
5
     >                      wavefunction_filename,
13
13
#include "errquit.fh"
14
14
      logical oprint_in
15
15
      integer it_max
16
 
      character*30 wavefunction_filename
 
16
      character*50 wavefunction_filename
17
17
      integer      version
18
18
      integer      ngrid(3)
19
19
      real*8       unita(3,3)
41
41
      real*8  Etotal,Eorbs,Ehart,Eexc,Eion,EV,de,olde,pxc
42
42
      real*8  cpu1,cpu2,cpu3,cpu4,cpu5,t1,t2,t3,t4,av
43
43
      real*8  scal1,scal2,dv
44
 
      character*30 filename
 
44
      character*50 filename
45
45
 
46
46
*     **** external functions ****
47
47
      logical     psp_semicore,aorbs_init,aorbs_readall
76
76
      external     control_boundry
77
77
 
78
78
      integer      control_excited_ne
79
 
      character*30 control_input_epsi
 
79
      character*50 control_input_epsi
80
80
      external     control_excited_ne
81
81
      external     control_input_epsi
82
82
 
84
84
      Etotal = 0.0d0
85
85
      oprint = oprint_in
86
86
 
 
87
      call Parallel_taskid(taskid)
 
88
 
87
89
      if ((taskid.eq.MASTER).and.oprint) call current_second(cpu1)
88
90
 
89
 
      call Parallel_taskid(taskid)
90
91
      call D3dB_n2ft3d(1,n2ft3d)
91
92
      call Pack_npack(1,npack1)
92
93
 
263
264
 
264
265
 
265
266
 
266
 
 
267
267
*     ********************************
268
268
*     **** generate phaze factors ****
269
269
*     ********************************
270
270
      call phafac()
271
271
      if (psp_semicore(0)) call semicore_density_update()
272
272
 
273
 
 
274
273
*     **** get ewald energy ****
275
274
      Eion = 0.0d0
276
275
      if (control_version().eq.3) Eion = ewald_e()
279
278
      if (control_version().eq.4) Eion = ion_ion_e()
280
279
 
281
280
 
282
 
 
283
281
*     **********************************
284
282
*     **** initialize lcao matrices ****
285
283
*     **********************************