Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agofurther cleanups in routing: check if route already exists uniformly
Martin Quinson [Sun, 14 Feb 2016 21:31:27 +0000 (22:31 +0100)]
further cleanups in routing: check if route already exists uniformly

8 years agoroutes are symmetrical by default, DRY
Martin Quinson [Sun, 14 Feb 2016 21:28:52 +0000 (22:28 +0100)]
routes are symmetrical by default, DRY

8 years agorouting: rename and sort things
Martin Quinson [Sun, 14 Feb 2016 16:39:41 +0000 (17:39 +0100)]
routing: rename and sort things

8 years agorouting: rename all fields, and less void*
Martin Quinson [Sun, 14 Feb 2016 14:05:01 +0000 (15:05 +0100)]
routing: rename all fields, and less void*

8 years agorouting: factorize the argument checking of parseRoute()s
Martin Quinson [Sun, 14 Feb 2016 12:31:15 +0000 (13:31 +0100)]
routing: factorize the argument checking of parseRoute()s

8 years agoAll elements must exist, having one of them is not enough
Martin Quinson [Sun, 14 Feb 2016 12:23:22 +0000 (13:23 +0100)]
All elements must exist, having one of them is not enough

8 years agoboolean can only take true or false as a value, don't fear
Martin Quinson [Sun, 14 Feb 2016 11:37:10 +0000 (12:37 +0100)]
boolean can only take true or false as a value, don't fear

8 years agogosh, this shitty code is even dupplicated!
Martin Quinson [Sun, 14 Feb 2016 11:31:58 +0000 (12:31 +0100)]
gosh, this shitty code is even dupplicated!

8 years agoDijkstra: kill obscure dead dupplicated code
Martin Quinson [Sun, 14 Feb 2016 11:20:17 +0000 (12:20 +0100)]
Dijkstra: kill obscure dead dupplicated code

8 years agodijkstra: no need for a boolean to see if a dict is not NULL
Martin Quinson [Sun, 14 Feb 2016 11:18:21 +0000 (12:18 +0100)]
dijkstra: no need for a boolean to see if a dict is not NULL

8 years agoExposing a pointer to internals is not considered as good OOP practices
Martin Quinson [Sun, 14 Feb 2016 11:06:49 +0000 (12:06 +0100)]
Exposing a pointer to internals is not considered as good OOP practices

Plus, that was amusingly useless here.

8 years agoinsufficient cleanups in Dijkstra routing
Martin Quinson [Sun, 14 Feb 2016 10:58:39 +0000 (11:58 +0100)]
insufficient cleanups in Dijkstra routing

8 years agocosmetics: coverage improvement and better error msg
Martin Quinson [Sun, 14 Feb 2016 10:34:52 +0000 (11:34 +0100)]
cosmetics: coverage improvement and better error msg

8 years agocleanups in the API and fields of NetCard
Martin Quinson [Sun, 14 Feb 2016 10:17:18 +0000 (11:17 +0100)]
cleanups in the API and fields of NetCard

8 years agoThe code deal with <ASroute> in the exact same way than <route>. Disturbing
Martin Quinson [Sun, 14 Feb 2016 09:59:13 +0000 (10:59 +0100)]
The code deal with <ASroute> in the exact same way than <route>. Disturbing

But kill the dupplicated/dead code anyway. This calls for further
cleanups, for example in the DTD...

8 years agorouting: move an empty implementation to the super class
Martin Quinson [Sat, 13 Feb 2016 14:29:51 +0000 (15:29 +0100)]
routing: move an empty implementation to the super class

8 years agoimprove the doc of installing, specifically under windows
Martin Quinson [Sat, 13 Feb 2016 10:44:41 +0000 (11:44 +0100)]
improve the doc of installing, specifically under windows

8 years agorouting: dedupplicate code
Martin Quinson [Sat, 13 Feb 2016 10:02:31 +0000 (11:02 +0100)]
routing: dedupplicate code

8 years agoKill the scala examples
Martin Quinson [Fri, 12 Feb 2016 22:35:05 +0000 (23:35 +0100)]
Kill the scala examples

We're working on tidying SimGrid, so remove that [working] cruft.

We already knew that Java code can be called from Scala. It was not
really tested (and the tests were not activated on the servers).

8 years ago[cmake] kill unused cruft aiming at surviving pre-c++11 or pre-c99 compilers
Martin Quinson [Fri, 12 Feb 2016 22:07:32 +0000 (23:07 +0100)]
[cmake] kill unused cruft aiming at surviving pre-c++11 or pre-c99 compilers

