Ignore:
Timestamp:
06/14/18 13:42:14 (3 years ago)
Author:
yushan
Message:

bug fix for tests in prod mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/object_template_impl.hpp

    r1460 r1544  
    430430   const vector<T*> CObjectTemplate<T>::getAll() 
    431431   { 
    432      const vector< boost::shared_ptr<T> >& shared_vect= CObjectFactory::GetObjectVector<T>(); 
     432     int tmp_rank; 
     433     MPI_Comm_rank(MPI_COMM_WORLD, &tmp_rank); 
     434     if(tmp_rank==7) printf("getCurrentContextid() = %s\n", CObjectFactory::GetCurrentContextId()); 
     435     const vector< boost::shared_ptr<T> >& shared_vect= CObjectFactory::GetObjectVector<T>(CObjectFactory::GetCurrentContextId()); 
    433436     vector<T*> vect; 
    434437 
Note: See TracChangeset for help on using the changeset viewer.