Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years agomaking DT-trace generate binaries with "-trace"
schnorr [Thu, 28 Oct 2010 14:18:05 +0000 (14:18 +0000)]
making DT-trace generate binaries with "-trace"

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

13 years agoavoid inclusion of internal headers in user code
schnorr [Thu, 28 Oct 2010 11:44:20 +0000 (11:44 +0000)]
avoid inclusion of internal headers in user code

details:
- have_latency_bound_tracking define is set on include/simgrid_config.h

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

13 years agopreprocessor define for latency bound tracking can be used by user-code
schnorr [Thu, 28 Oct 2010 11:44:19 +0000 (11:44 +0000)]
preprocessor define for latency bound tracking can be used by user-code

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

13 years agoalways set latency_bound_tracking to on when gtnets is enabled
schnorr [Thu, 28 Oct 2010 11:44:18 +0000 (11:44 +0000)]
always set latency_bound_tracking to on when gtnets is enabled

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

13 years agomoving TRACE_smpi_set_category to smpi_mpi.c so function can call smpi_bench_*
schnorr [Thu, 28 Oct 2010 11:44:17 +0000 (11:44 +0000)]
moving TRACE_smpi_set_category to smpi_mpi.c so function can call smpi_bench_*

details:
- since smpi_bench_end generates a execute task, we have
to call smpi_bench_end before changing the process's category
- if we don't do so, we end up with a new category to an execute
action that should have the process's old category
- function prototype is kept in instr/instr.h

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

13 years agofix on the use of dynar by smpi instrumentation
schnorr [Thu, 28 Oct 2010 11:44:16 +0000 (11:44 +0000)]
fix on the use of dynar by smpi instrumentation

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

13 years agoRename some functions
navarrop [Wed, 27 Oct 2010 14:15:04 +0000 (14:15 +0000)]
Rename some functions

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

13 years agoAdd function to "config tag" when using properties.
navarrop [Wed, 27 Oct 2010 14:15:02 +0000 (14:15 +0000)]
Add function to "config tag" when using properties.

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

13 years agoFix output problem with gtnets tests.
navarrop [Wed, 27 Oct 2010 10:53:30 +0000 (10:53 +0000)]
Fix output problem with gtnets tests.

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

13 years agoFix gtnets support with new routing format.
navarrop [Wed, 27 Oct 2010 10:42:14 +0000 (10:42 +0000)]
Fix gtnets support with new routing format.

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

13 years agoAdd tests for fullduplex and symmetrical
navarrop [Wed, 27 Oct 2010 10:42:14 +0000 (10:42 +0000)]
Add tests for fullduplex and symmetrical

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

13 years agoFix tests using link_ctn and route with bypass.
navarrop [Wed, 27 Oct 2010 10:42:12 +0000 (10:42 +0000)]
Fix tests using link_ctn and route with bypass.

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

13 years agoSetting symetrical = NO by default.
navarrop [Wed, 27 Oct 2010 10:42:11 +0000 (10:42 +0000)]
Setting symetrical = NO by default.

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

13 years agoImplement symetrical for Asroute
navarrop [Wed, 27 Oct 2010 10:42:10 +0000 (10:42 +0000)]
Implement symetrical for Asroute

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

13 years agoAdd one platform with fullduplex link.
navarrop [Wed, 27 Oct 2010 10:42:08 +0000 (10:42 +0000)]
Add one platform with fullduplex link.

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

13 years agoImplement symetrical for route.
navarrop [Wed, 27 Oct 2010 10:42:07 +0000 (10:42 +0000)]
Implement symetrical for route.

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

13 years agoAdd in DTD direction for link_ctn and sharing_policy for link and cluster
navarrop [Wed, 27 Oct 2010 10:42:05 +0000 (10:42 +0000)]
Add in DTD direction for link_ctn and sharing_policy for link and cluster
cluster  sharing_policy SHARED FULLDUPLEX
link     sharing_policy SHARED FATPIPE FULLDUPLEX
link_ctn direction UP DOWN NONE

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

