Changeset 7dd744


Ignore:
Timestamp:
Apr 25, 2012, 5:54:10 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
71b148
Parents:
a150d0
Message:

vmg: When internally checking for configuration errors, return the maximum error code of all processes on all processes instead of letting each process return it's own error code.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1744 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/interface/interface_fcs.cpp

    ra150d0 r7dd744  
    216216  const Grid& grid = multigrid(multigrid.MaxLevel());
    217217
     218  int error_code;
     219
    218220  if (!grid.Global().LocalSize().IsComponentwiseGreater(near_field_cells))
    219     return 1;
    220 
    221   return 0;
     221    error_code = 1;
     222  else
     223    error_code = 0;
     224
     225  error_code = MG::GetComm()->GlobalMax(error_code);
     226
     227  return error_code;
    222228}
    223229
Note: See TracChangeset for help on using the changeset viewer.