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
try to handle getopt internal global variable
[simgrid.git]
/
src
/
smpi
/
include
/
smpi_process.hpp
diff --git
a/src/smpi/include/smpi_process.hpp
b/src/smpi/include/smpi_process.hpp
index
c6c07a7
..
af8fa3d
100644
(file)
--- a/
src/smpi/include/smpi_process.hpp
+++ b/
src/smpi/include/smpi_process.hpp
@@
-36,6
+36,7
@@
class Process {
smpi_trace_call_location_t trace_call_loc_;
simgrid::s4u::ActorPtr process_ = nullptr;
smpi_privatization_region_t privatized_region_;
smpi_trace_call_location_t trace_call_loc_;
simgrid::s4u::ActorPtr process_ = nullptr;
smpi_privatization_region_t privatized_region_;
+ int optind=0; /*for getopt replacement */
#if HAVE_PAPI
/** Contains hardware data as read by PAPI **/
int papi_event_set_;
#if HAVE_PAPI
/** Contains hardware data as read by PAPI **/
int papi_event_set_;
@@
-75,6
+76,8
@@
class Process {
msg_bar_t finalization_barrier();
static void init(int *argc, char ***argv);
simgrid::s4u::ActorPtr process();
msg_bar_t finalization_barrier();
static void init(int *argc, char ***argv);
simgrid::s4u::ActorPtr process();
+ int get_optind();
+ void set_optind(int optind);
};
};