Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoNew doc section: API of logs
Martin Quinson [Sat, 23 Jan 2021 23:35:42 +0000 (00:35 +0100)]
New doc section: API of logs

3 years agoAdd recent language dialects to MC_dwarf_default_lower_bound.
Arnaud Giersch [Sat, 23 Jan 2021 16:31:45 +0000 (17:31 +0100)]
Add recent language dialects to MC_dwarf_default_lower_bound.

3 years agoFix pip builds
Martin Quinson [Sat, 23 Jan 2021 13:59:28 +0000 (14:59 +0100)]
Fix pip builds

3 years agoDocument the command-line interface to the textual loggings
Martin Quinson [Sat, 23 Jan 2021 13:36:46 +0000 (14:36 +0100)]
Document the command-line interface to the textual loggings

3 years agocosmetics: define and use the sg4 namespace as a shortcut to simgrid::s4u
Martin Quinson [Fri, 22 Jan 2021 09:34:15 +0000 (10:34 +0100)]
cosmetics: define and use the sg4 namespace as a shortcut to simgrid::s4u

3 years agoFix a bunch of issues with the documentation
Martin Quinson [Wed, 20 Jan 2021 19:49:09 +0000 (20:49 +0100)]
Fix a bunch of issues with the documentation

Broken links, undocumented symbols, examples that were moved around,
undocumented examples...

3 years agoRename an example: I'm always looking for a simple comm example, so here it is
Martin Quinson [Wed, 20 Jan 2021 17:24:49 +0000 (18:24 +0100)]
Rename an example: I'm always looking for a simple comm example, so here it is

3 years agoCamel_case a forgotten function
Martin Quinson [Wed, 20 Jan 2021 17:16:15 +0000 (18:16 +0100)]
Camel_case a forgotten function

3 years agoEvtSetTools::makeUnion() implemented
eazimi [Wed, 20 Jan 2021 18:06:18 +0000 (19:06 +0100)]
EvtSetTools::makeUnion() implemented

3 years agoEvtSetTools::pushBack() implemented
eazimi [Wed, 20 Jan 2021 18:05:57 +0000 (19:05 +0100)]
EvtSetTools::pushBack() implemented

3 years agoEvtSetTools::contains() implemented
eazimi [Wed, 20 Jan 2021 18:05:40 +0000 (19:05 +0100)]
EvtSetTools::contains() implemented

3 years agooperator== mimicked
eazimi [Wed, 20 Jan 2021 18:03:56 +0000 (19:03 +0100)]
operator== mimicked

3 years agoMerge with fragmagit/master
eazimi [Wed, 20 Jan 2021 17:40:42 +0000 (18:40 +0100)]
Merge with fragmagit/master

3 years agoMake it possible to detach direct communications
Martin Quinson [Wed, 20 Jan 2021 17:12:04 +0000 (18:12 +0100)]
Make it possible to detach direct communications

3 years agogitignore update
eazimi [Wed, 20 Jan 2021 17:11:09 +0000 (18:11 +0100)]
gitignore update

3 years agodoing a rename
eazimi [Wed, 20 Jan 2021 16:53:34 +0000 (17:53 +0100)]
doing a rename

3 years agoNew functions: Comm::sendto_{init,async}
Martin Quinson [Wed, 20 Jan 2021 16:47:32 +0000 (17:47 +0100)]
New functions: Comm::sendto_{init,async}

Along with a new example.

3 years agoRemove a redundent line (was already given 6 lines above)
Martin Quinson [Tue, 19 Jan 2021 14:31:03 +0000 (15:31 +0100)]
Remove a redundent line (was already given 6 lines above)

3 years agokill an ugly function that would break code separation if used
Martin Quinson [Fri, 15 Jan 2021 23:00:27 +0000 (00:00 +0100)]
kill an ugly function that would break code separation if used

3 years agoMerge branch 'master' of github.com:eazimi/simgrid
eazimi [Wed, 20 Jan 2021 16:42:53 +0000 (17:42 +0100)]
Merge branch 'master' of github.com:eazimi/simgrid

3 years agosimcall_get_issuer_id() defined + indentation
eazimi [Fri, 15 Jan 2021 08:39:59 +0000 (09:39 +0100)]
simcall_get_issuer_id() defined + indentation

