mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-04 05:03:54 +01:00
Fixed Travis
This commit is contained in:
parent
02ff02256d
commit
ebf96776dd
@ -1,5 +0,0 @@
|
|||||||
program overwrite_w_cas
|
|
||||||
read_wf = .True.
|
|
||||||
TOUCH read_wf
|
|
||||||
call extract_ref
|
|
||||||
end
|
|
@ -1,39 +0,0 @@
|
|||||||
[lambda_type]
|
|
||||||
type: Positive_int
|
|
||||||
doc: lambda type
|
|
||||||
interface: ezfio,provider,ocaml
|
|
||||||
default: 0
|
|
||||||
|
|
||||||
[energy]
|
|
||||||
type: double precision
|
|
||||||
doc: Calculated energy
|
|
||||||
interface: ezfio
|
|
||||||
|
|
||||||
[energy_pt2]
|
|
||||||
type: double precision
|
|
||||||
doc: Calculated energy with PT2 contribution
|
|
||||||
interface: ezfio
|
|
||||||
|
|
||||||
[perturbative_triples]
|
|
||||||
type: logical
|
|
||||||
doc: Compute perturbative contribution of the Triples
|
|
||||||
interface: ezfio,provider,ocaml
|
|
||||||
default: false
|
|
||||||
|
|
||||||
[energy]
|
|
||||||
type: double precision
|
|
||||||
doc: Calculated energy
|
|
||||||
interface: ezfio
|
|
||||||
|
|
||||||
[thresh_dressed_ci]
|
|
||||||
type: Threshold
|
|
||||||
doc: Threshold on the convergence of the dressed CI energy
|
|
||||||
interface: ezfio,provider,ocaml
|
|
||||||
default: 1.e-5
|
|
||||||
|
|
||||||
[n_it_max_dressed_ci]
|
|
||||||
type: Strictly_positive_int
|
|
||||||
doc: Maximum number of dressed CI iterations
|
|
||||||
interface: ezfio,provider,ocaml
|
|
||||||
default: 10
|
|
||||||
|
|
12
plugins/dress_zmq/EZFIO.cfg.example
Normal file
12
plugins/dress_zmq/EZFIO.cfg.example
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[thresh_dressed_ci]
|
||||||
|
type: Threshold
|
||||||
|
doc: Threshold on the convergence of the dressed CI energy
|
||||||
|
interface: ezfio,provider,ocaml
|
||||||
|
default: 1.e-5
|
||||||
|
|
||||||
|
[n_it_max_dressed_ci]
|
||||||
|
type: Strictly_positive_int
|
||||||
|
doc: Maximum number of dressed CI iterations
|
||||||
|
interface: ezfio,provider,ocaml
|
||||||
|
default: 10
|
||||||
|
|
@ -1,2 +1 @@
|
|||||||
Perturbation Selectors_full Generators_full Psiref_CAS MRCC_Utils ZMQ DavidsonDressed
|
Selectors_full Generators_full ZMQ
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ subroutine run(N_st,energy)
|
|||||||
enddo
|
enddo
|
||||||
SOFT_TOUCH psi_coef ci_energy_dressed
|
SOFT_TOUCH psi_coef ci_energy_dressed
|
||||||
call write_double(6,ci_energy_dressed(1),"Final dress energy")
|
call write_double(6,ci_energy_dressed(1),"Final dress energy")
|
||||||
call ezfio_set_dress_zmq_energy(ci_energy_dressed(1))
|
! call ezfio_set_dress_zmq_energy(ci_energy_dressed(1))
|
||||||
call save_wavefunction
|
call save_wavefunction
|
||||||
else
|
else
|
||||||
E_new = 0.d0
|
E_new = 0.d0
|
||||||
@ -53,7 +53,7 @@ subroutine run(N_st,energy)
|
|||||||
call write_double(6,delta_E,"delta_E")
|
call write_double(6,delta_E,"delta_E")
|
||||||
delta_E = dabs(delta_E)
|
delta_E = dabs(delta_E)
|
||||||
call save_wavefunction
|
call save_wavefunction
|
||||||
call ezfio_set_dress_zmq_energy(ci_energy_dressed(1))
|
! call ezfio_set_dress_zmq_energy(ci_energy_dressed(1))
|
||||||
if (iteration >= n_it_dress_max) then
|
if (iteration >= n_it_dress_max) then
|
||||||
exit
|
exit
|
||||||
endif
|
endif
|
||||||
@ -79,7 +79,7 @@ subroutine print_cas_coefs
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
subroutine run_pt2(N_st,energy)
|
subroutine run_pt2(N_st,energy,pt2)
|
||||||
implicit none
|
implicit none
|
||||||
integer :: i,j,k
|
integer :: i,j,k
|
||||||
integer, intent(in) :: N_st
|
integer, intent(in) :: N_st
|
||||||
@ -128,7 +128,7 @@ subroutine run_pt2(N_st,energy)
|
|||||||
print *, 'E+PT2 = ', energy+pt2
|
print *, 'E+PT2 = ', energy+pt2
|
||||||
print *, '-----'
|
print *, '-----'
|
||||||
|
|
||||||
call ezfio_set_dress_zmq_energy_pt2(energy(1)+pt2(1))
|
! call ezfio_set_dress_zmq_energy_pt2(energy(1)+pt2(1))
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
subroutine dress_slave
|
subroutine dress_slave
|
||||||
implicit none
|
implicit none
|
||||||
BEGIN_DOC
|
BEGIN_DOC
|
||||||
! Helper program to compute the dress in distributed mode.
|
! Helper subroutine to compute the dress in distributed mode.
|
||||||
END_DOC
|
END_DOC
|
||||||
read_wf = .False.
|
read_wf = .False.
|
||||||
distributed_davidson = .False.
|
distributed_davidson = .False.
|
||||||
|
@ -1 +1 @@
|
|||||||
dress_zmq
|
dress_zmq DavidsonDressed Psiref_CAS MRPT_Utils Perturbation MRCC_Utils
|
||||||
|
@ -5,6 +5,7 @@ program mrcc_sto
|
|||||||
! TODO
|
! TODO
|
||||||
END_DOC
|
END_DOC
|
||||||
call dress_zmq()
|
call dress_zmq()
|
||||||
|
call ezfio_set_mrcc_sto_energy(ci_energy_dressed(1))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user