/[escript]/trunk/escript/src/Utils.h
ViewVC logotype

Diff of /trunk/escript/src/Utils.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

temp_trunk_copy/escript/src/Utils.h revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC trunk/escript/src/Utils.h revision 1805 by ksteube, Wed Sep 24 23:39:00 2008 UTC
# Line 33  namespace escript { Line 33  namespace escript {
33    
34    /**    /**
35       \brief       \brief
36         print a message about how many MPI CPUs and OpenMP threads we're using
37      */
38      ESCRIPT_DLL_API void printParallelThreadCnt();
39    
40      /**
41         \brief
42       set the number of threads       set the number of threads
43    */    */
44    ESCRIPT_DLL_API void setNumberOfThreads(const int num_threads);    ESCRIPT_DLL_API void setNumberOfThreads(const int num_threads);
# Line 43  namespace escript { Line 49  namespace escript {
49    */    */
50    ESCRIPT_DLL_API int getNumberOfThreads();    ESCRIPT_DLL_API int getNumberOfThreads();
51    
52      /**
53         \brief
54         returns the total number of available MPI processes for MPI_COMM_WORLD
55      */
56      ESCRIPT_DLL_API int getMPISizeWorld();
57    
58      /**
59         \brief
60         returns the MPI processor number within MPI_COMM_WORLD
61      */
62      ESCRIPT_DLL_API int getMPIRankWorld();
63    
64  } // end of namespace  } // end of namespace
65  #endif  #endif

Legend:
Removed from v.1384  
changed lines
  Added in v.1805

  ViewVC Help
Powered by ViewVC 1.1.26