13 years agoMove bypassRoutes to s_routing_component_t.
navarrop [Wed, 27 Oct 2010 10:42:04 +0000 (10:42 +0000)]
Move bypassRoutes to s_routing_component_t.

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

13 years agoMove parse_routes to s_routing_component_t.
navarrop [Wed, 27 Oct 2010 10:42:03 +0000 (10:42 +0000)]
Move parse_routes to s_routing_component_t.

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

13 years agoAdd huge cluster platforms
navarrop [Wed, 27 Oct 2010 10:42:01 +0000 (10:42 +0000)]
Add huge cluster platforms

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

13 years agodefine the size of local char variables in the instrumentation files
schnorr [Wed, 27 Oct 2010 07:45:11 +0000 (07:45 +0000)]
define the size of local char variables in the instrumentation files

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

13 years agobug introduced yesterday fixed
genaud [Mon, 25 Oct 2010 13:21:46 +0000 (13:21 +0000)]
bug introduced yesterday fixed

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

13 years agoUsing size_t for table_size in surf_routing.c, in order to ensure that
agiersch [Mon, 25 Oct 2010 12:01:09 +0000 (12:01 +0000)]
Using size_t for table_size in surf_routing.c, in order to ensure that
(table_size*table_size) does not overflow on 64bit architectures when
table_size > 46340.

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

13 years agoMake bprintf abort on error, and define bvprintf accordingly.
agiersch [Mon, 25 Oct 2010 11:33:37 +0000 (11:33 +0000)]
Make bprintf abort on error, and define bvprintf accordingly.
When there is no error checking, use bprintf or bvprintf instead of
asprintf or vasprintf.

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

13 years agoDocument the parameters used for the last massive indent pass
thiery [Mon, 25 Oct 2010 10:41:51 +0000 (10:41 +0000)]
Document the parameters used for the last massive indent pass

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

13 years ago+ sort skampi datalog on message size after file read
genaud [Sun, 24 Oct 2010 00:02:17 +0000 (00:02 +0000)]
+ sort skampi datalog on message size after file read

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

