File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 22
33#include " module_base/global_variable.h"
44#include " module_parameter/parameter.h"
5- #include " module_parameter/parallel_global.h"
5+ #include " module_base/parallel_global.h"
6+
67
78namespace ModuleIO
89{
@@ -71,8 +72,8 @@ void setup_parameters(UnitCell& ucell, K_Vectors& kv)
7172
7273 std::cout << " " << std::setw (8 ) << " SPIN"
7374 << std::setw (16 ) << " KPOINTS"
74- << std::setw (12 ) << " PROCESSORS" ;
75- << std::setw (16 ) << " THREADS_PER_PROC " ;
75+ << std::setw (12 ) << " PROCESSORS"
76+ << std::setw (12 ) << " THREADS " ;
7677
7778 const bool orbinfo = (PARAM.inp .basis_type ==" lcao" || PARAM.inp .basis_type ==" lcao_in_pw"
7879 || (PARAM.inp .basis_type ==" pw" && PARAM.inp .init_wfc .substr (0 , 3 ) == " nao" ));
@@ -91,7 +92,7 @@ void setup_parameters(UnitCell& ucell, K_Vectors& kv)
9192 }
9293
9394 std::cout << std::setw (12 ) << GlobalV::NPROC
94- << std::setw (16 ) << Parallel_Global::omp_number;
95+ << std::setw (12 ) << Parallel_Global::omp_number * GlobalV::NPROC ;
9596 if (orbinfo) { std::cout << std::setw (12 ) << PARAM.globalv .nlocal ; }
9697
9798 std::cout << std::endl;
You can’t perform that action at this time.
0 commit comments