File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
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"
56
67namespace ModuleIO
78{
@@ -71,6 +72,7 @@ void setup_parameters(UnitCell& ucell, K_Vectors& kv)
7172 std::cout << " " << std::setw (8 ) << " SPIN"
7273 << std::setw (16 ) << " KPOINTS"
7374 << std::setw (12 ) << " PROCESSORS" ;
75+ << std::setw (16 ) << " THREADS_PER_PROC" ;
7476
7577 const bool orbinfo = (PARAM.inp .basis_type ==" lcao" || PARAM.inp .basis_type ==" lcao_in_pw"
7678 || (PARAM.inp .basis_type ==" pw" && PARAM.inp .init_wfc .substr (0 , 3 ) == " nao" ));
@@ -88,7 +90,8 @@ void setup_parameters(UnitCell& ucell, K_Vectors& kv)
8890 std::cout << std::setw (16 ) << kv.get_nkstot ();
8991 }
9092
91- std::cout << std::setw (12 ) << GlobalV::NPROC;
93+ std::cout << std::setw (12 ) << GlobalV::NPROC
94+ << std::setw (16 ) << Parallel_Global::omp_number;;
9295 if (orbinfo) { std::cout << std::setw (12 ) << PARAM.globalv .nlocal ; }
9396
9497 std::cout << std::endl;
You can’t perform that action at this time.
0 commit comments