3 years agoudpor_global.cpp defined
eazimi [Wed, 13 Jan 2021 09:44:15 +0000 (10:44 +0100)]
udpor_global.cpp defined

3 years agoFix dead stores.
Arnaud Giersch [Tue, 19 Jan 2021 08:18:48 +0000 (09:18 +0100)]
Fix dead stores.

3 years agoOne more static initialization order fiasco.
Arnaud Giersch [Tue, 19 Jan 2021 08:14:48 +0000 (09:14 +0100)]
One more static initialization order fiasco.

3 years agoFix another static initialization order fiasco for fbinfer.
Arnaud Giersch [Sun, 17 Jan 2021 21:50:34 +0000 (22:50 +0100)]
Fix another static initialization order fiasco for fbinfer.

3 years agoFix static initialization order fiasco reported by fbinfer.
Arnaud Giersch [Sat, 16 Jan 2021 17:36:10 +0000 (18:36 +0100)]
Fix static initialization order fiasco reported by fbinfer.

3 years agoFix a few dead stores spotted by fbinfer.
Arnaud Giersch [Sat, 16 Jan 2021 17:34:44 +0000 (18:34 +0100)]
Fix a few dead stores spotted by fbinfer.

3 years agoMerge branch 'master' into 'master'
Augustin Degomme [Sun, 17 Jan 2021 16:07:31 +0000 (17:07 +0100)]
Merge branch 'master' into 'master'

Fix a few potential memory leaks in SMPI colls

See merge request simgrid/simgrid!46

3 years agoFix a few potential memory leaks in SMPI colls
Jean-Michel Gorius [Sun, 17 Jan 2021 15:04:29 +0000 (16:04 +0100)]
Fix a few potential memory leaks in SMPI colls

3 years agoudpor_global.cpp defined
eazimi [Wed, 13 Jan 2021 09:44:15 +0000 (10:44 +0100)]
udpor_global.cpp defined

3 years agoRemove obsolete entries in .gitignore.
Arnaud Giersch [Thu, 14 Jan 2021 14:22:02 +0000 (15:22 +0100)]
Remove obsolete entries in .gitignore.

3 years agoReduce code complexity.
Arnaud Giersch [Thu, 14 Jan 2021 11:15:42 +0000 (12:15 +0100)]
Reduce code complexity.

3 years agoUse std::min.
Arnaud Giersch [Thu, 14 Jan 2021 10:47:13 +0000 (11:47 +0100)]
Use std::min.

3 years agoCosmetic spacing.
Arnaud Giersch [Thu, 14 Jan 2021 10:30:15 +0000 (11:30 +0100)]
Cosmetic spacing.

3 years ago[sonar] Replace the use of "::type" with the "_t" version of type traits.
Arnaud Giersch [Wed, 13 Jan 2021 09:10:15 +0000 (10:10 +0100)]
[sonar] Replace the use of "::type" with the "_t" version of type traits.

3 years agoCopy/paste error in the doc
Martin Quinson [Wed, 13 Jan 2021 09:59:07 +0000 (10:59 +0100)]
Copy/paste error in the doc

3 years agomerge with framagit/master
eazimi [Tue, 12 Jan 2021 16:53:35 +0000 (17:53 +0100)]
merge with framagit/master

3 years agoudpor_global.hpp deifined
eazimi [Tue, 12 Jan 2021 10:36:57 +0000 (11:36 +0100)]
udpor_global.hpp deifined

3 years agoMerge with framagit/master
eazimi [Tue, 12 Jan 2021 11:21:41 +0000 (12:21 +0100)]
Merge with framagit/master

3 years agoEvtSetTools class deifined
eazimi [Tue, 12 Jan 2021 11:21:24 +0000 (12:21 +0100)]
EvtSetTools class deifined

3 years agoUseless assignment.
Arnaud Giersch [Tue, 12 Jan 2021 10:50:12 +0000 (11:50 +0100)]
Useless assignment.

3 years agoUse const reference for std::string parameter.
Arnaud Giersch [Tue, 12 Jan 2021 10:32:26 +0000 (11:32 +0100)]
Use const reference for std::string parameter.

