Skip to content

Commit 1b2dd3a

Browse files
committed
just save
1 parent 24ff6a7 commit 1b2dd3a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

abaInstall_HZWpara.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rm -r build
1+
rm -rf build
22

33
cmake -B build -DCMAKE_INSTALL_PREFIX=/public1/home/t6s000394/jghan/software/abacus-develop/rdmft-abacus/ -DCMAKE_CXX_COMPILER=icpx -DMPI_CXX_COMPILER=mpiicpc -DELPA_DIR=/public1/home/t6s000394/jghan/software/elpa-2021.11/ -DLibxc_DIR=/public1/home/t6s000394/jghan/software/libxc/ -DLIBRI_DIR=/public1/home/t6s000394/jghan/software/LibRI -DLIBCOMM_DIR=/public1/home/t6s000394/jghan/software/LibComm -DCEREAL_INCLUDE_DIR=/public1/home/t6s000394/jghan/software/cereal/cereal-1.3.2/include
44

source/module_rdmft/rdmft.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ void RDMFT<TK, TR>::init(Gint_Gamma& GG_in, Gint_k& GK_in, Parallel_Orbitals& Pa
185185
H_wfc_XC.zero_out();
186186
H_wfc_exx_XC.zero_out();
187187
H_wfc_dft_XC.zero_out();
188+
188189
HR_TV->set_zero(); // HR->set_zero() might be delete here, test on Gamma_only in the furure
189190
HR_hartree->set_zero();
190191
// HR_XC->set_zero();
@@ -693,7 +694,7 @@ void RDMFT<TK, TR>::cal_V_XC()
693694
&Vxc_fromRI_c->Hexxs
694695
);
695696
}
696-
// V_exx_XC->contributeHR();
697+
V_exx_XC->contributeHR();
697698
}
698699
}
699700

@@ -889,7 +890,9 @@ void RDMFT<TK, TR>::cal_Energy(const int cal_type)
889890
std::cout << std::fixed << std::setprecision(10) << "******\nE(TV + Hartree + XC) by RDMFT: " << E_RDMFT[3] << "\n\nETV_RDMFT: "
890891
<< E_RDMFT[0] << "\nEhartree_RDMFT: " << E_RDMFT[1] << "\nExc_RDMFT: " << E_RDMFT[2] << "\nE_Ewald: " << E_Ewald
891892
<< "\nE_entropy(-TS): " << E_entropy << "\nE_descf: " << E_descf << "\n\nEtotal_RDMFT: " << Etotal << "\nExc_ksdft: " << E_xc_KS
892-
<< "\nE_exx_ksdft: " << E_exx_KS <<"\n******\n\n" << std::endl;
893+
<< "\n\nE_exx_ksdft: " << E_exx_KS <<"\n******\n\n" << std::endl;
894+
895+
std::cout << "\netxc: " << etxc << "\nvtxc: " << vtxc << "\n";
893896

894897
std::cout << "\nE_deband_KS: " << E_deband_KS << "\nE_deband_harris_KS: " << E_deband_harris_KS << "\n\n" << std::endl;
895898
}
@@ -900,7 +903,7 @@ void RDMFT<TK, TR>::cal_Energy(const int cal_type)
900903
std::cout << std::fixed << std::setprecision(10) << "******\nE(TV + Hartree + XC) by RDMFT: " << E_RDMFT[3] << "\n\nETV_RDMFT: "
901904
<< E_RDMFT[0] << "\nE_hartree_RDMFT: " << E_RDMFT[1] << "\nExc_" << XC_func_rdmft << "_RDMFT: " << E_RDMFT[2] << "\nE_Ewald: " << E_Ewald
902905
<< "\nE_entropy(-TS): " << E_entropy << "\nE_descf: " << E_descf << "\n\nEtotal_RDMFT: " << Etotal << "\nExc_ksdft: " << E_xc_KS
903-
<< "\nE_exx_ksdft: " << E_exx_KS <<"\n******\n\n" << std::endl;
906+
<< "\n\nE_exx_ksdft: " << E_exx_KS <<"\n******\n\n" << std::endl;
904907

905908
std::cout << "\netxc: " << etxc << "\nvtxc: " << vtxc << "\n";
906909

0 commit comments

Comments
 (0)