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
Update copyright lines for 2023.
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_replay.cpp
diff --git
a/src/smpi/internals/smpi_replay.cpp
b/src/smpi/internals/smpi_replay.cpp
index
b78e173
..
93ca639
100644
(file)
--- a/
src/smpi/internals/smpi_replay.cpp
+++ b/
src/smpi/internals/smpi_replay.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2009-202
2
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2009-202
3
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-167,7
+167,7
@@
void SendOrRecvParser::parse(simgrid::xbt::ReplayAction& action, const std::stri
CHECK_ACTION_PARAMS(action, 3, 1)
partner = std::stoi(action[2]);
tag = std::stoi(action[3]);
CHECK_ACTION_PARAMS(action, 3, 1)
partner = std::stoi(action[2]);
tag = std::stoi(action[3]);
- size = parse_integer<size_t>(action[4]);
+ size = parse_integer<s
s
ize_t>(action[4]);
datatype1 = parse_datatype(action, 5);
}
datatype1 = parse_datatype(action, 5);
}
@@
-186,7
+186,7
@@
void SleepParser::parse(simgrid::xbt::ReplayAction& action, const std::string&)
void LocationParser::parse(simgrid::xbt::ReplayAction& action, const std::string&)
{
CHECK_ACTION_PARAMS(action, 2, 0)
void LocationParser::parse(simgrid::xbt::ReplayAction& action, const std::string&)
{
CHECK_ACTION_PARAMS(action, 2, 0)
- filename =
std::string(action[2])
;
+ filename =
action[2]
;
line = std::stoi(action[3]);
}
line = std::stoi(action[3]);
}
@@
-486,8
+486,8
@@
void RecvAction::kernel(simgrid::xbt::ReplayAction&)
MPI_Status status;
// unknown size from the receiver point of view
MPI_Status status;
// unknown size from the receiver point of view
- size_t arg_size = args.size;
- if (arg_size
==
0) {
+ s
s
ize_t arg_size = args.size;
+ if (arg_size
<
0) {
Request::probe(args.partner, args.tag, MPI_COMM_WORLD, &status);
arg_size = status.count;
}
Request::probe(args.partner, args.tag, MPI_COMM_WORLD, &status);
arg_size = status.count;
}
@@
-541,7
+541,6
@@
void SendRecvAction::kernel(simgrid::xbt::ReplayAction&)
TRACE_smpi_recv(src_traced, my_proc_id, recvtag);
TRACE_smpi_comm_out(my_proc_id);
XBT_DEBUG("Exits SendRecv");
TRACE_smpi_recv(src_traced, my_proc_id, recvtag);
TRACE_smpi_comm_out(my_proc_id);
XBT_DEBUG("Exits SendRecv");
-
}
void ComputeAction::kernel(simgrid::xbt::ReplayAction&)
}
void ComputeAction::kernel(simgrid::xbt::ReplayAction&)
@@
-929,7
+928,7
@@
void smpi_replay_main(int rank, const char* private_trace_filename)
simgrid::smpi::Request::waitall(count_requests, requests.data(), MPI_STATUSES_IGNORE);
}
simgrid::smpi::Request::waitall(count_requests, requests.data(), MPI_STATUSES_IGNORE);
}
- if
(simgrid::config::get_value<bool>("smpi/finalization-barrier
"))
+ if
(simgrid::config::get_value<bool>("smpi/barrier-finalization
"))
simgrid::smpi::colls::barrier(MPI_COMM_WORLD);
active_processes--;
simgrid::smpi::colls::barrier(MPI_COMM_WORLD);
active_processes--;