Skip to content

Commit a955a99

Browse files
committed
relax the parameter constraints of device DSP to allow bndpar+kpar
1 parent 46fe015 commit a955a99

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

source/source_main/driver_run.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ void Driver::init_hardware()
124124
#endif
125125

126126
#ifdef __DSP
127-
if (GlobalV::NPROC > PARAM.inp.kpar && GlobalV::NPROC > PARAM.globalv.kpar_lcao)
128-
{
129-
ModuleBase::WARNING_QUIT(
130-
"Driver::init_hardware",
131-
"Number of processors must be equal to KPAR for DSP hardware initialization."
132-
);
133-
}
134127
std::cout << " ** Initializing DSP Hardware..." << std::endl;
135128
mtfunc::dspInitHandle(GlobalV::MY_RANK % PARAM.inp.dsp_count);
136129
#endif

0 commit comments

Comments
 (0)