File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ namespace GlobalV
1717// ----------------------------------------------------------
1818
1919int NPROC = 1 ; // /< global number of process
20+ int THREAD_PER_PROC = 1 ; // /< global number of thread per process
2021int KPAR = 1 ; // /< global number of pools
2122int KPAR_LCAO = 1 ; // /< global number of pools for LCAO diagonalization only
2223int MY_RANK = 0 ; // /< global index of process
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ namespace GlobalV
1717// EXPLAIN : Parallel information
1818// GLOBAL VARIABLES :
1919// NAME : NPROC( global number of process )
20+ // NAME : THREAD_PER_PROC ( global number of threads per process )
2021// NAME : KPAR( global number of pools )
2122// NAME : MY_RANK( global index of process )
2223// NAME : MY_POOL( global index of pool (count in pool))
@@ -31,6 +32,7 @@ namespace GlobalV
3132// NAME : KPAR_LCAO ( global number of pools for LCAO diagonalization only)
3233// ========================================================================
3334extern int NPROC;
35+ extern int THREAD_PER_PROC;
3436extern int KPAR;
3537extern int MY_RANK;
3638extern int MY_POOL;
You can’t perform that action at this time.
0 commit comments