mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-05 11:00:10 +01:00
Print error in configure for travis
This commit is contained in:
parent
ffaa461afc
commit
9c94916ad1
4
configure
vendored
4
configure
vendored
@ -196,8 +196,8 @@ def check_output(*popenargs, **kwargs):
|
|||||||
cmd = popenargs[0]
|
cmd = popenargs[0]
|
||||||
error = subprocess.CalledProcessError(retcode, cmd)
|
error = subprocess.CalledProcessError(retcode, cmd)
|
||||||
error.output = output
|
error.output = output
|
||||||
# print output
|
print output
|
||||||
# print unused_err
|
print unused_err
|
||||||
raise error
|
raise error
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
@ -123,8 +123,8 @@ subroutine pt2_moller_plesset ($arguments)
|
|||||||
call get_excitation(ref_bitmask,det_pert,exc,degree,phase,Nint)
|
call get_excitation(ref_bitmask,det_pert,exc,degree,phase,Nint)
|
||||||
if (degree == 2) then
|
if (degree == 2) then
|
||||||
call decode_exc(exc,degree,h1,p1,h2,p2,s1,s2)
|
call decode_exc(exc,degree,h1,p1,h2,p2,s1,s2)
|
||||||
delta_e = (Fock_matrix_diag_mo(h1) + Fock_matrix_diag_mo(h2)) - &
|
delta_e = (Fock_matrix_diag_mo(h1) - Fock_matrix_diag_mo(p1)) + &
|
||||||
(Fock_matrix_diag_mo(p1) + Fock_matrix_diag_mo(p2))
|
(Fock_matrix_diag_mo(h2) - Fock_matrix_diag_mo(p2))
|
||||||
delta_e = 1.d0/delta_e
|
delta_e = 1.d0/delta_e
|
||||||
else if (degree == 1) then
|
else if (degree == 1) then
|
||||||
call decode_exc(exc,degree,h1,p1,h2,p2,s1,s2)
|
call decode_exc(exc,degree,h1,p1,h2,p2,s1,s2)
|
||||||
@ -142,7 +142,7 @@ subroutine pt2_moller_plesset ($arguments)
|
|||||||
i_H_psi_array(:) = 0.d0
|
i_H_psi_array(:) = 0.d0
|
||||||
h = 0.d0
|
h = 0.d0
|
||||||
endif
|
endif
|
||||||
do i =1,n_st
|
do i =1,N_st
|
||||||
H_pert_diag(i) = h
|
H_pert_diag(i) = h
|
||||||
c_pert(i) = i_H_psi_array(i) *delta_e
|
c_pert(i) = i_H_psi_array(i) *delta_e
|
||||||
e_2_pert(i) = c_pert(i) * i_H_psi_array(i)
|
e_2_pert(i) = c_pert(i) * i_H_psi_array(i)
|
||||||
|
Loading…
Reference in New Issue
Block a user