Ignore:
Timestamp:
04/08/16 15:00:15 (6 years ago)
Author:
mhnguyen
Message:

Improvements for dht

+) Implement adaptive hierarchy for dht, level of hierarchy depends on number of processes
+) Remove some redundant codes

Test
+) On Curie
+) All tests are correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/netCdfInterface.cpp

    r811 r833  
    279279    sstr << "Error when calling function nc_inq_varname(ncid, varId, varNameBuff)" << std::endl 
    280280         << errormsg << std::endl 
    281          << "Unable to get variable name given its id: " << varId << std::endl; 
     281         << "Unable to get variable name: "<< varName << " given its id: " << varId << std::endl; 
    282282    StdString e = sstr.str(); 
    283283    throw CNetCdfException(e); 
     
    329329    sstr << "Error when calling function nc_inq_dimname(ncid, dimId, fullNameIn)" << std::endl 
    330330         << errormsg << std::endl 
    331          << "Unable to get dimension name given its id: " << dimId << std::endl; 
     331         << "Unable to get dimension name: " << dimName << " given its id: " << dimId << std::endl; 
    332332    StdString e = sstr.str(); 
    333333    throw CNetCdfException(e); 
     
    612612    sstr << "Error when calling function nc_inq_attname(ncid, varid, attnum, attName)" << std::endl; 
    613613    sstr << errormsg << std::endl; 
    614     sstr << "Unable to query the name of attribute " << attnum << " given the location id:" << ncid << " and the variable id:" << varid << std::endl; 
     614    sstr << "Unable to query the name: " << name << " of attribute " << attnum << " given the location id:" << ncid << " and the variable id:" << varid << std::endl; 
    615615    StdString e = sstr.str(); 
    616616    throw CNetCdfException(e); 
Note: See TracChangeset for help on using the changeset viewer.