Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
23 months agotry to fix the build on centos
Martin Quinson [Wed, 4 Jul 2018 20:36:56 +0000 (22:36 +0200)]
try to fix the build on centos

2 years agostupid typo
Frederic Suter [Wed, 4 Jul 2018 14:25:41 +0000 (16:25 +0200)]
stupid typo

2 years agoAttempt to move msg_bar_t to S4U
Frederic Suter [Wed, 4 Jul 2018 14:01:51 +0000 (16:01 +0200)]
Attempt to move msg_bar_t to S4U

2 years agoBoost.test must be >= v1.59 to be useful to us
Martin Quinson [Wed, 4 Jul 2018 13:14:51 +0000 (15:14 +0200)]
Boost.test must be >= v1.59 to be useful to us

2 years agoRevert "cmake: cleanups around Boost detection"
Martin Quinson [Wed, 4 Jul 2018 13:12:56 +0000 (15:12 +0200)]
Revert "cmake: cleanups around Boost detection"

It requires cmake v3.10.2, released in january 2018...

This reverts commit 853baf79434abbab6ad23c839eb86f68ea546896.

2 years agocmake: cleanups around Boost detection
Martin Quinson [Wed, 4 Jul 2018 12:56:01 +0000 (14:56 +0200)]
cmake: cleanups around Boost detection

2 years agobetter integration of the new MC unit tests
Martin Quinson [Wed, 4 Jul 2018 08:07:30 +0000 (10:07 +0200)]
better integration of the new MC unit tests

Same functionalities than before, but leveraging boost_unit_test
instead of our own unit testing.

2 years agofix make distcheck
Martin Quinson [Wed, 4 Jul 2018 08:00:34 +0000 (10:00 +0200)]
fix make distcheck

2 years agoMerge branch 'master' of https://github.com/Onesphore/simgrid into Onesphore-master
Martin Quinson [Wed, 4 Jul 2018 07:55:33 +0000 (09:55 +0200)]
Merge branch 'master' of https://github.com/Onesphore/simgrid into Onesphore-master

2 years agoremove the old-style MC unit tests
Martin Quinson [Wed, 4 Jul 2018 07:46:17 +0000 (09:46 +0200)]
remove the old-style MC unit tests

They will come back renewed when I merge PR #273.

2 years agomove libsosp into its own directory
Martin Quinson [Wed, 4 Jul 2018 07:42:54 +0000 (09:42 +0200)]
move libsosp into its own directory