3 years agoReduce scope for variables.
Arnaud Giersch [Tue, 12 Jan 2021 10:29:30 +0000 (11:29 +0100)]
Reduce scope for variables.

3 years agoMore copyright lines updated to 2021.
Arnaud Giersch [Tue, 12 Jan 2021 09:26:37 +0000 (10:26 +0100)]
More copyright lines updated to 2021.

3 years agoKill redundand blank lines.
Arnaud Giersch [Tue, 12 Jan 2021 09:17:53 +0000 (10:17 +0100)]
Kill redundand blank lines.

3 years agoMore informative error message when running code compiled with mpicc
Martin Quinson [Tue, 12 Jan 2021 10:53:13 +0000 (11:53 +0100)]
More informative error message when running code compiled with mpicc

3 years agoUnfoldingEvent class deifined
eazimi [Tue, 12 Jan 2021 10:46:54 +0000 (11:46 +0100)]
UnfoldingEvent class deifined

3 years agoConfiguration class defined
eazimi [Tue, 12 Jan 2021 10:44:52 +0000 (11:44 +0100)]
Configuration class defined

3 years agoudpor_global.hpp deifined
eazimi [Tue, 12 Jan 2021 10:36:57 +0000 (11:36 +0100)]
udpor_global.hpp deifined

3 years agoReduce scope for variable (and shadow it by later declarations).
Arnaud Giersch [Tue, 12 Jan 2021 09:10:20 +0000 (10:10 +0100)]
Reduce scope for variable (and shadow it by later declarations).

3 years agoSearching before insertion is not necessary with std::set.
Arnaud Giersch [Tue, 12 Jan 2021 08:58:11 +0000 (09:58 +0100)]
Searching before insertion is not necessary with std::set.

3 years agoUpdate copyright lines.
Arnaud Giersch [Tue, 12 Jan 2021 08:52:32 +0000 (09:52 +0100)]
Update copyright lines.

3 years agoFix distcheck.
Arnaud Giersch [Tue, 12 Jan 2021 08:38:33 +0000 (09:38 +0100)]
Fix distcheck.

3 years agoMerge with framagit/master
Ehsan Azimi [Mon, 11 Jan 2021 07:51:35 +0000 (08:51 +0100)]
Merge with framagit/master

3 years agosame thing elsewhere
Augustin Degomme [Sun, 10 Jan 2021 18:41:53 +0000 (19:41 +0100)]
same thing elsewhere

3 years agoSometimes Fortran and CXX compilers are not the same families, so test only the one...
Augustin Degomme [Sun, 10 Jan 2021 17:27:32 +0000 (18:27 +0100)]
Sometimes Fortran and CXX compilers are not the same families, so test only the one we actually want to test ...

3 years agoI slowly get bored of reading SMPI use cases that are limited to the NAS, so point...
Martin Quinson [Sun, 10 Jan 2021 15:41:13 +0000 (16:41 +0100)]
I slowly get bored of reading SMPI use cases that are limited to the NAS, so point to the proxy apps

3 years agoNew: s4u::Comm::get_dst_data()
Martin Quinson [Sun, 10 Jan 2021 15:05:45 +0000 (16:05 +0100)]
New: s4u::Comm::get_dst_data()

3 years agoRemove the actor of the on_{start/completion} parameters as it is always initialized...
Martin Quinson [Sun, 10 Jan 2021 12:59:38 +0000 (13:59 +0100)]
Remove the actor of the on_{start/completion} parameters as it is always initialized to Actor::self()

3 years agoUnify on_start/on_completion signals of Activities
Martin Quinson [Sun, 10 Jan 2021 12:20:01 +0000 (13:20 +0100)]
Unify on_start/on_completion signals of Activities

3 years agocreateUdporChecker() defined
Ehsan Azimi [Mon, 4 Jan 2021 11:55:27 +0000 (12:55 +0100)]
createUdporChecker() defined

3 years agoUdporChecker class introduced
Ehsan Azimi [Mon, 4 Jan 2021 11:48:44 +0000 (12:48 +0100)]
UdporChecker class introduced

3 years agodoc: fix broken link
Martin Quinson [Wed, 23 Dec 2020 23:36:04 +0000 (00:36 +0100)]
doc: fix broken link

