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
trying to debug a persistent problem.
[simgrid.git]
/
src
/
smpi
/
smpi_sender.c
diff --git
a/src/smpi/smpi_sender.c
b/src/smpi/smpi_sender.c
index
41ff7a1
..
7b3e609
100644
(file)
--- a/
src/smpi/smpi_sender.c
+++ b/
src/smpi/smpi_sender.c
@@
-16,7
+16,7
@@
int smpi_sender(int argc, char **argv)
smx_host_t dhost;
smx_host_t dhost;
- char communicat
e[] = "communicate
";
+ char communicat
ion[] = "communication
";
smx_action_t action;
smpi_received_message_t message;
smx_action_t action;
smpi_received_message_t message;
@@
-83,7
+83,7
@@
int smpi_sender(int argc, char **argv)
request->completed = 1;
request->completed = 1;
- action = SIMIX_action_communicate(shost, dhost, communicat
e
, request->datatype->size * request->count, -1.0);
+ action = SIMIX_action_communicate(shost, dhost, communicat
ion
, request->datatype->size * request->count, -1.0);
SIMIX_register_action_to_condition(action, request->cond);
SIMIX_cond_wait(request->cond, request->mutex);
SIMIX_register_action_to_condition(action, request->cond);
SIMIX_cond_wait(request->cond, request->mutex);
@@
-91,7
+91,7
@@
int smpi_sender(int argc, char **argv)
SIMIX_mutex_unlock(request->mutex);
SIMIX_mutex_unlock(request->mutex);
- SIMIX_action_destroy(action);
+
//
SIMIX_action_destroy(action);
// wake up receiver if necessary
receiver_process = smpi_global->receiver_processes[drank];
// wake up receiver if necessary
receiver_process = smpi_global->receiver_processes[drank];