@@ -2721,6 +2721,10 @@ def compute_sd_overlaps_in_parallel(step, params):
27212721 active_space2 = ( np .array (active_space ) + 1 ).tolist () # conversion to a different convention
27222722 sd_states_reindexed_sorted = params ['sd_states_reindexed_sorted' ]
27232723
2724+ #print("active_space = ", active_space)
2725+ #print("active_space2 = ", active_space2)
2726+ #print("sd_states_reindexed_sorted = ", sd_states_reindexed_sorted)
2727+
27242728 t2 = time .time ()
27252729 print ('Computing the SD overlaps for step' , step )
27262730
@@ -2736,29 +2740,35 @@ def compute_sd_overlaps_in_parallel(step, params):
27362740 # st_ks = data_conv.nparray2MATRIX(st_ks)
27372741 # s_ks_1 = data_conv.nparray2MATRIX(s_ks_1)
27382742 # s_ks_2 = data_conv.nparray2MATRIX(s_ks_2)
2743+ x = sp .load_npz (F'{ res_dir_1 } /St_ks_{ step + start_time } .npz' ).todense ()
2744+ print ("original dimensions of the S and ST matrices" , x .shape )
2745+ print ("the dimensions of the reduced S and ST matrices" , st_ks .shape )
27392746
27402747 # Computing the overlaps for SDs
27412748 t2 = time .time ()
2749+ #print("sd_states_reindexed_sorted[step] = ", sd_states_reindexed_sorted[step])
2750+ #print("sd_states_reindexed_sorted[step+1] = ", sd_states_reindexed_sorted[step+1])
2751+
27422752 if params ['apply_orthonormalization' ]:
27432753 s_sd_1 = mapping3 .ovlp_mat_arb (
27442754 sd_states_reindexed_sorted [step ],
27452755 sd_states_reindexed_sorted [step ],
27462756 s_ks_1 ,
2747- active_space2 )
2757+ None )
27482758 #use_minimal=False,
27492759 #use_mo_approach=False).real
27502760 s_sd_2 = mapping3 .ovlp_mat_arb (
27512761 sd_states_reindexed_sorted [step + 1 ],
27522762 sd_states_reindexed_sorted [step + 1 ],
27532763 s_ks_2 ,
2754- active_space2 )
2764+ None )
27552765 #use_minimal=False,
27562766 #use_mo_approach=False).real
27572767
27582768 st_sd = mapping3 .ovlp_mat_arb (sd_states_reindexed_sorted [step ],
27592769 sd_states_reindexed_sorted [step + 1 ],
27602770 st_ks ,
2761- active_space2 )
2771+ None )
27622772 #use_minimal=False,
27632773 #use_mo_approach=False).real
27642774 # s_sd_1 = data_conv.MATRIX2nparray(s_sd_1)
0 commit comments