Changeset 1071 for XIOS/dev/dev_olga/src/buffer_client.cpp
- Timestamp:
- 03/13/17 17:21:04 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/buffer_client.cpp
r992 r1071 74 74 int flag; 75 75 76 int error, errclass, len; 77 char errstring[MPI_MAX_ERROR_STRING]; 78 76 79 if (pending) 77 80 { … … 86 89 if (count > 0) 87 90 { 88 MPI_Comm_test_inter(interComm, &flag); 89 MPI_Issend(buffer[current], count, MPI_CHAR, serverRank, 20, interComm, &request); 91 MPI_Errhandler_set(interComm,MPI_ERRORS_RETURN); 92 error = MPI_Issend(buffer[current], count, MPI_CHAR, serverRank, 20, interComm, &request); 93 if (error != MPI_SUCCESS) 94 { 95 MPI_Error_class(error, &errclass); 96 MPI_Error_string(error, errstring, &len); 97 ERROR("MPI error class: ", <<errclass<<" MPI error "<<errstring ); 98 } 90 99 pending = true; 91 100 if (current == 1) current = 0;
Note: See TracChangeset
for help on using the changeset viewer.