Changeset 805


Ignore:
Timestamp:
12/11/15 14:42:37 (5 years ago)
Author:
rlacroix
Message:

Fix: Ensure time_counter_name is given a default value even when opening the file on client-side to read the attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/file.cpp

    r802 r805  
    554554     CContextClient* client=context->client; 
    555555 
     556     // It would probably be better to call initFile() somehow 
    556557     MPI_Comm_dup(client->intraComm, &fileComm); 
     558     if (time_counter_name.isEmpty()) time_counter_name = "time_counter"; 
     559 
    557560     checkFile(); 
     561 
    558562     for (int idx = 0; idx < enabledFields.size(); ++idx) 
    559563     { 
     
    576580     // Now everything is ok, close it 
    577581     close(); 
    578  
    579582   } 
    580583 
Note: See TracChangeset for help on using the changeset viewer.