We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c460fd commit 05dd94bCopy full SHA for 05dd94b
source/module_io/read_input_item_system.cpp
@@ -812,7 +812,12 @@ void ReadInput::item_system()
812
const std::string warningstr = nofound_str(avail_list, "precision");
813
ModuleBase::WARNING_QUIT("ReadInput", warningstr);
814
}
815
-
+ if (para.inp.precision == "single" && para.inp.basis_type == "lcao")
816
+ {
817
+ ModuleBase::WARNING_QUIT(
818
+ "ReadInput",
819
+ "Single precision is not supported for lcao basis,\nPlease use double precision for lcao basis.\n");
820
+ }
821
// cpu single precision is not supported while float_fftw lib is not available
822
if (para.inp.device == "cpu" && para.inp.precision == "single")
823
{
0 commit comments