1 2//--------------------------------------------------------------------- 3//--------------------------------------------------------------------- 4#ifndef __MPINPB_H 5#define __MPINPB_H 6 7#ifdef G_MAIN 8 int node, no_nodes, total_nodes, root; 9 int active; 10#else 11extern int node, no_nodes, total_nodes, root; 12extern int active; 13 14#endif 15#ifdef _OPENMP 16#pragma omp threadprivate (node, no_nodes, total_nodes, root, active) 17#endif 18#endif 19 20