8 years agowoops
Frederic Suter [Fri, 12 Feb 2016 21:56:34 +0000 (22:56 +0100)]
woops

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

8 years agoremove a couple of oldies
Frederic Suter [Fri, 12 Feb 2016 21:53:16 +0000 (22:53 +0100)]
remove a couple of oldies

  + this minimal stylesheet has been replaced by doc/doxygen/stylesheet
  + cmake is now used for 6 years, users might be used to it

8 years agounrelated cosmetics
Martin Quinson [Fri, 12 Feb 2016 21:39:43 +0000 (22:39 +0100)]
unrelated cosmetics

8 years agodon't mislead robots
Frederic Suter [Fri, 12 Feb 2016 21:33:16 +0000 (22:33 +0100)]
don't mislead robots

8 years agodocument the fact that we benefit from the Debian builders too
Martin Quinson [Fri, 12 Feb 2016 21:19:14 +0000 (22:19 +0100)]
document the fact that we benefit from the Debian builders too

8 years agotry to fix the stack growth direction on non-amd64
Martin Quinson [Fri, 12 Feb 2016 21:02:46 +0000 (22:02 +0100)]
try to fix the stack growth direction on non-amd64

8 years agorename a field and slightly improve the doc
Martin Quinson [Fri, 12 Feb 2016 20:54:56 +0000 (21:54 +0100)]
rename a field and slightly improve the doc

8 years agoit's Feb already
Martin Quinson [Fri, 12 Feb 2016 20:18:57 +0000 (21:18 +0100)]
it's Feb already

8 years agono need for this awk checker anymore
Frederic Suter [Fri, 12 Feb 2016 19:59:50 +0000 (20:59 +0100)]
no need for this awk checker anymore

