Changeset 1074
- Timestamp:
- 03/15/17 18:29:03 (7 years ago)
- Location:
- XIOS/dev/branch_yushan/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/client.cpp
r1073 r1074 312 312 fileNameClient << fileName << "_" << std::setfill('0') << std::setw(numDigit) << getRank() << ext; 313 313 printf("getrank() = %d, file name = %s\n", getRank(), fileNameClient.str().c_str()); 314 #pragma omp critical(_output) 315 { 314 316 315 fb->open(fileNameClient.str().c_str(), std::ios::out); 317 316 if (!fb->is_open()) 318 317 ERROR("void CClient::openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb)", 319 318 << std::endl << "Can not open <" << fileNameClient << "> file to write the client log(s)."); 320 }319 321 320 322 321 } -
XIOS/dev/branch_yushan/src/cxios.cpp
r1073 r1074 35 35 { 36 36 set_new_handler(noMemory); 37 #pragma omp master37 #pragma omp critical 38 38 { 39 39 parseFile(rootFile); -
XIOS/dev/branch_yushan/src/cxios.hpp
r1073 r1074 53 53 54 54 static bool printLogs2Files; //!< Printing out logs into files 55 //#pragma omp threadprivate(printLogs2Files)55 #pragma omp threadprivate(printLogs2Files) 56 56 57 57 static bool usingOasis ; //!< Using Oasis -
XIOS/dev/branch_yushan/src/interface/c/icdata.cpp
r1072 r1074 129 129 CTimer::get("XIOS context finalize").resume(); 130 130 131 printf("Check : calling cxios_context_finalize\n"); 131 132 CContext* context = CContext::getCurrent(); 132 133 context->finalize(); -
XIOS/dev/branch_yushan/src/node/context.cpp
r1070 r1074 356 356 void CContext::finalize(void) 357 357 { 358 358 359 if (!finalized) 359 360 { -
XIOS/dev/branch_yushan/src/test/test_omp.f90
r1073 r1074 79 79 print*, "xios init OK", rank, size 80 80 81 CALL xios_context_initialize("test",comm)81 ! CALL xios_context_initialize("test",comm) 82 82 83 print*, "xios_context init OK", rank, size 83 ! print*, "xios_context init OK", rank, size 84 85 !CALL xios_context_finalize() 86 87 88 !print*, "xios_context finalize OK", rank, size 84 89 85 90 !$omp end parallel 91 92 86 93 87 94 CALL xios_context_initialize("test",comm) -
XIOS/dev/branch_yushan/src/xml_node.hpp
r1073 r1074 49 49 50 50 static StdString RootName; 51 #pragma omp threadprivate(RootName)51 //#pragma omp threadprivate(RootName) 52 52 53 53 }; //class CXMLParser
Note: See TracChangeset
for help on using the changeset viewer.