Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years agonew C function: simgrid_init
Martin Quinson [Fri, 13 Jul 2018 16:56:25 +0000 (18:56 +0200)]
new C function: simgrid_init

5 years agoUse std::invalid_argument instead of std::runtime_error (Sonar).
Arnaud Giersch [Fri, 13 Jul 2018 14:48:19 +0000 (16:48 +0200)]
Use std::invalid_argument instead of std::runtime_error (Sonar).

5 years agoGet rid of dependency on boost::regex.
Arnaud Giersch [Fri, 13 Jul 2018 14:47:33 +0000 (16:47 +0200)]
Get rid of dependency on boost::regex.

5 years agoGet rid of dependency on boost::filesystem.
Arnaud Giersch [Fri, 13 Jul 2018 14:32:23 +0000 (16:32 +0200)]
Get rid of dependency on boost::filesystem.

5 years agoRewrite without non-standard asprintf().
Arnaud Giersch [Fri, 13 Jul 2018 14:30:11 +0000 (16:30 +0200)]
Rewrite without non-standard asprintf().

5 years agoFix make dist.
Arnaud Giersch [Fri, 13 Jul 2018 13:53:22 +0000 (15:53 +0200)]
Fix make dist.

5 years agoUnused parameters.
Arnaud Giersch [Fri, 13 Jul 2018 13:42:31 +0000 (15:42 +0200)]
Unused parameters.

5 years agoRestore C interface (needed by StarPU).
Arnaud Giersch [Fri, 13 Jul 2018 10:08:58 +0000 (12:08 +0200)]
Restore C interface (needed by StarPU).

5 years agoUpdate list of fixed bugs in ChangeLog.
Arnaud Giersch [Thu, 12 Jul 2018 19:01:57 +0000 (21:01 +0200)]
Update list of fixed bugs in ChangeLog.

5 years agoMerge pull request #280 from mpoquet/replay-steroid-example
Martin Quinson [Fri, 13 Jul 2018 12:53:34 +0000 (14:53 +0200)]
Merge pull request #280 from mpoquet/replay-steroid-example

[examples] smpi replay on steroids

5 years agoTracing: rename power to speed, and add a core_amount variable
Martin Quinson [Fri, 13 Jul 2018 12:26:01 +0000 (14:26 +0200)]
Tracing: rename power to speed, and add a core_amount variable

