Changeset 1172 for XIOS/dev/branch_yushan_merged/src/node/file.cpp
- Timestamp:
- 06/15/17 19:32:13 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/src/node/file.cpp
r1160 r1172 579 579 580 580 #ifdef _usingEP 581 if(omp_get_num_threads() != 1 ) multifile = true; 582 #endif 583 581 //printf("multifile was %d\n", multifile); 582 multifile = true; 584 583 if (isOpen) data_out->closeFile(); 585 584 if (time_counter_name.isEmpty()) data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), static_cast< ::MPI_Comm >(fileComm.mpi_comm), multifile, isCollective)); 586 585 else data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), static_cast< ::MPI_Comm >(fileComm.mpi_comm), multifile, isCollective, time_counter_name)); 587 586 isOpen = true; 587 #else 588 if (isOpen) data_out->closeFile(); 589 if (time_counter_name.isEmpty()) data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), static_cast< ::MPI_Comm >(fileComm.mpi_comm), multifile, isCollective)); 590 else data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), static_cast< ::MPI_Comm >(fileComm.mpi_comm), multifile, isCollective, time_counter_name)); 591 isOpen = true; 592 #endif 593 594 588 595 } 589 596 }
Note: See TracChangeset
for help on using the changeset viewer.