Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years agoAdd option latency bound to pipol-remote.
navarrop [Wed, 13 Oct 2010 13:57:09 +0000 (13:57 +0000)]
Add option latency bound to pipol-remote.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8418 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoCosmetics.
navarrop [Wed, 13 Oct 2010 13:57:08 +0000 (13:57 +0000)]
Cosmetics.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8417 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace: save link end points in timestamp 0 of the trace file
schnorr [Wed, 13 Oct 2010 11:54:42 +0000 (11:54 +0000)]
trace: save link end points in timestamp 0 of the trace file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8416 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace: fixing link declaration for gtnets model
schnorr [Wed, 13 Oct 2010 11:36:38 +0000 (11:36 +0000)]
trace: fixing link declaration for gtnets model

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8415 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoxbt_die when caller tries to declare a link that is NULL
schnorr [Wed, 13 Oct 2010 11:36:37 +0000 (11:36 +0000)]
xbt_die when caller tries to declare a link that is NULL

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8414 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoPut some tests out of tesh test part for memcheck option.
navarrop [Wed, 13 Oct 2010 10:53:36 +0000 (10:53 +0000)]
Put some tests out of tesh test part for memcheck option.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8413 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFix supernovae mode.
navarrop [Wed, 13 Oct 2010 08:32:07 +0000 (08:32 +0000)]
Fix supernovae mode.
Rename "finalize" function of timer into "timer_finalize"
because the parser have a function called finalize too.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8412 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdate flatifier to new link_ctn tag.
navarrop [Wed, 13 Oct 2010 08:20:51 +0000 (08:20 +0000)]
Update flatifier to new link_ctn tag.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8411 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoPlace masterslave-console test into lua test.
navarrop [Wed, 13 Oct 2010 08:06:38 +0000 (08:06 +0000)]
Place masterslave-console test into lua test.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8410 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoPut variable "to_index" into s_routing_component
navarrop [Wed, 13 Oct 2010 08:06:37 +0000 (08:06 +0000)]
Put variable "to_index" into s_routing_component
We can now read it thanks to variable "generic_routing".

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8409 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoimplementing get_onelink_routes for rulebased
schnorr [Wed, 13 Oct 2010 08:05:38 +0000 (08:05 +0000)]
implementing get_onelink_routes for rulebased

details:
- for now, we expect that rulebased routing is a cluster-based routing
- so, the get_one_link algorithm works like this:
    1 find the router (might have problems if suffix or prefix has the "router" string)
    2 find the routes from the router to all hosts of the cluster
         each route have 3 links on current implementation
- tracing will consider that a cluster is a router directly connected to all hosts,
  so we actually don't trace exactly what is a cluster in terms of network topology
  during the simulation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8408 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agosurf actions might arrive here without category
schnorr [Wed, 13 Oct 2010 08:05:37 +0000 (08:05 +0000)]
surf actions might arrive here without category

details:
- if category is null, it means that caller did not
find a category to this surf action, or because the surf
action should not be traced

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8407 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoseparate between the console code and the bindings one...
coldpeace [Tue, 12 Oct 2010 15:57:41 +0000 (15:57 +0000)]
separate between the console code and the bindings one...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8406 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocleanup & reorganize code ...
coldpeace [Tue, 12 Oct 2010 15:56:13 +0000 (15:56 +0000)]
cleanup & reorganize code ...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8405 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoadd new source file to lua code
coldpeace [Tue, 12 Oct 2010 15:51:44 +0000 (15:51 +0000)]
add new source file to lua code

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8404 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoReally do the s/:/_/ in platform upgrading script.
agiersch [Tue, 12 Oct 2010 12:46:18 +0000 (12:46 +0000)]
Really do the s/:/_/ in platform upgrading script.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8403 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdd some tests for link check between clusters.
navarrop [Mon, 11 Oct 2010 14:30:35 +0000 (14:30 +0000)]
Add some tests for link check between clusters.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8402 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdate tesh file for name of host and router.
navarrop [Mon, 11 Oct 2010 13:24:00 +0000 (13:24 +0000)]
Update tesh file for name of host and router.
Remove unused "_"

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8401 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdd two tests for check links between clusters.
navarrop [Mon, 11 Oct 2010 13:23:59 +0000 (13:23 +0000)]
Add two tests for check links between clusters.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8400 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocorrecting the name of the routers in all ASroutes
schnorr [Mon, 11 Oct 2010 12:56:58 +0000 (12:56 +0000)]
correcting the name of the routers in all ASroutes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8399 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoRemove the "_" from hostname and routername to Tag cluster.
navarrop [Mon, 11 Oct 2010 12:31:24 +0000 (12:31 +0000)]
Remove the "_" from hostname and routername to Tag cluster.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8398 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdd a pipol command to cmake for kill all jobs.
navarrop [Mon, 11 Oct 2010 12:31:23 +0000 (12:31 +0000)]
Add a pipol command to cmake for kill all jobs.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8397 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofixing name of the function and its utilization in network constant model
schnorr [Mon, 11 Oct 2010 10:15:59 +0000 (10:15 +0000)]
fixing name of the function and its utilization in network constant model

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8396 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoIndent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
alegrand [Mon, 11 Oct 2010 09:49:00 +0000 (09:49 +0000)]
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI/NAS...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8395 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoIndent include and src using this command:
alegrand [Mon, 11 Oct 2010 09:48:30 +0000 (09:48 +0000)]
Indent include and src using this command:

  indent -kr -br -brs -ce -bbo --dont-break-procedure-type --no-tabs --cuddle-do-while --cuddle-else --indent-level2 --leave-preprocessor-space --no-space-after-function-call-names

