Ignore:
Timestamp:
05/15/17 15:00:24 (3 years ago)
Author:
oabramkina
Message:

Two-level server: merging new grid functionalities and changes in the communication protocol (e.g. non-blocking context finalize, registries, oasis).

Tests on curie: test_client, test_complete, nemo (test_xios2_cmip6.exe).

To do: non-structured grid, check reading, possible bug in client/server initialization (?).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/buffer_client.cpp

    r1077 r1130  
    7474    int flag; 
    7575 
    76     int error, errclass, len; 
    77     char errstring[MPI_MAX_ERROR_STRING]; 
    78  
    7976    if (pending) 
    8077    { 
    8178      traceOff(); 
    82       MPI_Errhandler_set(interComm,MPI_ERRORS_RETURN); 
    83       error=MPI_Test(&request, &flag, &status); 
    84       if (error != MPI_SUCCESS) 
    85       { 
    86         MPI_Error_class(error, &errclass); 
    87         MPI_Error_string(error, errstring, &len); 
    88         ERROR("MPI error class: ", <<errclass<<" MPI error "<<errstring ); 
    89       } 
     79      MPI_Test(&request, &flag, &status); 
    9080      traceOn(); 
    9181      if (flag == true) pending = false; 
     
    9686      if (count > 0) 
    9787      { 
    98         MPI_Errhandler_set(interComm,MPI_ERRORS_RETURN); 
    99         error = MPI_Issend(buffer[current], count, MPI_CHAR, serverRank, 20, interComm, &request); 
    100         if (error != MPI_SUCCESS) 
    101         { 
    102           MPI_Error_class(error, &errclass); 
    103           MPI_Error_string(error, errstring, &len); 
    104           ERROR("MPI error class: ", <<errclass<<" MPI error "<<errstring ); 
    105         } 
     88        MPI_Issend(buffer[current], count, MPI_CHAR, serverRank, 20, interComm, &request); 
    10689        pending = true; 
    10790        if (current == 1) current = 0; 
Note: See TracChangeset for help on using the changeset viewer.