2 years agoreduce the adhesion from wannabe libsosp to the rest of MC
Martin Quinson [Wed, 4 Jul 2018 07:24:07 +0000 (09:24 +0200)]
reduce the adhesion from wannabe libsosp to the rest of MC

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 3 Jul 2018 20:51:22 +0000 (22:51 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agosimplification
Frederic Suter [Tue, 3 Jul 2018 10:03:33 +0000 (12:03 +0200)]
simplification

2 years agoobey our coding standards and cosmetics
Martin Quinson [Tue, 3 Jul 2018 07:24:57 +0000 (09:24 +0200)]
obey our coding standards and cosmetics

2 years agoavoid a segfault triggered when debugging #131 [noci]
Martin Quinson [Mon, 2 Jul 2018 13:22:11 +0000 (15:22 +0200)]
avoid a segfault triggered when debugging #131 [noci]

2 years agoadd a broken test
Frederic Suter [Mon, 2 Jul 2018 11:11:48 +0000 (13:11 +0200)]
add a broken test
it reproduces the behavior of the Java MWE provided in #131 by @bcamus

2 years agokill some include directives
Martin Quinson [Sun, 1 Jul 2018 22:50:44 +0000 (00:50 +0200)]
kill some include directives

2 years agofix clang build
Martin Quinson [Sun, 1 Jul 2018 22:30:16 +0000 (00:30 +0200)]
fix clang build

2 years agomerge extension<simgrid::simix::Host>() into HostImpl
Martin Quinson [Sun, 1 Jul 2018 20:44:55 +0000 (22:44 +0200)]
merge extension<simgrid::simix::Host>() into HostImpl

2 years agoreorder the compilations to fit my current needs
Martin Quinson [Sun, 1 Jul 2018 19:57:40 +0000 (21:57 +0200)]
reorder the compilations to fit my current needs

2 years agoobey a FIXME and factorize some code
Martin Quinson [Sun, 1 Jul 2018 17:22:26 +0000 (19:22 +0200)]
obey a FIXME and factorize some code

2 years agosimplify SIMIX_host_add_auto_restart_process
Martin Quinson [Sun, 1 Jul 2018 17:15:57 +0000 (19:15 +0200)]
simplify SIMIX_host_add_auto_restart_process

2 years agoFix context/context_ mismatches.
Arnaud Giersch [Sat, 30 Jun 2018 21:02:42 +0000 (23:02 +0200)]
Fix context/context_ mismatches.

2 years agoCosmetics.
Arnaud Giersch [Sat, 30 Jun 2018 20:56:56 +0000 (22:56 +0200)]
Cosmetics.

2 years agoreplace SIMIX_process_auto_restart_set() with ActorImpl::set_auto_restart()
Martin Quinson [Sat, 30 Jun 2018 16:26:05 +0000 (18:26 +0200)]
replace SIMIX_process_auto_restart_set() with ActorImpl::set_auto_restart()

2 years agoPartially snake_case ActorImpl
Martin Quinson [Sat, 30 Jun 2018 13:29:44 +0000 (15:29 +0200)]
Partially snake_case ActorImpl

I'm sick of snake casing, this one will have to wait.

2 years agodocument recent changes
Martin Quinson [Fri, 29 Jun 2018 23:35:07 +0000 (01:35 +0200)]
document recent changes

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Fri, 29 Jun 2018 23:14:34 +0000 (01:14 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agoRevert "please sonar and remove unused types"
Martin Quinson [Fri, 29 Jun 2018 23:12:50 +0000 (01:12 +0200)]
Revert "please sonar and remove unused types"

These types are used when simix.h is loaded from a C file. See eg
https://ci.inria.fr/simgrid/job/SimGrid-Multi/5639/build_mode=Debug,node=simgrid-debian8-64-dynamic-analysis/console

This reverts commit 83091276959030bb6b031127944400cdc71d214c.

2 years agocodacy: some cleanups in the new appveyor script
Martin Quinson [Fri, 29 Jun 2018 11:59:26 +0000 (13:59 +0200)]
codacy: some cleanups in the new appveyor script

2 years agotravis, appveyor: no IRC notification on success, pliz
Martin Quinson [Fri, 29 Jun 2018 11:12:23 +0000 (13:12 +0200)]
travis, appveyor: no IRC notification on success, pliz

2 years ago[EXAMPLES] Fix wrong header
Christian Heinrich [Fri, 29 Jun 2018 20:48:58 +0000 (22:48 +0200)]
[EXAMPLES] Fix wrong header

2 years ago[SMPI] Also commit changes to the fortran part in smpi_dvfs.cpp
Christian Heinrich [Fri, 29 Jun 2018 18:55:52 +0000 (20:55 +0200)]
[SMPI] Also commit changes to the fortran part in smpi_dvfs.cpp

2 years agoMerge pull request #279 from sthibaul/breakpoint
Martin Quinson [Fri, 29 Jun 2018 18:31:35 +0000 (20:31 +0200)]
Merge pull request #279 from sthibaul/breakpoint

Fix breakpoint option

2 years agoFix breakpoint option
Samuel Thibault [Fri, 29 Jun 2018 15:55:33 +0000 (17:55 +0200)]
Fix breakpoint option

It was using relative time deltas instead of absolute time.

2 years ago[SMPI] Deprecate functions in smpi_dvfs.cpp #278
Christian Heinrich [Fri, 29 Jun 2018 15:32:14 +0000 (17:32 +0200)]
[SMPI] Deprecate functions in smpi_dvfs.cpp #278

These functions are not SMPI specific and could be implemented
for other modules (MSG, ...) as well.

If you really can't use the barely longer version, let us know.

2 years ago[ENERGY] Fix bug: Variables were re-declared in lower scope
Christian Heinrich [Fri, 29 Jun 2018 14:39:41 +0000 (16:39 +0200)]
[ENERGY] Fix bug: Variables were re-declared in lower scope

2 years agoMerge pull request #271 from mpoquet/dynamic_replay
Martin Quinson [Fri, 29 Jun 2018 15:15:10 +0000 (17:15 +0200)]
Merge pull request #271 from mpoquet/dynamic_replay

Dynamic and manual replay of SMPI traces

2 years ago[smpi] replay: increase storage dynamicity
Millian Poquet [Thu, 31 May 2018 13:55:26 +0000 (15:55 +0200)]
[smpi] replay: increase storage dynamicity

Storing data associated to a SMPI process is now done in the
smpi_replay_main function -- previously it was done at initialization
time.

This allows more dynamicity regarding the replay of SMPI traces:
One will now be able to replay different traces in a fully dynamic
fashion.

2 years ago[smpi] replay: storage index: (pid-1) -> pid
Millian Poquet [Thu, 31 May 2018 13:47:12 +0000 (15:47 +0200)]
[smpi] replay: storage index: (pid-1) -> pid

The previous index was zero based since the data structure was an array.

Indexing by pid is more simple and more straightforward now that the
data structure is an associative array.

2 years ago[smpi] replay: storage var is now an ordered_map
Millian Poquet [Thu, 31 May 2018 13:24:39 +0000 (15:24 +0200)]
[smpi] replay: storage var is now an ordered_map

This commit is kept separate because it does not change the
code semantics at all, it just changes the data structure.

2 years agoplease sonar and remove unused types
Frederic Suter [Fri, 29 Jun 2018 12:24:54 +0000 (14:24 +0200)]
please sonar and remove unused types

2 years agotry to get IRC notifications on AppVeyor too
Martin Quinson [Fri, 29 Jun 2018 10:05:47 +0000 (12:05 +0200)]
try to get IRC notifications on AppVeyor too

2 years agoMinor changes
onesphore [Fri, 29 Jun 2018 09:49:19 +0000 (11:49 +0200)]
Minor changes

2 years agoFix some doxygen warnings.
Arnaud Giersch [Fri, 29 Jun 2018 09:43:34 +0000 (11:43 +0200)]
Fix some doxygen warnings.

2 years agoDefine __cplusplus for doxygen.
Arnaud Giersch [Fri, 29 Jun 2018 09:40:35 +0000 (11:40 +0200)]
Define __cplusplus for doxygen.

2 years agoReorder and complete doxygen input directories.
Arnaud Giersch [Fri, 29 Jun 2018 09:21:52 +0000 (11:21 +0200)]
Reorder and complete doxygen input directories.

2 years ago[S4U] Actor: Add 'const' keyword to getter methods
Christian Heinrich [Fri, 29 Jun 2018 09:21:57 +0000 (11:21 +0200)]
[S4U] Actor: Add 'const' keyword to getter methods

This signals to users that calling these methods will not
change the state of the object.

2 years ago[S4U] Host: Add 'const' keyword to getter methods
Christian Heinrich [Fri, 29 Jun 2018 09:21:34 +0000 (11:21 +0200)]
[S4U] Host: Add 'const' keyword to getter methods

This signals to users that calling these methods will not
change the state of the object.

2 years ago[SIMIX] Move std::function<void()> to simgrid::simix::ActorCode
Christian Heinrich [Fri, 29 Jun 2018 09:07:48 +0000 (11:07 +0200)]
[SIMIX] Move std::function<void()> to simgrid::simix::ActorCode

That's a typedef for the same thing but makes the code
more readable.

2 years ago[SMPI] Remove outdated FIXME from smpi_deployment
Christian Heinrich [Thu, 28 Jun 2018 12:22:05 +0000 (14:22 +0200)]
[SMPI] Remove outdated FIXME from smpi_deployment

2 years agoanother attempt to disable mmap on old MacOSX
Martin Quinson [Fri, 29 Jun 2018 07:47:07 +0000 (09:47 +0200)]
another attempt to disable mmap on old MacOSX

2 years agotry to disable mmap priv on ancient Mac systems
Martin Quinson [Fri, 29 Jun 2018 06:42:20 +0000 (08:42 +0200)]
try to disable mmap priv on ancient Mac systems

Nix seems to need it, for some reason.

2 years agoFix gforge-sync.
Arnaud Giersch [Thu, 28 Jun 2018 16:08:49 +0000 (18:08 +0200)]
Fix gforge-sync.

2 years agoFragmented the tests into smaller test cases.
onesphore [Thu, 28 Jun 2018 12:07:42 +0000 (14:07 +0200)]
Fragmented the tests into smaller test cases.

2 years ago[SMPI] Colls: Remove that ugly lambda and just use a for-loop
Christian Heinrich [Thu, 28 Jun 2018 11:10:04 +0000 (13:10 +0200)]
[SMPI] Colls: Remove that ugly lambda and just use a for-loop

Merci Arnaud Giersch ;)

2 years ago[SMPI] Colls: Move description & name for colls to std::string
Christian Heinrich [Thu, 28 Jun 2018 10:40:11 +0000 (12:40 +0200)]
[SMPI] Colls: Move description & name for colls to std::string

2 years ago[SMPI] Remove code-generating macro
Christian Heinrich [Thu, 28 Jun 2018 09:36:34 +0000 (11:36 +0200)]
[SMPI] Remove code-generating macro

Using a lambda function, we can achieve the same thing but in a cleaner

way

2 years ago[SMPI] Add FIXME note for MSG_init() call.
Christian Heinrich [Thu, 28 Jun 2018 08:52:44 +0000 (10:52 +0200)]
[SMPI] Add FIXME note for MSG_init() call.

2 years ago[SMPI] Move argument from const char* to std::string
Christian Heinrich [Thu, 28 Jun 2018 07:55:40 +0000 (09:55 +0200)]
[SMPI] Move argument from const char* to std::string

See for this one 2c03aca538a97089891fe7e67eca10d999c076fd as well

2 years ago[SMPI] Remove copy of old argument
Christian Heinrich [Thu, 28 Jun 2018 07:54:12 +0000 (09:54 +0200)]
[SMPI] Remove copy of old argument

2 years ago[SMPI] Move argument from const char* to std::string
Christian Heinrich [Thu, 28 Jun 2018 07:52:08 +0000 (09:52 +0200)]
[SMPI] Move argument from const char* to std::string

See 2c03aca538a97089891fe7e67eca10d999c076fd

2 years ago[SMPI] Remove old smpirun check
Christian Heinrich [Thu, 28 Jun 2018 07:51:22 +0000 (09:51 +0200)]
[SMPI] Remove old smpirun check

smpirun registers its own instances (called 'smpirun').
If we want to check whether or not the instance exists, we
should not do so by calling .empty()

2 years agoMerge remote-tracking branch 'upstream/master'
onesphore [Wed, 27 Jun 2018 12:57:16 +0000 (14:57 +0200)]
Merge remote-tracking branch 'upstream/master'
(Boost has been upgraded in the remote repo)

2 years agoSimplify expression.
Arnaud Giersch [Wed, 27 Jun 2018 12:33:38 +0000 (14:33 +0200)]
Simplify expression.

2 years agoComment unused function parameters.
Arnaud Giersch [Wed, 27 Jun 2018 12:26:44 +0000 (14:26 +0200)]
Comment unused function parameters.

2 years agoRemove useless parentheses.
Arnaud Giersch [Wed, 27 Jun 2018 12:18:12 +0000 (14:18 +0200)]
Remove useless parentheses.

2 years agominor changes.
onesphore [Wed, 27 Jun 2018 11:53:03 +0000 (13:53 +0200)]
minor changes.

2 years agoTravis: actually get the packages I just made available
Martin Quinson [Wed, 27 Jun 2018 10:26:03 +0000 (12:26 +0200)]
Travis: actually get the packages I just made available

Sorry for the noise, I'm debugging in production :)

2 years agotravis: try to get boost 1.60 here
Martin Quinson [Wed, 27 Jun 2018 10:21:56 +0000 (12:21 +0200)]
travis: try to get boost 1.60 here

2 years agoTry to reduce cognitive complexity for smpi_main (Sonar).
Arnaud Giersch [Tue, 26 Jun 2018 18:55:28 +0000 (20:55 +0200)]
Try to reduce cognitive complexity for smpi_main (Sonar).

2 years agoRemove redundant access specifier.
Arnaud Giersch [Tue, 26 Jun 2018 18:47:09 +0000 (20:47 +0200)]
Remove redundant access specifier.

2 years agoMake member variables "private".
Arnaud Giersch [Tue, 26 Jun 2018 15:17:11 +0000 (17:17 +0200)]
Make member variables "private".

2 years agoTry to please Sonar about redundant forward declaration of Transition.
Arnaud Giersch [Tue, 26 Jun 2018 13:00:29 +0000 (15:00 +0200)]
Try to please Sonar about redundant forward declaration of Transition.

2 years agoMinor cosmetic changes.
onesphore [Tue, 26 Jun 2018 12:25:21 +0000 (14:25 +0200)]
Minor cosmetic changes.

2 years agounit test file names changed.
onesphore [Tue, 26 Jun 2018 11:59:49 +0000 (13:59 +0200)]
unit test file names changed.

2 years agoreplaced BOOST_TEST with BOOST_CHECK_EQUAL/BOOS_CHECK_MESSAGE.
onesphore [Tue, 26 Jun 2018 11:41:22 +0000 (13:41 +0200)]
replaced BOOST_TEST with BOOST_CHECK_EQUAL/BOOS_CHECK_MESSAGE.

2 years agoUnused parameter.
Arnaud Giersch [Mon, 25 Jun 2018 20:39:35 +0000 (22:39 +0200)]
Unused parameter.

2 years agoUse namespace aliases instead of "using" directives.
Arnaud Giersch [Mon, 25 Jun 2018 20:28:02 +0000 (22:28 +0200)]
Use namespace aliases instead of "using" directives.

2 years agoRemove usage of bad style "using namespace" with little benefit.
Arnaud Giersch [Mon, 25 Jun 2018 20:18:09 +0000 (22:18 +0200)]
Remove usage of bad style "using namespace" with little benefit.

2 years agoremoved those files for now.
onesphore [Mon, 25 Jun 2018 15:35:34 +0000 (17:35 +0200)]
removed those files for now.

2 years agoChanged the 2 unit tests, snapshot and PAGESTORE, into BOOST unit tests.
onesphore [Mon, 25 Jun 2018 15:06:39 +0000 (17:06 +0200)]
Changed the 2 unit tests, snapshot and PAGESTORE, into BOOST unit tests.

2 years agoUpdate.
Arnaud Giersch [Mon, 25 Jun 2018 13:25:18 +0000 (15:25 +0200)]
Update.

2 years agoDefine XBT_ATTRIB_DEPRECATED_v324.
Arnaud Giersch [Mon, 25 Jun 2018 09:11:41 +0000 (11:11 +0200)]
Define XBT_ATTRIB_DEPRECATED_v324.

2 years agoRemove features marked with DEPRECATED_v321.
Arnaud Giersch [Mon, 25 Jun 2018 09:10:16 +0000 (11:10 +0200)]
Remove features marked with DEPRECATED_v321.

2 years agoAdded a new test.
onesphore [Mon, 25 Jun 2018 08:56:10 +0000 (10:56 +0200)]
Added a new test.

2 years agowoops, fix the sonarcloud badge
Martin Quinson [Sun, 24 Jun 2018 23:55:27 +0000 (01:55 +0200)]
woops, fix the sonarcloud badge

2 years agostart the v3.21 cycle
Martin Quinson [Sun, 24 Jun 2018 23:32:16 +0000 (01:32 +0200)]
start the v3.21 cycle

2 years agoREADME: Add a SonarCloud badge
Martin Quinson [Sun, 24 Jun 2018 22:51:54 +0000 (00:51 +0200)]
README: Add a SonarCloud badge

2 years agodoc: further improve the release HOWTO
Martin Quinson [Sun, 24 Jun 2018 21:59:14 +0000 (23:59 +0200)]
doc: further improve the release HOWTO

2 years agoleaks --. Maybe
Augustin Degomme [Sun, 24 Jun 2018 13:19:02 +0000 (15:19 +0200)]
leaks --. Maybe

2 years agoRelease v3.20 v3.20
Martin Quinson [Sun, 24 Jun 2018 10:25:32 +0000 (12:25 +0200)]
Release v3.20

2 years agomake an unused parameter as such
Martin Quinson [Sun, 24 Jun 2018 00:15:35 +0000 (02:15 +0200)]
make an unused parameter as such

2 years agoRevert "simplification"
Martin Quinson [Sat, 23 Jun 2018 20:32:16 +0000 (22:32 +0200)]
Revert "simplification"

The "previous" parameter is not used by our own callbacks, but may
reveal useful to our users.

This reverts commit 581fd733dd72630f9aa9b7528503693bd857bbbd.

2 years agoproposal of a release name
Martin Quinson [Sat, 23 Jun 2018 20:27:23 +0000 (22:27 +0200)]
proposal of a release name

2 years agosnake_case s4u::Host and improve doc
Martin Quinson [Sat, 23 Jun 2018 19:58:50 +0000 (21:58 +0200)]
snake_case s4u::Host and improve doc

2 years agosnake_case routing::NetPoint
Martin Quinson [Sat, 23 Jun 2018 19:14:17 +0000 (21:14 +0200)]
snake_case routing::NetPoint

2 years agosplit NetZone and NetZoneImpl as it should in s4u realm
Martin Quinson [Sat, 23 Jun 2018 18:52:13 +0000 (20:52 +0200)]
split NetZone and NetZoneImpl as it should in s4u realm

2 years agoanother attempt at fixing the include madness in mc for Mac
Martin Quinson [Sat, 23 Jun 2018 09:33:02 +0000 (11:33 +0200)]
another attempt at fixing the include madness in mc for Mac