I also had to play with fromdos and to check that sg_unit_extractor.pl
did not get fooled by XBT_TEST_UNIT lines splitted in half by indent.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8394 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoRemove weird parenthesis...
alegrand [Mon, 11 Oct 2010 09:40:52 +0000 (09:40 +0000)]
Remove weird parenthesis...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8393 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoconsidering gateways when get_onelink_routes from recursive AS'es
schnorr [Mon, 11 Oct 2010 09:02:45 +0000 (09:02 +0000)]
considering gateways when get_onelink_routes from recursive AS'es

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8392 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix: avoiding the execution of TRACE_surf_action when tracing is disabled
schnorr [Fri, 8 Oct 2010 16:00:17 +0000 (16:00 +0000)]
fix: avoiding the execution of TRACE_surf_action when tracing is disabled

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8391 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoSimDag instrumentation for categorized resource utilization
schnorr [Fri, 8 Oct 2010 16:00:16 +0000 (16:00 +0000)]
SimDag instrumentation for categorized resource utilization

details:
- only works with a combination of instrumented network and cpu models
- new tracing interface function TRACE_sd_set_task_category to set a SD_task category
- does not work with parallel tasks for now (if needed, we can do it)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8390 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace: when simix action gets its category, pass it to surf action
schnorr [Fri, 8 Oct 2010 16:00:14 +0000 (16:00 +0000)]
trace: when simix action gets its category, pass it to surf action

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8389 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofixing comment
schnorr [Fri, 8 Oct 2010 16:00:13 +0000 (16:00 +0000)]
fixing comment

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8388 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agochar *name transformed in const char *name to avoid compilation complain
schnorr [Fri, 8 Oct 2010 16:00:12 +0000 (16:00 +0000)]
char *name transformed in const char *name to avoid compilation complain

details:
- ... when caller passes the parameter using a const char *

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8387 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoget trace category from surf_action instead of smx_action when tracing categorized...
schnorr [Fri, 8 Oct 2010 16:00:11 +0000 (16:00 +0000)]
get trace category from surf_action instead of smx_action when tracing categorized resource utilization

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8386 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agonew variable for surf_action_t to contain its tracing category
schnorr [Fri, 8 Oct 2010 16:00:10 +0000 (16:00 +0000)]
new variable for surf_action_t to contain its tracing category

