Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoFlag is useless (always true).
Arnaud Giersch [Wed, 25 Apr 2018 09:12:56 +0000 (11:12 +0200)]
Flag is useless (always true).

2 years agoAvoid explicit call to close() on an auto-closeable resource.
Arnaud Giersch [Wed, 25 Apr 2018 08:01:12 +0000 (10:01 +0200)]
Avoid explicit call to close() on an auto-closeable resource.

2 years agoKill useless declaration.
Arnaud Giersch [Tue, 24 Apr 2018 13:11:19 +0000 (15:11 +0200)]
Kill useless declaration.

2 years agoKill useless array powers2 and simplify code.
Arnaud Giersch [Tue, 24 Apr 2018 12:41:19 +0000 (14:41 +0200)]
Kill useless array powers2 and simplify code.

2 years agoUse initialization list.
Arnaud Giersch [Tue, 24 Apr 2018 12:34:11 +0000 (14:34 +0200)]
Use initialization list.

2 years agoPut deprecated annotation at declaration.
Arnaud Giersch [Tue, 24 Apr 2018 12:29:16 +0000 (14:29 +0200)]
Put deprecated annotation at declaration.

2 years agoDon't loose first result for 'failed'.
Arnaud Giersch [Tue, 24 Apr 2018 11:51:38 +0000 (13:51 +0200)]
Don't loose first result for 'failed'.