(fix: #286)

5 years agocleanup: use actor::yield() instead of a compute(0)
Martin Quinson [Fri, 13 Jul 2018 09:27:31 +0000 (11:27 +0200)]
cleanup: use actor::yield() instead of a compute(0)

It changes the execution order, thus the tesh revalidation, but that's OK

5 years agokill the last instance of MSG in src/smpi \o/
Martin Quinson [Fri, 13 Jul 2018 09:03:48 +0000 (11:03 +0200)]
kill the last instance of MSG in src/smpi \o/

5 years agomsg::ActorExt got useless, so kill it
Martin Quinson [Fri, 13 Jul 2018 08:54:01 +0000 (10:54 +0200)]
msg::ActorExt got useless, so kill it

5 years agoadd signals for VM live migration start/end
Frederic Suter [Fri, 13 Jul 2018 12:16:24 +0000 (14:16 +0200)]
add signals for VM live migration start/end

5 years agofix build and typo
Frederic Suter [Fri, 13 Jul 2018 12:01:08 +0000 (14:01 +0200)]
fix build and typo

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 13 Jul 2018 09:44:49 +0000 (11:44 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agosleep activities throw exception on host failure
Frederic Suter [Fri, 13 Jul 2018 09:41:24 +0000 (11:41 +0200)]
sleep activities throw exception on host failure

this is a temporary yet working patch to offer the feature before
rewriting everything in Simix

5 years agons3: manually packetize the data to send
Martin Quinson [Fri, 13 Jul 2018 07:40:46 +0000 (09:40 +0200)]
ns3: manually packetize the data to send

5 years agowho still needs MSG in 2018?
Martin Quinson [Thu, 12 Jul 2018 21:55:41 +0000 (23:55 +0200)]
who still needs MSG in 2018?

5 years agoinit fields using initializer, genius
Martin Quinson [Thu, 12 Jul 2018 21:48:55 +0000 (23:48 +0200)]
init fields using initializer, genius

5 years agokill a useless type definition
Martin Quinson [Thu, 12 Jul 2018 15:43:51 +0000 (17:43 +0200)]
kill a useless type definition

5 years agoA std:string is ok here.
Arnaud Giersch [Thu, 12 Jul 2018 14:13:10 +0000 (16:13 +0200)]
A std:string is ok here.

5 years agoFix make distcheck.
Arnaud Giersch [Thu, 12 Jul 2018 11:32:08 +0000 (13:32 +0200)]
Fix make distcheck.

Also escape dots in regexps.

5 years agofix #285
Frederic Suter [Thu, 12 Jul 2018 14:34:11 +0000 (16:34 +0200)]
fix #285

5 years agorename smpi::Process to smpi::ActorExt
Martin Quinson [Thu, 12 Jul 2018 13:37:37 +0000 (15:37 +0200)]
rename smpi::Process to smpi::ActorExt

First step toward registering it as an official s4u::Actor extension,
to remove MSG from that loop too.

5 years agosmpi: initialize fields, and don't reset the actor each time we change the attached...
Martin Quinson [Thu, 12 Jul 2018 13:08:19 +0000 (15:08 +0200)]
smpi: initialize fields, and don't reset the actor each time we change the attached data

5 years agoEngine::{host,link,storage}_by_name throw std::invalid_argument() when not found
Martin Quinson [Thu, 12 Jul 2018 12:51:04 +0000 (14:51 +0200)]
Engine::{host,link,storage}_by_name throw std::invalid_argument() when not found

5 years agorefactor a bit
Frederic Suter [Wed, 11 Jul 2018 17:41:35 +0000 (19:41 +0200)]
refactor a bit

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 11 Jul 2018 17:28:58 +0000 (19:28 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agoextend the example with heterogeneous parallel task
Frederic Suter [Wed, 11 Jul 2018 17:28:31 +0000 (19:28 +0200)]
extend the example with heterogeneous parallel task

5 years agofix CPU consumption tracing for parallel tasks
Frederic Suter [Wed, 11 Jul 2018 17:27:01 +0000 (19:27 +0200)]
fix CPU consumption tracing for parallel tasks

5 years agoAdd PAPI libraries to mc/remote filtered libraries.
Arnaud Giersch [Wed, 11 Jul 2018 13:58:30 +0000 (15:58 +0200)]
Add PAPI libraries to mc/remote filtered libraries.

5 years agoUpdate.
Arnaud Giersch [Tue, 10 Jul 2018 09:36:12 +0000 (11:36 +0200)]
Update.

5 years agoremove that useless std::string()
Martin Quinson [Wed, 11 Jul 2018 14:59:52 +0000 (16:59 +0200)]
remove that useless std::string()

5 years agostringify s4u::Engine
Martin Quinson [Wed, 11 Jul 2018 09:13:57 +0000 (11:13 +0200)]
stringify s4u::Engine

5 years agochar* are banned
Frederic Suter [Tue, 10 Jul 2018 09:36:36 +0000 (11:36 +0200)]
char* are banned

5 years agoAdd libboost_timer to mc/remote filtered libraries.
Arnaud Giersch [Tue, 10 Jul 2018 08:52:51 +0000 (10:52 +0200)]
Add libboost_timer to mc/remote filtered libraries.

5 years agoKill commented code.
Arnaud Giersch [Wed, 4 Jul 2018 14:03:45 +0000 (16:03 +0200)]
Kill commented code.

5 years agoExtract assignment from expression (sonar).
Arnaud Giersch [Wed, 4 Jul 2018 14:02:32 +0000 (16:02 +0200)]
Extract assignment from expression (sonar).

5 years agoRemove redundant access specifier.
Arnaud Giersch [Wed, 4 Jul 2018 14:01:17 +0000 (16:01 +0200)]
Remove redundant access specifier.

5 years agoUse an array.
Arnaud Giersch [Wed, 4 Jul 2018 13:59:57 +0000 (15:59 +0200)]
Use an array.

5 years agoKill unused field.
Arnaud Giersch [Tue, 3 Jul 2018 14:26:32 +0000 (16:26 +0200)]
Kill unused field.

5 years agoanother attempt at fixing weird clang compilers
Martin Quinson [Tue, 10 Jul 2018 07:43:09 +0000 (09:43 +0200)]
another attempt at fixing weird clang compilers

5 years agotry to fix build with old clangs
Martin Quinson [Tue, 10 Jul 2018 05:56:36 +0000 (07:56 +0200)]
try to fix build with old clangs

It does not break on my clang version even without this, so other breakage may remain

5 years agopartially stringify s4u::Actor
Martin Quinson [Mon, 9 Jul 2018 22:46:14 +0000 (00:46 +0200)]
partially stringify s4u::Actor

5 years agobetter (?) grammar
Martin Quinson [Mon, 9 Jul 2018 22:11:45 +0000 (00:11 +0200)]
better (?) grammar

5 years agosimgrid_convert_TI_traces: better error handling
Martin Quinson [Mon, 9 Jul 2018 21:47:54 +0000 (23:47 +0200)]
simgrid_convert_TI_traces: better error handling

Thanks for the idea, Tom.

5 years agothis_actor::exit() is a better name than this_actor::kill()
Martin Quinson [Mon, 9 Jul 2018 16:03:09 +0000 (18:03 +0200)]
this_actor::exit() is a better name than this_actor::kill()

5 years agoprefer automatic memory management
Martin Quinson [Mon, 9 Jul 2018 14:26:22 +0000 (16:26 +0200)]
prefer automatic memory management

5 years agoneed to change here as well
Augustin Degomme [Mon, 9 Jul 2018 19:37:27 +0000 (21:37 +0200)]
need to change here as well

5 years agoInitialize fortran data structures in all cases.
Augustin Degomme [Mon, 9 Jul 2018 16:26:50 +0000 (18:26 +0200)]
Initialize fortran data structures in all cases.
We have a weird proxy app with the main in C, and the rest in Fortran.
TODO :
 - check if overhead is fine (+leaks).

5 years agoprevent <0 errorcodes in MPI_Error_code
Augustin Degomme [Mon, 9 Jul 2018 16:03:06 +0000 (18:03 +0200)]
prevent <0 errorcodes in MPI_Error_code

5 years agoChange size of 2 fortran MPI datatypes.
Augustin Degomme [Mon, 9 Jul 2018 16:02:46 +0000 (18:02 +0200)]
Change size of 2 fortran MPI datatypes.
Not sure if helpful, but should be more accurate.

5 years agoFix issue with Fortran indexes not computed properly for waitany/testany.
Augustin Degomme [Mon, 9 Jul 2018 16:01:54 +0000 (18:01 +0200)]
Fix issue with Fortran indexes not computed properly for waitany/testany.

5 years agoattempt to fully trace ptasks
Frederic Suter [Mon, 9 Jul 2018 15:31:36 +0000 (17:31 +0200)]
attempt to fully trace ptasks

5 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Mon, 9 Jul 2018 04:50:08 +0000 (06:50 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

5 years agoplug a memleak
Martin Quinson [Mon, 9 Jul 2018 04:46:24 +0000 (06:46 +0200)]
plug a memleak

5 years agohave each model register into all_existing_models by itself
Martin Quinson [Sun, 8 Jul 2018 23:53:04 +0000 (01:53 +0200)]
have each model register into all_existing_models by itself

5 years agoprefer automatic mem handling (std::vector<>* becomes std::vector<>)
Martin Quinson [Sun, 8 Jul 2018 23:32:22 +0000 (01:32 +0200)]
prefer automatic mem handling (std::vector<>* becomes std::vector<>)

5 years agolet *Zones use their own network_model_ instead of the global surf_network_model
Martin Quinson [Sun, 8 Jul 2018 23:22:41 +0000 (01:22 +0200)]
let *Zones use their own network_model_ instead of the global surf_network_model

5 years agogive a network_model to each NetZone (unused for now)
Martin Quinson [Sun, 8 Jul 2018 23:17:58 +0000 (01:17 +0200)]
give a network_model to each NetZone (unused for now)

For now, it cannot be anything else than the network_model of the
englobing zone, or the global surf_network_model for the root zone.

For now, it's not used anywhere.

Of course, the goal is to finally implement this multi-model shit.

5 years agocosmetics
Martin Quinson [Sun, 8 Jul 2018 22:43:47 +0000 (00:43 +0200)]
cosmetics

5 years agomake the output readable for very large task amounts too
Martin Quinson [Sun, 8 Jul 2018 14:42:22 +0000 (16:42 +0200)]
make the output readable for very large task amounts too

5 years agotiny speed optim
Martin Quinson [Sun, 8 Jul 2018 14:41:57 +0000 (16:41 +0200)]
tiny speed optim

5 years agoignore unit tests
Martin Quinson [Sun, 8 Jul 2018 14:17:20 +0000 (16:17 +0200)]
ignore unit tests

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

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

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

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

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

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

5 years agomake the output readable for very large task amounts too
Martin Quinson [Sun, 8 Jul 2018 14:42:22 +0000 (16:42 +0200)]
make the output readable for very large task amounts too

5 years agotiny speed optim
Martin Quinson [Sun, 8 Jul 2018 14:41:57 +0000 (16:41 +0200)]
tiny speed optim

5 years agoignore unit tests
Martin Quinson [Sun, 8 Jul 2018 14:17:20 +0000 (16:17 +0200)]
ignore unit tests

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

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

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

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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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

5 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)

5 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

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

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

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

5 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

5 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

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

5 years ago[examples] smpi replay on steroids
Millian Poquet [Mon, 19 Dec 2016 19:02:42 +0000 (20:02 +0100)]
[examples] smpi replay on steroids

This example shows how to mix S4U and SMPI (and MSG...)
to allow the (concurrent) dynamic replay of several SMPI traces.

This is heavily inspired from Batsim.

5 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