Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Sun, 28 Feb 2016 12:02:28 +0000 (13:02 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 28 Feb 2016 11:58:20 +0000 (12:58 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoreindent, no real change
Martin Quinson [Sun, 28 Feb 2016 11:25:37 +0000 (12:25 +0100)]
reindent, no real change

4 years agocleanups in routing
Martin Quinson [Sun, 28 Feb 2016 11:05:41 +0000 (12:05 +0100)]
cleanups in routing

- Make the link field of sg_platf_route_cbarg_t a vector<Link*>
  instead of a dynar.

- This dynar used to contain sometimes links (when computing the
  RouteAndLatency) and sometimes link names (when parsing).

- When parsing, the AS were in charge of checking that the links
  which names are given exist. Now, the parsing code has to deal with
  its own mess, to pass the expected Link*.

The situation around this data structure is still very messy because:
 - src and dst are the names while src_gw and dst_gw are the netcards
 - not all the fields are used in all usages:
   - src/dst not used in data stored in floyd/dijkstra
   - gw_* not used when adding a route (only for ASroute)
   - gw_* not used in the data stored in floyd/dijkstra but in the
     return value of getRouteAndLatency for these models.

Ultimately, this data structure should be limited to the xml world,
and proper replacement designed for each situations.

4 years agoour code is so entertaining
Martin Quinson [Sat, 27 Feb 2016 22:25:02 +0000 (23:25 +0100)]
our code is so entertaining

4 years agoremove every XBT_USE_DEPRECATED parts
Martin Quinson [Sat, 27 Feb 2016 18:40:23 +0000 (19:40 +0100)]
remove every XBT_USE_DEPRECATED parts

4 years agothat bug is fixed now
Martin Quinson [Sat, 27 Feb 2016 16:31:43 +0000 (17:31 +0100)]
that bug is fixed now

4 years agoMerge pull request #65 from fabienchaix/master
Martin Quinson [Sat, 27 Feb 2016 16:22:54 +0000 (17:22 +0100)]
Merge pull request #65 from fabienchaix/master

Adding test for concurrency and cleaner concurrency support

4 years agotry to crash properly when dynamicanalysis build fails
degomme [Sat, 27 Feb 2016 13:45:36 +0000 (14:45 +0100)]
try to crash properly when dynamicanalysis build fails

4 years agotry to fix build with lua
degomme [Sat, 27 Feb 2016 12:43:35 +0000 (13:43 +0100)]
try to fix build with lua

4 years agofixing logs after category removal
Frederic Suter [Sat, 27 Feb 2016 00:50:38 +0000 (01:50 +0100)]
fixing logs after category removal

4 years agoAh... C was a long time ago..
Fabien Chaix [Sat, 27 Feb 2016 00:39:56 +0000 (02:39 +0200)]
Ah... C was a long time ago..

4 years agoRemoving concurrency printing that was making a mess
Fabien Chaix [Sat, 27 Feb 2016 00:07:34 +0000 (02:07 +0200)]
Removing concurrency printing that was making a mess

4 years agoHopefully the last fix in tesh files
Fabien Chaix [Fri, 26 Feb 2016 23:35:21 +0000 (01:35 +0200)]
Hopefully the last fix in tesh files

4 years agoFixing more mistakes in tesh files
Fabien Chaix [Fri, 26 Feb 2016 23:13:55 +0000 (01:13 +0200)]
Fixing more mistakes in tesh files

4 years agoAdding robustness to logging
Fabien Chaix [Fri, 26 Feb 2016 22:49:43 +0000 (00:49 +0200)]
Adding robustness to logging

4 years agoCorrecting tesh files (2)
Fabien Chaix [Fri, 26 Feb 2016 22:28:45 +0000 (00:28 +0200)]
Correcting tesh files (2)

4 years agonicer API to the Netcard type
Martin Quinson [Fri, 26 Feb 2016 22:21:48 +0000 (23:21 +0100)]
nicer API to the Netcard type

4 years agoCorrecting tesh files
Fabien Chaix [Fri, 26 Feb 2016 22:07:52 +0000 (00:07 +0200)]
Correcting tesh files

4 years agoremove overkill log category declaration
Frederic Suter [Fri, 26 Feb 2016 21:57:17 +0000 (22:57 +0100)]
remove overkill log category declaration

4 years agoTrying to implement the C++ minstd_rand0 to get quick portability
Fabien Chaix [Fri, 26 Feb 2016 21:46:39 +0000 (23:46 +0200)]
Trying to implement the C++ minstd_rand0 to get quick portability

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 21:42:25 +0000 (22:42 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 26 Feb 2016 21:36:45 +0000 (22:36 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agocleanup a couple MSG examples more
Frederic Suter [Fri, 26 Feb 2016 21:35:50 +0000 (22:35 +0100)]
cleanup a couple MSG examples more

4 years agocontrol better random, returning to assertion
Fabien Chaix [Fri, 26 Feb 2016 21:09:00 +0000 (23:09 +0200)]
control better random, returning to assertion

4 years agosimplify some msg examples
Frederic Suter [Fri, 26 Feb 2016 20:48:10 +0000 (21:48 +0100)]
simplify some msg examples

test_all is from another age

4 years agoMore tracking of random numbers and correcting assertion
Fabien Chaix [Fri, 26 Feb 2016 20:43:14 +0000 (22:43 +0200)]
More tracking of random numbers and correcting assertion

4 years agoTrying to fix the random set-up
Fabien Chaix [Fri, 26 Feb 2016 20:18:17 +0000 (22:18 +0200)]
Trying to fix the random set-up

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 26 Feb 2016 19:34:53 +0000 (20:34 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoJunk to understand why tests fail in MAC
Fabien Chaix [Fri, 26 Feb 2016 19:06:00 +0000 (21:06 +0200)]
Junk to understand why tests fail in MAC

4 years agopedantic freak meets MSG sources
Frederic Suter [Fri, 26 Feb 2016 18:36:24 +0000 (19:36 +0100)]
pedantic freak meets MSG sources

4 years agofix make distcheck (but it wasn't me)
Frederic Suter [Fri, 26 Feb 2016 16:00:54 +0000 (17:00 +0100)]
fix make distcheck (but it wasn't me)

4 years agomsg_mailbox.h was alone in src/msg
Frederic Suter [Fri, 26 Feb 2016 15:39:27 +0000 (16:39 +0100)]
msg_mailbox.h was alone in src/msg
  + merge its content to include/simgrid/msg.h
    + except for the private MSG_mailbox_free
  + stop including this header everywhere

4 years agoRemove ROUTING_HOST_LEVEL: was not used anymore
Martin Quinson [Fri, 26 Feb 2016 14:37:41 +0000 (15:37 +0100)]
Remove ROUTING_HOST_LEVEL: was not used anymore

4 years agoAdded formatting to the debug output of maxmin bench, in order to enable comparison.
Fabien Chaix [Fri, 26 Feb 2016 14:27:34 +0000 (16:27 +0200)]
Added formatting to the debug output of maxmin bench, in order to enable comparison.

4 years agoRemove/cleanup/fix #include
Gabriel Corona [Fri, 26 Feb 2016 14:13:38 +0000 (15:13 +0100)]
Remove/cleanup/fix #include

4 years ago[mc] s/NULL/nullptr/
Gabriel Corona [Fri, 26 Feb 2016 13:23:19 +0000 (14:23 +0100)]
[mc] s/NULL/nullptr/

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 13:26:24 +0000 (14:26 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoRemove/cleanup/fix some #include
Gabriel Corona [Fri, 26 Feb 2016 12:36:50 +0000 (13:36 +0100)]
Remove/cleanup/fix some #include

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 12:32:49 +0000 (13:32 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoreplace dumb deployment file by C
Frederic Suter [Fri, 26 Feb 2016 12:32:22 +0000 (13:32 +0100)]
replace dumb deployment file by C

4 years agoRemove some #include
Gabriel Corona [Fri, 26 Feb 2016 11:41:47 +0000 (12:41 +0100)]
Remove some #include

Trying to speed up partial recompilations.

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 11:41:31 +0000 (12:41 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years ago[mc] Fix previous commit
Gabriel Corona [Fri, 26 Feb 2016 11:36:50 +0000 (12:36 +0100)]
[mc] Fix previous commit

It was completely broken :/

4 years agokill ugly deprecated launcher
Frederic Suter [Fri, 26 Feb 2016 11:21:13 +0000 (12:21 +0100)]
kill ugly deprecated launcher

4 years ago[mc] Homogeneise throwned system_error
Gabriel Corona [Fri, 26 Feb 2016 11:12:20 +0000 (12:12 +0100)]
[mc] Homogeneise throwned system_error

 * the same category was not used in all calls;

 * sometimes a pointer to a `new`-ed `system_error` was wrongly used.

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 11:06:26 +0000 (12:06 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agocleanup msg actions
Frederic Suter [Fri, 26 Feb 2016 11:05:17 +0000 (12:05 +0100)]
cleanup msg actions

  + MPI stuff is deprecated, no need for so much example files
  + keep it though for illustrative purposes

4 years ago[mc] Cleanup/reorganise the code of simgrid_mc
Gabriel Corona [Wed, 24 Feb 2016 11:14:01 +0000 (12:14 +0100)]
[mc] Cleanup/reorganise the code of simgrid_mc

4 years ago[mc] Documentation for Type and Member
Gabriel Corona [Wed, 24 Feb 2016 09:40:55 +0000 (10:40 +0100)]
[mc] Documentation for Type and Member

4 years ago[mc] Remove Type::is_pointer_type
Gabriel Corona [Wed, 24 Feb 2016 09:21:59 +0000 (10:21 +0100)]
[mc] Remove Type::is_pointer_type

4 years ago[mc] Member initialization in Variable, Member, Type
Gabriel Corona [Wed, 24 Feb 2016 09:19:51 +0000 (10:19 +0100)]
[mc] Member initialization in Variable, Member, Type

4 years ago[mc] Move some code into simgrid::mc namespace
Gabriel Corona [Tue, 23 Feb 2016 15:59:46 +0000 (16:59 +0100)]
[mc] Move some code into simgrid::mc namespace

4 years ago[mc] Don't leave model-checked processes around
Gabriel Corona [Fri, 26 Feb 2016 10:02:54 +0000 (11:02 +0100)]
[mc] Don't leave model-checked processes around

In some cases, we terminate the model-checker brutally inside of its
event loop instead of letting the event loop and the model checker
terminate cleanly. In this case, the model-checked process could still
be left alive.

Because the model-checker was still around, tesh was still waiting on
the pipe and ended-up timing out.

We now SIGKILL the model-checked process when exiting the
model-checker brutally.

4 years agooups
Martin Quinson [Fri, 26 Feb 2016 10:08:07 +0000 (11:08 +0100)]
oups

4 years agorebalance a bit between simgrid_config and internal_config
Martin Quinson [Fri, 26 Feb 2016 09:53:24 +0000 (10:53 +0100)]
rebalance a bit between simgrid_config and internal_config

4 years agofurther cleanups of the DLL usage madness
Martin Quinson [Fri, 26 Feb 2016 08:12:52 +0000 (09:12 +0100)]
further cleanups of the DLL usage madness

4 years agofurther remove dead code
Martin Quinson [Fri, 26 Feb 2016 07:59:12 +0000 (08:59 +0100)]
further remove dead code

4 years agoFixed outputs of failing tests (one because I was negligent, another because absolute...
Fabien Chaix [Fri, 26 Feb 2016 06:08:19 +0000 (08:08 +0200)]
Fixed outputs of failing tests (one because I was negligent, another because absolute paths cannot be used -of course-)

4 years agowoops, all machines but mine need stdio.h here
Martin Quinson [Fri, 26 Feb 2016 01:56:47 +0000 (02:56 +0100)]
woops, all machines but mine need stdio.h here

4 years agoasprintf is never used: bprintf is so swag
Martin Quinson [Fri, 26 Feb 2016 01:30:25 +0000 (02:30 +0100)]
asprintf is never used: bprintf is so swag

4 years agowe never need asnprintf nor vasnprintf
Martin Quinson [Fri, 26 Feb 2016 01:06:32 +0000 (02:06 +0100)]
we never need asnprintf nor vasnprintf

4 years agosnprintf is C99, we require C11. kill the portability code
Martin Quinson [Fri, 26 Feb 2016 01:02:37 +0000 (02:02 +0100)]
snprintf is C99, we require C11. kill the portability code

4 years agofurther improve code coverage by killing old code
Martin Quinson [Fri, 26 Feb 2016 00:37:42 +0000 (01:37 +0100)]
further improve code coverage by killing old code

4 years agotesh is not in C anymore, there is no need to compute string diffs
Martin Quinson [Fri, 26 Feb 2016 00:16:41 +0000 (01:16 +0100)]
tesh is not in C anymore, there is no need to compute string diffs

4 years agokill some other defunct portability checks
Martin Quinson [Fri, 26 Feb 2016 00:01:56 +0000 (01:01 +0100)]
kill some other defunct portability checks

4 years agowe don't support static build [on windows] anyway
Martin Quinson [Thu, 25 Feb 2016 23:50:19 +0000 (00:50 +0100)]
we don't support static build [on windows] anyway

4 years agoimprove coverage: kill dead code
Martin Quinson [Thu, 25 Feb 2016 23:48:23 +0000 (00:48 +0100)]
improve coverage: kill dead code

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 25 Feb 2016 22:17:58 +0000 (23:17 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agodust a bit our portability checks
Martin Quinson [Thu, 25 Feb 2016 22:11:37 +0000 (23:11 +0100)]
dust a bit our portability checks

4 years agoremove useless header inclusions
Martin Quinson [Thu, 25 Feb 2016 22:00:10 +0000 (23:00 +0100)]
remove useless header inclusions

4 years agoCeterum censeo Applem delendam esse
Martin Quinson [Thu, 25 Feb 2016 21:55:03 +0000 (22:55 +0100)]
Ceterum censeo Applem delendam esse

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 25 Feb 2016 12:23:30 +0000 (13:23 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoyet another redundant platform less
Frederic Suter [Thu, 25 Feb 2016 12:23:04 +0000 (13:23 +0100)]
yet another redundant platform less

4 years agoImplem? I meant Impl, as in pimpl. Sorry for the noise
Martin Quinson [Thu, 25 Feb 2016 12:15:24 +0000 (13:15 +0100)]
Implem? I meant Impl, as in pimpl. Sorry for the noise

4 years agochanged some trace names
Frederic Suter [Thu, 25 Feb 2016 09:47:32 +0000 (10:47 +0100)]
changed some trace names

4 years agofactor host samples, update flatifier
Frederic Suter [Thu, 25 Feb 2016 09:40:40 +0000 (10:40 +0100)]
factor host samples, update flatifier

4 years agoFixed tesh-surf-maxmin-xxx tests
Fabien Chaix [Thu, 25 Feb 2016 08:04:36 +0000 (10:04 +0200)]
Fixed tesh-surf-maxmin-xxx tests

4 years agoAdding some text in the documentation related to integration tests
Fabien Chaix [Thu, 25 Feb 2016 07:44:00 +0000 (09:44 +0200)]
Adding some text in the documentation related to integration tests
Modify tests to pass following modifications in SURF:
-> replay multiple has a margnial change of completion time
-> duplicated the test with maxmin-bench to get one smaller instance with all debug output
   and one with the same large instance.
Modified debug messages in SURF not to include pointers.

4 years agocosmetics in the coordinate-based platform files
Martin Quinson [Wed, 24 Feb 2016 22:24:41 +0000 (23:24 +0100)]
cosmetics in the coordinate-based platform files

4 years agokill SD_HOST_LEVEL \o/. Its friends must follow.
Martin Quinson [Wed, 24 Feb 2016 21:28:14 +0000 (22:28 +0100)]
kill SD_HOST_LEVEL \o/. Its friends must follow.

4 years agokill two almost empty files by inlining the contained function
Martin Quinson [Wed, 24 Feb 2016 21:23:51 +0000 (22:23 +0100)]
kill two almost empty files by inlining the contained function

4 years agoLet's call sg::surf::host a HostImplem
Martin Quinson [Wed, 24 Feb 2016 21:14:21 +0000 (22:14 +0100)]
Let's call sg::surf::host a HostImplem

4 years agoconvert S4U to my current coding convention
Martin Quinson [Wed, 24 Feb 2016 20:41:24 +0000 (21:41 +0100)]
convert S4U to my current coding convention

4 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Wed, 24 Feb 2016 18:47:27 +0000 (19:47 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

4 years agoget ride of a stupid header file
Martin Quinson [Wed, 24 Feb 2016 18:10:19 +0000 (19:10 +0100)]
get ride of a stupid header file

4 years agotry to sort out the surf headers a bit, if possible
Martin Quinson [Wed, 24 Feb 2016 17:27:43 +0000 (18:27 +0100)]
try to sort out the surf headers a bit, if possible

4 years ago[cmake] hide debug message
Martin Quinson [Wed, 24 Feb 2016 13:54:30 +0000 (14:54 +0100)]
[cmake] hide debug message

4 years agoseriously, me
degomme [Wed, 24 Feb 2016 16:32:28 +0000 (17:32 +0100)]
seriously, me

4 years agoseriously c++
degomme [Wed, 24 Feb 2016 16:31:38 +0000 (17:31 +0100)]
seriously c++

4 years agoadd extern "C"
degomme [Wed, 24 Feb 2016 16:19:51 +0000 (17:19 +0100)]
add extern "C"

4 years agoOne day, we will manage to check dist before pushing. One day.. :p
degomme [Wed, 24 Feb 2016 14:53:53 +0000 (15:53 +0100)]
One day, we will manage to check dist before pushing. One day.. :p

4 years agoSomehow cmake on windows+ci found this syntax wrong and did not compile ucontexts..
degomme [Wed, 24 Feb 2016 14:49:20 +0000 (15:49 +0100)]
Somehow cmake on windows+ci found this syntax wrong and did not compile ucontexts..

4 years agofix windows compilation
degomme [Wed, 24 Feb 2016 13:59:00 +0000 (14:59 +0100)]
fix windows compilation

4 years ago[cmake] hide debug message
Martin Quinson [Wed, 24 Feb 2016 13:54:30 +0000 (14:54 +0100)]
[cmake] hide debug message

4 years agostart to factor dummy platforms
Frederic Suter [Wed, 24 Feb 2016 13:30:36 +0000 (14:30 +0100)]
start to factor dummy platforms

4 years agoremove some redundant files
Frederic Suter [Wed, 24 Feb 2016 12:56:00 +0000 (13:56 +0100)]
remove some redundant files

4 years agoDijkstra is not so cool finally
Frederic Suter [Wed, 24 Feb 2016 12:55:29 +0000 (13:55 +0100)]
Dijkstra is not so cool finally

4 years agoMerge branch 'oldstyle_element_set'
Fabien Chaix [Wed, 24 Feb 2016 12:05:57 +0000 (14:05 +0200)]
Merge branch 'oldstyle_element_set'
Fixed corner cases with concurrency and concurrency_share>1
Fixed a bug in lmm_on_disabled_var()
Added more flexibility to maxmin_bench to stress better SURF maxmin

4 years agoDijkstra would have like symmetry too
Frederic Suter [Wed, 24 Feb 2016 11:59:28 +0000 (12:59 +0100)]
Dijkstra would have like symmetry too