Ignore:
Timestamp:
09/26/14 14:52:04 (10 years ago)
Author:
mhnguyen
Message:

Implementing print output in seperate files

+) Add an option to write information into standard output or into files,
each of which is created by a process
+) Add a new file for global data (constant, value macro, etc)
+) Do a minor change in how to generate doxygen

Test
+) On Curie, with two modes: only client (connected) and client-server
+) All tests passed, each client prints out its info in a seperate file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/client.hpp

    r382 r490  
    66 
    77namespace xios 
    8 {                       
     8{ 
    99    class CClient 
    1010    { 
    1111       public: 
    12         
     12 
    1313       static void initialize(const string& codeId,MPI_Comm& localComm,MPI_Comm& returnComm) ; 
    1414       static void finalize(void) ; 
     
    1919       static int serverLeader; 
    2020       static bool is_MPI_Initialized ; 
     21 
     22       public: 
     23        static int getRank(); 
     24 
     25        static void openInfoStream(const StdString& fileName); 
     26 
     27        static void openInfoStream(); 
     28 
     29        static void closeInfoStream(); 
     30 
     31       protected: 
     32       static int rank; 
     33       static StdOFStream m_infoStream; 
     34 
     35 
    2136    } ; 
    2237} 
Note: See TracChangeset for help on using the changeset viewer.