Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 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.

6 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.

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

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

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

6 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.

6 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.

6 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

6 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.

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

6 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>.

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

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

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

6 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.

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

6 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>.

6 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>.

6 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>.

6 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>.

6 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).

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

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

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

6 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.

6 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.

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

6 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.

6 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.

6 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.

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

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

6 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).

6 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.

6 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.

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

6 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.

6 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().

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

6 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.

6 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.

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

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

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

6 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.

6 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]

6 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)

6 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.

6 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

6 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.

6 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...

6 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.

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

6 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.

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

6 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

6 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

6 years agofactorize the fact that C++ compiles with -std=gnu++11 in all cases
Martin Quinson [Tue, 17 Apr 2018 14:47:37 +0000 (16:47 +0200)]
factorize the fact that C++ compiles with -std=gnu++11 in all cases

6 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 17 Apr 2018 14:29:42 +0000 (16:29 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

6 years agoFix misleading parameter declaration.
Arnaud Giersch [Tue, 17 Apr 2018 05:30:40 +0000 (07:30 +0200)]
Fix misleading parameter declaration.

6 years agoComment unused parameters.
Arnaud Giersch [Mon, 16 Apr 2018 10:04:01 +0000 (12:04 +0200)]
Comment unused parameters.

6 years agoRename variable to unhide class field with same name.
Arnaud Giersch [Mon, 16 Apr 2018 10:02:40 +0000 (12:02 +0200)]
Rename variable to unhide class field with same name.

6 years agoRename instr_interface.h and mc_ignore.h to .hpp.
Arnaud Giersch [Mon, 16 Apr 2018 09:33:50 +0000 (11:33 +0200)]
Rename instr_interface.h and mc_ignore.h to .hpp.

6 years agoRemove unneeded extern "C".
Arnaud Giersch [Mon, 16 Apr 2018 09:29:14 +0000 (11:29 +0200)]
Remove unneeded extern "C".

6 years agoRemove old and unclear todo comment.
Arnaud Giersch [Mon, 16 Apr 2018 09:19:25 +0000 (11:19 +0200)]
Remove old and unclear todo comment.

6 years ago[INSTR] Move enum instr_fmt_type_t to enum class TraceFormat
Christian Heinrich [Mon, 16 Apr 2018 11:47:51 +0000 (13:47 +0200)]
[INSTR] Move enum instr_fmt_type_t to enum class TraceFormat

6 years ago[INSTR] Remove 'extern C' from instr_private.hpp
Christian Heinrich [Mon, 16 Apr 2018 09:01:52 +0000 (11:01 +0200)]
[INSTR] Remove 'extern C' from instr_private.hpp

6 years agorefactor
Frederic Suter [Mon, 16 Apr 2018 10:18:41 +0000 (12:18 +0200)]
refactor

6 years agomodernize 2 simcalls in ConditionVariable
Martin Quinson [Mon, 16 Apr 2018 07:50:41 +0000 (09:50 +0200)]
modernize 2 simcalls in ConditionVariable

6 years agoFix potential buffer overflow.
Arnaud Giersch [Mon, 16 Apr 2018 08:29:49 +0000 (10:29 +0200)]
Fix potential buffer overflow.

6 years agoRemove superfluous indirection.
Arnaud Giersch [Mon, 16 Apr 2018 08:18:02 +0000 (10:18 +0200)]
Remove superfluous indirection.

6 years agoUse a reference instead of a pointer.
Arnaud Giersch [Sun, 15 Apr 2018 19:29:38 +0000 (21:29 +0200)]
Use a reference instead of a pointer.

Define req_storage when it's needed.

6 years agoIncrease test timeout when using tsan.
Arnaud Giersch [Sat, 14 Apr 2018 13:29:50 +0000 (15:29 +0200)]
Increase test timeout when using tsan.

6 years agoTODO-- ;)
Arnaud Giersch [Fri, 13 Apr 2018 20:59:53 +0000 (22:59 +0200)]
TODO-- ;)

6 years agoReindent.
Arnaud Giersch [Fri, 13 Apr 2018 20:55:30 +0000 (22:55 +0200)]
Reindent.

6 years agoPlease sonar: promote struct to class.
Arnaud Giersch [Fri, 13 Apr 2018 20:55:30 +0000 (22:55 +0200)]
Please sonar: promote struct to class.

6 years agoUnused.
Arnaud Giersch [Fri, 13 Apr 2018 20:55:30 +0000 (22:55 +0200)]
Unused.

6 years agoAdd explicit qualifier.
Arnaud Giersch [Fri, 13 Apr 2018 20:55:30 +0000 (22:55 +0200)]
Add explicit qualifier.

