Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
16 months ago[SMPI] Assert: host_speed must be > 0, not >= 0.
Christian Heinrich [Thu, 5 Jul 2018 12:59:50 +0000 (14:59 +0200)]
[SMPI] Assert: host_speed must be > 0, not >= 0.

16 months ago[CONFIG] Add smpi/plugin/lb/migration-frequency option
Christian Heinrich [Thu, 5 Jul 2018 12:42:27 +0000 (14:42 +0200)]
[CONFIG] Add smpi/plugin/lb/migration-frequency option

This needs to be moved to the plugin file, but unfortunately, when the
smpirun command is parsed, the plugin is not yet initialized and hence
an error is thrown (since this option is not yet known).

16 months ago[SMPI] Replace surf_get_clock with SIMIX_get_clock
Christian Heinrich [Thu, 5 Jul 2018 12:38:25 +0000 (14:38 +0200)]
[SMPI] Replace surf_get_clock with SIMIX_get_clock

16 months ago[S4U] Initialize s4u::Barrier in initializer list
Christian Heinrich [Thu, 5 Jul 2018 12:19:44 +0000 (14:19 +0200)]
[S4U] Initialize s4u::Barrier in initializer list

16 months ago[CI] Activate PAPI in Coverage checks.
Christian Heinrich [Thu, 5 Jul 2018 09:53:28 +0000 (11:53 +0200)]
[CI] Activate PAPI in Coverage checks.

There are no real tests (yet), but at least that
code compiles again and will be tested for compilation
errors.

16 months ago[DVFS] Make the Dvfs plugin available
Christian Heinrich [Thu, 5 Jul 2018 06:55:53 +0000 (08:55 +0200)]
[DVFS] Make the Dvfs plugin available

This commit allows users to actually enable the plugin
via smpirun.

16 months ago[SMPI/PAPI] Make PAPI counters compile again ;)
Christian Heinrich [Wed, 4 Jul 2018 14:07:22 +0000 (16:07 +0200)]
[SMPI/PAPI] Make PAPI counters compile again ;)

This commit contains all the changes that were necessary
to reflect the changes in SimGrid/S4U since 2016.

16 months ago[CMAKE] Fix grammar for SMPI built option
Christian Heinrich [Tue, 3 Jul 2018 17:35:40 +0000 (19:35 +0200)]
[CMAKE] Fix grammar for SMPI built option

16 months ago[ENERGY] Move comment to the correct location
Christian Heinrich [Mon, 2 Jul 2018 13:31:15 +0000 (15:31 +0200)]
[ENERGY] Move comment to the correct location

16 months agodisable the autorestart test for now, sorry
Martin Quinson [Wed, 4 Jul 2018 23:55:20 +0000 (01:55 +0200)]
disable the autorestart test for now, sorry

16 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

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

16 months 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

16 months 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

16 months 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.

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

16 months 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.

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

16 months 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

16 months 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.

16 months 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

16 months 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

16 months 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

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

16 months 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

16 months 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]

16 months 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

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

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

16 months 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

16 months 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

16 months 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

16 months 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

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

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

16 months 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()

16 months 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.

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

16 months 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

16 months 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.

16 months 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

16 months 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

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

16 months 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

16 months 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

16 months 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.

16 months 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.

16 months 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

16 months 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

16 months 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.

16 months 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.

16 months 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.

16 months 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

16 months 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

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

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

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

16 months 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.

16 months 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.

16 months 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.

16 months 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.

16 months 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

16 months 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

16 months 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.

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

16 months 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.

16 months 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 ;)

16 months 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

16 months 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

16 months 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.

16 months 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

16 months 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

16 months 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

16 months 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()

16 months 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)

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

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

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

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

16 months 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 :)

16 months 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

16 months 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).

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

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

16 months 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.

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

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

16 months 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.

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

16 months 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.

16 months 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.

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

16 months 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.

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

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

16 months 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.

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

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

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

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