3 years agofix MC builds
Martin Quinson [Sun, 20 Dec 2020 11:36:43 +0000 (12:36 +0100)]
fix MC builds

3 years agoDeprecate a SIMIX function that was badly named anyway
Martin Quinson [Sun, 20 Dec 2020 00:14:29 +0000 (01:14 +0100)]
Deprecate a SIMIX function that was badly named anyway

3 years agoNo need for <void> specialization.
Arnaud Giersch [Fri, 18 Dec 2020 09:15:52 +0000 (10:15 +0100)]
No need for <void> specialization.

3 years agoCosmetics.
Arnaud Giersch [Fri, 18 Dec 2020 08:43:56 +0000 (09:43 +0100)]
Cosmetics.

3 years agoPointer-to-const for sonar.
Arnaud Giersch [Fri, 18 Dec 2020 08:06:20 +0000 (09:06 +0100)]
Pointer-to-const for sonar.

3 years agoKeep tutorial examples simple; don't use Mailbox::get_unique.
Arnaud Giersch [Fri, 18 Dec 2020 07:55:33 +0000 (08:55 +0100)]
Keep tutorial examples simple; don't use Mailbox::get_unique.

3 years ago[sonar] Replace long list of cases in switch by a set.
Arnaud Giersch [Thu, 17 Dec 2020 21:33:42 +0000 (22:33 +0100)]
[sonar] Replace long list of cases in switch by a set.

3 years ago[sonar] Replace switch with numerous cases by a data structure (map or arrray).
Arnaud Giersch [Thu, 17 Dec 2020 17:46:22 +0000 (18:46 +0100)]
[sonar] Replace switch with numerous cases by a data structure (map or arrray).

3 years agoXBT_PUBLIC for mingw on appveyor.
Arnaud Giersch [Thu, 17 Dec 2020 14:20:31 +0000 (15:20 +0100)]
XBT_PUBLIC for mingw on appveyor.

3 years agoUseless cast to void*.
Arnaud Giersch [Thu, 17 Dec 2020 13:35:19 +0000 (14:35 +0100)]
Useless cast to void*.

3 years agoUse Mailbox::get_unique<>(), and save a few delete.
Arnaud Giersch [Thu, 17 Dec 2020 13:15:31 +0000 (14:15 +0100)]
Use Mailbox::get_unique<>(), and save a few delete.

3 years agoDefine Mailbox::get_unique() returning a std::unique_ptr.
Arnaud Giersch [Thu, 17 Dec 2020 12:38:36 +0000 (13:38 +0100)]
Define Mailbox::get_unique() returning a std::unique_ptr.

3 years agoMake untyped Mailbox::get functions deprecated.
Arnaud Giersch [Thu, 17 Dec 2020 09:14:32 +0000 (10:14 +0100)]
Make untyped Mailbox::get functions deprecated.

3 years agoUse typed Mailbox::get_async<>() instead of using casts everywhere.
Arnaud Giersch [Thu, 17 Dec 2020 11:01:00 +0000 (12:01 +0100)]
Use typed Mailbox::get_async<>() instead of using casts everywhere.

3 years agoUse typed Mailbox::get<>() instead of using static_cast everywhere.
Arnaud Giersch [Thu, 17 Dec 2020 09:01:36 +0000 (10:01 +0100)]
Use typed Mailbox::get<>() instead of using static_cast everywhere.

3 years agoPrepare the deprecation of untyped Mailbox::get functions.
Arnaud Giersch [Thu, 17 Dec 2020 10:03:25 +0000 (11:03 +0100)]
Prepare the deprecation of untyped Mailbox::get functions.

3 years agoDefine typed templates for Mailbox::get and Mailbox::get_async.
Arnaud Giersch [Thu, 17 Dec 2020 08:27:50 +0000 (09:27 +0100)]
Define typed templates for Mailbox::get and Mailbox::get_async.

3 years agoFix use-after-scope.
Arnaud Giersch [Thu, 17 Dec 2020 08:43:19 +0000 (09:43 +0100)]
Fix use-after-scope.

3 years agoUse sensible names for variables.
Arnaud Giersch [Thu, 17 Dec 2020 11:00:15 +0000 (12:00 +0100)]
Use sensible names for variables.