details:
- and function to set it (to be used by forthcoming modifications)
- xbt_free to release in all action_unref of instrumented models

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8385 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotracing uncategorized resource utilization
schnorr [Fri, 8 Oct 2010 16:00:07 +0000 (16:00 +0000)]
tracing uncategorized resource utilization

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8384 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoEnable testing for windows.
navarrop [Fri, 8 Oct 2010 15:41:42 +0000 (15:41 +0000)]
Enable testing for windows.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8383 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFix the path to gras_stub_generator in the tutorial makefile
thiery [Fri, 8 Oct 2010 12:55:33 +0000 (12:55 +0000)]
Fix the path to gras_stub_generator in the tutorial makefile

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8382 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdd script file to help compil with windows.
navarrop [Fri, 8 Oct 2010 12:19:58 +0000 (12:19 +0000)]
Add script file to help compil with windows.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8381 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoBe compatible with windows
navarrop [Fri, 8 Oct 2010 12:13:05 +0000 (12:13 +0000)]
Be compatible with windows

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8380 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoSet snprintf and vsnprintf function are available on windows
navarrop [Fri, 8 Oct 2010 12:12:50 +0000 (12:12 +0000)]
Set snprintf and vsnprintf function are available on windows

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8379 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoGNU Version for windows.
navarrop [Fri, 8 Oct 2010 12:12:35 +0000 (12:12 +0000)]
GNU Version for windows.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8378 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoKeep adding missing function required when using SimDAG.
alegrand [Fri, 8 Oct 2010 10:26:27 +0000 (10:26 +0000)]
Keep adding missing function required when using SimDAG.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8377 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoImplement the get_link_latency function for SD (and rename a badly named internal...
alegrand [Fri, 8 Oct 2010 10:26:24 +0000 (10:26 +0000)]
Implement the get_link_latency function for SD (and rename a badly named internal function added by Pedro a while ago).

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8376 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoEnable using other workstation models than ptask_L07 (and do not forget the postparse!)
alegrand [Fri, 8 Oct 2010 10:26:19 +0000 (10:26 +0000)]
Enable using other workstation models than ptask_L07 (and do not forget the postparse!)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8375 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFix bug when call function get_route.
navarrop [Thu, 7 Oct 2010 15:50:24 +0000 (15:50 +0000)]
Fix bug when call function get_route.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8374 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdd a function to have type of an element.
navarrop [Thu, 7 Oct 2010 15:10:16 +0000 (15:10 +0000)]
Add a function to have type of an element.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8373 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdd a test for function is_router.
navarrop [Thu, 7 Oct 2010 10:53:38 +0000 (10:53 +0000)]
Add a test for function is_router.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8372 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoWindows is not implemented for v3.5
navarrop [Thu, 7 Oct 2010 08:26:10 +0000 (08:26 +0000)]
Windows is not implemented for v3.5

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8371 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdate maintainer source.
navarrop [Wed, 6 Oct 2010 16:08:06 +0000 (16:08 +0000)]
Update maintainer source.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8370 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFix the smpi_traced test if user compil out of source.
navarrop [Wed, 6 Oct 2010 16:08:05 +0000 (16:08 +0000)]
Fix the smpi_traced test if user compil out of source.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8369 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAvailable the tag config.
navarrop [Wed, 6 Oct 2010 15:45:59 +0000 (15:45 +0000)]
Available the tag config.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8368 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoCosmetics.
navarrop [Wed, 6 Oct 2010 15:45:57 +0000 (15:45 +0000)]
Cosmetics.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8367 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFix flatifier tesh file.
navarrop [Wed, 6 Oct 2010 15:45:55 +0000 (15:45 +0000)]
Fix flatifier tesh file.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8366 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoClean DTD and add tag config.
navarrop [Wed, 6 Oct 2010 15:45:53 +0000 (15:45 +0000)]
Clean DTD and add tag config.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8365 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoImplementation of function is router
navarrop [Wed, 6 Oct 2010 15:45:49 +0000 (15:45 +0000)]
Implementation of function is router

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8364 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoonelink_routes revision: removing a comment
schnorr [Wed, 6 Oct 2010 15:43:39 +0000 (15:43 +0000)]
onelink_routes revision: removing a comment

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8363 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agobetter handling of resource utilization tracing methods
schnorr [Wed, 6 Oct 2010 14:48:11 +0000 (14:48 +0000)]
better handling of resource utilization tracing methods

details:
- use of pointers to functions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8362 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocosmetics on tracing mechanism
schnorr [Wed, 6 Oct 2010 14:48:10 +0000 (14:48 +0000)]
cosmetics on tracing mechanism

details:
- no export of functions starting with __ or _
- functions ending with _alloc and _release are used to initialize tracing modules

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8361 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdated README for SMPI.
pini [Wed, 6 Oct 2010 09:37:54 +0000 (09:37 +0000)]
Updated README for SMPI.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8360 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFix lib pcre use.
navarrop [Tue, 5 Oct 2010 14:25:05 +0000 (14:25 +0000)]
Fix lib pcre use.
Apply a full route mode for cluster if pcre lib is not installed.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8359 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix gras_platform_script
coldpeace [Tue, 5 Oct 2010 13:35:24 +0000 (13:35 +0000)]
fix gras_platform_script

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8358 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix lua console application for SimDag module
coldpeace [Tue, 5 Oct 2010 13:30:51 +0000 (13:30 +0000)]
fix lua console application for SimDag module

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8357 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix the platform script
coldpeace [Tue, 5 Oct 2010 13:23:49 +0000 (13:23 +0000)]
fix the platform script

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8356 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocleaning some old surf tracing code
schnorr [Tue, 5 Oct 2010 13:16:12 +0000 (13:16 +0000)]
cleaning some old surf tracing code

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8355 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdating FAQ to new parameters that should be use in Triva's graph configuration
schnorr [Tue, 5 Oct 2010 13:16:11 +0000 (13:16 +0000)]
updating FAQ to new parameters that should be use in Triva's graph configuration

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8354 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agousing memory address to identify link containers (trace file is no longer comparable)
schnorr [Tue, 5 Oct 2010 13:16:10 +0000 (13:16 +0000)]
using memory address to identify link containers (trace file is no longer comparable)

details:
- should find some other method to check if trace file is ok

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8353 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoremoving one space in the beginning of the trace files
schnorr [Tue, 5 Oct 2010 13:16:10 +0000 (13:16 +0000)]
removing one space in the beginning of the trace files

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8352 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodo not trace loopback links
schnorr [Tue, 5 Oct 2010 13:16:09 +0000 (13:16 +0000)]
do not trace loopback links

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8351 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoonly trace link-related data if tracing mechanism know the link
schnorr [Tue, 5 Oct 2010 13:16:08 +0000 (13:16 +0000)]
only trace link-related data if tracing mechanism know the link

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8350 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoregistering the source and destination of all onelink routes
schnorr [Tue, 5 Oct 2010 13:16:06 +0000 (13:16 +0000)]
registering the source and destination of all onelink routes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8349 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodo not hide the issues that are there and shouldn't
mquinson [Tue, 5 Oct 2010 10:23:36 +0000 (10:23 +0000)]
do not hide the issues that are there and shouldn't

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8348 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofirst implementation of floyd's get_onelink_routes
schnorr [Mon, 4 Oct 2010 15:55:55 +0000 (15:55 +0000)]
first implementation of floyd's get_onelink_routes

details:
- it calls get_route between all combinations of nodes
- if route has one link only, add it to the return

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8347 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoimplementing recursive call to get_onelink_routes
schnorr [Mon, 4 Oct 2010 15:55:54 +0000 (15:55 +0000)]
implementing recursive call to get_onelink_routes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8346 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoimplementation of full_get_onelink_routes
schnorr [Mon, 4 Oct 2010 15:55:53 +0000 (15:55 +0000)]
implementation of full_get_onelink_routes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8345 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agomemory address is the unique identifier of links in the paje trace file
schnorr [Mon, 4 Oct 2010 15:55:53 +0000 (15:55 +0000)]
memory address is the unique identifier of links in the paje trace file

details & todo:
- loopback links are traced
- still have to do the same thing for hosts

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8344 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofunctions to get_onelink_routes must return an array of onelink_t
schnorr [Mon, 4 Oct 2010 15:55:52 +0000 (15:55 +0000)]
functions to get_onelink_routes must return an array of onelink_t

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8343 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoNow cluster Tag don't necessary need libpcre.
navarrop [Mon, 4 Oct 2010 15:04:14 +0000 (15:04 +0000)]
Now cluster Tag don't necessary need libpcre.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8342 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoSMPI's network model calibration script: you give it information about your platform...
pini [Mon, 4 Oct 2010 13:04:56 +0000 (13:04 +0000)]
SMPI's network model calibration script: you give it information about your platform file, a skampi ping-pong file and piece-wise ranges, it gives you the latency and bandwidth correction factors.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8341 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocosmetic fix: generic_set_bypassroute was being logged in generic_get_bypassroute
schnorr [Mon, 4 Oct 2010 11:46:16 +0000 (11:46 +0000)]
cosmetic fix: generic_set_bypassroute was being logged in generic_get_bypassroute

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8340 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agopreparing get_onelink_routes and is_router for each routing model
schnorr [Mon, 4 Oct 2010 11:46:14 +0000 (11:46 +0000)]
preparing get_onelink_routes and is_router for each routing model

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8339 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoSet some tests are expected to fail.
navarrop [Mon, 4 Oct 2010 10:23:25 +0000 (10:23 +0000)]
Set some tests are expected to fail.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8338 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix: small changes to make surf_routing.c compile
schnorr [Mon, 4 Oct 2010 08:31:59 +0000 (08:31 +0000)]
fix: small changes to make surf_routing.c compile

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8337 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdate the platforms to kill the :
mquinson [Mon, 4 Oct 2010 08:14:26 +0000 (08:14 +0000)]
update the platforms to kill the :

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8336 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdate all the platforms file with the new s/:/_/ in DTD
mquinson [Mon, 4 Oct 2010 08:13:50 +0000 (08:13 +0000)]
update all the platforms file with the new s/:/_/ in DTD

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8335 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoteach the platform upgrading script about the s/:/_/ in the DTD
mquinson [Mon, 4 Oct 2010 08:13:26 +0000 (08:13 +0000)]
teach the platform upgrading script about the s/:/_/ in the DTD

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8334 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agostop misusing : in the DTD. use _ as a separator instead
mquinson [Mon, 4 Oct 2010 08:13:07 +0000 (08:13 +0000)]
stop misusing : in the DTD. use _ as a separator instead

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8333 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agomerge
mquinson [Mon, 4 Oct 2010 08:12:47 +0000 (08:12 +0000)]
merge

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8332 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agomessage rewording
mquinson [Mon, 4 Oct 2010 08:12:26 +0000 (08:12 +0000)]
message rewording

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8331 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agomodify 'master_slave_bypass' in lua by calling simgrid.AS.new (still improvale :...
coldpeace [Fri, 1 Oct 2010 17:22:08 +0000 (17:22 +0000)]
modify 'master_slave_bypass' in lua by calling simgrid.AS.new (still improvale : AS to be a lua object instead)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8330 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoreimplement lua bingdings code to support the new platforms format
coldpeace [Fri, 1 Oct 2010 17:19:53 +0000 (17:19 +0000)]
reimplement lua bingdings code to support the new platforms format

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8329 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodefine new methods to call surf_routing 'parse' methods from lua code
coldpeace [Fri, 1 Oct 2010 17:17:29 +0000 (17:17 +0000)]
define new methods to call surf_routing 'parse' methods from lua code

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8328 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodefine two kind of 'parse' methods, parse_#type_#element for XML platform and for...
coldpeace [Fri, 1 Oct 2010 17:16:11 +0000 (17:16 +0000)]
define two kind of 'parse' methods, parse_#type_#element for XML platform and for lua script, this avoid to rewrite the functions to set routing element values from lua script and not only from the XML platforms

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8327 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoadd new methods to reimplement the lua console respecting the new routing model
coldpeace [Fri, 1 Oct 2010 17:08:43 +0000 (17:08 +0000)]
add new methods to reimplement the lua console respecting the new routing model

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8326 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agolet snprintf decide how many digits use for timestamps
schnorr [Fri, 1 Oct 2010 15:20:49 +0000 (15:20 +0000)]
let snprintf decide how many digits use for timestamps

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8325 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotracing router existence with the new parser
schnorr [Fri, 1 Oct 2010 15:20:48 +0000 (15:20 +0000)]
tracing router existence with the new parser

details:
- a router is represented in the trace as a host with no power

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8324 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoremoving old and no longer used tracing functions
schnorr [Fri, 1 Oct 2010 15:20:47 +0000 (15:20 +0000)]
removing old and no longer used tracing functions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8323 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoproper closing the LINK containers at the end of the trace
schnorr [Fri, 1 Oct 2010 15:20:46 +0000 (15:20 +0000)]
proper closing the LINK containers at the end of the trace

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8322 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace cosmetics
schnorr [Fri, 1 Oct 2010 15:20:45 +0000 (15:20 +0000)]
trace cosmetics

details:
- remove "__" from beginning of some functions name
- making some functions static
- moving a function to other file, making it static

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8321 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoTRACE_surf_[host|link]_declaration responsible for create containers
schnorr [Fri, 1 Oct 2010 15:20:43 +0000 (15:20 +0000)]
TRACE_surf_[host|link]_declaration responsible for create containers

todo:
- end points still not present on the trace

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8320 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoentree de ghislain
suter [Fri, 1 Oct 2010 14:33:52 +0000 (14:33 +0000)]
entree de ghislain

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8319 48e7efb5-ca39-0410-a469-dd3cf9ba447f