mirror of
https://gitlab.com/scemama/qp_plugins_scemama.git
synced 2025-04-28 19:24:51 +02:00
openmp in mpn
This commit is contained in:
parent
9b114f17e5
commit
e3bc5b8c40
@ -21,7 +21,11 @@ program mpn
|
|||||||
e_pert(1) = hf_energy - e_pert(0) - nuclear_repulsion
|
e_pert(1) = hf_energy - e_pert(0) - nuclear_repulsion
|
||||||
do k=1,mp_order
|
do k=1,mp_order
|
||||||
! H_ij C^(k-1)
|
! H_ij C^(k-1)
|
||||||
call h_s2_u_0_nstates_zmq(c_pert(1,k),s2,c_pert(1,k-1),1,N_det)
|
if (distributed_davidson) then
|
||||||
|
call H_S2_u_0_nstates_zmq (c_pert(1,k),s2,c_pert(1,k-1),1,N_det)
|
||||||
|
else
|
||||||
|
call H_S2_u_0_nstates_openmp(c_pert(1,k),s2,c_pert(1,k-1),1,N_det)
|
||||||
|
endif
|
||||||
if (k>1) then
|
if (k>1) then
|
||||||
e_pert(k) += c_pert(1,k)
|
e_pert(k) += c_pert(1,k)
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user