Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoChange way Resources are created: Empty ctor and setters
Frederic Suter [Thu, 25 Feb 2021 08:25:11 +0000 (09:25 +0100)]
Change way Resources are created: Empty ctor and setters

3 years agoAS->Zone
Frederic Suter [Wed, 24 Feb 2021 17:13:41 +0000 (18:13 +0100)]
AS->Zone

3 years agoa bit more method chaining in the internals
Frederic Suter [Wed, 24 Feb 2021 16:47:32 +0000 (17:47 +0100)]
a bit more method chaining in the internals

3 years agoReduce scope for variable.
Arnaud Giersch [Wed, 24 Feb 2021 10:49:59 +0000 (11:49 +0100)]
Reduce scope for variable.

3 years ago[sonar] Variable 'j' is not part of the loop control.
Arnaud Giersch [Wed, 24 Feb 2021 07:23:44 +0000 (08:23 +0100)]
[sonar] Variable 'j' is not part of the loop control.

3 years ago[sonar] Merge 'if' statements.
Arnaud Giersch [Wed, 24 Feb 2021 07:13:21 +0000 (08:13 +0100)]
[sonar] Merge 'if' statements.

3 years agoOn failure, try again with longer sleep duration.
Arnaud Giersch [Tue, 23 Feb 2021 22:45:00 +0000 (23:45 +0100)]
On failure, try again with longer sleep duration.

3 years agoUse access modifier to disallow direct deletion. Remove superfluous boolean.
Arnaud Giersch [Tue, 23 Feb 2021 18:50:23 +0000 (19:50 +0100)]
Use access modifier to disallow direct deletion. Remove superfluous boolean.

3 years agoDefine getter/setter for Exception::value.
Arnaud Giersch [Tue, 23 Feb 2021 13:43:18 +0000 (14:43 +0100)]
Define getter/setter for Exception::value.

3 years agoDrop unused 'value' argument from THROW/THROWF.
Arnaud Giersch [Tue, 23 Feb 2021 13:39:11 +0000 (14:39 +0100)]
Drop unused 'value' argument from THROW/THROWF.

3 years ago[smpi] Make Group::range{incl,excl} simpler.
Arnaud Giersch [Tue, 23 Feb 2021 11:35:56 +0000 (12:35 +0100)]
[smpi] Make Group::range{incl,excl} simpler.

3 years ago[smpi] Use a std::unique_ptr for f2c_lookup_.
Arnaud Giersch [Sat, 20 Feb 2021 11:01:56 +0000 (12:01 +0100)]
[smpi] Use a std::unique_ptr for f2c_lookup_.

3 years ago[smpi] Prefer range-based for loop.
Arnaud Giersch [Sat, 20 Feb 2021 10:27:14 +0000 (11:27 +0100)]
[smpi] Prefer range-based for loop.

3 years ago[smpi] Unused #define.
Arnaud Giersch [Sat, 20 Feb 2021 10:02:23 +0000 (11:02 +0100)]
[smpi] Unused #define.

3 years agoDefine members and constructors in subclasses, where they belong.
Arnaud Giersch [Mon, 22 Feb 2021 15:38:06 +0000 (16:38 +0100)]
Define members and constructors in subclasses, where they belong.

3 years agoUpdate .gitignore.
Arnaud Giersch [Mon, 22 Feb 2021 13:53:22 +0000 (14:53 +0100)]
Update .gitignore.

3 years agoremove last basic simdag test. redundant with one of the ptask_L07 tests
Frederic Suter [Mon, 22 Feb 2021 08:45:51 +0000 (09:45 +0100)]
remove last basic simdag test. redundant with one of the ptask_L07 tests

