Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 7 Aug 2017 19:30:04 +0000 (21:30 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoMerge pull request #213 from bcamus/master
Martin Quinson [Mon, 7 Aug 2017 18:55:17 +0000 (20:55 +0200)]
Merge pull request #213 from bcamus/master

Fixing a bug in PMs energy consumptions when suspending and resuming VM

6 years agoconvert map to dynar at API level
Frederic Suter [Mon, 7 Aug 2017 14:25:20 +0000 (16:25 +0200)]
convert map to dynar at API level

6 years agojxbt_throw_null needs a string. no need to bprintf
Frederic Suter [Mon, 7 Aug 2017 13:43:47 +0000 (15:43 +0200)]
jxbt_throw_null needs a string. no need to bprintf

6 years agobprintf-- (try to use strings in cpp world
Frederic Suter [Mon, 7 Aug 2017 13:35:11 +0000 (15:35 +0200)]
bprintf-- (try to use strings in cpp world

6 years agono need for unused args
Frederic Suter [Mon, 7 Aug 2017 13:19:15 +0000 (15:19 +0200)]
no need for unused args

6 years agofixing codacy issue
bcamus [Mon, 7 Aug 2017 12:53:09 +0000 (14:53 +0200)]
fixing codacy issue

6 years agogetting rid of bprintf raises a potential bug :-/
Frederic Suter [Mon, 7 Aug 2017 11:07:20 +0000 (13:07 +0200)]
getting rid of bprintf raises a potential bug :-/

had to add a grace time on the master after sending the 'finalize'
order to all workers. Without it, master and Bourassa end at the same
time (last worker to be stopped). However, it seems the master
finishes first and let bourassa in a 'running' state :
Process 6 (worker@Bourassa): waiting for communication synchro 0x24bd6e0 () in state 0 to finish

Commenting line 54 triggers the issue.

6 years agostop using variadic functions for surf_parse messages
Frederic Suter [Mon, 7 Aug 2017 10:26:10 +0000 (12:26 +0200)]
stop using variadic functions for surf_parse messages

6 years agoMerge branch 'master' of https://github.com/simgrid/simgrid
bcamus [Mon, 7 Aug 2017 10:05:31 +0000 (12:05 +0200)]
Merge branch 'master' of https://github.com/simgrid/simgrid

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 7 Aug 2017 08:07:17 +0000 (10:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoplease codacy and sonar + factoring
Frederic Suter [Mon, 7 Aug 2017 07:58:44 +0000 (09:58 +0200)]
please codacy and sonar + factoring

6 years agoinclude <string> to help OSX's clang
Martin Quinson [Sun, 6 Aug 2017 21:08:45 +0000 (23:08 +0200)]
include <string> to help OSX's clang

6 years agomv MSG version of bittorrent to teshsuite
Frederic Suter [Sun, 6 Aug 2017 19:39:58 +0000 (21:39 +0200)]
mv MSG version of bittorrent to teshsuite

6 years agorewrite bittorrent example in s4u
Frederic Suter [Sun, 6 Aug 2017 13:57:31 +0000 (15:57 +0200)]
rewrite bittorrent example in s4u

6 years agosort the content of this file to make the test reproducible
Martin Quinson [Sat, 5 Aug 2017 23:06:51 +0000 (01:06 +0200)]
sort the content of this file to make the test reproducible

6 years agoDeprecate MSG_task_isend_with_matching()
Martin Quinson [Sat, 5 Aug 2017 09:05:32 +0000 (11:05 +0200)]
Deprecate MSG_task_isend_with_matching()

6 years agokill a broken deprecation macro: MSG_mailbox_front() does not exist either
Martin Quinson [Sat, 5 Aug 2017 08:45:44 +0000 (10:45 +0200)]
kill a broken deprecation macro: MSG_mailbox_front() does not exist either

6 years agoreindent
Martin Quinson [Fri, 4 Aug 2017 23:10:58 +0000 (01:10 +0200)]
reindent

6 years agofixing a bug in PMs energy consumptions when suspending and resuming VMs.
bcamus [Fri, 4 Aug 2017 16:16:00 +0000 (18:16 +0200)]
fixing a bug in PMs energy consumptions when suspending and resuming VMs.

6 years agosonar: remove unused type declaration
Martin Quinson [Fri, 4 Aug 2017 10:05:34 +0000 (12:05 +0200)]
sonar: remove unused type declaration

6 years agoMissing include.
Arnaud Giersch [Thu, 3 Aug 2017 21:15:24 +0000 (23:15 +0200)]
Missing include.

6 years agoWhitespace cleanup.
Arnaud Giersch [Thu, 3 Aug 2017 20:46:34 +0000 (22:46 +0200)]
Whitespace cleanup.

6 years agoRemove unused option: network/sender-gap.
Arnaud Giersch [Thu, 3 Aug 2017 20:46:05 +0000 (22:46 +0200)]
Remove unused option: network/sender-gap.

6 years agoKill dead code: haveGap_/senderGap_ are never used.
Arnaud Giersch [Thu, 3 Aug 2017 20:32:35 +0000 (22:32 +0200)]
Kill dead code: haveGap_/senderGap_ are never used.

6 years agoPlease codacy (operator !).
Arnaud Giersch [Thu, 3 Aug 2017 21:00:35 +0000 (23:00 +0200)]
Please codacy (operator !).

6 years agoPlease codacy (integer type consistency).
Arnaud Giersch [Thu, 3 Aug 2017 20:54:27 +0000 (22:54 +0200)]
Please codacy (integer type consistency).

6 years agoSilence codacy (initialize variable).
Arnaud Giersch [Thu, 3 Aug 2017 20:51:34 +0000 (22:51 +0200)]
Silence codacy (initialize variable).

6 years agoPlease codacy (avoid C-style pointer casting).
Arnaud Giersch [Thu, 3 Aug 2017 20:19:04 +0000 (22:19 +0200)]
Please codacy (avoid C-style pointer casting).

6 years agoPlease codacy (initialize member variables).
Arnaud Giersch [Thu, 3 Aug 2017 20:01:57 +0000 (22:01 +0200)]
Please codacy (initialize member variables).

6 years agoPlease codacy (delete copy constructor).
Arnaud Giersch [Thu, 3 Aug 2017 19:58:08 +0000 (21:58 +0200)]
Please codacy (delete copy constructor).

6 years agoPlease codacy (explicit constructor).
Arnaud Giersch [Thu, 3 Aug 2017 19:38:24 +0000 (21:38 +0200)]
Please codacy (explicit constructor).

6 years agoPlease codacy (operator precedence).
Arnaud Giersch [Thu, 3 Aug 2017 19:28:57 +0000 (21:28 +0200)]
Please codacy (operator precedence).

6 years agodict--
Frederic Suter [Thu, 3 Aug 2017 20:48:59 +0000 (22:48 +0200)]
dict--

6 years agomost dicts in instr were bare sets
Frederic Suter [Thu, 3 Aug 2017 16:08:01 +0000 (18:08 +0200)]
most dicts in instr were bare sets

6 years agoRemove legacy parmap functions.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Remove legacy parmap functions.

6 years agoDelete now useless xbt_dynar_three_way_partition().
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Delete now useless xbt_dynar_three_way_partition().

6 years agoUse std::vector instead of dynar in simix_global (process_{to_run,that_ran}).
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Use std::vector instead of dynar in simix_global (process_{to_run,that_ran}).

6 years agoDefine simgrid::xbt::three_way_partition as a generic C++ function.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Define simgrid::xbt::three_way_partition as a generic C++ function.

Replacement for the one in dynar.h.

6 years agoPort parmap_bench to C++.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Port parmap_bench to C++.

6 years agoPort parmap_test to C++.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Port parmap_test to C++.

6 years agoMake symbols public.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Make symbols public.

It will be needed to build parmap_{bench,test} with simgrid::xbt::Parmap<...>,
since it's now a template compiled outside of libsimgrid.

6 years agoMake legacy xbt_parmap functions use the C++ code.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Make legacy xbt_parmap functions use the C++ code.

6 years agoPort xbt_parmap to C++.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Port xbt_parmap to C++.

6 years agoFix include.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Fix include.

6 years ago4 functions and a callback for one dict... seriously?!
Frederic Suter [Thu, 3 Aug 2017 11:39:13 +0000 (13:39 +0200)]
4 functions and a callback for one dict... seriously?!

6 years agodict/dynar --
Frederic Suter [Thu, 3 Aug 2017 10:00:15 +0000 (12:00 +0200)]
dict/dynar --

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 3 Aug 2017 09:17:50 +0000 (11:17 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoremove some useless includes
Frederic Suter [Thu, 3 Aug 2017 09:17:33 +0000 (11:17 +0200)]
remove some useless includes

6 years agoMC doesn't like strings
Frederic Suter [Thu, 3 Aug 2017 09:17:16 +0000 (11:17 +0200)]
MC doesn't like strings

6 years agocodacy
Martin Quinson [Thu, 3 Aug 2017 01:45:09 +0000 (03:45 +0200)]
codacy

6 years agoreindent + clang-format
Frederic Suter [Thu, 3 Aug 2017 08:59:19 +0000 (10:59 +0200)]
reindent + clang-format

6 years agodict--
Frederic Suter [Thu, 3 Aug 2017 08:52:52 +0000 (10:52 +0200)]
dict--

6 years agodict --
Frederic Suter [Thu, 3 Aug 2017 08:36:18 +0000 (10:36 +0200)]
dict --

6 years agodict--
Frederic Suter [Thu, 3 Aug 2017 08:24:34 +0000 (10:24 +0200)]
dict--

6 years agosome dict related cleanups
Frederic Suter [Thu, 3 Aug 2017 08:03:35 +0000 (10:03 +0200)]
some dict related cleanups

6 years agoDon't try to get front() from an empty list.
Arnaud Giersch [Wed, 2 Aug 2017 20:15:28 +0000 (22:15 +0200)]
Don't try to get front() from an empty list.

6 years agoAvoid costly exceptions when looking into a map.
Arnaud Giersch [Wed, 2 Aug 2017 13:49:50 +0000 (15:49 +0200)]
Avoid costly exceptions when looking into a map.

6 years agoRemove now superfluous assert on critical path.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Remove now superfluous assert on critical path.

6 years agoUnused code since commit 61a993d9efe970edcbb1cb3d947553b2f188b327.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Unused code since commit 61a993d9efe970edcbb1cb3d947553b2f188b327.

6 years agoCosmetics: typo in include guard.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Cosmetics: typo in include guard.

6 years agoUpdate .gitignore.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Update .gitignore.

6 years ago[SMPI] Use std::string::compare instead of strncmp
Christian Heinrich [Fri, 7 Jul 2017 15:22:12 +0000 (17:22 +0200)]
[SMPI] Use std::string::compare instead of strncmp

6 years agocleanups in Java examples advised by Sonar
Martin Quinson [Wed, 2 Aug 2017 08:26:10 +0000 (10:26 +0200)]
cleanups in Java examples advised by Sonar

6 years agoAdd two missing @Override annotations
Martin Quinson [Tue, 1 Aug 2017 23:53:15 +0000 (01:53 +0200)]
Add two missing @Override annotations

6 years agotidy the exceptions that can be raised by our Java code
Martin Quinson [Tue, 1 Aug 2017 23:52:04 +0000 (01:52 +0200)]
tidy the exceptions that can be raised by our Java code

Thx, sonar

6 years agosonar: don't complain about Java not having a proper logging mechanism
Martin Quinson [Tue, 1 Aug 2017 23:40:13 +0000 (01:40 +0200)]
sonar: don't complain about Java not having a proper logging mechanism

6 years agoTry to fix msg-process-join.
Arnaud Giersch [Tue, 1 Aug 2017 21:13:30 +0000 (23:13 +0200)]
Try to fix msg-process-join.

On exit, call SIMIX_process_join_finish in maestro context.

6 years agoReduces the amount of build env leaked in the binaries (see #39)
Martin Quinson [Tue, 1 Aug 2017 20:44:24 +0000 (22:44 +0200)]
Reduces the amount of build env leaked in the binaries (see #39)

6 years agotypo found by lintian
Martin Quinson [Tue, 1 Aug 2017 19:47:07 +0000 (21:47 +0200)]
typo found by lintian

6 years agofix copyright file according to Debian standards
Martin Quinson [Tue, 1 Aug 2017 15:38:30 +0000 (17:38 +0200)]
fix copyright file according to Debian standards

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 1 Aug 2017 14:31:48 +0000 (16:31 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agomissing include
Frederic Suter [Tue, 1 Aug 2017 14:31:31 +0000 (16:31 +0200)]
missing include
hope it's the only one

6 years agotry to fix sonar by specifying where the java binaries are
Martin Quinson [Tue, 1 Aug 2017 13:52:46 +0000 (15:52 +0200)]
try to fix sonar by specifying where the java binaries are

6 years agoproperties are now stored in maps and managed by ProperyHolder
Frederic Suter [Tue, 1 Aug 2017 13:42:36 +0000 (15:42 +0200)]
properties are now stored in maps and managed by ProperyHolder
everywhere!

6 years agoOnly maestro is allowed to push in simix_global->process_to_run.
Arnaud Giersch [Tue, 1 Aug 2017 12:28:26 +0000 (14:28 +0200)]
Only maestro is allowed to push in simix_global->process_to_run.

Tests msg-process-join are now expected to fail.

6 years agouse a map for F2C lookup.
Frederic Suter [Tue, 1 Aug 2017 08:48:12 +0000 (10:48 +0200)]
use a map for F2C lookup.
This class could be further improved

6 years agomove ugly dict closer to the C APIs
Frederic Suter [Mon, 31 Jul 2017 16:15:34 +0000 (18:15 +0200)]
move ugly dict closer to the C APIs
+ revise a bit an ugly simdag example

6 years agoimprove
Frederic Suter [Mon, 31 Jul 2017 15:36:01 +0000 (17:36 +0200)]
improve

6 years agosimplify storage_type mess
Frederic Suter [Mon, 31 Jul 2017 13:07:46 +0000 (15:07 +0200)]
simplify storage_type mess

6 years agocosmetics
Frederic Suter [Mon, 31 Jul 2017 09:24:40 +0000 (11:24 +0200)]
cosmetics

6 years agothis dict was a set
Frederic Suter [Mon, 31 Jul 2017 09:18:00 +0000 (11:18 +0200)]
this dict was a set

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 31 Jul 2017 08:26:42 +0000 (10:26 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agotry to fix build + cosmetics
Frederic Suter [Mon, 31 Jul 2017 08:26:27 +0000 (10:26 +0200)]
try to fix build + cosmetics

6 years agoplease sonar
Martin Quinson [Mon, 31 Jul 2017 00:33:41 +0000 (02:33 +0200)]
please sonar

6 years agofix NS3 builds
Martin Quinson [Sun, 30 Jul 2017 23:58:34 +0000 (01:58 +0200)]
fix NS3 builds

6 years agofix an URL
Martin Quinson [Sun, 30 Jul 2017 19:41:52 +0000 (21:41 +0200)]
fix an URL

6 years agokill another dict
Frederic Suter [Sun, 30 Jul 2017 11:31:05 +0000 (13:31 +0200)]
kill another dict

6 years agoplease emptty
Frederic Suter [Sun, 30 Jul 2017 09:19:39 +0000 (11:19 +0200)]
please emptty

6 years agoLast replacement of qsort by std::sort.
Arnaud Giersch [Fri, 28 Jul 2017 09:07:28 +0000 (11:07 +0200)]
Last replacement of qsort by std::sort.

Note that the rankmap array in replaced by a std::vector<std::pair<int, int>>,
and that the two elements of the pair are reversed in order to be correclty
ordered by std::sort.

6 years agoUse std::sort instead of qsort in C++ files (easy part).
Arnaud Giersch [Fri, 28 Jul 2017 08:07:59 +0000 (10:07 +0200)]
Use std::sort instead of qsort in C++ files (easy part).

6 years agodon't let every process do the initialization, only rank 0
Martin Quinson [Fri, 28 Jul 2017 11:06:54 +0000 (13:06 +0200)]
don't let every process do the initialization, only rank 0

Otherwise, overriding_send will be the value assigned to
previous_send, leading into a infinite call loop.

6 years agodisable raw contexts and ucontexts with ASan because of known incompatibilities
Martin Quinson [Thu, 27 Jul 2017 20:55:03 +0000 (22:55 +0200)]
disable raw contexts and ucontexts with ASan because of known incompatibilities

6 years agokill dict and dynar in dotloader
Frederic Suter [Thu, 27 Jul 2017 14:25:28 +0000 (16:25 +0200)]
kill dict and dynar in dotloader

6 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 27 Jul 2017 14:08:38 +0000 (16:08 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

6 years agoAnother one only built on *bsd.
Arnaud Giersch [Thu, 27 Jul 2017 13:28:40 +0000 (15:28 +0200)]
Another one only built on *bsd.

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 27 Jul 2017 13:04:02 +0000 (15:04 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agocosmetics
Frederic Suter [Thu, 27 Jul 2017 12:53:46 +0000 (14:53 +0200)]
cosmetics

6 years agoFix signedness issues in dht-pastry in a more conservative manner.
Arnaud Giersch [Thu, 27 Jul 2017 12:58:50 +0000 (14:58 +0200)]
Fix signedness issues in dht-pastry in a more conservative manner.

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 27 Jul 2017 12:32:06 +0000 (14:32 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid