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
Add new entry in Release_Notes.
[simgrid.git]
/
src
/
smpi
/
smpi_replay_main.cpp
diff --git
a/src/smpi/smpi_replay_main.cpp
b/src/smpi/smpi_replay_main.cpp
index 8016e28f1cd7d421481aacbb978fbc3332e27f2d..703ae54f88f0f78866c504d445c0831093e9a8f4 100644
(file)
--- a/
src/smpi/smpi_replay_main.cpp
+++ b/
src/smpi/smpi_replay_main.cpp
@@
-1,3
+1,8
@@
+/* Copyright (c) 2018-2023. 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. */
+
#include "simgrid/s4u.hpp"
#include "smpi/smpi.h"
#include "xbt/asserts.h"
#include "simgrid/s4u.hpp"
#include "smpi/smpi.h"
#include "xbt/asserts.h"
@@
-13,7
+18,7
@@
int main(int argc, char* argv[])
return 1;
}
return 1;
}
-
auto
properties = simgrid::s4u::Actor::self()->get_properties();
+
const auto*
properties = simgrid::s4u::Actor::self()->get_properties();
if (properties->find("smpi_replay") == properties->end()) {
XBT_ERROR("invalid smpireplaymain execution. Please use smpirun -replay instead.");
return 1;
if (properties->find("smpi_replay") == properties->end()) {
XBT_ERROR("invalid smpireplaymain execution. Please use smpirun -replay instead.");
return 1;