8 years agofurther cleanup in imported NAS
Frederic Suter [Fri, 12 Feb 2016 19:56:38 +0000 (20:56 +0100)]
further cleanup in imported NAS

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 12 Feb 2016 19:43:09 +0000 (20:43 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

8 years agokill the SD_application_reinit function
Frederic Suter [Fri, 12 Feb 2016 19:33:03 +0000 (20:33 +0100)]
kill the SD_application_reinit function

8 years ago[mc] Fix MC cross-process memory access
Gabriel Corona [Fri, 12 Feb 2016 15:41:08 +0000 (16:41 +0100)]
[mc] Fix MC cross-process memory access

"[mc] Fix testall" broke the MC on syustems where you cannot read
another process memory without ptracing/stopping it first.

8 years agouse brand new attibute: symmetrical="YES"
Frederic Suter [Fri, 12 Feb 2016 13:18:26 +0000 (14:18 +0100)]
use brand new attibute: symmetrical="YES"

8 years ago[mc] Fix testall
Gabriel Corona [Fri, 12 Feb 2016 13:20:53 +0000 (14:20 +0100)]
[mc] Fix testall

8 years ago[mc] Update the tesh for mc-bugged1-liveness
Gabriel Corona [Fri, 12 Feb 2016 13:07:52 +0000 (14:07 +0100)]
[mc] Update the tesh for mc-bugged1-liveness

8 years ago[cmake] Fix libsigc++ mode
Gabriel Corona [Fri, 12 Feb 2016 12:11:44 +0000 (13:11 +0100)]
[cmake] Fix libsigc++ mode

It was always disabled.

8 years agoRouting: kill some dupplicated code
Martin Quinson [Fri, 12 Feb 2016 08:46:17 +0000 (09:46 +0100)]
Routing: kill some dupplicated code

8 years agoless void*
Martin Quinson [Fri, 12 Feb 2016 08:28:11 +0000 (09:28 +0100)]
less void*

8 years agorename the fields of AS for clarity sake
Martin Quinson [Fri, 12 Feb 2016 01:30:07 +0000 (02:30 +0100)]
rename the fields of AS for clarity sake

8 years agostart initializing routing fields in the constructors, not with a shotgun
Martin Quinson [Fri, 12 Feb 2016 01:21:09 +0000 (02:21 +0100)]
start initializing routing fields in the constructors, not with a shotgun

8 years agoand now, blow up the routing_models table \o/
Martin Quinson [Fri, 12 Feb 2016 00:48:12 +0000 (01:48 +0100)]
and now, blow up the routing_models table \o/

8 years agoAS don't need a modelDesc. They have a C++ class
Martin Quinson [Fri, 12 Feb 2016 00:23:30 +0000 (01:23 +0100)]
AS don't need a modelDesc. They have a C++ class

8 years agorouting: get rid of unused strings
Martin Quinson [Fri, 12 Feb 2016 00:05:19 +0000 (01:05 +0100)]
routing: get rid of unused strings

8 years agosg_platf_new_netcard was creating hostlinks. Fix it
Martin Quinson [Thu, 11 Feb 2016 23:55:23 +0000 (00:55 +0100)]
sg_platf_new_netcard was creating hostlinks. Fix it

8 years agodon't leak the routing name up to into Java
Martin Quinson [Thu, 11 Feb 2016 23:35:25 +0000 (00:35 +0100)]
don't leak the routing name up to into Java

we were implementing instanceof with char*...
That was during the (golden) C age of SimGrid.

8 years agoinitialize field As::p_linkUpDownList at declaration (+ cosmetics)
Martin Quinson [Thu, 11 Feb 2016 23:25:09 +0000 (00:25 +0100)]
initialize field As::p_linkUpDownList at declaration (+ cosmetics)

8 years agoNetCardImpl: automatic and ignorable field renamings
Martin Quinson [Thu, 11 Feb 2016 23:05:05 +0000 (00:05 +0100)]
NetCardImpl: automatic and ignorable field renamings

8 years agocode simplification around simgrid::surf::NetCardImpl
Martin Quinson [Thu, 11 Feb 2016 23:00:53 +0000 (00:00 +0100)]
code simplification around simgrid::surf::NetCardImpl

8 years agoremove parsing cruft from forward.h, move it to platf.h
Martin Quinson [Thu, 11 Feb 2016 22:50:09 +0000 (23:50 +0100)]
remove parsing cruft from forward.h, move it to platf.h

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

8 years agoRevert "[mc] Fix loop bound checking using heaplimit"
Gabriel Corona [Thu, 11 Feb 2016 12:21:11 +0000 (13:21 +0100)]
Revert "[mc] Fix loop bound checking using heaplimit"

This reverts commit 15d7df6ae57645a0b6f3c0fb07eff36a14da555b.

The fix seems commit but currently breaks test test. I'll bring it
back while the MC is stable.

8 years ago[mc] Use ucontext_t instead of void* in some places
Gabriel Corona [Wed, 10 Feb 2016 15:40:34 +0000 (16:40 +0100)]
[mc] Use ucontext_t instead of void* in some places

8 years ago[mc] Hack to workaround weird/unexpected DWARF
Gabriel Corona [Wed, 10 Feb 2016 16:45:30 +0000 (17:45 +0100)]
[mc] Hack to workaround weird/unexpected DWARF

For some reason, there is some DW_TAG_typedef without DW_AT_type:

<1><538832>: Numéro d'abréviation : 111 (DW_TAG_typedef)
    <538833>   DW_AT_name        : (chaîne indirecte, décalage: 0x2292f3): gregset_t
    <538837>   DW_AT_decl_file   : 98
    <538838>   DW_AT_decl_line   : 37

8 years ago[mc] Fix UContext::wrapper
Gabriel Corona [Wed, 10 Feb 2016 15:51:25 +0000 (16:51 +0100)]
[mc] Fix UContext::wrapper

The name of the wrapper is used in the MC code introspection so we
can't change it without changing the MC code.

8 years ago[mc] Use first/last instead of start/end in ObjectInformation::remove_global_variable()
Gabriel Corona [Wed, 10 Feb 2016 13:42:59 +0000 (14:42 +0100)]
[mc] Use first/last instead of start/end in ObjectInformation::remove_global_variable()

8 years ago[mc] Fix binary search removal in ObjectInformation::remove_global_variable()
Gabriel Corona [Wed, 10 Feb 2016 13:38:46 +0000 (14:38 +0100)]
[mc] Fix binary search removal in ObjectInformation::remove_global_variable()

8 years agocosmetics
Martin Quinson [Thu, 11 Feb 2016 15:01:00 +0000 (16:01 +0100)]
cosmetics

8 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 11 Feb 2016 14:26:20 +0000 (15:26 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

8 years agokill useless code now that As::Seal() exists
Martin Quinson [Thu, 11 Feb 2016 14:26:13 +0000 (15:26 +0100)]
kill useless code now that As::Seal() exists

8 years agocleanup: rename a symbol
Martin Quinson [Thu, 11 Feb 2016 14:14:23 +0000 (15:14 +0100)]
cleanup: rename a symbol

8 years agoFirst attempt to untangle the AS parsing
Martin Quinson [Thu, 11 Feb 2016 14:11:16 +0000 (15:11 +0100)]
First attempt to untangle the AS parsing

Each surf::As is given a Seal() method in charge of finalizing its
initialization once the last element is added.

8 years agocosmetics: remove a lot of dead code seemingly spread around with a shotgun
Martin Quinson [Thu, 11 Feb 2016 13:20:34 +0000 (14:20 +0100)]
cosmetics: remove a lot of dead code seemingly spread around with a shotgun

Small stain all over the place, brain dead overall design.
No doubt I was the author of that code, back in the age.

8 years agoadd missing bit of documentation
degomme [Thu, 11 Feb 2016 13:32:09 +0000 (14:32 +0100)]
add missing bit of documentation

8 years agoInline another function about the parsing of clusters
Martin Quinson [Thu, 11 Feb 2016 11:56:44 +0000 (12:56 +0100)]
Inline another function about the parsing of clusters

8 years agokill obscure dead code
Martin Quinson [Thu, 11 Feb 2016 09:42:21 +0000 (10:42 +0100)]
kill obscure dead code

8 years agowoopsie, it wasn't supposed to be commited
Martin Quinson [Thu, 11 Feb 2016 09:37:26 +0000 (10:37 +0100)]
woopsie, it wasn't supposed to be commited

8 years agotiny cleanups in the parsing of clusters
Martin Quinson [Thu, 11 Feb 2016 09:21:25 +0000 (10:21 +0100)]
tiny cleanups in the parsing of clusters

This code has the real potential of making me insane. It drives me nuts!

8 years agoreindent
Martin Quinson [Thu, 11 Feb 2016 07:20:54 +0000 (08:20 +0100)]
reindent

8 years agoGet ride of a stupidly empty header file
Martin Quinson [Wed, 10 Feb 2016 23:01:07 +0000 (00:01 +0100)]
Get ride of a stupidly empty header file

8 years agoremove examples/xbt there too
Frederic Suter [Wed, 10 Feb 2016 21:31:49 +0000 (22:31 +0100)]
remove examples/xbt there too

8 years agoremove examples/xbt there
Frederic Suter [Wed, 10 Feb 2016 21:24:54 +0000 (22:24 +0100)]
remove examples/xbt there

8 years agoget rid of user-unfriendly example
Frederic Suter [Wed, 10 Feb 2016 21:21:12 +0000 (22:21 +0100)]
get rid of user-unfriendly example

8 years agoRename the ptask files. There is no Host07 class anymore
Martin Quinson [Wed, 10 Feb 2016 21:07:22 +0000 (22:07 +0100)]
Rename the ptask files. There is no Host07 class anymore

8 years agoExample cleaning (msg-bittorent)
Frederic Suter [Wed, 10 Feb 2016 20:44:46 +0000 (21:44 +0100)]
Example cleaning (msg-bittorent)
 - replace deployment by something closer to what the provided
   generator produces
 - Stop using the ugly platform.xml file
 - revalidate tesh
 - reindent to 120 character width
 - more uniform comments

8 years agoExample cleaning
Frederic Suter [Wed, 10 Feb 2016 13:56:14 +0000 (14:56 +0100)]
Example cleaning
 - replace deployment by something closer to what the provided
   generator produces
 - Stop using the ugly platform.xml file
 - revalidate tesh
 - reindent to 120 character width
 - use proper dynar function when possible
 - more uniform comments

8 years agolist changes related to SimDag
Frederic Suter [Wed, 10 Feb 2016 09:33:26 +0000 (10:33 +0100)]
list changes related to SimDag

8 years agoremove an old and misleading example
Frederic Suter [Wed, 10 Feb 2016 09:00:32 +0000 (10:00 +0100)]
remove an old and misleading example

8 years ago[mc] Really unblock the signal in the child
Gabriel Corona [Tue, 9 Feb 2016 22:46:25 +0000 (23:46 +0100)]
[mc] Really unblock the signal in the child

8 years agoimprove an error message
Martin Quinson [Tue, 9 Feb 2016 22:24:12 +0000 (23:24 +0100)]
improve an error message

8 years agofix 'make dist'
Martin Quinson [Tue, 9 Feb 2016 21:56:04 +0000 (22:56 +0100)]
fix 'make dist'

8 years agofix 'make dist'
Martin Quinson [Tue, 9 Feb 2016 21:49:55 +0000 (22:49 +0100)]
fix 'make dist'

8 years agoCompletely eewrite the msg::ptask example
Martin Quinson [Tue, 9 Feb 2016 21:43:38 +0000 (22:43 +0100)]
Completely eewrite the msg::ptask example

- Examplify the parallel execution without communication
- Examplify the remote execution trick
- Kill test_ptask binary that was not any clearer and somehow redundent

Fixes #55, even if it rather reimplement what was proposed.
Sorry @glesserd and thanks for the PR anyway. Your feedback is precious.

8 years agocosmetics
Martin Quinson [Tue, 9 Feb 2016 20:38:23 +0000 (21:38 +0100)]
cosmetics

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

8 years agoalso regenerate the MC flex parsers with a recent flexml
Martin Quinson [Tue, 9 Feb 2016 17:04:00 +0000 (18:04 +0100)]
also regenerate the MC flex parsers with a recent flexml

8 years agocosmetics: inline a parsing function to unclutter the routing code
Martin Quinson [Tue, 9 Feb 2016 15:20:03 +0000 (16:20 +0100)]
cosmetics: inline a parsing function to unclutter the routing code

8 years agoSometimes (ubuntu 15.10 for us) sighup was blocked and made the following line useless.
degomme [Tue, 9 Feb 2016 14:57:48 +0000 (15:57 +0100)]
Sometimes (ubuntu 15.10 for us) sighup was blocked and made the following line useless.
Make sure we unblock all signals.

8 years ago[smpi] Get rid of "smpi-run -foreground"
Gabriel Corona [Tue, 9 Feb 2016 15:23:23 +0000 (16:23 +0100)]
[smpi] Get rid of "smpi-run -foreground"

Fix https://github.com/mquinson/simgrid/issues/58

8 years agoplug another similar memleak. The solution is not nicer
Martin Quinson [Tue, 9 Feb 2016 14:17:19 +0000 (15:17 +0100)]
plug another similar memleak. The solution is not nicer

8 years agoPlug a memleak -- the ugly way
Martin Quinson [Tue, 9 Feb 2016 14:07:23 +0000 (15:07 +0100)]
Plug a memleak -- the ugly way

8 years agoAdd .editorconfig file
Gabriel Corona [Mon, 8 Feb 2016 10:22:22 +0000 (11:22 +0100)]
Add .editorconfig file

8 years ago[simix] Use std::function for the maestro callback instead of void(void*)
Gabriel Corona [Tue, 9 Feb 2016 10:58:14 +0000 (11:58 +0100)]
[simix] Use std::function for the maestro callback instead of void(void*)

8 years ago[simix] Attach context
Gabriel Corona [Tue, 19 Jan 2016 13:49:13 +0000 (14:49 +0100)]
[simix] Attach context

This is expected ot be used in order to use the main caller/thread as
one of the simulated function. This can be used in order to expose an
API where the maestro is hidden and the main thread is the main
process and can create other simulated processes.

8 years agocosmetics in the platform files
Martin Quinson [Tue, 9 Feb 2016 00:29:13 +0000 (01:29 +0100)]
cosmetics in the platform files

8 years agoPlug a memleak (free is too robust to my stupidity)
Martin Quinson [Tue, 9 Feb 2016 00:25:40 +0000 (01:25 +0100)]
Plug a memleak (free is too robust to my stupidity)

8 years agoThe memory management of dirname is stupid, so be brutal
Martin Quinson [Tue, 9 Feb 2016 00:24:15 +0000 (01:24 +0100)]
The memory management of dirname is stupid, so be brutal

http://stackoverflow.com/questions/26111096/should-i-free-strdup-pointer-after-basename-dirname-in-c

8 years agocosmetics in the ChangeLog
Martin Quinson [Tue, 9 Feb 2016 00:18:28 +0000 (01:18 +0100)]
cosmetics in the ChangeLog

8 years agoCommit separately the flex-generated files for DTDv4
Martin Quinson [Tue, 9 Feb 2016 00:04:50 +0000 (01:04 +0100)]
Commit separately the flex-generated files for DTDv4

They may be rather uncluttered now that flexml sorts its output, they
remain very large.