Skip to content

Commit 2aa8c2b

Browse files
committed
save
1 parent ea575ed commit 2aa8c2b

File tree

4 files changed

+3
-915
lines changed

4 files changed

+3
-915
lines changed

abaInstall_HZWpara.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ cmake -B build -DCMAKE_INSTALL_PREFIX=/public1/home/t6s000394/jghan/software/aba
44
#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
55

66
#cmake --build build -j 52 2>job.err
7-
cmake --build build -j 16
7+
cmake --build build -j 8
88

99
cmake --install build

source/module_rdmft/rdmft.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,9 @@ void RDMFT<TK, TR>::init(Gint_Gamma& GG_in, Gint_k& GK_in, Parallel_Orbitals& Pa
109109
// alpha_power = 0.525;
110110

111111
// // create desc[] and something about MPI to Eij(nbands*nbands)
112-
// std::ofstream ofs_running;
113-
// std::ofstream ofs_warning;
114-
// para_Eij.set_block_size(GlobalV::NB2D);
115-
// para_Eij.set_proc_dim(GlobalV::DSIZE);
116-
// para_Eij.comm_2D = ParaV->comm_2D;
117-
// para_Eij.blacs_ctxt = ParaV->blacs_ctxt;
118-
// para_Eij.set_local2global( GlobalV::NBANDS, GlobalV::NBANDS, ofs_running, ofs_warning );
119-
// para_Eij.set_desc( GlobalV::NBANDS, GlobalV::NBANDS, para_Eij.get_row_size(), false );
120112
#ifdef __MPI
121113
para_Eij.set(nbands_total, nbands_total, ParaV->nb, ParaV->blacs_ctxt); // maybe in default, PARAM.inp.nb2d = 0, can't be used
122114
#endif
123-
// para_Eij.init(nbands_total, nbands_total, PARAM.inp.nb2d, MPI_COMM_WORLD);
124-
// // learn from "module_hamilt_lcao/hamilt_lcaodft/LCAO_init_basis.cpp"
125115

126116
//
127117
occ_number.create(nk_total, nbands_total);
@@ -193,6 +183,7 @@ void RDMFT<TK, TR>::init(Gint_Gamma& GG_in, Gint_k& GK_in, Parallel_Orbitals& Pa
193183
#ifdef __EXX
194184
if( GlobalC::exx_info.info_global.cal_exx )
195185
{
186+
// if the irreducible k-points can change with symmetry during cell-relax, it should be moved back to update_ion()
196187
exx_spacegroup_symmetry = (PARAM.inp.nspin < 4 && ModuleSymmetry::Symmetry::symm_flag == 1);
197188
if (exx_spacegroup_symmetry)
198189
{

0 commit comments

Comments
 (0)