summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb417fc)
The MPI_CURRENT_TYPE variable shouldn't be modified here.
{
switch(atoi(action)) {
case 0:
{
switch(atoi(action)) {
case 0:
- MPI_CURRENT_TYPE=MPI_DOUBLE;
- MPI_CURRENT_TYPE=MPI_INT;
- MPI_CURRENT_TYPE=MPI_CHAR;
- MPI_CURRENT_TYPE=MPI_SHORT;
- MPI_CURRENT_TYPE=MPI_LONG;
- MPI_CURRENT_TYPE=MPI_FLOAT;
- MPI_CURRENT_TYPE=MPI_BYTE;
- MPI_CURRENT_TYPE=MPI_DEFAULT_TYPE;
+ return MPI_DEFAULT_TYPE;
- return MPI_CURRENT_TYPE;
}
const char* encode_datatype(MPI_Datatype datatype)
}
const char* encode_datatype(MPI_Datatype datatype)