Ignore:
Timestamp:
10/09/14 12:28:27 (7 years ago)
Author:
mhnguyen
Message:

Improving format of info and error file

+) Change name of info and error file into xios_client(server)_rank
+) Make format prettier

Test
+) On local: Fedora 20, gcc 4.8
+) Work as expected

File:
1 edited

Legend:

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

    r497 r499  
    258258       } 
    259259 
    260        fileNameClient << fileName <<"_client_" << std::setfill('0') << std::setw(numDigit) << getRank() << ".out"; 
     260       fileNameClient << fileName << "_" << std::setfill('0') << std::setw(numDigit) << getRank() << ".out"; 
    261261       fb->open(fileNameClient.str().c_str(), std::ios::out); 
    262262       if (!fb->is_open()) 
     
    265265 
    266266       info.write2File(fb); 
     267       report.write2File(fb); 
    267268     } 
    268269 
     
    271272     { 
    272273       info.write2StdOut(); 
     274       report.write2StdOut(); 
    273275     } 
    274276 
Note: See TracChangeset for help on using the changeset viewer.