forked from alexei-matveev/paragauss-gpl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
integral_setup.f90
96 lines (85 loc) · 3.46 KB
/
integral_setup.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
!
! ParaGauss, a program package for high-performance computations of
! molecular systems
!
! Copyright (C) 2014 T. Belling, T. Grauschopf, S. Krüger,
! F. Nörtemann, M. Staufer, M. Mayer, V. A. Nasluzov, U. Birkenheuer,
! A. Hu, A. V. Matveev, A. V. Shor, M. S. K. Fuchs-Rohr, K. M. Neyman,
! D. I. Ganyushin, T. Kerdcharoen, A. Woiterski, A. B. Gordienko,
! S. Majumder, M. H. i Rotllant, R. Ramakrishnan, G. Dixit,
! A. Nikodem, T. Soini, M. Roderus, N. Rösch
!
! This program is free software; you can redistribute it and/or modify
! it under the terms of the GNU General Public License version 2 as
! published by the Free Software Foundation [1].
!
! This program is distributed in the hope that it will be useful, but
! WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! General Public License for more details.
!
! [1] http://www.gnu.org/licenses/gpl-2.0.html
!
! Please see the accompanying LICENSE file for further information.
!
!=====================================================================
! Public interface of module
!=====================================================================
subroutine integral_setup()
!---------------------------------------------------------------------
!
! Purpose: Contains calls to setup-routines to be executed
! at beginning of integral part.
!
!
! Subroutine called by: main_integral, main_slave
!
!
! Author: TB
! Date: 5/96
!
!
!---------------------------------------------------------------------
!===================================================================
! End of public interface of module
!===================================================================
!---------------------------------------------------------------------
! Modifications
!---------------------------------------------------------------------
!
! Modification (Please copy before editing)
! Author: ...
! Date: ...
! Description: ...
!
!---------------------------------------------------------------------
!------------ Modules used --------------------------------------
use comm_module, only: comm_parallel
use output_module, only: output_int_progress
use iounitadmin_module ! to open output units
use integralpar_module, only: integralpar_send_receive, integralpar_i_int_part,integralpar_setup
use time_module ! timing routines
use timer_module ! timing database
use gamma_module, only: gamma_setup
implicit none
!---------------------------------------------------------------------
!------------ Executable code -----------------------------------
if (output_int_progress) call write_to_output_units( &
"integral_setup: begin")
!if (output_int_progress) call write_to_output_units( &
! "integral_setup: call integralpar_setup()")
! moved to integralpar_set():
! call integralpar_setup()
if (output_int_progress) call write_to_output_units( &
"integral_setup: call integralpar_send_receive()")
call integralpar_send_receive()
call integralpar_setup()
! moved to integralpar_setup():
! integralpar_dervs=integralpar_dervs.and.integralpar_gradients
if (output_int_progress) call write_to_output_units( &
"integral_setup: gamma_setup")
call gamma_setup(16) ! cp. default numj=17 in old vers. of gamma_module
call start_timer(timer_int(integralpar_i_int_part))
if (output_int_progress) call write_to_output_units( &
"integral_setup: end")
end subroutine integral_setup