13 years ago+ bug fixed (not pingpong time divided by #links but by 2 instead)
genaud [Sat, 23 Oct 2010 23:43:31 +0000 (23:43 +0000)]
+ bug fixed (not pingpong time divided by #links but by 2 instead)
+ xrange -> range
+ skamppi data sorted by mesage size after being read from data file

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

13 years agoUse size_t for xbt_malloc and friends.
agiersch [Sat, 23 Oct 2010 13:35:03 +0000 (13:35 +0000)]
Use size_t for xbt_malloc and friends.
Unsigned ints may be too short on 64bit archs.

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

13 years agocomment
genaud [Fri, 22 Oct 2010 11:44:56 +0000 (11:44 +0000)]
comment

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

13 years agoCheck return value of (v)asprintf.
agiersch [Fri, 22 Oct 2010 09:29:15 +0000 (09:29 +0000)]
Check return value of (v)asprintf.

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

13 years agoAdd a small example to test the barrier action which seems to be currently broken
suter [Fri, 22 Oct 2010 07:50:52 +0000 (07:50 +0000)]
Add a small example to test the barrier action which seems to be currently broken

Can be launched as follows
./actions homogeneous_3_hosts.xml bcast_deployment.xml actions_barrier.txt

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

13 years agoFix bug in xbt_dicti_set: previous was not updated.
agiersch [Thu, 21 Oct 2010 16:34:31 +0000 (16:34 +0000)]
Fix bug in xbt_dicti_set: previous was not updated.

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

13 years agoFix supernovae build with older gcc and/or libc.
agiersch [Wed, 20 Oct 2010 20:10:28 +0000 (20:10 +0000)]
Fix supernovae build with older gcc and/or libc.

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

13 years agoRegenerate tesh files and make the tests gras-{all2all,ping,rpc}-rl succeed.
agiersch [Wed, 20 Oct 2010 14:49:50 +0000 (14:49 +0000)]
Regenerate tesh files and make the tests gras-{all2all,ping,rpc}-rl succeed.

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

13 years agoAdd a masterslave examples with clusters.
navarrop [Wed, 20 Oct 2010 11:44:14 +0000 (11:44 +0000)]
Add a masterslave examples with clusters.

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

13 years agoThe surf_file_to_parse have to be set to NULL after closing file
navarrop [Wed, 20 Oct 2010 09:29:55 +0000 (09:29 +0000)]
The surf_file_to_parse have to be set to NULL after closing file
if we want to use bypass.

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

13 years agoRevert of Lucas commit. All tests were broken.
navarrop [Tue, 19 Oct 2010 13:48:08 +0000 (13:48 +0000)]
Revert of Lucas commit. All tests were broken.

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

13 years agoPut explicit message if die.
navarrop [Tue, 19 Oct 2010 13:46:13 +0000 (13:46 +0000)]
Put explicit message if die.

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

13 years agoAdd file AddTestsWin.cmake for execute tesh.perl with tests.
navarrop [Tue, 19 Oct 2010 12:56:23 +0000 (12:56 +0000)]
Add file AddTestsWin.cmake for execute tesh.perl with tests.

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

13 years agotesh for windows
navarrop [Tue, 19 Oct 2010 12:56:08 +0000 (12:56 +0000)]
tesh for windows

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

13 years agoadding an example of simdag with tracing functions
schnorr [Tue, 19 Oct 2010 12:01:13 +0000 (12:01 +0000)]
adding an example of simdag with tracing functions

details:
- three categories created, one for each task

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

13 years agolet user decide to use other models with simdag if tracing is enabled
schnorr [Tue, 19 Oct 2010 12:01:12 +0000 (12:01 +0000)]
let user decide to use other models with simdag if tracing is enabled

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

13 years agoadding categories to dot file to serve as example
schnorr [Tue, 19 Oct 2010 08:41:36 +0000 (08:41 +0000)]
adding categories to dot file to serve as example

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

13 years agodotloader to trace task categories based on dot file
schnorr [Tue, 19 Oct 2010 08:41:35 +0000 (08:41 +0000)]
dotloader to trace task categories based on dot file

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

13 years agodocument the last discussion between Arnaud and Ludovic on -user
mquinson [Fri, 15 Oct 2010 10:58:50 +0000 (10:58 +0000)]
document the last discussion between Arnaud and Ludovic on -user

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

13 years agousing mpi_comm_world to get the global rank
schnorr [Thu, 14 Oct 2010 16:14:09 +0000 (16:14 +0000)]
using mpi_comm_world to get the global rank

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

13 years agoAdd documentation to distrib.
navarrop [Thu, 14 Oct 2010 15:50:49 +0000 (15:50 +0000)]
Add documentation to distrib.

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

13 years agoClean the distrib with make clean.
navarrop [Thu, 14 Oct 2010 15:20:14 +0000 (15:20 +0000)]
Clean the distrib with make clean.

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

13 years agoIf windows tesh is tesh.pl
navarrop [Thu, 14 Oct 2010 15:20:13 +0000 (15:20 +0000)]
If windows tesh is tesh.pl

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

13 years agoChange way for cleaning generated files.
navarrop [Thu, 14 Oct 2010 14:48:41 +0000 (14:48 +0000)]
Change way for cleaning generated files.

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

13 years agoAuto set the library extension for links.
navarrop [Thu, 14 Oct 2010 14:48:39 +0000 (14:48 +0000)]
Auto set the library extension for links.

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

13 years agoChange order of tests for generate correctly memcheck tests.
navarrop [Wed, 13 Oct 2010 15:23:13 +0000 (15:23 +0000)]
Change order of tests for generate correctly memcheck tests.

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

13 years agoInitilized vars.
navarrop [Wed, 13 Oct 2010 14:14:47 +0000 (14:14 +0000)]
Initilized vars.

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

13 years agoAdd simgrid dependency for ping_generator.lua
navarrop [Wed, 13 Oct 2010 13:57:10 +0000 (13:57 +0000)]
Add simgrid dependency for ping_generator.lua
Now make -j is available with lua.

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

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

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

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