2 years agojenkins: simplify logic for installation.
Arnaud Giersch [Tue, 24 Apr 2018 07:43:49 +0000 (09:43 +0200)]
jenkins: simplify logic for installation.

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 24 Apr 2018 18:41:40 +0000 (20:41 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agosimplication and uniformization
Frederic Suter [Tue, 24 Apr 2018 16:43:17 +0000 (18:43 +0200)]
simplication and uniformization

2 years agoconsistency in host/storage/netpoint registering
Martin Quinson [Tue, 24 Apr 2018 12:35:20 +0000 (14:35 +0200)]
consistency in host/storage/netpoint registering

2 years agofurther snake_case s4u::Engine
Martin Quinson [Tue, 24 Apr 2018 10:51:30 +0000 (12:51 +0200)]
further snake_case s4u::Engine

2 years agosimplify/extend setup of resource tracing
Frederic Suter [Tue, 24 Apr 2018 12:22:55 +0000 (14:22 +0200)]
simplify/extend setup of resource tracing

2 years agoadd missing include for accumulate
Frederic Suter [Tue, 24 Apr 2018 09:41:17 +0000 (11:41 +0200)]
add missing include for accumulate

2 years agoreduce brain overload (at least try)
Frederic Suter [Tue, 24 Apr 2018 09:00:01 +0000 (11:00 +0200)]
reduce brain overload (at least try)

2 years agojenkins: try to disable CMAKE_DISABLE_SOURCE_CHANGES=ON on CMake 3.11
Martin Quinson [Mon, 23 Apr 2018 21:29:06 +0000 (23:29 +0200)]
jenkins: try to disable CMAKE_DISABLE_SOURCE_CHANGES=ON on CMake 3.11

2 years agojenkins: save SIMGRID_VERSION as a variable, so that it's usable from every directories
Martin Quinson [Mon, 23 Apr 2018 20:28:14 +0000 (22:28 +0200)]
jenkins: save SIMGRID_VERSION as a variable, so that it's usable from every directories

2 years agojenkins: stop handling Windows builds differently
Martin Quinson [Mon, 23 Apr 2018 20:11:41 +0000 (22:11 +0200)]
jenkins: stop handling Windows builds differently

2 years agofurther snake_case s4u::Engine
Martin Quinson [Sun, 22 Apr 2018 20:51:40 +0000 (22:51 +0200)]
further snake_case s4u::Engine

2 years agorewrite the actor-create example
Martin Quinson [Sun, 22 Apr 2018 20:28:53 +0000 (22:28 +0200)]
rewrite the actor-create example

2 years agostart snake_casing s4u::Engine
Martin Quinson [Sat, 21 Apr 2018 21:03:32 +0000 (23:03 +0200)]
start snake_casing s4u::Engine

2 years agosmpicc: give -lm to all architectures, not only linux
Martin Quinson [Fri, 20 Apr 2018 05:39:02 +0000 (07:39 +0200)]
smpicc: give -lm to all architectures, not only linux

2 years agostart enforcing our new coding standards
Martin Quinson [Thu, 19 Apr 2018 19:43:38 +0000 (21:43 +0200)]
start enforcing our new coding standards

2 years agojenkins: make sure that we don't modify the source tree when doing out of tree builds
Martin Quinson [Thu, 19 Apr 2018 19:39:44 +0000 (21:39 +0200)]
jenkins: make sure that we don't modify the source tree when doing out of tree builds

2 years agoFix some doxygen warnings.
Arnaud Giersch [Mon, 23 Apr 2018 09:06:14 +0000 (11:06 +0200)]
Fix some doxygen warnings.

2 years agoFix doc generation in CMAKE_BINARY_DIR/doc.
Arnaud Giersch [Mon, 23 Apr 2018 07:31:37 +0000 (09:31 +0200)]
Fix doc generation in CMAKE_BINARY_DIR/doc.

It was broken by commit f0d94f03109c63408bfc4e94ca664c88deeddaaf.

2 years agoAllow to give search directory on command line.
Arnaud Giersch [Mon, 23 Apr 2018 08:00:06 +0000 (10:00 +0200)]
Allow to give search directory on command line.

2 years agoPrint debug messages on stderr.
Arnaud Giersch [Mon, 23 Apr 2018 08:05:18 +0000 (10:05 +0200)]
Print debug messages on stderr.

2 years agoSonar: have a single return.
Arnaud Giersch [Fri, 20 Apr 2018 10:09:28 +0000 (12:09 +0200)]
Sonar: have a single return.

2 years ago[SMPI] Re-add missing quotation mark :(
Christian Heinrich [Fri, 20 Apr 2018 16:23:58 +0000 (18:23 +0200)]
[SMPI] Re-add missing quotation mark :(

2 years ago[EXAMPLES] Remove header from examples/replay
Christian Heinrich [Fri, 20 Apr 2018 16:07:05 +0000 (18:07 +0200)]
[EXAMPLES] Remove header from examples/replay

2 years ago[CMAKE] Add missing header file.
Christian Heinrich [Fri, 20 Apr 2018 16:04:41 +0000 (18:04 +0200)]
[CMAKE] Add missing header file.

2 years ago[SMPI] Initial commit of the LB plugin
Christian Heinrich [Fri, 20 Apr 2018 15:07:34 +0000 (17:07 +0200)]
[SMPI] Initial commit of the LB plugin

2 years ago[SMPI] Replay: Apply clang-format to replay.cpp
Christian Heinrich [Fri, 20 Apr 2018 14:34:37 +0000 (16:34 +0200)]
[SMPI] Replay: Apply clang-format to replay.cpp

2 years ago[SMPI] Replay: Move ReplayAction definitions to replay.hpp
Christian Heinrich [Fri, 20 Apr 2018 14:33:05 +0000 (16:33 +0200)]
[SMPI] Replay: Move ReplayAction definitions to replay.hpp

2 years ago[SMPI] Replay: Apply clang-format to ArgParsers
Christian Heinrich [Fri, 20 Apr 2018 11:04:00 +0000 (13:04 +0200)]
[SMPI] Replay: Apply clang-format to ArgParsers

2 years ago[SMPI] Replay: Indent ArgParsers correctly.
Christian Heinrich [Fri, 20 Apr 2018 11:03:24 +0000 (13:03 +0200)]
[SMPI] Replay: Indent ArgParsers correctly.

2 years ago[SMPI] Replay: Move ArgParsers + macro to simgrid/smpi/replay.hpp
Christian Heinrich [Fri, 20 Apr 2018 11:02:24 +0000 (13:02 +0200)]
[SMPI] Replay: Move ArgParsers + macro to simgrid/smpi/replay.hpp

2 years ago[SMPI] Cosmetics (indentation)
Christian Heinrich [Fri, 20 Apr 2018 08:12:16 +0000 (10:12 +0200)]
[SMPI] Cosmetics (indentation)

2 years ago[SMPI] Added two comments...
Christian Heinrich [Thu, 19 Apr 2018 10:49:24 +0000 (12:49 +0200)]
[SMPI] Added two comments...

2 years agoUse SIGABRT when SIGTRAP is not available (win32).
Arnaud Giersch [Thu, 19 Apr 2018 22:12:48 +0000 (00:12 +0200)]
Use SIGABRT when SIGTRAP is not available (win32).

It's not the best idea but who cares?

2 years agoKill duplicates.
Arnaud Giersch [Thu, 19 Apr 2018 21:35:42 +0000 (23:35 +0200)]
Kill duplicates.

2 years agoAdd test for --cfg=simix/breakpoint.
Arnaud Giersch [Thu, 19 Apr 2018 21:32:29 +0000 (23:32 +0200)]
Add test for --cfg=simix/breakpoint.

2 years agoAdd parameter simix/breakpoint. Fixes #143.
Arnaud Giersch [Thu, 19 Apr 2018 20:43:35 +0000 (22:43 +0200)]
Add parameter simix/breakpoint. Fixes #143.

2 years agoChange option name in doc too.
Arnaud Giersch [Thu, 19 Apr 2018 20:40:04 +0000 (22:40 +0200)]
Change option name in doc too.

2 years agoDocument changes in xbt/config.
Arnaud Giersch [Thu, 19 Apr 2018 20:37:53 +0000 (22:37 +0200)]
Document changes in xbt/config.

2 years agoCosmetics.
Arnaud Giersch [Thu, 19 Apr 2018 20:32:34 +0000 (22:32 +0200)]
Cosmetics.

2 years agoSonar: dont't duplicate declarations.
Arnaud Giersch [Thu, 19 Apr 2018 17:58:31 +0000 (19:58 +0200)]
Sonar: dont't duplicate declarations.

2 years agoConvert last bits from the xbt/config C interface.
Arnaud Giersch [Thu, 19 Apr 2018 15:39:07 +0000 (17:39 +0200)]
Convert last bits from the xbt/config C interface.

2 years agoConvert xbt_cfg_set_parse -> simgrid::config::set_parse.
Arnaud Giersch [Thu, 19 Apr 2018 16:08:11 +0000 (18:08 +0200)]
Convert xbt_cfg_set_parse -> simgrid::config::set_parse.

2 years agoConvert xbt_cfg_set_as_string -> simgrid::config::set_as_string
Arnaud Giersch [Thu, 19 Apr 2018 12:44:11 +0000 (14:44 +0200)]
Convert xbt_cfg_set_as_string -> simgrid::config::set_as_string

2 years agoConvert xbt_cfg_is_default_value -> simgrid::config::is_default.
Arnaud Giersch [Thu, 19 Apr 2018 12:11:59 +0000 (14:11 +0200)]
Convert xbt_cfg_is_default_value -> simgrid::config::is_default.

2 years agoDeprecate xbt_cfg_setdefault_<type>().
Arnaud Giersch [Thu, 19 Apr 2018 11:55:15 +0000 (13:55 +0200)]
Deprecate xbt_cfg_setdefault_<type>().

2 years agoChange xbt_cfg_set_default_<type> -> simgrid::config::set_default<type>.
Arnaud Giersch [Thu, 19 Apr 2018 11:54:48 +0000 (13:54 +0200)]
Change xbt_cfg_set_default_<type> -> simgrid::config::set_default<type>.

2 years agoDefine simgrid::xbt::set_default<>.
Arnaud Giersch [Thu, 19 Apr 2018 11:52:47 +0000 (13:52 +0200)]
Define simgrid::xbt::set_default<>.

2 years agoDeprecate xbt_cfg_set_<type>().
Arnaud Giersch [Thu, 19 Apr 2018 11:34:37 +0000 (13:34 +0200)]
Deprecate xbt_cfg_set_<type>().

2 years agoDefine simgrid::xbt::set_value<>().
Arnaud Giersch [Thu, 19 Apr 2018 11:34:15 +0000 (13:34 +0200)]
Define simgrid::xbt::set_value<>().

2 years agoRename simgrid::config::get_config -> simgrid::config::get_value.
Arnaud Giersch [Thu, 19 Apr 2018 12:48:19 +0000 (14:48 +0200)]
Rename simgrid::config::get_config -> simgrid::config::get_value.

2 years agoDeprecate xbt_cfg_get_<type>().
Arnaud Giersch [Thu, 19 Apr 2018 11:11:11 +0000 (13:11 +0200)]
Deprecate xbt_cfg_get_<type>().

2 years agoChange xbt_cfg_get_string -> simgrid::config::get_config<std::string>.
Arnaud Giersch [Thu, 19 Apr 2018 11:03:03 +0000 (13:03 +0200)]
Change xbt_cfg_get_string -> simgrid::config::get_config<std::string>.

2 years agoChange xbt_cfg_get_double -> simgrid::config::get_config<double>.
Arnaud Giersch [Thu, 19 Apr 2018 10:58:51 +0000 (12:58 +0200)]
Change xbt_cfg_get_double -> simgrid::config::get_config<double>.

2 years agoChange xbt_cfg_get_int -> simgrid::config::get_config<int>.
Arnaud Giersch [Thu, 19 Apr 2018 10:57:35 +0000 (12:57 +0200)]
Change xbt_cfg_get_int -> simgrid::config::get_config<int>.

2 years agoChange xbt_cfg_get_bool -> simgrid::config::get_config<bool>.
Arnaud Giersch [Thu, 19 Apr 2018 10:53:13 +0000 (12:53 +0200)]
Change xbt_cfg_get_bool -> simgrid::config::get_config<bool>.

2 years agoMore snake_case in xbt/config (bind_flag, declare_flag).
Arnaud Giersch [Thu, 19 Apr 2018 10:33:52 +0000 (12:33 +0200)]
More snake_case in xbt/config (bind_flag, declare_flag).

2 years agoSnake_case in xbt/config.
Arnaud Giersch [Thu, 19 Apr 2018 10:05:30 +0000 (12:05 +0200)]
Snake_case in xbt/config.

2 years agoKill undefined declaration.
Arnaud Giersch [Thu, 19 Apr 2018 10:17:32 +0000 (12:17 +0200)]
Kill undefined declaration.

2 years agoCosmetics: remove semicolons in comment.
Arnaud Giersch [Thu, 19 Apr 2018 11:39:42 +0000 (13:39 +0200)]
Cosmetics: remove semicolons in comment.

2 years agoadd tracing for MPI_Start and MPI_Startall.
degomme [Thu, 19 Apr 2018 10:06:46 +0000 (12:06 +0200)]
add tracing for MPI_Start and MPI_Startall.
Persistent requests were never traced before.
Thanks r. k. Tesser for the idea.

2 years agoRemove redundant variable.
Arnaud Giersch [Thu, 19 Apr 2018 07:21:13 +0000 (09:21 +0200)]
Remove redundant variable.

Fix static initialization order fiasco when _sg_mc_record_path was initialized
before MC_record_path.

2 years agoDeprecate xbt_cfg_register_<type>().
Arnaud Giersch [Wed, 18 Apr 2018 21:58:59 +0000 (23:58 +0200)]
Deprecate xbt_cfg_register_<type>().

2 years agoConvert MC config parameters to C++ API, and move their definitions to mc_config...
Arnaud Giersch [Wed, 18 Apr 2018 16:11:53 +0000 (18:11 +0200)]
Convert MC config parameters to C++ API, and move their definitions to mc_config.cpp.

2 years agoClean up duplicated declarations for mc_config variables.
Arnaud Giersch [Wed, 18 Apr 2018 20:04:45 +0000 (22:04 +0200)]
Clean up duplicated declarations for mc_config variables.

2 years agoCreate mc_config.hpp for MC's configuration stuff.
Arnaud Giersch [Wed, 18 Apr 2018 15:30:37 +0000 (17:30 +0200)]
Create mc_config.hpp for MC's configuration stuff.

2 years agoFactorize code (and fix message).
Arnaud Giersch [Wed, 18 Apr 2018 16:42:12 +0000 (18:42 +0200)]
Factorize code (and fix message).

2 years agoCosmetics.
Arnaud Giersch [Wed, 18 Apr 2018 08:27:16 +0000 (10:27 +0200)]
Cosmetics.

2 years agoConvert more config flags (instr_config).
Arnaud Giersch [Wed, 18 Apr 2018 13:58:07 +0000 (15:58 +0200)]
Convert more config flags (instr_config).

2 years agoUse xbt_cfg_is_default_value() to check if values were set.
Arnaud Giersch [Wed, 18 Apr 2018 13:27:13 +0000 (15:27 +0200)]
Use xbt_cfg_is_default_value() to check if values were set.

2 years agoConvert some config flags to C++ API.
Arnaud Giersch [Tue, 17 Apr 2018 13:05:10 +0000 (15:05 +0200)]
Convert some config flags to C++ API.

2 years agoDeprecate xbt_cfg_register_alias().
Arnaud Giersch [Wed, 18 Apr 2018 13:07:21 +0000 (15:07 +0200)]
Deprecate xbt_cfg_register_alias().

2 years agoFix --help-aliases to match the description.
Arnaud Giersch [Tue, 17 Apr 2018 22:00:08 +0000 (00:00 +0200)]
Fix --help-aliases to match the description.

2 years agoChange usage of xbt_cfg_register_alias() for simgrid::config::alias().
Arnaud Giersch [Tue, 17 Apr 2018 13:26:36 +0000 (15:26 +0200)]
Change usage of xbt_cfg_register_alias() for simgrid::config::alias().

2 years agoFix indentation.
Arnaud Giersch [Wed, 18 Apr 2018 09:30:00 +0000 (11:30 +0200)]
Fix indentation.

2 years agoAdd missing constructor for simgrid::config::Flag.
Arnaud Giersch [Wed, 18 Apr 2018 20:32:13 +0000 (22:32 +0200)]
Add missing constructor for simgrid::config::Flag.

2 years agoSeparate real name from alias names list.
Arnaud Giersch [Tue, 17 Apr 2018 21:29:28 +0000 (23:29 +0200)]
Separate real name from alias names list.

2 years agoPass parameter "callback".
Arnaud Giersch [Tue, 17 Apr 2018 21:21:03 +0000 (23:21 +0200)]
Pass parameter "callback".

2 years agoCosmetics: move declaration.
Arnaud Giersch [Tue, 17 Apr 2018 21:17:31 +0000 (23:17 +0200)]
Cosmetics: move declaration.

2 years agoKill unused macros.
Arnaud Giersch [Tue, 17 Apr 2018 22:06:41 +0000 (00:06 +0200)]
Kill unused macros.

2 years agoUse standard function fmax() for doubles.
Arnaud Giersch [Tue, 17 Apr 2018 19:20:37 +0000 (21:20 +0200)]
Use standard function fmax() for doubles.

2 years agoproposal of coding standard. Please comment [no ci]
Martin Quinson [Wed, 18 Apr 2018 20:43:36 +0000 (22:43 +0200)]
proposal of coding standard. Please comment [no ci]

2 years agoproperly protect our definitions of MIN/MAX (w/o using undef to please sonar)
Martin Quinson [Tue, 17 Apr 2018 19:05:41 +0000 (21:05 +0200)]
properly protect our definitions of MIN/MAX (w/o using undef to please sonar)

2 years ago[SMPI] Instr: Add MIGRATE states for SMPI/LB.
Christian Heinrich [Wed, 18 Apr 2018 16:49:58 +0000 (18:49 +0200)]
[SMPI] Instr: Add MIGRATE states for SMPI/LB.

This will probably need to move elsewhere as well.

2 years ago[SMPI] Replay: Add comments to classes
Christian Heinrich [Wed, 18 Apr 2018 16:49:02 +0000 (18:49 +0200)]
[SMPI] Replay: Add comments to classes

2 years ago[SMPI] Add several functions for the LB stuff.
Christian Heinrich [Wed, 18 Apr 2018 16:48:24 +0000 (18:48 +0200)]
[SMPI] Add several functions for the LB stuff.

This will need to move elsewhere once I'm done integrating.

2 years ago[SMPI] Instr: Cleanup TRACE_smpi_init / smpi_container() usage...
Christian Heinrich [Wed, 18 Apr 2018 16:46:29 +0000 (18:46 +0200)]
[SMPI] Instr: Cleanup TRACE_smpi_init / smpi_container() usage...

2 years ago[CMAKE] Ensure that the source tree is not changed by cmake.
Christian Heinrich [Wed, 18 Apr 2018 16:05:24 +0000 (18:05 +0200)]
[CMAKE] Ensure that the source tree is not changed by cmake.

This changeset allows us to use
  cmake -DCMAKE_DISABLE_SOURCE_CHANGES=ON .

when building simgrid.

2 years ago[SMPI] Fix missing () ...
Christian Heinrich [Wed, 18 Apr 2018 14:10:00 +0000 (16:10 +0200)]
[SMPI] Fix missing () ...

2 years ago[SMPI] Instr: Remove TRACE_smpi_alloc
Christian Heinrich [Tue, 17 Apr 2018 12:19:39 +0000 (14:19 +0200)]
[SMPI] Instr: Remove TRACE_smpi_alloc

Because it was empty.

2 years agoforce -lm inclusion in smpicc
degomme [Wed, 18 Apr 2018 08:24:44 +0000 (10:24 +0200)]
force -lm inclusion in smpicc

2 years agofix model-check builds on freebsd
Martin Quinson [Tue, 17 Apr 2018 16:35:32 +0000 (18:35 +0200)]
fix model-check builds on freebsd

2 years agodo not define MIN() and MAX() in xbt/base.h to not polute our mpi.h
Martin Quinson [Tue, 17 Apr 2018 15:07:39 +0000 (17:07 +0200)]
do not define MIN() and MAX() in xbt/base.h to not polute our mpi.h