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

« back to all changes in this revision

Viewing changes to src/NWints/api/exact_mem.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
 
c $Id: exact_mem.F 19696 2010-10-29 16:53:42Z d3y133 $
 
1
c $Id: exact_mem.F 23398 2013-01-08 08:18:46Z d3y133 $
2
2
*
 
3
C> \ingroup nwint
 
4
C> @{
 
5
C>
 
6
C> \brief Internal routine to compute the memory required by the 
 
7
C> McMurchie-Davidson integral code
 
8
C>
3
9
***********************************************************************
4
10
c:tex-% part of API Internal Routines
5
11
c:tex-\subsection{exact\_mem}
29
35
      external api_is_atomic_basis
30
36
c:: passed
31
37
c:tex-\begin{verbatim}
32
 
      integer rtdb        ! [input] the RTDB handle
33
 
      integer nbas        ! [input] number of basis sets
34
 
      integer bases(nbas) ! [input] basis set handles
 
38
      integer rtdb        !< [Input] the RTDB handle
 
39
      integer nbas        !< [Input] number of basis sets
 
40
      integer bases(nbas) !< [Input] basis set handles
35
41
c:tex-\end{verbatim}
36
42
c:: local
37
43
      integer lmem_2e4c, lmem_1e
168
174
#endif
169
175
c
170
176
      end
 
177
C>
 
178
C> \brief Internal routine to compute the memory required by the 
 
179
C> 3-center overlap integral code
 
180
C>
171
181
***********************************************************************
172
182
c:tex-% part of API Internal Routines
173
183
c:tex-\subsection{emem\_3ov}
194
204
c::function
195
205
c::passed
196
206
c:tex-\begin{verbatim}
197
 
      integer ibasin  ! [input] basis set handle for ``i'' contractions
198
 
      integer jbasin  ! [input] basis set handle for ``j'' contractions
199
 
      integer kbasin  ! [input] basis set handle for ``k'' contractions
200
 
      integer lsz_buf ! [output] maximum size of integral buffer 
201
 
      integer memsize ! [output] memory needed for scratch array
 
207
      integer ibasin  !< [Input] basis set handle for ``i'' contractions
 
208
      integer jbasin  !< [Input] basis set handle for ``j'' contractions
 
209
      integer kbasin  !< [Input] basis set handle for ``k'' contractions
 
210
      integer lsz_buf !< [Output] maximum size of integral buffer 
 
211
      integer memsize !< [Output] memory needed for scratch array
202
212
c:tex-\end{verbatim}
203
213
c::local
204
214
      integer ibas, jbas, kbas
300
310
      endif
301
311
      lsz_buf = nbfimax*nbfjmax*nbfkmax
302
312
      end
 
313
C>
 
314
C> \brief Internal routine to compute the memory required by the 
 
315
C> 1-electron integral codes
 
316
C>
303
317
***********************************************************************
304
318
c:tex-% part of API Internal Routines
305
319
c:tex-\subsection{emem\_1e}
325
339
#include "util.fh"
326
340
c::passed
327
341
c:tex-\begin{verbatim}
328
 
      integer brain   ! [input] bra basis set handle
329
 
      integer ketin   ! [input] ket basis set handle
330
 
      integer max1e   ! [output] max size of 1e integrals buffer
331
 
      integer memsize ! [output] max size of scratch space for 1e integral evaluation
 
342
      integer brain   !< [Input] bra basis set handle
 
343
      integer ketin   !< [Input] ket basis set handle
 
344
      integer max1e   !< [Output] max size of 1e integrals buffer
 
345
      integer memsize !< [Output] max size of scratch space for 1e integral evaluation
332
346
c:tex-\end{verbatim}
333
347
c::local
334
348
      integer bra, ket, bra_ucont, ket_ucont, ibc, ikc
414
428
#endif
415
429
c
416
430
      end
 
431
C>
 
432
C> \brief Internal routine to compute the memory required by the 
 
433
C> Douglas-Kroll integral codes for the fitting basis
 
434
C>
417
435
***********************************************************************
418
436
c:tex-% part of API Internal Routines
419
437
c:tex-\subsection{emem\_1e\_dk}
432
450
#include "util.fh"
433
451
c::passed
434
452
c:tex-\begin{verbatim}
435
 
      integer brain   ! [input] bra basis set handle
436
 
      integer ketin   ! [input] ket basis set handle
437
 
      integer max1e   ! [output] max size of 1e integrals buffer
438
 
      integer memsize ! [output] max size of scratch space for 1e integral evaluation
 
453
      integer brain   !< [Input] bra basis set handle
 
454
      integer ketin   !< [Input] ket basis set handle
 
455
      integer max1e   !< [Output] max size of 1e integrals buffer
 
456
      integer memsize !< [Output] max size of scratch space for 1e integral evaluation
439
457
c:tex-\end{verbatim}
440
458
c::local
441
459
      integer lsz_1e, lmem_1e
456
474
c
457
475
      end
458
476
c
 
477
C>
 
478
C> \brief Internal routine to compute the memory required by the 
 
479
C> relativistic integral codes
 
480
C>
459
481
***********************************************************************
460
482
c:tex-% part of API Internal Routines
461
483
c:tex-\subsection{emem\_1e\_rel}
482
504
#include "util.fh"
483
505
c::passed
484
506
c:tex-\begin{verbatim}
485
 
      integer brain   ! [input] bra basis set handle
486
 
      integer ketin   ! [input] ket basis set handle
487
 
      integer max1e   ! [output] max size of 1e integrals buffer
488
 
      integer memsize ! [output] max size of scratch space for 1e integral evaluation
 
507
      integer brain   !< [Input] bra basis set handle
 
508
      integer ketin   !< [Input] ket basis set handle
 
509
      integer max1e   !< [Output] max size of 1e integrals buffer
 
510
      integer memsize !< [Output] max size of scratch space for 1e integral evaluation
489
511
c:tex-\end{verbatim}
490
512
c::local
491
513
      integer bra, ket, bra_ucont, ket_ucont, ibc, ikc
568
590
#endif
569
591
c
570
592
      end
 
593
C>
 
594
C> \brief Internal routine to compute the memory required by the 
 
595
C> 2-electron 2-center integral code
 
596
C>
571
597
***********************************************************************
572
598
c:tex-% part of API Internal Routines
573
599
c:tex-\subsection{emem\_2e4c}
617
643
      external cando_sp_u
618
644
c::passed
619
645
c:tex-\begin{verbatim}
620
 
      integer brain   ! [input] bra basis set handle
621
 
      integer ketin   ! [input] ket basis set handle
622
 
      integer maxg    ! [output] max size of 2e integrals buffer
623
 
      integer memsize ! [output] max size of scratch space for 2e integral evaluation
 
646
      integer brain   !< [Input] bra basis set handle
 
647
      integer ketin   !< [Input] ket basis set handle
 
648
      integer maxg    !< [Output] max size of 2e integrals buffer
 
649
      integer memsize !< [Output] max size of scratch space for 2e integral evaluation
624
650
c:tex-\end{verbatim}
625
651
c     NB. On input, memsize contains the (dummy) memory limit for 2e integrals
626
652
c::local
856
882
*      write(luout,'(a,i10)')'emem_2e4c: maxg    =',maxg
857
883
c
858
884
      end
 
885
C>
 
886
C> \brief Internal routine to compute the memory required by the 
 
887
C> 2-electron 3-center integral code
 
888
C>
859
889
***********************************************************************
860
890
c:tex-% part of API Internal Routines
861
891
c:tex-\subsection{emem\_2e3c}
882
912
c::functions
883
913
c::passed
884
914
c:tex-\begin{verbatim}
885
 
      integer brain   ! [input] bra basis set handle
886
 
      integer ketin   ! [input] ket basis set handle
887
 
      integer maxg    ! [output] max size of 2e integrals buffer
888
 
      integer memsize ! [output] max size of scratch space for 2e integral evaluation
 
915
      integer brain   !< [Input] bra basis set handle
 
916
      integer ketin   !< [Input] ket basis set handle
 
917
      integer maxg    !< [Output] max size of 2e integrals buffer
 
918
      integer memsize !< [Output] max size of scratch space for 2e integral evaluation
889
919
c:tex-\end{verbatim}
890
920
c     NB. On input, memsize contains the (dummy) memory limit for 2e integrals
891
921
c::local
1633
1663
#endif
1634
1664
c
1635
1665
      end
 
1666
C> @}