Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agocodacy: remove trailing spaces
Martin Quinson [Sun, 8 Jul 2018 09:46:17 +0000 (11:46 +0200)]
codacy: remove trailing spaces

2 years agosurf/Cbindings: kill another unused function
Martin Quinson [Sun, 8 Jul 2018 09:39:28 +0000 (11:39 +0200)]
surf/Cbindings: kill another unused function

2 years agosurf/Cbinding: kill an unused and misnamed function
Martin Quinson [Sun, 8 Jul 2018 09:34:00 +0000 (11:34 +0200)]
surf/Cbinding: kill an unused and misnamed function

2 years agoI forgot once again to mark my constructors as explicit. thx sonar
Martin Quinson [Sun, 8 Jul 2018 09:27:18 +0000 (11:27 +0200)]
I forgot once again to mark my constructors as explicit. thx sonar

2 years agoC++ify some forgotten part of surf
Martin Quinson [Sun, 8 Jul 2018 09:24:24 +0000 (11:24 +0200)]
C++ify some forgotten part of surf

2 years agocontinue emptying surf.hpp from symbols that should not have been made public
Martin Quinson [Sun, 8 Jul 2018 08:37:22 +0000 (10:37 +0200)]
continue emptying surf.hpp from symbols that should not have been made public

2 years agotravis: allow_unauthenticated, as boost 1.60 are not authenticated anymore
Martin Quinson [Sun, 8 Jul 2018 08:21:01 +0000 (10:21 +0200)]
travis: allow_unauthenticated, as boost 1.60 are not authenticated anymore

2 years agoAllow to register plugins from their file, w/o touching the core implem
Martin Quinson [Sun, 8 Jul 2018 00:27:39 +0000 (02:27 +0200)]
Allow to register plugins from their file, w/o touching the core implem

2 years agothe model descriptions also don't need to be public
Martin Quinson [Sat, 7 Jul 2018 23:44:15 +0000 (01:44 +0200)]
the model descriptions also don't need to be public

2 years agocleanup __surf_is_absolute_file_path + empty a bit surf.hpp
Martin Quinson [Sat, 7 Jul 2018 23:29:44 +0000 (01:29 +0200)]
cleanup __surf_is_absolute_file_path + empty a bit surf.hpp

Sorry for smashing two commits together this way, I forgot to commit
between 2 cleanups (because of clang-format).

The symbols removed from the public surf.hpp should never have been
made public in the first place. I think (and hope) that nobody use them.

2 years agothe author of these lines loves complexity, but I don't
Martin Quinson [Sat, 7 Jul 2018 23:06:00 +0000 (01:06 +0200)]
the author of these lines loves complexity, but I don't

2 years agoCpuTiTmgr: further cleanups (make the enum class private)
Martin Quinson [Sat, 7 Jul 2018 22:58:53 +0000 (00:58 +0200)]
CpuTiTmgr: further cleanups (make the enum class private)

2 years agoCpuTiTmgr: change a C enum into an enum class
Martin Quinson [Sat, 7 Jul 2018 22:46:51 +0000 (00:46 +0200)]
CpuTiTmgr: change a C enum into an enum class

2 years agocosmetics around CpuTiModel
Martin Quinson [Sat, 7 Jul 2018 22:40:57 +0000 (00:40 +0200)]
cosmetics around CpuTiModel

2 years agoimprove a comment
Martin Quinson [Sat, 7 Jul 2018 22:37:23 +0000 (00:37 +0200)]
improve a comment

2 years agotiny cleanups in HostCLM03Model
Martin Quinson [Sat, 7 Jul 2018 22:23:59 +0000 (00:23 +0200)]
tiny cleanups in HostCLM03Model

2 years agoDijkstra is so ugly, I could spend weeks cleaning it up
Martin Quinson [Sat, 7 Jul 2018 22:13:01 +0000 (00:13 +0200)]
Dijkstra is so ugly, I could spend weeks cleaning it up

2 years agodijkstra: convert a public struct into a private class
Martin Quinson [Sat, 7 Jul 2018 21:14:10 +0000 (23:14 +0200)]
dijkstra: convert a public struct into a private class

2 years agosimplifications in DijkstraZone
Martin Quinson [Sat, 7 Jul 2018 20:03:49 +0000 (22:03 +0200)]
simplifications in DijkstraZone

2 years agosonar: allow # and ## in macros to please augustin
Martin Quinson [Sat, 7 Jul 2018 19:44:17 +0000 (21:44 +0200)]
sonar: allow # and ## in macros to please augustin

2 years agosnake_case kernel::resource::NetworkModel
Martin Quinson [Sat, 7 Jul 2018 19:32:50 +0000 (21:32 +0200)]
snake_case kernel::resource::NetworkModel

2 years agocodacy: reuse the ignore patterns from sonar
Martin Quinson [Sat, 7 Jul 2018 19:31:26 +0000 (21:31 +0200)]
codacy: reuse the ignore patterns from sonar

