Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agoreindent, no real change
Martin Quinson [Sun, 28 Feb 2016 11:25:37 +0000 (12:25 +0100)]
reindent, no real change

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

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

8 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

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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

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

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

8 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

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

8 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

8 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

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

8 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

8 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 :/

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

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

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

8 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

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

8 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

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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

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

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

8 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

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

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

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

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

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

8 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

8 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

8 years agofour_hosts_floyd_bis doesn't bring anything
Frederic Suter [Wed, 24 Feb 2016 11:44:54 +0000 (12:44 +0100)]
four_hosts_floyd_bis doesn't bring anything
  when compared to four_hosts_floyd
  kill it and remove associate test
  and it had 5 hosts BTW ... logical in a SimGrid way.

8 years agoupdate definePackages
Frederic Suter [Wed, 24 Feb 2016 11:44:27 +0000 (12:44 +0100)]
update definePackages

8 years agoremove old locations
Frederic Suter [Wed, 24 Feb 2016 11:43:58 +0000 (12:43 +0100)]
remove old locations

8 years agorename conf to optorsim
Frederic Suter [Wed, 24 Feb 2016 11:43:14 +0000 (12:43 +0100)]
rename conf to optorsim

8 years agoignore mc mutex binaries
Frederic Suter [Wed, 24 Feb 2016 11:24:37 +0000 (12:24 +0100)]
ignore mc mutex binaries

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 24 Feb 2016 11:07:56 +0000 (12:07 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

8 years agomake surf tesh test something
Frederic Suter [Wed, 24 Feb 2016 11:07:08 +0000 (12:07 +0100)]
make surf tesh test something

8 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 24 Feb 2016 10:24:42 +0000 (11:24 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

8 years agoIn <host> and <link>, attributes availability and state are gone.
Martin Quinson [Wed, 24 Feb 2016 10:08:11 +0000 (11:08 +0100)]
In <host> and <link>, attributes availability and state are gone.

It was redundent with state and availability traces, and with peak
values.

8 years agochange log format to avoid printing file path
degomme [Wed, 24 Feb 2016 09:49:39 +0000 (10:49 +0100)]
change log format to avoid printing file path

8 years agoAdd test for the (still very experimental) automatic evaluation of collective algorithms
degomme [Wed, 24 Feb 2016 09:28:44 +0000 (10:28 +0100)]
Add test for the (still very experimental) automatic evaluation of collective algorithms
Just to test the last non covered file in smpi.

8 years agothis xml file did not even parse anymore
Martin Quinson [Wed, 24 Feb 2016 09:11:48 +0000 (10:11 +0100)]
this xml file did not even parse anymore

8 years agoPrevious change made this size smaller, but it resulted in actually another algorithm...
degomme [Wed, 24 Feb 2016 09:06:17 +0000 (10:06 +0100)]
Previous change made this size smaller, but it resulted in actually another algorithm being tested -> increase it again
To avoid issues with memory usage, reduce the number of nodes instead.

8 years agosimplify a bit the CPU creation API
Martin Quinson [Wed, 24 Feb 2016 08:13:29 +0000 (09:13 +0100)]
simplify a bit the CPU creation API

pstate and initiallyOn are not passed anymore to the constructor. They
default respectively to 0 and true. You can change the values after
creation if you want.

8 years agomove more xml cruft to the xml jail
Martin Quinson [Wed, 24 Feb 2016 07:44:55 +0000 (08:44 +0100)]
move more xml cruft to the xml jail

8 years agokill several unused functions in xbt
Martin Quinson [Wed, 24 Feb 2016 07:13:02 +0000 (08:13 +0100)]
kill several unused functions in xbt

8 years agorephrase to improve coverage
Martin Quinson [Wed, 24 Feb 2016 07:10:27 +0000 (08:10 +0100)]
rephrase to improve coverage

8 years agohow many times can I break make distcheck in only one day?
Martin Quinson [Tue, 23 Feb 2016 21:43:18 +0000 (22:43 +0100)]
how many times can I break make distcheck in only one day?

8 years ago[cmake] replace tools/cmake/MakeExe by a little foreach loop
Martin Quinson [Tue, 23 Feb 2016 21:35:47 +0000 (22:35 +0100)]
[cmake] replace tools/cmake/MakeExe by a little foreach loop

8 years agothis test does not exist anymore
Martin Quinson [Tue, 23 Feb 2016 20:39:29 +0000 (21:39 +0100)]
this test does not exist anymore

8 years agoSome people want both make distcheck AND make to work. Shocking.
Martin Quinson [Tue, 23 Feb 2016 19:58:26 +0000 (20:58 +0100)]
Some people want both make distcheck AND make to work. Shocking.

8 years agoGuess what. I broke make distcheck.
Martin Quinson [Tue, 23 Feb 2016 19:37:28 +0000 (20:37 +0100)]
Guess what. I broke make distcheck.

8 years agoKill graphxml parsing feature. It was not used
Martin Quinson [Tue, 23 Feb 2016 19:34:51 +0000 (20:34 +0100)]
Kill graphxml parsing feature. It was not used

8 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 23 Feb 2016 18:44:39 +0000 (19:44 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

8 years agoreduce the amount of includes to speed up recompilations
Martin Quinson [Tue, 23 Feb 2016 18:44:27 +0000 (19:44 +0100)]
reduce the amount of includes to speed up recompilations

8 years agothat perticular binary wants to be in bin/ not ./
Martin Quinson [Tue, 23 Feb 2016 18:22:57 +0000 (19:22 +0100)]
that perticular binary wants to be in bin/ not ./