6 years agoMake member variable private (sonar).
Arnaud Giersch [Fri, 13 Apr 2018 20:55:30 +0000 (22:55 +0200)]
Make member variable private (sonar).

6 years agoUseless extern "C".
Arnaud Giersch [Fri, 13 Apr 2018 20:55:30 +0000 (22:55 +0200)]
Useless extern "C".

6 years agoChange "extern" for "XBT_PUBLIC_DATA".
Arnaud Giersch [Fri, 13 Apr 2018 20:55:30 +0000 (22:55 +0200)]
Change "extern" for "XBT_PUBLIC_DATA".

6 years agouse timestamps with precision in container creation/destruction too
Frederic Suter [Mon, 16 Apr 2018 08:09:12 +0000 (10:09 +0200)]
use timestamps with precision in container creation/destruction too

6 years agoplease sonar and simplify
Frederic Suter [Mon, 16 Apr 2018 07:26:23 +0000 (09:26 +0200)]
please sonar and simplify

6 years agoassume that timestamps are always double
Frederic Suter [Mon, 16 Apr 2018 07:25:11 +0000 (09:25 +0200)]
assume that timestamps are always double
0 is not an exception and will be trace with the same precision

6 years agopainful typo(s)
Martin Quinson [Sun, 15 Apr 2018 22:23:11 +0000 (00:23 +0200)]
painful typo(s)

6 years agostart modernizing ConditionVariableImpl
Martin Quinson [Sun, 15 Apr 2018 21:01:40 +0000 (23:01 +0200)]
start modernizing ConditionVariableImpl

6 years agoSeparate ConditionVariableImpl into its own files
Martin Quinson [Sun, 15 Apr 2018 19:56:19 +0000 (21:56 +0200)]
Separate ConditionVariableImpl into its own files

First step toward modernity in this area.
That's a detour while snake_casing s4u::ConditionVariable :(

6 years agoinline s4u/forward.hpp to its only include location
Martin Quinson [Sat, 14 Apr 2018 20:10:53 +0000 (22:10 +0200)]
inline s4u/forward.hpp to its only include location

6 years agomake sure that simgrid/s4u/forward.hpp is loaded from only one file
Martin Quinson [Fri, 13 Apr 2018 21:14:41 +0000 (23:14 +0200)]
make sure that simgrid/s4u/forward.hpp is loaded from only one file

6 years agojenkins: also install MC builds, somewhere else
Martin Quinson [Fri, 13 Apr 2018 19:58:41 +0000 (21:58 +0200)]
jenkins: also install MC builds, somewhere else

6 years agoalign the doc with the code
Martin Quinson [Fri, 13 Apr 2018 09:36:05 +0000 (11:36 +0200)]
align the doc with the code

6 years ago[SMPI] Replay: Clear all requests after waitall
Christian Heinrich [Fri, 13 Apr 2018 14:41:11 +0000 (16:41 +0200)]
[SMPI] Replay: Clear all requests after waitall

6 years agothat was fixed locally, shouldn't have been able to push...
degomme [Fri, 13 Apr 2018 12:06:31 +0000 (14:06 +0200)]
that was fixed locally, shouldn't have been able to push...

6 years agohandle MPI_IN_PLACE for MPI_Scan
degomme [Fri, 13 Apr 2018 11:52:49 +0000 (13:52 +0200)]
handle MPI_IN_PLACE for MPI_Scan

6 years agoDisable mpich3 testsuite for mc builds. Save some bears.
degomme [Fri, 13 Apr 2018 11:45:14 +0000 (13:45 +0200)]
Disable mpich3 testsuite for mc builds. Save some bears.

6 years agosomehow one allgather algorithn was forgotten in tests
degomme [Fri, 13 Apr 2018 09:22:55 +0000 (11:22 +0200)]
somehow one allgather algorithn was forgotten in tests

6 years agoMake protected field const (sonar).
Arnaud Giersch [Thu, 12 Apr 2018 21:03:47 +0000 (23:03 +0200)]
Make protected field const (sonar).

6 years agoKill unused DynarRange; move newDeleteDynar() in dynar.h.
Arnaud Giersch [Thu, 12 Apr 2018 20:00:22 +0000 (22:00 +0200)]
Kill unused DynarRange; move newDeleteDynar() in dynar.h.

6 years agoKill unused exception class.
Arnaud Giersch [Thu, 12 Apr 2018 16:26:31 +0000 (18:26 +0200)]
Kill unused exception class.

6 years agoC exceptions are gone. Simplify the code.
Arnaud Giersch [Thu, 12 Apr 2018 14:59:26 +0000 (16:59 +0200)]
C exceptions are gone. Simplify the code.