2 years agoMerge pull request #283 from mpoquet/smpi_convert_fix
Martin Quinson [Sat, 7 Jul 2018 19:01:00 +0000 (21:01 +0200)]
Merge pull request #283 from mpoquet/smpi_convert_fix

Smpi convert script fixes

2 years agoremove references to SimGrid-Multi jenkins job, now just SimGrid
Augustin Degomme [Sat, 7 Jul 2018 17:34:06 +0000 (19:34 +0200)]
remove references to SimGrid-Multi jenkins job, now just SimGrid

2 years agoadd codacy config file to ignore teshsuite folder for coverage computation
Augustin Degomme [Sat, 7 Jul 2018 17:20:47 +0000 (19:20 +0200)]
add codacy config file to ignore teshsuite folder for coverage computation

2 years agodeactivate bad call to MPI_Attr_put
Augustin Degomme [Fri, 6 Jul 2018 13:26:24 +0000 (15:26 +0200)]
deactivate bad call to MPI_Attr_put

2 years agoFix warning by putting the array only where it's needed
Augustin Degomme [Fri, 6 Jul 2018 13:25:38 +0000 (15:25 +0200)]
Fix warning by putting the array only where it's needed

2 years agocleanup
Augustin Degomme [Fri, 6 Jul 2018 13:06:10 +0000 (15:06 +0200)]
cleanup

2 years agoGenerate error strings at the same time enum is generated.
Augustin Degomme [Fri, 6 Jul 2018 12:56:06 +0000 (14:56 +0200)]
Generate error strings at the same time enum is generated.
- TODO : put back MPI_Errhandler_f2c and MPI_File_f2c unimplemented signatures...
Somehow converting from "#define MPI_SUCCESS 0" to their return type was OK but from enum is not for the compiler.

2 years agoHave MPI_* send a debug messages whenever output is not MPI_SUCCESS
Augustin Degomme [Fri, 6 Jul 2018 12:19:09 +0000 (14:19 +0200)]
Have MPI_* send a debug messages whenever output is not MPI_SUCCESS
Should help debugging quite a lot
TODO
- pass the message in WARNING
- requalify teshes for this (some intentionally give bad params to test)
- fix bugs in SMPI (already found one useless MPI_Attr_put call for example).

2 years ago- Support MPI_Error_string
Augustin Degomme [Fri, 6 Jul 2018 12:16:49 +0000 (14:16 +0200)]
- Support MPI_Error_string
TODO :
- better and extensible way to store errors/errorstrings, now it's stupid

2 years agoRevert "address FIXME and kill useless code"
Frederic Suter [Fri, 6 Jul 2018 10:14:18 +0000 (12:14 +0200)]
Revert "address FIXME and kill useless code"

This reverts commit 4bfa8a32e0083bcd28a78689625c4806c2fbbf46.

2 years agoaddress FIXME and kill useless code
Frederic Suter [Fri, 6 Jul 2018 09:55:07 +0000 (11:55 +0200)]
address FIXME and kill useless code

2 years ago[tools] replace asserts by error and exit in TI convert script
MERCIER Michael [Fri, 6 Jul 2018 09:20:18 +0000 (11:20 +0200)]
[tools] replace asserts by error and exit in TI convert script

2 years ago[SMPI] Remove specific encoding of MPI_DATATYPE_NULL
Christian Heinrich [Fri, 6 Jul 2018 06:38:56 +0000 (08:38 +0200)]
[SMPI] Remove specific encoding of MPI_DATATYPE_NULL

This code is now being treated by MPI_DATATYPE_NULL
being an object.

2 years ago[SMPI] Make MPI_DATATYPE_NULL a non-null object
Christian Heinrich [Fri, 6 Jul 2018 06:37:37 +0000 (08:37 +0200)]
[SMPI] Make MPI_DATATYPE_NULL a non-null object

We're calling methods on the Datatype objects, such as
datatype->size(), especially in the replay component.
With MPI_DATATYPE_NULL being the nullptr, we'd have to
check every time whether or not a given object is
actually MPI_DATATYPE_NULL before using it.

Making MPI_DATATYPE_NULL a real object allows us to call methods
on this object that will be meaningful (for instance, size() returns 0)
and to avoid this constant checking.

Thanks to Michael Mercier for reporting this bug.

2 years ago[tools] Better corner case handeling + lower everything in TI trace convert
MERCIER Michael [Thu, 5 Jul 2018 16:40:47 +0000 (18:40 +0200)]
[tools] Better corner case handeling + lower everything in TI trace convert

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 5 Jul 2018 13:24:39 +0000 (15:24 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years 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.

2 years 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).

2 years 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

2 years 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

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 5 Jul 2018 13:08:51 +0000 (15:08 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoadd C interface to s4u::Barrier
Frederic Suter [Thu, 5 Jul 2018 13:08:21 +0000 (15:08 +0200)]
add C interface to s4u::Barrier
move MSG version to legacy

2 years agoremove a dependency on MSG from SMPI
Frederic Suter [Thu, 5 Jul 2018 11:35:50 +0000 (13:35 +0200)]
remove a dependency on MSG from SMPI

2 years 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.

2 years 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.

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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.