3 years agoUseless std::move (sonar).
Arnaud Giersch [Thu, 17 Dec 2020 07:51:58 +0000 (08:51 +0100)]
Useless std::move (sonar).

3 years agoDocument deprecated features that got removed
Martin Quinson [Thu, 17 Dec 2020 08:24:16 +0000 (09:24 +0100)]
Document deprecated features that got removed

3 years agocleanup the release instructions according to the recent release experience
Martin Quinson [Thu, 17 Dec 2020 07:01:08 +0000 (08:01 +0100)]
cleanup the release instructions according to the recent release experience

3 years agoOpen target file with O_EXCL for smpi_copy_file.
Arnaud Giersch [Wed, 16 Dec 2020 17:55:30 +0000 (18:55 +0100)]
Open target file with O_EXCL for smpi_copy_file.

Rationale: target file may be in a publicly writable directory like /tmp and
subject to symlink attack.

Also unlink any previously existing file before calling open().

3 years agoAdd an assert for fopen.
Arnaud Giersch [Wed, 16 Dec 2020 16:56:42 +0000 (17:56 +0100)]
Add an assert for fopen.

3 years agoUse transparent comparator 'std::less<>' with associative string container (sonar).
Arnaud Giersch [Wed, 16 Dec 2020 16:40:57 +0000 (17:40 +0100)]
Use transparent comparator 'std::less<>' with associative string container (sonar).

See https://sonarcloud.io/organizations/simgrid/rules?open=cpp%3AS6045&rule_key=cpp%3AS6045

3 years agobind_flag() with valid_values only works with std:string anyway.
Arnaud Giersch [Wed, 16 Dec 2020 16:29:01 +0000 (17:29 +0100)]
bind_flag() with valid_values only works with std:string anyway.

Don't hide is behind template parameter.

3 years agoAvoid unnecessary copy by using a 'const' reference (sonar).
Arnaud Giersch [Wed, 16 Dec 2020 13:32:01 +0000 (14:32 +0100)]
Avoid unnecessary copy by using a 'const' reference (sonar).

3 years agoPrefer using emplace or emplace_back.
Arnaud Giersch [Wed, 16 Dec 2020 10:50:58 +0000 (11:50 +0100)]
Prefer using emplace or emplace_back.

3 years agoAvoid useless creation of temporary objects with emplace_back (sonar).
Arnaud Giersch [Wed, 16 Dec 2020 10:20:00 +0000 (11:20 +0100)]
Avoid useless creation of temporary objects with emplace_back (sonar).

3 years agoReplace for-loop with std::any_of.
Arnaud Giersch [Wed, 16 Dec 2020 10:14:23 +0000 (11:14 +0100)]
Replace for-loop with std::any_of.

3 years agoDeclare function 'const'.
Arnaud Giersch [Wed, 16 Dec 2020 10:22:50 +0000 (11:22 +0100)]
Declare function 'const'.

3 years agoUse a single =, for POSIX conformance.
Arnaud Giersch [Tue, 15 Dec 2020 22:02:47 +0000 (23:02 +0100)]
Use a single =, for POSIX conformance.

3 years agoCosmetics (and one less memleak).
Arnaud Giersch [Tue, 15 Dec 2020 22:02:47 +0000 (23:02 +0100)]
Cosmetics (and one less memleak).

3 years agoIntroduce next XBT_DEPRECATED macro.
Arnaud Giersch [Tue, 15 Dec 2020 22:01:53 +0000 (23:01 +0100)]
Introduce next XBT_DEPRECATED macro.

3 years agoRemove deprecated features for next release.
Arnaud Giersch [Fri, 21 Feb 2020 13:47:14 +0000 (14:47 +0100)]
Remove deprecated features for next release.

3 years agoImprove deprecation warning.
Arnaud Giersch [Tue, 15 Dec 2020 21:59:54 +0000 (22:59 +0100)]
Improve deprecation warning.

In fact, we remove deprecated feature at the start of each dev cycle, thus any following
minor version have them removed too.

3 years agoStart the dev of 3.27.
Arnaud Giersch [Tue, 15 Dec 2020 21:56:58 +0000 (22:56 +0100)]
Start the dev of 3.27.