3 years agoremove tests that are redundant with examples/cpp/*-dependent
Frederic Suter [Mon, 22 Feb 2021 08:19:53 +0000 (09:19 +0100)]
remove tests that are redundant with examples/cpp/*-dependent

3 years agoRename teshsuite/models/{ptask_L07/* => ptask_L07_usage/*}.
Arnaud Giersch [Mon, 22 Feb 2021 12:56:20 +0000 (13:56 +0100)]
Rename teshsuite/models/{ptask_L07/* => ptask_L07_usage/*}.

Rationale: avoid confusion with src/surf/ptask_L07.cpp in coverage measures.

3 years agoDelete binary file.
Arnaud Giersch [Mon, 22 Feb 2021 12:48:57 +0000 (13:48 +0100)]
Delete binary file.

3 years agoRename include/xbt/{future.hpp => promise.hpp}.
Arnaud Giersch [Mon, 22 Feb 2021 10:33:39 +0000 (11:33 +0100)]
Rename include/xbt/{future.hpp => promise.hpp}.

Rationale: avoid confusion with include/simgrid/kernel/future.hpp in coverage measures.

3 years agoRename: include/simgrid/smpi/{replay.hpp => smpi_replay.hpp}.
Arnaud Giersch [Mon, 22 Feb 2021 10:16:30 +0000 (11:16 +0100)]
Rename: include/simgrid/smpi/{replay.hpp => smpi_replay.hpp}.

Rationale: avoid confusion with include/xbt/replay.hpp in coverage measures.

3 years agoCosmetics: fix filename in comment.
Arnaud Giersch [Mon, 22 Feb 2021 10:14:31 +0000 (11:14 +0100)]
Cosmetics: fix filename in comment.

3 years agoReturn 0 on failure.
Arnaud Giersch [Mon, 22 Feb 2021 09:04:45 +0000 (10:04 +0100)]
Return 0 on failure.

3 years agoConvert another test
Frederic Suter [Sat, 20 Feb 2021 18:02:53 +0000 (19:02 +0100)]
Convert another test

3 years agoDrop simgrid::xbt::demangle and use boost::core::demangle instead.
Arnaud Giersch [Sat, 20 Feb 2021 10:41:41 +0000 (11:41 +0100)]
Drop simgrid::xbt::demangle and use boost::core::demangle instead.

3 years agoDefault constructor is used by default.
Arnaud Giersch [Fri, 19 Feb 2021 22:59:51 +0000 (23:59 +0100)]
Default constructor is used by default.

3 years agotypo
Martin Quinson [Sat, 20 Feb 2021 09:24:51 +0000 (10:24 +0100)]
typo

3 years agoDefine and use Exception::rethrow_nested to rethrow a nested exception of the same...
Arnaud Giersch [Fri, 19 Feb 2021 13:10:14 +0000 (14:10 +0100)]
Define and use Exception::rethrow_nested to rethrow a nested exception of the same type.

3 years agoFactorize declarations for exceptions.
Arnaud Giersch [Fri, 19 Feb 2021 21:28:45 +0000 (22:28 +0100)]
Factorize declarations for exceptions.

3 years agoFunctions are not overridden anymore.
Arnaud Giersch [Fri, 19 Feb 2021 14:02:39 +0000 (15:02 +0100)]
Functions are not overridden anymore.

This was changed in commit cbc68013e8f1008e88a8cefb1e60b7813cf8a409
(Change a bit F2C handling).

3 years agoTypo.
Arnaud Giersch [Fri, 19 Feb 2021 13:51:24 +0000 (14:51 +0100)]
Typo.

3 years agoEnforce usage of std::shared_ptr for TIData.
Arnaud Giersch [Fri, 19 Feb 2021 11:51:58 +0000 (12:51 +0100)]
Enforce usage of std::shared_ptr for TIData.

This should finalize commit 4830e201d53af82a0d2722defd50a17363073785
([INSTR] Move vector* to shared_ptr<vector>.)

3 years agoconvert one more test of ptask_L07 model
Frederic Suter [Fri, 19 Feb 2021 19:59:32 +0000 (20:59 +0100)]
convert one more test of ptask_L07 model

3 years agodocument a recently added option
Martin Quinson [Fri, 19 Feb 2021 18:46:49 +0000 (19:46 +0100)]
document a recently added option

3 years agoFix a bunch of errors in the documentation
Martin Quinson [Thu, 18 Feb 2021 18:24:15 +0000 (19:24 +0100)]
Fix a bunch of errors in the documentation

3 years agoStrings are overkill for parmap_test.
Arnaud Giersch [Fri, 19 Feb 2021 10:52:52 +0000 (11:52 +0100)]
Strings are overkill for parmap_test.

3 years agoValgrind suppressions for test-help-version and test-help-logs.
Arnaud Giersch [Fri, 19 Feb 2021 08:48:47 +0000 (09:48 +0100)]
Valgrind suppressions for test-help-version and test-help-logs.

3 years agoUseless complication.
Arnaud Giersch [Fri, 19 Feb 2021 08:31:07 +0000 (09:31 +0100)]
Useless complication.

3 years agoRedundant cast.
Arnaud Giersch [Thu, 18 Feb 2021 22:32:30 +0000 (23:32 +0100)]
Redundant cast.

3 years agoTypedef.
Arnaud Giersch [Thu, 18 Feb 2021 22:02:38 +0000 (23:02 +0100)]
Typedef.

3 years agoConst reference.
Arnaud Giersch [Thu, 18 Feb 2021 22:02:25 +0000 (23:02 +0100)]
Const reference.

3 years agoUse already defined namespace alias 'sg4'.
Arnaud Giersch [Thu, 18 Feb 2021 20:53:58 +0000 (21:53 +0100)]
Use already defined namespace alias 'sg4'.

3 years agoUse :: to call get_clock() which is a static member of s4u::Engine.
Arnaud Giersch [Thu, 18 Feb 2021 20:52:00 +0000 (21:52 +0100)]
Use :: to call get_clock() which is a static member of s4u::Engine.

3 years agoConst, as usual ;)
Arnaud Giersch [Thu, 18 Feb 2021 20:50:12 +0000 (21:50 +0100)]
Const, as usual ;)

3 years agoWhitespaces!
Arnaud Giersch [Thu, 18 Feb 2021 20:48:34 +0000 (21:48 +0100)]
Whitespaces!

3 years agooops
Augustin Degomme [Fri, 19 Feb 2021 09:06:51 +0000 (10:06 +0100)]
oops

3 years agoactivate leak-check output on mpich3-test.
Augustin Degomme [Fri, 19 Feb 2021 08:46:53 +0000 (09:46 +0100)]
activate leak-check output on mpich3-test.
Disable specifically on scancel test, because refcounts are incoherent in this case.

3 years agofix some issues with groups
Augustin Degomme [Fri, 19 Feb 2021 07:54:39 +0000 (08:54 +0100)]
fix some issues with groups

3 years agothat didn't work as intended
Augustin Degomme [Fri, 19 Feb 2021 07:53:24 +0000 (08:53 +0100)]
that didn't work as intended

3 years agofortran: avoid adding twice to lut, now that it's done in C as well
Augustin Degomme [Fri, 19 Feb 2021 07:52:34 +0000 (08:52 +0100)]
fortran: avoid adding twice to lut, now that it's done in C as well

3 years agoturn unimportant warnings into info in colls and improve messages
Augustin Degomme [Fri, 19 Feb 2021 06:52:01 +0000 (07:52 +0100)]
turn unimportant warnings into info in colls and improve messages

3 years agoSMPI : add leak detection.
Augustin Degomme [Fri, 19 Feb 2021 01:08:35 +0000 (02:08 +0100)]
SMPI : add leak detection.
Use f2c mechanism used to convert handles to integers for fortran.
Warn when leaks are found at the end of the simulation.
Add option --cfg=smpi/list-leaks:n to display first n leaks to the user (we can only display pointer and type).

3 years agomore explicit messages when failing in RMA comms
Augustin Degomme [Thu, 18 Feb 2021 15:29:10 +0000 (16:29 +0100)]
more explicit messages when failing in RMA comms

3 years agofix and convert another ptask_L07 test
Frederic Suter [Thu, 18 Feb 2021 12:48:41 +0000 (13:48 +0100)]
fix and convert another ptask_L07 test

3 years agofix distcheck
Frederic Suter [Thu, 18 Feb 2021 11:43:09 +0000 (12:43 +0100)]
fix distcheck

3 years agoremove now useless platform files (replaced by ptask_L07.xml
Frederic Suter [Thu, 18 Feb 2021 08:41:03 +0000 (09:41 +0100)]
remove now useless platform files (replaced by ptask_L07.xml

3 years agoconvert one more simdag test
Frederic Suter [Thu, 18 Feb 2021 08:31:34 +0000 (09:31 +0100)]
convert one more simdag test

3 years agoompi flavour may use ... default in some cases, triggering a stack overflow.
Augustin Degomme [Thu, 18 Feb 2021 10:11:51 +0000 (11:11 +0100)]
ompi flavour may use ... default in some cases, triggering a stack overflow.
so let's use mpich instead

3 years agofix leak
Augustin Degomme [Thu, 18 Feb 2021 09:27:27 +0000 (10:27 +0100)]
fix leak

3 years agoFix build error with non-const MINSIGSTKSZ.
Arnaud Giersch [Thu, 18 Feb 2021 09:05:14 +0000 (10:05 +0100)]
Fix build error with non-const MINSIGSTKSZ.

See https://github.com/catchorg/Catch2/issues/2178.

3 years agoCope with non-const SIGSTKSZ.
Arnaud Giersch [Thu, 18 Feb 2021 09:00:09 +0000 (10:00 +0100)]
Cope with non-const SIGSTKSZ.

See https://sourceware.org/git/?p=glibc.git;a=commit;h=6c57d320484988e87e446e2e60ce42816bf51d53.

3 years agoconvert more simdag tests
Frederic Suter [Thu, 18 Feb 2021 08:03:33 +0000 (09:03 +0100)]
convert more simdag tests

3 years agofix dist
Augustin Degomme [Thu, 18 Feb 2021 07:56:24 +0000 (08:56 +0100)]
fix dist

3 years agodon't mark as truncated probe requests (and get rid of unused flag)
Augustin Degomme [Thu, 18 Feb 2021 07:39:55 +0000 (08:39 +0100)]
don't mark as truncated probe requests (and get rid of unused flag)

3 years agoGet the doc of superclasses in subclasses
Martin Quinson [Thu, 18 Feb 2021 07:20:14 +0000 (08:20 +0100)]
Get the doc of superclasses in subclasses

3 years agoFix the RST inclusions in doxygen comments
Martin Quinson [Wed, 17 Feb 2021 23:05:57 +0000 (00:05 +0100)]
Fix the RST inclusions in doxygen comments

3 years agoStop using autodoxy: Breathe works like a charm for us
Martin Quinson [Wed, 17 Feb 2021 22:01:05 +0000 (23:01 +0100)]
Stop using autodoxy: Breathe works like a charm for us

I'm not sure why I failed to use it when I started the new doc, 2
years ago, but I feel really releaved to not have to further develop
autodoxy myself.

3 years agoRemove the doc of killed functions
Martin Quinson [Wed, 17 Feb 2021 21:02:27 +0000 (22:02 +0100)]
Remove the doc of killed functions

3 years agoGrammarly Introduction and start your own
Martin Quinson [Wed, 17 Feb 2021 18:27:30 +0000 (19:27 +0100)]
Grammarly Introduction and start your own

3 years agogrammarly the SMPI tutorial
Martin Quinson [Wed, 17 Feb 2021 18:02:04 +0000 (19:02 +0100)]
grammarly the SMPI tutorial

3 years agogramarly the s4u reference doc
Martin Quinson [Tue, 16 Feb 2021 22:16:41 +0000 (23:16 +0100)]
gramarly the s4u reference doc

3 years agogrammarly the beginning of the doc
Martin Quinson [Sun, 14 Feb 2021 16:24:45 +0000 (17:24 +0100)]
grammarly the beginning of the doc

3 years agodebug message for truncation
Augustin Degomme [Thu, 18 Feb 2021 00:12:55 +0000 (01:12 +0100)]
debug message for truncation

3 years agothe naive legacy (default) reduce_scatter did not work really well with different...
Augustin Degomme [Thu, 18 Feb 2021 00:11:32 +0000 (01:11 +0100)]
the naive legacy (default) reduce_scatter did not work really well with different sizes for each process.

3 years agoDie when attempting to free predefined operators.
Augustin Degomme [Thu, 18 Feb 2021 00:10:37 +0000 (01:10 +0100)]
Die when attempting to free predefined operators.
We used to just ignore that

3 years agoimprove error messages
Augustin Degomme [Wed, 17 Feb 2021 23:19:32 +0000 (00:19 +0100)]
improve error messages

3 years agoCrash and burn when a message is truncated.
Augustin Degomme [Wed, 17 Feb 2021 22:56:12 +0000 (23:56 +0100)]
Crash and burn  when a message is truncated.
Well, send an error or a warning depending on the used errhandler..
We used to say it was mostly fine, but no.

3 years agouncommit destroyed datatype to avoid later uses (if someone kept a reference secretly...
Augustin Degomme [Wed, 17 Feb 2021 22:53:36 +0000 (23:53 +0100)]
uncommit destroyed datatype to avoid later uses (if someone kept a reference secretly, as in coll-bcast-type-undefined test from microbenchs).

3 years agoMPI_Comm_split cannot have a negative color (except MPI_UNDEFINED)
Augustin Degomme [Wed, 17 Feb 2021 22:49:10 +0000 (23:49 +0100)]
MPI_Comm_split cannot have a negative color (except MPI_UNDEFINED)

3 years agoAdd checks on collectives to prevent incoherent inputs.
Augustin Degomme [Wed, 17 Feb 2021 22:48:31 +0000 (23:48 +0100)]
Add checks on collectives to prevent incoherent inputs.
(sendsize != recvsize, when applicable)

3 years agoadd and use Link::is_shared()
Frederic Suter [Wed, 17 Feb 2021 18:45:53 +0000 (19:45 +0100)]
add and use Link::is_shared()

3 years agoget flatifier rid of SimDag
Frederic Suter [Wed, 17 Feb 2021 18:25:29 +0000 (19:25 +0100)]
get flatifier rid of SimDag

3 years agofix broken tests
Frederic Suter [Wed, 17 Feb 2021 18:04:59 +0000 (19:04 +0100)]
fix broken tests

3 years agomodernize basic-parsing-test w/o SimDag
Frederic Suter [Wed, 17 Feb 2021 13:51:16 +0000 (14:51 +0100)]
modernize basic-parsing-test w/o SimDag

3 years agoPrefer free functions over member functions (sonar).
Arnaud Giersch [Wed, 17 Feb 2021 13:48:19 +0000 (14:48 +0100)]
Prefer free functions over member functions (sonar).

3 years agoRemove excess semicolon.
Arnaud Giersch [Wed, 17 Feb 2021 13:42:44 +0000 (14:42 +0100)]
Remove excess semicolon.

3 years agoUseless braces.
Arnaud Giersch [Wed, 17 Feb 2021 11:05:16 +0000 (12:05 +0100)]
Useless braces.

3 years agoMore whitespaces for codefactor.io.
Arnaud Giersch [Wed, 17 Feb 2021 10:36:31 +0000 (11:36 +0100)]
More whitespaces for codefactor.io.

3 years agoUpdate comments.
Arnaud Giersch [Mon, 15 Feb 2021 22:00:45 +0000 (23:00 +0100)]
Update comments.

3 years agoFix build error.
Arnaud Giersch [Mon, 25 Jan 2021 12:29:46 +0000 (13:29 +0100)]
Fix build error.

error: exception specification of explicitly defaulted move constructor does not match the calculated one.

3 years agodon't test removed tests
Frederic Suter [Tue, 16 Feb 2021 20:59:12 +0000 (21:59 +0100)]
don't test removed tests

3 years agoStart to replace old simdag tests of the ptask_L07 model
Frederic Suter [Tue, 16 Feb 2021 19:55:30 +0000 (20:55 +0100)]
Start to replace old simdag tests of the ptask_L07 model

3 years agothis one should be vetoable too
Frederic Suter [Tue, 9 Feb 2021 17:22:31 +0000 (18:22 +0100)]
this one should be vetoable too

3 years agoAlso fix MSG tasks by giving them -1 as default timeout
Martin Quinson [Sat, 13 Feb 2021 22:38:01 +0000 (23:38 +0100)]
Also fix MSG tasks by giving them -1 as default timeout

3 years agoWhen an exception occures in kernel mode, display both kernel and actor stacks
Martin Quinson [Sat, 13 Feb 2021 21:13:37 +0000 (22:13 +0100)]
When an exception occures in kernel mode, display both kernel and actor stacks

- Also some cosmetics about the displayed backtraces: don't show the
  frames that are within our backtrace handling mechanism or below main.

3 years agoFix parallel execs after my change of yesterday
Martin Quinson [Sat, 13 Feb 2021 21:11:40 +0000 (22:11 +0100)]
Fix parallel execs after my change of yesterday

The default timeout of parallel exec was 0. It was not an issue before
my fix of yesterday, which aimed at obeying timeout=0 when given.

The fix is simply to use a negative value meaning "infinite" as a
default value.

3 years agoImprove the behavior of wait_for(0), and activate some tests
Martin Quinson [Sat, 13 Feb 2021 08:14:59 +0000 (09:14 +0100)]
Improve the behavior of wait_for(0), and activate some tests

This only fixes some of the tests, some remain broken.
There must be other bugs around.

3 years agoSome more documentation
Martin Quinson [Fri, 12 Feb 2021 20:39:19 +0000 (21:39 +0100)]
Some more documentation

3 years agoIntroduce the sg4 namespace alias in all comm examples
Martin Quinson [Thu, 11 Feb 2021 19:05:11 +0000 (20:05 +0100)]
Introduce the sg4 namespace alias in all comm examples