Jean-Baptiste Hervé [Fri, 10 Aug 2012 13:38:46 +0000 (15:38 +0200)]
Platform generation: add a bittorent example using a generated platform
Jean-Baptiste Hervé [Fri, 10 Aug 2012 12:31:48 +0000 (14:31 +0200)]
Platform generation: fex modification of the master/slave example
Change the topology generation parameter, so the program will have to retry the topology generation, as the first produced graph is not connected.
Correct a typo mistake.
Jean-Baptiste Hervé [Fri, 10 Aug 2012 12:29:24 +0000 (14:29 +0200)]
Platform generation: fix the remove links function
Jean-Baptiste Hervé [Fri, 10 Aug 2012 12:12:42 +0000 (14:12 +0200)]
Platform generation: record the router id
Augustin Degomme [Fri, 10 Aug 2012 08:55:18 +0000 (10:55 +0200)]
deactivate change induced by re7d52b71aae7 in logging for smpi which caused problems, waiting for a better idea
Augustin Degomme [Fri, 10 Aug 2012 08:53:24 +0000 (10:53 +0200)]
now that the simcall has been created, use it
Jean-Baptiste Hervé [Thu, 9 Aug 2012 15:36:23 +0000 (17:36 +0200)]
Platform generation: add a master/slave example using a generated platform
Cristian Rosa [Thu, 9 Aug 2012 13:17:14 +0000 (10:17 -0300)]
Add a new simcall to get/set the receiver of a rendez-vous point.
Jean-Baptiste Hervé [Thu, 9 Aug 2012 11:56:44 +0000 (13:56 +0200)]
Platform generation: little modifications to the connectedness check function
"Speed improvement" is not strong enough to describe the difference...
Jean-Baptiste Hervé [Thu, 9 Aug 2012 09:56:56 +0000 (11:56 +0200)]
Platform generation: "clique" topology does not need to duplicate links
Jean-Baptiste Hervé [Thu, 9 Aug 2012 09:15:16 +0000 (11:15 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Jean-Baptiste Hervé [Thu, 9 Aug 2012 09:14:42 +0000 (11:14 +0200)]
Platform generation: generate routes
Jean-Baptiste Hervé [Thu, 9 Aug 2012 09:13:56 +0000 (11:13 +0200)]
Platform generation: record the router id given while generation
Martin Quinson [Thu, 9 Aug 2012 07:59:35 +0000 (09:59 +0200)]
Various hacks to unbench the logging to disk when run in SMPI
- First use of weak symbols aliases in our source tree :-/
I hope it won't induce portability issues
- Only very partially tested, sorry.
Read: it compiles, that's all I know
Augustin Degomme [Wed, 8 Aug 2012 15:58:02 +0000 (17:58 +0200)]
add getter/setter functions in simix to access more cleanly the process associated to the mailbox for permanent receive mode
Jean-Baptiste Hervé [Wed, 8 Aug 2012 14:49:00 +0000 (16:49 +0200)]
Platform generation: Make link labeling work
Also check if the link is labeled when the callbacks have been called.
Augustin Degomme [Wed, 8 Aug 2012 13:37:17 +0000 (15:37 +0200)]
add missing includes
Jean-Baptiste Hervé [Wed, 8 Aug 2012 12:57:22 +0000 (14:57 +0200)]
Platform generation: add some documentation
Jean-Baptiste Hervé [Wed, 8 Aug 2012 12:56:42 +0000 (14:56 +0200)]
Trace generation: add some documentation
navarro [Wed, 8 Aug 2012 12:41:22 +0000 (14:41 +0200)]
Factorize route ASroute bypassRoute and bypassASroute from sg_platf.
Replace char* gw_src/dst for edge.
navarro [Wed, 8 Aug 2012 12:08:58 +0000 (14:08 +0200)]
First example for bypass platform wit sg_platf_new* functions.
Augustin Degomme [Wed, 8 Aug 2012 09:18:40 +0000 (11:18 +0200)]
Add a MSG_mailbox_set_async function to allow to set a mailbox to eagerly receive messages (the message is sent without waiting for the receive)
navarro [Wed, 8 Aug 2012 08:33:54 +0000 (10:33 +0200)]
Remove link_list from surf_routing.c and add it into the structure of *route and *bypassRoute
Marion Guthmuller [Wed, 8 Aug 2012 07:50:52 +0000 (09:50 +0200)]
model-checker : MC_ignore_init in MSG for ucontext
Augustin Degomme [Tue, 7 Aug 2012 16:07:59 +0000 (18:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Augustin Degomme [Tue, 7 Aug 2012 15:56:58 +0000 (17:56 +0200)]
add an "smpi/async_small_thres" configure option to smpi, to allow to toy with the threshold used to determine whether a message has to be sent eagerly (without waiting for the receiver) or not. The default value is 0, to deactivate this behavior for now. (note: this is independent from the "detached" state that is for now used for messages < 64*1024 bytes, which should become a new config option also)
Augustin Degomme [Tue, 7 Aug 2012 15:53:48 +0000 (17:53 +0200)]
add an immediate asynchronous send possibility for messages. This can be set by adding a permanent receiver to a mailbox. This will be used by default in smpi (commit to come), and proposed for msg
Conflicts:
src/simix/smx_network.c
navarro [Tue, 7 Aug 2012 15:45:13 +0000 (17:45 +0200)]
Remove unused structure and function
Augustin Degomme [Tue, 7 Aug 2012 12:08:21 +0000 (14:08 +0200)]
fix a bug causing surf to sometimes loop forever
navarro [Tue, 7 Aug 2012 14:32:00 +0000 (16:32 +0200)]
Completely remove surfxml_callback.
Clean the way to create arg for the process.
Jean-Baptiste Hervé [Tue, 7 Aug 2012 09:44:39 +0000 (11:44 +0200)]
Platform generation : REALLY check if the graph is connected
navarro [Mon, 6 Aug 2012 16:28:01 +0000 (18:28 +0200)]
More cleaning for surfxml callback (property and trace*)
navarro [Mon, 6 Aug 2012 14:35:49 +0000 (16:35 +0200)]
CleanUp unused xbt_dynar_t from callback
Jean-Baptiste Hervé [Mon, 6 Aug 2012 16:00:39 +0000 (18:00 +0200)]
More condensed debug...
Jean-Baptiste Hervé [Mon, 6 Aug 2012 15:32:08 +0000 (17:32 +0200)]
Event generator: Correct a mistake and add tiny debug
navarro [Mon, 6 Aug 2012 09:38:35 +0000 (11:38 +0200)]
Add function sg_platf_new_* for *route and bypass*route.
Jean-Baptiste Hervé [Mon, 6 Aug 2012 09:23:00 +0000 (11:23 +0200)]
Platform generation : Add a function to remove links in the graph
Jean-Baptiste Hervé [Mon, 6 Aug 2012 07:33:08 +0000 (09:33 +0200)]
Platform generation : add a function to check if the graph is connected
Martin Quinson [Sat, 4 Aug 2012 15:41:13 +0000 (17:41 +0200)]
and now, get the execution sampling macros work also when the user gives a maximal stderr AND a minimal execution count (hopefully)
Martin Quinson [Sat, 4 Aug 2012 15:15:42 +0000 (17:15 +0200)]
dafuk? don't mix seconds and flops!
SMPI_SAMPLE_DELAY parameter were an amount of flops. Consider it as a
delay instead.
Introduce SMPI_SAMPLE_FLOPS to report an amount of flops into the
simulo (and use it in the replay part of SMPI)
Martin Quinson [Sat, 4 Aug 2012 15:00:46 +0000 (17:00 +0200)]
rewrite the MPI execution sampling facility (previous implem was deeply bugged)
Martin Quinson [Sat, 4 Aug 2012 14:58:27 +0000 (16:58 +0200)]
rewrite this example to betterly demo SMPI_SAMPLE_LOCAL and SMPI_SAMPLE_GLOBAL
Martin Quinson [Sat, 4 Aug 2012 13:04:45 +0000 (15:04 +0200)]
stop being protective against things we cannot deal with. Let the segfault happen
Martin Quinson [Sat, 4 Aug 2012 08:22:09 +0000 (10:22 +0200)]
variable renaming to try to understand this code
Martin Quinson [Sat, 4 Aug 2012 08:12:23 +0000 (10:12 +0200)]
make an error message marginally more understandable to the users
navarro [Fri, 3 Aug 2012 14:44:09 +0000 (16:44 +0200)]
Use the function sg_platf_new_linkctn when parsing platform
Jean-Baptiste Hervé [Fri, 3 Aug 2012 14:28:14 +0000 (16:28 +0200)]
Platform generation: Cluster generation should work
Jean-Baptiste Hervé [Fri, 3 Aug 2012 14:25:40 +0000 (16:25 +0200)]
Check if string is NULL before a strcmp
navarro [Fri, 3 Aug 2012 13:58:15 +0000 (15:58 +0200)]
First platform step for tag random
Jean-Baptiste Hervé [Fri, 3 Aug 2012 12:00:49 +0000 (14:00 +0200)]
Platform generation can now be used with MSG
Some stuff had to be done by SIMIX and MSG right after the XML platform parsing. It is now done by callbacks, registered in SURF at initialization. So that stuff is also done when you create a random platform with the generator.
Add some ugly code to avoid the deletion of these registered callbacks before the parsing.
Martin Quinson [Thu, 2 Aug 2012 23:03:17 +0000 (01:03 +0200)]
Revert "[trace] something might have failed during process creation, reflect that in traces"
This reverts commit
75d4e75aa8b07c422a88923449e5aa635912a8a5.
Rational: I see the motivation to add this call here, but it breaks 6
tests here. I hope that LucasS will fix it properly when possible.
Martin Quinson [Thu, 2 Aug 2012 23:00:45 +0000 (01:00 +0200)]
more verbose error messages
Martin Quinson [Thu, 2 Aug 2012 22:59:40 +0000 (00:59 +0200)]
cleanups
- Add some newly create test files
- somehow sort the content of the file alphabetically within sections
Martin Quinson [Thu, 2 Aug 2012 22:01:43 +0000 (00:01 +0200)]
useless cosmetic in this code that is full of surprises
Martin Quinson [Thu, 2 Aug 2012 21:59:27 +0000 (23:59 +0200)]
typo--
Martin Quinson [Thu, 2 Aug 2012 18:14:24 +0000 (20:14 +0200)]
expend an example to explain what the prefix, suffix and radical arguments are in cluster tag
Jean-Baptiste Hervé [Thu, 2 Aug 2012 16:00:51 +0000 (18:00 +0200)]
Platform generation: add the function to put into Surf the generated platform
It is partially implemented, for the moment...
Jean-Baptiste Hervé [Thu, 2 Aug 2012 15:59:24 +0000 (17:59 +0200)]
Check if "coord" is not null before do strcmp
lbobelin [Thu, 2 Aug 2012 13:32:46 +0000 (15:32 +0200)]
Oups, mistake in router cluster name.
Marion Guthmuller [Thu, 2 Aug 2012 09:29:55 +0000 (11:29 +0200)]
model-checker : add block and fragment number in mc_ignore_region
Marion Guthmuller [Wed, 1 Aug 2012 20:53:40 +0000 (22:53 +0200)]
model-checker : count ignore done in heap comparison algorithm
Marion Guthmuller [Wed, 1 Aug 2012 20:42:47 +0000 (22:42 +0200)]
model-checker : sort ignore list and dichotomic search
Marion Guthmuller [Wed, 1 Aug 2012 13:49:04 +0000 (15:49 +0200)]
model-checker : ignore stack_top of maestro context for heap comparison
Marion Guthmuller [Wed, 1 Aug 2012 13:48:04 +0000 (15:48 +0200)]
model-checker : init list of irrelevant differences in simix instead of msg
Marion Guthmuller [Wed, 1 Aug 2012 08:49:46 +0000 (10:49 +0200)]
model-checker : forget case of comparison in heap comparison algorithm
Marion Guthmuller [Wed, 1 Aug 2012 08:48:53 +0000 (10:48 +0200)]
model-checker : ignore irrelevant differences for heap comparison algorithm
Marion Guthmuller [Tue, 31 Jul 2012 12:49:13 +0000 (14:49 +0200)]
model-checker : remove unused function
Jean-Baptiste Hervé [Wed, 1 Aug 2012 12:24:06 +0000 (14:24 +0200)]
Platform generation : add the edge length in its data
It could be useful for labelling, for example...
Jean-Baptiste Hervé [Wed, 1 Aug 2012 12:16:06 +0000 (14:16 +0200)]
Platform generation : Add the Waxman topology algorithm
With this commit, all the topology algorithm found in Simulacrum are implemented.
Jean-Baptiste Hervé [Wed, 1 Aug 2012 09:28:39 +0000 (11:28 +0200)]
Platform generation : make public structures for node and edge data
Jean-Baptiste Hervé [Wed, 1 Aug 2012 09:17:08 +0000 (11:17 +0200)]
Platform generation : add the Zegura algorithm topology
Jean-Baptiste Hervé [Wed, 1 Aug 2012 09:02:20 +0000 (11:02 +0200)]
Platform generation : add the Barabasi-Albert algorithm to build the graph
schnorr [Tue, 31 Jul 2012 21:39:04 +0000 (23:39 +0200)]
[trace] something might have failed during process creation, reflect that in traces
details:
- this is especially useful when using availability traces and processes
are launched on failed hosts
schnorr [Tue, 31 Jul 2012 21:38:11 +0000 (23:38 +0200)]
[trace] factorize more
schnorr [Tue, 31 Jul 2012 21:37:56 +0000 (23:37 +0200)]
[trace] factorize code, use TRACE_msg_process_destroy when appropriate
schnorr [Tue, 31 Jul 2012 21:36:52 +0000 (23:36 +0200)]
[trace] add function to destroy process container
schnorr [Tue, 31 Jul 2012 21:15:45 +0000 (23:15 +0200)]
cosmetics
schnorr [Tue, 31 Jul 2012 21:08:09 +0000 (23:08 +0200)]
[trace] only update power and bandwidth if trace subsystem is configured to trace them
schnorr [Tue, 31 Jul 2012 20:07:16 +0000 (22:07 +0200)]
[trace] it seems there are no availability traces for latency, no need for this function then
schnorr [Tue, 31 Jul 2012 20:06:02 +0000 (22:06 +0200)]
[trace] make sure variable is zeroed before writing on it
navarro [Tue, 31 Jul 2012 15:47:13 +0000 (17:47 +0200)]
Update tesh for io.
navarro [Tue, 31 Jul 2012 15:43:23 +0000 (17:43 +0200)]
Add function to unlink a file.
Add an example for unlink.
navarro [Tue, 31 Jul 2012 15:42:16 +0000 (17:42 +0200)]
Fix memory leak
navarro [Tue, 31 Jul 2012 15:37:23 +0000 (17:37 +0200)]
During the storage open, create the file if not exist.
Jean-Baptiste Hervé [Tue, 31 Jul 2012 15:02:01 +0000 (17:02 +0200)]
platform generation : add promoters and labelers support
Two fucntions register callback functions written by user to promote nodes or label links. Two other functions call the callback functions on each node or link.
Jean-Baptiste Hervé [Tue, 31 Jul 2012 11:33:47 +0000 (13:33 +0200)]
platform generation : modify some interfaces
Jean-Baptiste Hervé [Tue, 31 Jul 2012 09:43:54 +0000 (11:43 +0200)]
Platform generation : add a function to set link parameters
Jean-Baptiste Hervé [Tue, 31 Jul 2012 07:43:01 +0000 (09:43 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Jean-Baptiste Hervé [Tue, 31 Jul 2012 07:37:38 +0000 (09:37 +0200)]
Platform generation : add promotion functions
Marion Guthmuller [Mon, 30 Jul 2012 21:08:38 +0000 (23:08 +0200)]
model-checker : add debug information about pointers in libsimgrid and remove useless fprintf in get_plt_section
Marion Guthmuller [Mon, 30 Jul 2012 20:47:05 +0000 (22:47 +0200)]
model-checker : free memory
Marion Guthmuller [Mon, 30 Jul 2012 20:28:16 +0000 (22:28 +0200)]
model-checker : use bprintf instead of sprintf
Marion Guthmuller [Mon, 30 Jul 2012 19:36:53 +0000 (21:36 +0200)]
model-checker : ignore differences of pointers in .plt section in libsimgrid region comparison
Marion Guthmuller [Mon, 30 Jul 2012 14:22:10 +0000 (16:22 +0200)]
model-checker : cleanup for heap comparison
- XBT_DEBUG instead of fprintf on stderr
- variables renamed
- fix arithmetic on pointers
Marion Guthmuller [Mon, 30 Jul 2012 14:17:15 +0000 (16:17 +0200)]
model-checker : update tests for snapshot comparison
Marion Guthmuller [Mon, 30 Jul 2012 14:16:13 +0000 (16:16 +0200)]
model-checker : remove core dump for each reached pair
Marion Guthmuller [Mon, 30 Jul 2012 14:11:59 +0000 (16:11 +0200)]
model-checker : cleanup on mc_checkpoint
- XBT_DEBUG instead of fprintf on stderr or XBT_INFO
- remove useless debug information
- pointer detection for comparison of data region of libsimgrid
- free the memory map
Jean-Baptiste Hervé [Mon, 30 Jul 2012 13:01:48 +0000 (15:01 +0200)]
Platform generation : add the exponential topology
Jean-Baptiste Hervé [Mon, 30 Jul 2012 12:18:26 +0000 (14:18 +0200)]
Platform generation : add a function to compute distance between two nodes
Jean-Baptiste Hervé [Mon, 30 Jul 2012 11:53:11 +0000 (13:53 +0200)]
Platform generation : add the uniform topology