mirror of
https://github.com/LCPQ/quantum_package
synced 2025-05-06 07:05:25 +02:00
Added -q to qp_set_frozen_core
This commit is contained in:
parent
c510c04581
commit
5e7d914f4d
@ -36,7 +36,7 @@ program fci_zmq
|
|||||||
print*,'Beginning the selection ...'
|
print*,'Beginning the selection ...'
|
||||||
E_CI_before = CI_energy
|
E_CI_before = CI_energy
|
||||||
|
|
||||||
do while (N_det < N_det_max.and.maxval(abs(pt2(1:N_st))) > pt2_max)
|
do while ( (N_det < N_det_max) .and. (maxval(abs(pt2(1:N_st))) > pt2_max) )
|
||||||
n_det_before = N_det
|
n_det_before = N_det
|
||||||
call ZMQ_selection(max(1024-N_det, N_det), pt2)
|
call ZMQ_selection(max(1024-N_det, N_det), pt2)
|
||||||
|
|
||||||
|
@ -19,9 +19,13 @@ for charge in ezfio.nuclei_nucl_charge:
|
|||||||
|
|
||||||
mo_tot_num = ezfio.mo_basis_mo_tot_num
|
mo_tot_num = ezfio.mo_basis_mo_tot_num
|
||||||
|
|
||||||
|
if len(sys.argv)>2:
|
||||||
|
if sys.argv[2] == '-q':
|
||||||
|
print nb
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
if nb == 0:
|
if nb == 0:
|
||||||
os.system( """qp_set_mo_class -act "[1-%d]" %s"""%(mo_tot_num, sys.argv[1]) )
|
os.system( """qp_set_mo_class -act "[1-%d]" %s"""%(mo_tot_num, sys.argv[1]) )
|
||||||
else:
|
else:
|
||||||
os.system( """qp_set_mo_class -core "[1-%d]" -act "[%d-%d]" %s"""%(nb, nb+1, mo_tot_num, sys.argv[1]) )
|
os.system( """qp_set_mo_class -core "[1-%d]" -act "[%d-%d]" %s"""%(nb, nb+1, mo_tot_num, sys.argv[1]) )
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user