char str[INSTR_DEFAULT_STR_SIZE];
smpi_container(rank, str, INSTR_DEFAULT_STR_SIZE);
container_t container = getContainer (str);
- type_t type = getType ("MPI_STATE");
+ type_t type = getType ("MPI_STATE", container->type);
+ val_t value = getValue (operation, "1 1 1", type);
- new_pajePushState (SIMIX_get_clock(), container, type, operation);
+ new_pajePushState (SIMIX_get_clock(), container, type, value);
}
void TRACE_smpi_collective_out(int rank, int root, const char *operation)
char str[INSTR_DEFAULT_STR_SIZE];
smpi_container(rank, str, INSTR_DEFAULT_STR_SIZE);
container_t container = getContainer (str);
- type_t type = getType ("MPI_STATE");
+ type_t type = getType ("MPI_STATE", container->type);
new_pajePopState (SIMIX_get_clock(), container, type);
}
char str[INSTR_DEFAULT_STR_SIZE];
smpi_container(rank, str, INSTR_DEFAULT_STR_SIZE);
container_t container = getContainer (str);
- type_t type = getType ("MPI_STATE");
+ type_t type = getType ("MPI_STATE", container->type);
+ val_t value = getValue (operation, "1 1 1", type);
- new_pajePushState (SIMIX_get_clock(), container, type, operation);
+ new_pajePushState (SIMIX_get_clock(), container, type, value);
}
void TRACE_smpi_ptp_out(int rank, int src, int dst, const char *operation)
char str[INSTR_DEFAULT_STR_SIZE];
smpi_container(rank, str, INSTR_DEFAULT_STR_SIZE);
container_t container = getContainer (str);
- type_t type = getType ("MPI_STATE");
+ type_t type = getType ("MPI_STATE", container->type);
new_pajePopState (SIMIX_get_clock(), container, type);
}
char str[INSTR_DEFAULT_STR_SIZE];
smpi_container(src, str, INSTR_DEFAULT_STR_SIZE);
container_t container = getContainer (str);
- type_t type = getType ("MPI_LINK");
+ type_t type = getType ("MPI_LINK", getRootType());
new_pajeStartLink (SIMIX_get_clock(), getRootContainer(), type, container, "PTP", key);
}
char str[INSTR_DEFAULT_STR_SIZE];
smpi_container(dst, str, INSTR_DEFAULT_STR_SIZE);
container_t container = getContainer (str);
- type_t type = getType ("MPI_LINK");
+ type_t type = getType ("MPI_LINK", getRootType());
new_pajeEndLink (SIMIX_get_clock(), getRootContainer(), type, container, "PTP", key);
}