Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 months agodoxygen: rework the s4u header
Martin Quinson [Tue, 17 Jul 2018 23:58:56 +0000 (01:58 +0200)]
doxygen: rework the s4u header

13 months agodoxygen: uniformity in command markers (@ vs. \)
Martin Quinson [Tue, 17 Jul 2018 23:51:00 +0000 (01:51 +0200)]
doxygen: uniformity in command markers (@ vs. \)

13 months agodoxygen: better handling of deprecated symbols
Martin Quinson [Tue, 17 Jul 2018 22:26:36 +0000 (00:26 +0200)]
doxygen: better handling of deprecated symbols

13 months agomy_valgrind.pl: pass keep-temps to smpirun so that valgrind can analyse the binaries...
Martin Quinson [Tue, 17 Jul 2018 21:36:03 +0000 (23:36 +0200)]
my_valgrind.pl: pass keep-temps to smpirun so that valgrind can analyse the binaries on memleaks

13 months agocmake: stop patching tesh in FindValgrind, that's too ugly
Martin Quinson [Tue, 17 Jul 2018 21:18:13 +0000 (23:18 +0200)]
cmake: stop patching tesh in FindValgrind, that's too ugly

13 months agosonar: unused parameter
Martin Quinson [Tue, 17 Jul 2018 21:11:27 +0000 (23:11 +0200)]
sonar: unused parameter

13 months agoinstall smpimain in /usr/lib/simgrid
Martin Quinson [Tue, 17 Jul 2018 09:03:14 +0000 (11:03 +0200)]
install smpimain in /usr/lib/simgrid

It's not meant to be used directly by the user

13 months agoCOPYING: align with the package content
Martin Quinson [Mon, 16 Jul 2018 21:24:03 +0000 (23:24 +0200)]
COPYING: align with the package content

13 months agoCosmetic indentation.
Arnaud Giersch [Tue, 17 Jul 2018 12:25:33 +0000 (14:25 +0200)]
Cosmetic indentation.

13 months agoAdd dependencies.
Arnaud Giersch [Tue, 17 Jul 2018 12:20:43 +0000 (14:20 +0200)]
Add dependencies.

13 months agoFiles were regenerated with maintainer_mode on.
Arnaud Giersch [Tue, 17 Jul 2018 12:19:31 +0000 (14:19 +0200)]
Files were regenerated with maintainer_mode on.

13 months agoinitialize value to finalize (-1)
Frederic Suter [Tue, 17 Jul 2018 08:17:45 +0000 (10:17 +0200)]
initialize value to finalize (-1)

13 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 17 Jul 2018 07:39:09 +0000 (09:39 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

14 months agoMSG to S4U conversion.
Frederic Suter [Mon, 16 Jul 2018 14:53:18 +0000 (16:53 +0200)]
MSG to S4U conversion.
This example is currently broken, hence not tested

14 months ago[ENERGY] Updated some debug messages
Christian Heinrich [Mon, 16 Jul 2018 08:54:26 +0000 (10:54 +0200)]
[ENERGY] Updated some debug messages

14 months ago[SMPI/LB] Remove smpi/plugin/lb/migration-frequency option
Christian Heinrich [Mon, 16 Jul 2018 14:21:17 +0000 (16:21 +0200)]
[SMPI/LB] Remove smpi/plugin/lb/migration-frequency option

This option was erroneously added in 1caa54629d706bd2b086297bef7e61295755b762,
even though the load balancing is not yet published.

This option was moved to the right location in the LB code and will
not be required here.

14 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 16 Jul 2018 13:43:21 +0000 (15:43 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

14 months agoif the deque is empty, remove it from the map
Frederic Suter [Mon, 16 Jul 2018 13:30:45 +0000 (15:30 +0200)]
if the deque is empty, remove it from the map

14 months agoVERSION_GREATER_EQUAL is not available with older cmake.
Arnaud Giersch [Mon, 16 Jul 2018 13:22:59 +0000 (15:22 +0200)]
VERSION_GREATER_EQUAL is not available with older cmake.

14 months agoTry to fix MC with recent GNU ld (>= 2.30).
Arnaud Giersch [Mon, 16 Jul 2018 13:15:43 +0000 (15:15 +0200)]
Try to fix MC with recent GNU ld (>= 2.30).

It's failing with:
./src/mc/sosp/mc_checkpoint.cpp:205: [root/CRITICAL] Multiple read only segments for [...], not supported.

14 months agohide tracing from MSG
Frederic Suter [Mon, 16 Jul 2018 10:21:38 +0000 (12:21 +0200)]
hide tracing from MSG

14 months agoRestore C linkage for simcall_process_create.
Arnaud Giersch [Mon, 16 Jul 2018 09:54:32 +0000 (11:54 +0200)]
Restore C linkage for simcall_process_create.

14 months agoRemove duplicate entry.
Arnaud Giersch [Sun, 15 Jul 2018 21:16:28 +0000 (23:16 +0200)]
Remove duplicate entry.

14 months agoChange order of exceptions to please pylint (codacy).
Arnaud Giersch [Sat, 14 Jul 2018 19:59:28 +0000 (21:59 +0200)]
Change order of exceptions to please pylint (codacy).

14 months agoFix memory leak of variable job on throw (cppcheck).
Arnaud Giersch [Fri, 13 Jul 2018 17:07:29 +0000 (19:07 +0200)]
Fix memory leak of variable job on throw (cppcheck).

14 months agomerge more tests in less tesh files
Frederic Suter [Sun, 15 Jul 2018 21:17:39 +0000 (23:17 +0200)]
merge more tests in less tesh files

14 months agoImplement a config::Flag::get_name()
Martin Quinson [Sun, 15 Jul 2018 13:44:45 +0000 (15:44 +0200)]
Implement a config::Flag::get_name()

14 months agorework the option flags of the dvfs plugin
Martin Quinson [Sun, 15 Jul 2018 12:30:19 +0000 (14:30 +0200)]
rework the option flags of the dvfs plugin

14 months agoconfig::Flag: add the version with everything: callback, possible_values, description...
Martin Quinson [Sun, 15 Jul 2018 12:29:36 +0000 (14:29 +0200)]
config::Flag: add the version with everything: callback, possible_values, description, everything

14 months agoimprove an error message
Martin Quinson [Sat, 14 Jul 2018 20:46:36 +0000 (22:46 +0200)]
improve an error message

14 months ago[DVFS] Remove class HostDvfs as it serves no purpose
Christian Heinrich [Fri, 13 Jul 2018 12:03:15 +0000 (14:03 +0200)]
[DVFS] Remove class HostDvfs as it serves no purpose

14 months ago[DVFS] Rename config option from sampling_rate to sampling-rate
Christian Heinrich [Fri, 13 Jul 2018 12:01:14 +0000 (14:01 +0200)]
[DVFS] Rename config option from sampling_rate to sampling-rate

14 months agofix the C inclusion of simix.h, once again
Martin Quinson [Sat, 14 Jul 2018 17:50:18 +0000 (19:50 +0200)]
fix the C inclusion of simix.h, once again

14 months agoSMPI does not need to have its own userdata pointer anymore
Martin Quinson [Sat, 14 Jul 2018 17:39:39 +0000 (19:39 +0200)]
SMPI does not need to have its own userdata pointer anymore

Before, the field of actors were used to store the SMPI data directly,
but now it's free.

With a bit of luck, this change will help StarPU
which fails since a few days, possibly because it tries to get the
userdata from an actor using smpi_process_get_userdata while that
actor is not from SMPI (I'm not sure, that's just a wild guess).

If my guess is right, retriving the userdata from the s4u::Actor will
certainly help. If it's wrong, the change shouldn't harm anything and
it will improve by a tiny bit our memory footprint.

14 months agostringify xbt::config and plugins
Martin Quinson [Sat, 14 Jul 2018 13:47:55 +0000 (15:47 +0200)]
stringify xbt::config and plugins

14 months agoProperly stringify, snake_case and cleanups in k::ExecImpl
Martin Quinson [Sat, 14 Jul 2018 10:42:05 +0000 (12:42 +0200)]
Properly stringify, snake_case and cleanups in k::ExecImpl

14 months agostart to reduce the number of files
Frederic Suter [Sat, 14 Jul 2018 09:44:57 +0000 (11:44 +0200)]
start to reduce the number of files
 - use platfdir
 - generate/delete files with tesh
 - group test together
just two for now, but let's see if makedist is happy on CI before
going further

14 months agoRevert "stringify, snake_case and cleanups in k::ExecImpl"
Martin Quinson [Fri, 13 Jul 2018 21:48:30 +0000 (23:48 +0200)]
Revert "stringify, snake_case and cleanups in k::ExecImpl"

This reverts commit 38e728f7b3bcd80fc948d911a3eaa0ec2062ab69.

14 months agofix MC builds in a ugly way, but I'm sick of it for tonight
Martin Quinson [Fri, 13 Jul 2018 21:21:23 +0000 (23:21 +0200)]
fix MC builds in a ugly way, but I'm sick of it for tonight

14 months agostringify, snake_case and cleanups in k::ExecImpl
Martin Quinson [Fri, 13 Jul 2018 21:02:21 +0000 (23:02 +0200)]
stringify, snake_case and cleanups in k::ExecImpl

14 months agofuuuuux the build, sorry
Martin Quinson [Fri, 13 Jul 2018 20:30:52 +0000 (22:30 +0200)]
fuuuuux the build, sorry

14 months agostringify s4u::VirtualMachine, so all s4u is stringified
Martin Quinson [Fri, 13 Jul 2018 20:16:46 +0000 (22:16 +0200)]
stringify s4u::VirtualMachine, so all s4u is stringified

14 months agoMailboxImpl: snake_case and follow our coding standards
Martin Quinson [Fri, 13 Jul 2018 20:07:15 +0000 (22:07 +0200)]
MailboxImpl: snake_case and follow our coding standards

14 months agostringify s4u::Mailbox and k::a::MailboxImpl
Martin Quinson [Fri, 13 Jul 2018 20:03:23 +0000 (22:03 +0200)]
stringify s4u::Mailbox and k::a::MailboxImpl

14 months agostringify s4u::Link
Martin Quinson [Fri, 13 Jul 2018 19:58:18 +0000 (21:58 +0200)]
stringify s4u::Link

14 months agostringify s4u::Host
Martin Quinson [Fri, 13 Jul 2018 19:54:53 +0000 (21:54 +0200)]
stringify s4u::Host

14 months agoignore more cruft
Martin Quinson [Fri, 13 Jul 2018 19:42:50 +0000 (21:42 +0200)]
ignore more cruft

14 months agodeprecate some of simix.h C API
Martin Quinson [Fri, 13 Jul 2018 19:41:13 +0000 (21:41 +0200)]
deprecate some of simix.h C API

14 months agoC API: rename sg_engine_*() into simgrid_*()
Martin Quinson [Fri, 13 Jul 2018 18:54:00 +0000 (20:54 +0200)]
C API: rename sg_engine_*() into simgrid_*()

14 months agostop parsing the command line when encountering '--'
Martin Quinson [Fri, 13 Jul 2018 18:20:07 +0000 (20:20 +0200)]
stop parsing the command line when encountering '--'

And also, add a test for this feature (fix #287)

14 months agotesh: better error reporting in one specific failure case
Martin Quinson [Fri, 13 Jul 2018 18:11:35 +0000 (20:11 +0200)]
tesh: better error reporting in one specific failure case

14 months agonew C function: simgrid_init
Martin Quinson [Fri, 13 Jul 2018 16:56:25 +0000 (18:56 +0200)]
new C function: simgrid_init

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

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

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

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

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

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

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

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

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

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

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

14 months 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/

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

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

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

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

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

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

14 months 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?

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

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

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

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

Also escape dots in regexps.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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