Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
16 months agoignore unit tests
Martin Quinson [Sun, 8 Jul 2018 14:17:20 +0000 (16:17 +0200)]
ignore unit tests

16 months agoActually, SMPI is playing by the rules now. Remove friendship
Martin Quinson [Sun, 8 Jul 2018 10:12:32 +0000 (12:12 +0200)]
Actually, SMPI is playing by the rules now. Remove friendship

16 months agoanother last attempt
Augustin Degomme [Sun, 8 Jul 2018 19:04:20 +0000 (21:04 +0200)]
another last attempt

16 months agoanother last attempt
Augustin Degomme [Sun, 8 Jul 2018 18:28:56 +0000 (20:28 +0200)]
another last attempt

16 months agoone last attempt
Augustin Degomme [Sun, 8 Jul 2018 17:36:02 +0000 (19:36 +0200)]
one last attempt

16 months agooops
Augustin Degomme [Sun, 8 Jul 2018 15:21:25 +0000 (17:21 +0200)]
oops

16 months agofix coverage paths and add sloccount
Augustin Degomme [Sun, 8 Jul 2018 14:46:06 +0000 (16:46 +0200)]
fix coverage paths and add sloccount

16 months agoadd codacy upload to coverage
Augustin Degomme [Sun, 8 Jul 2018 13:49:44 +0000 (15:49 +0200)]
add codacy upload to coverage

16 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 8 Jul 2018 09:57:25 +0000 (11:57 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

16 months agoadd include for papi
Augustin Degomme [Sun, 8 Jul 2018 09:49:31 +0000 (11:49 +0200)]
add include for papi

16 months agocodacy: remove trailing spaces
Martin Quinson [Sun, 8 Jul 2018 09:46:17 +0000 (11:46 +0200)]
codacy: remove trailing spaces

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 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.

17 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).

17 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

17 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

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

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

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

17 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.

17 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.

17 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.

17 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

17 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

17 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

17 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

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

17 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

17 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

17 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.

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

17 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.

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

17 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

17 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.

17 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

17 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

17 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

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

17 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

17 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]

17 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

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

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

17 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

17 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

17 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

17 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

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

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

17 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()

17 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.

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

17 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

17 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.

17 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

17 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

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

17 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

17 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

17 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.

17 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.

17 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

17 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