A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
printf format fixups
[simgrid.git]
/
src
/
smpi
/
smpi_global.c
diff --git
a/src/smpi/smpi_global.c
b/src/smpi/smpi_global.c
index
89771f5
..
ef58d88
100644
(file)
--- a/
src/smpi/smpi_global.c
+++ b/
src/smpi/smpi_global.c
@@
-84,7
+84,7
@@
int smpi_create_request(void *buf, int count, smpi_mpi_datatype_t datatype,
smpi_mpi_request_t request = NULL;
smpi_mpi_request_t request = NULL;
- //
FIXME: make sure requestptr is not null
+ //
parameter checking prob belongs in smpi_mpi, but this is less repeat code
if (NULL == buf) {
retval = MPI_ERR_INTERN;
} else if (0 > count) {
if (NULL == buf) {
retval = MPI_ERR_INTERN;
} else if (0 > count) {
@@
-100,7
+100,7
@@
int smpi_create_request(void *buf, int count, smpi_mpi_datatype_t datatype,
} else if (NULL == comm) {
retval = MPI_ERR_COMM;
} else if (NULL == requestptr) {
} else if (NULL == comm) {
retval = MPI_ERR_COMM;
} else if (NULL == requestptr) {
- retval = MPI_ERR_
INTERN
;
+ retval = MPI_ERR_
ARG
;
} else {
request = xbt_mallocator_get(smpi_global->request_mallocator);
request->comm = comm;
} else {
request = xbt_mallocator_get(smpi_global->request_mallocator);
request->comm = comm;