Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years agoa platform file which should activate the auto-non-symmetrical behavior of surf routi...
mquinson [Fri, 12 Nov 2010 14:40:44 +0000 (14:40 +0000)]
a platform file which should activate the auto-non-symmetrical behavior of surf routing parser

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

9 years agoDo not enforce that the idx is within the bounds for xbt_dynar_insert since the dynar...
mquinson [Fri, 12 Nov 2010 14:27:06 +0000 (14:27 +0000)]
Do not enforce that the idx is within the bounds for xbt_dynar_insert since the dynar is expended on need

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

9 years agotiny cosmetics: use xbt_strdup where intended instead of bprintf('%s'. That's idempot...
mquinson [Fri, 12 Nov 2010 13:28:45 +0000 (13:28 +0000)]
tiny cosmetics: use xbt_strdup where intended instead of bprintf('%s'. That's idempotent, but faster

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

9 years agokill generated file out of the svn
mquinson [Fri, 12 Nov 2010 13:28:43 +0000 (13:28 +0000)]
kill generated file out of the svn

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

9 years agocleanups
coldpeace [Fri, 12 Nov 2010 10:14:58 +0000 (10:14 +0000)]
cleanups

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

9 years agoupdate lua(bypass) examples
coldpeace [Fri, 12 Nov 2010 10:12:21 +0000 (10:12 +0000)]
update lua(bypass) examples

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

9 years agouse indexed table for Route.new (only for lua examples & still improvale for console_...
coldpeace [Fri, 12 Nov 2010 10:10:09 +0000 (10:10 +0000)]
use indexed table for Route.new (only for lua examples & still improvale for console_msg/gras/simdag examples) and Host.setFunction when using lua console

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

9 years agoBug fix. Now cpu_im can handle tasks whose size is 0. That's more convenient for...
alegrand [Wed, 10 Nov 2010 20:01:53 +0000 (20:01 +0000)]
Bug fix. Now cpu_im can handle tasks whose size is 0. That's more convenient for SimDAG users...

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

9 years agoImprove debugging and fix a broken test that was only activating debug messages.
alegrand [Wed, 10 Nov 2010 20:01:49 +0000 (20:01 +0000)]
Improve debugging and fix a broken test that was only activating debug messages.

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

9 years agoRate should be -1 and not 0... This caused TCP_gamma bound to be ignored for some...
alegrand [Wed, 10 Nov 2010 17:31:27 +0000 (17:31 +0000)]
Rate should be -1 and not 0... This caused TCP_gamma bound to be ignored for some obscure reason.

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

9 years agorecv was still in DEBUG instead of VERB
suter [Wed, 10 Nov 2010 14:44:55 +0000 (14:44 +0000)]
recv was still in DEBUG instead of VERB

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

9 years agoinstrumentation of the dax loader and its example
schnorr [Wed, 10 Nov 2010 13:22:29 +0000 (13:22 +0000)]
instrumentation of the dax loader and its example

details:
- tasks are categorized by their names
- comm tasks are categorized according to the
category of the origin task
- code isolated with ifdef's

todo:
- use the type of file between the tasks as comm categories

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

9 years agotwo additional functions to declare categories (now with user colors)
schnorr [Wed, 10 Nov 2010 10:22:37 +0000 (10:22 +0000)]
two additional functions to declare categories (now with user colors)

details:
- TRACE_category_with_color (category, color)
- TRACE_create_category_with_color (cat, type, parent_cat, color)
- this function can be used to create hierarchical categories definition

- color is a char* that must be in the following format
    "%f %f %f", red, green, blue
where red, green, blue are float values in the interval [0, 1]

- user can specify a NULL color, or simply call the
TRACE_category (cat) or
TRACE_create_category (cat, type, parent_cat)
as before
-> instrumentation will define random colors
- but they might not be good colors for visu

- no need to configure colors during visualization analysis

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

9 years agonew event to declare a variable type associated with a color
schnorr [Wed, 10 Nov 2010 10:22:36 +0000 (10:22 +0000)]
new event to declare a variable type associated with a color

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

9 years agochange timed trace output from DEBUG to VERB to distinguish a
suter [Wed, 10 Nov 2010 08:46:17 +0000 (08:46 +0000)]
change timed trace output from DEBUG to VERB to distinguish a
sometimes desired output (all the actions with their execution time)
from true debug information

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

9 years agore-implementing categorized platform tracing method B, smaller trace files
schnorr [Tue, 9 Nov 2010 22:55:41 +0000 (22:55 +0000)]
re-implementing categorized platform tracing method B, smaller trace files

details:
- method A traces exactly surf actions update, use as a safe alternative
      --cfg=tracing/platform/method:a
- method B gives a significant reduction in trace files
      - tests have shown that these smaller files correspond to the behavior
        registered by method A, without loss of precision in categorized resource
        utilization

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

9 years agoisolating uncategorized resource utilization tracing to get a cleaner trace
schnorr [Tue, 9 Nov 2010 22:55:40 +0000 (22:55 +0000)]
isolating uncategorized resource utilization tracing to get a cleaner trace

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

9 years agoRemove debugging cruft. Sorry for the noise.
agiersch [Tue, 9 Nov 2010 17:51:22 +0000 (17:51 +0000)]
Remove debugging cruft.  Sorry for the noise.

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

9 years agoFix CMake detection of dependencies between source files and headers
mquinson [Tue, 9 Nov 2010 17:20:47 +0000 (17:20 +0000)]
Fix CMake detection of dependencies between source files and headers

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

9 years agoLet it compile in paranoid mode without _XBT_GNUC_UNUSED (cosmetics only)
mquinson [Tue, 9 Nov 2010 17:20:27 +0000 (17:20 +0000)]
Let it compile in paranoid mode without _XBT_GNUC_UNUSED (cosmetics only)

The main issue of the previous fix to the problem (by Arnaud G) was
that it documented the commit in the source, explaining why it was
mandatory in a C comment. That's source bloat in my mind:
git blame+git log can give you the same information if you need it.

So I figured out an excuse to recommit on top of it, and here we go :)

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

9 years agoImplement the field width in log formats
mquinson [Tue, 9 Nov 2010 17:20:06 +0000 (17:20 +0000)]
Implement the field width in log formats

I needed this to sort the output in tesh, which is mandatory for //
execution, as processes run out of order at any given scheduling point.

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

9 years agodocumentation fix
mquinson [Tue, 9 Nov 2010 17:19:46 +0000 (17:19 +0000)]
documentation fix

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

9 years agomore verbose autosetting
mquinson [Tue, 9 Nov 2010 17:19:24 +0000 (17:19 +0000)]
more verbose autosetting

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

9 years agoForgot this file with commit 8506.
agiersch [Tue, 9 Nov 2010 15:48:04 +0000 (15:48 +0000)]
Forgot this file with commit 8506.

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

9 years agoTesh updates:
agiersch [Tue, 9 Nov 2010 15:46:40 +0000 (15:46 +0000)]
Tesh updates:
* Install a thread to wait for termination signals and thus avoid
  deadlocks when, for example, a signal is received while the
  armageddon_mutex is locked.
* Try to be more valgrind friendly by freeing objects on exit.

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

9 years agoReviewed locking in mmalloc:
agiersch [Tue, 9 Nov 2010 15:46:03 +0000 (15:46 +0000)]
Reviewed locking in mmalloc:
* Correctly initialize and destroy the mdp mutex.
* Simplify locking logic by pushing it up in {m,c,re}alloc/free
  in "mm_legacy.c".
* Lock the default_mdp mutex around fork calls
  (introduce xbt_os_thread_atfork for this purpose).
* Increase HEAP_OFFSET to avoid strange errors with valgrind
  (got unexplained memory corruption in tesh with several threads).

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

9 years agotracing option to trace uncategorized resource utilization
schnorr [Tue, 9 Nov 2010 14:30:13 +0000 (14:30 +0000)]
tracing option to trace uncategorized resource utilization

details:
- default is 0
- so if categories are not needed, have to set tracing/uncategorized:1
to get resource utilization traces for the simulation

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

9 years agoChanged optimizing metric to log error
genaud [Sat, 6 Nov 2010 09:15:30 +0000 (09:15 +0000)]
Changed optimizing metric to log error

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

9 years agoAdd function xbt_dynar_compare
navarrop [Fri, 5 Nov 2010 15:09:13 +0000 (15:09 +0000)]
Add function xbt_dynar_compare
arg1 : dynar
arg2 : dynar
arg3 : the function used to compare

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

9 years agoBy default setting route symetrical to YES
navarrop [Fri, 5 Nov 2010 15:09:12 +0000 (15:09 +0000)]
By default setting route symetrical to YES
Implement a function to compare if two routes are different.

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

9 years agoAdd a backbone sharing policy in dtd.
navarrop [Fri, 5 Nov 2010 15:09:10 +0000 (15:09 +0000)]
Add a backbone sharing policy in dtd.
Add a FATPIPE sharing policy to host link in cluster tag.

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

9 years agonew configuration option tracing/smpi/group
schnorr [Fri, 5 Nov 2010 09:40:38 +0000 (09:40 +0000)]
new configuration option tracing/smpi/group

details:
- by default, it is set to 0
- if is 0, the behavior of each MPI process (in the interface
level: MPI_Send, Recv, ...) is not group by host (this means
that you do not know where it was executed by looking only the
trace)
- otherwise, processes are grouped by host

info:
- traditional mpi-focused visualization tools usually do not
group by hosts: that is the reason we are keeping the default value
to 0 (not grouped)

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

9 years agoFix build in paranoid mode without tracing support.
agiersch [Thu, 4 Nov 2010 08:38:53 +0000 (08:38 +0000)]
Fix build in paranoid mode without tracing support.

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

9 years agoExport JAVA_LIBRARY_PATH for testing.
navarrop [Tue, 2 Nov 2010 15:38:12 +0000 (15:38 +0000)]
Export JAVA_LIBRARY_PATH for testing.

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

9 years agoInitialized value for compil succed in paranoid mode.
navarrop [Tue, 2 Nov 2010 11:31:37 +0000 (11:31 +0000)]
Initialized value for compil succed in paranoid mode.

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

9 years agoFix install problem with simgrid_config.h.
navarrop [Tue, 2 Nov 2010 11:31:36 +0000 (11:31 +0000)]
Fix install problem with simgrid_config.h.

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

9 years agoDon't mess with MSG internals from ruby, but use the public interface. Good idea...
mquinson [Sun, 31 Oct 2010 13:12:48 +0000 (13:12 +0000)]
Don't mess with MSG internals from ruby, but use the public interface. Good idea when the internals are about to change

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

9 years agouseless cosmetics
mquinson [Sun, 31 Oct 2010 12:30:29 +0000 (12:30 +0000)]
useless cosmetics

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

9 years agoremove the link before creating it
mquinson [Sun, 31 Oct 2010 12:29:54 +0000 (12:29 +0000)]
remove the link before creating it

Conflicts:

buildtools/Cmake/MakeExeLib.cmake

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

9 years agocosmetics (change 'self' identifier to 'me' for g++ compatibility)
mquinson [Sun, 31 Oct 2010 12:29:19 +0000 (12:29 +0000)]
cosmetics (change 'self' identifier to 'me' for g++ compatibility)

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

9 years agoprefer out-of-source generated headers
mquinson [Sun, 31 Oct 2010 12:28:44 +0000 (12:28 +0000)]
prefer out-of-source generated headers

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

9 years agofix file permissions
mquinson [Sun, 31 Oct 2010 12:28:09 +0000 (12:28 +0000)]
fix file permissions

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

9 years agodo not write in source directory when building out of source
mquinson [Sun, 31 Oct 2010 12:27:32 +0000 (12:27 +0000)]
do not write in source directory when building out of source

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

9 years agolet it cross compile for real, now
mquinson [Sun, 31 Oct 2010 12:26:57 +0000 (12:26 +0000)]
let it cross compile for real, now

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

9 years agotypo in comments (sorry for the noise)
mquinson [Sun, 31 Oct 2010 12:26:21 +0000 (12:26 +0000)]
typo in comments (sorry for the noise)

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

9 years agoattempt to let it cross-compile windows from linux. Not quite yet
mquinson [Sun, 31 Oct 2010 12:25:40 +0000 (12:25 +0000)]
attempt to let it cross-compile windows from linux. Not quite yet

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

9 years agoupdate...
coldpeace [Fri, 29 Oct 2010 17:26:25 +0000 (17:26 +0000)]
update...

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

9 years agoadding methods to get Host Properties, and trace file generation
coldpeace [Fri, 29 Oct 2010 16:57:55 +0000 (16:57 +0000)]
adding methods to get Host Properties, and trace file generation

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

9 years agomaking ping pong be executed 10 times
schnorr [Fri, 29 Oct 2010 15:09:25 +0000 (15:09 +0000)]
making ping pong be executed 10 times

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

9 years agoadding more categories to instrumented NAS DT benchmark
schnorr [Fri, 29 Oct 2010 15:08:15 +0000 (15:08 +0000)]
adding more categories to instrumented NAS DT benchmark

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

9 years agolet pass if action is not being traced with a category
schnorr [Fri, 29 Oct 2010 15:08:13 +0000 (15:08 +0000)]
let pass if action is not being traced with a category

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

9 years agoAdd a verification on pcre.h
navarrop [Thu, 28 Oct 2010 15:01:50 +0000 (15:01 +0000)]
Add a verification on pcre.h

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

9 years agorenaming dt-trace.c to dt.c inside dt-trace directory
schnorr [Thu, 28 Oct 2010 14:18:09 +0000 (14:18 +0000)]
renaming dt-trace.c to dt.c inside dt-trace directory

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

9 years agousing smpi_shared_[malloc|free] in DT-trace benchmark (as in dt-folding)
schnorr [Thu, 28 Oct 2010 14:18:08 +0000 (14:18 +0000)]
using smpi_shared_[malloc|free] in DT-trace benchmark (as in dt-folding)

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

9 years agosetting categories with SMPI must always be after MPI_Init
schnorr [Thu, 28 Oct 2010 14:18:07 +0000 (14:18 +0000)]
setting categories with SMPI must always be after MPI_Init

details:
- TRACE_smpi_set_category calls smpi_bench_end, which expects
that the smpi_bench was initialized
- programs will segfault if TRACE_smpi_set_category is called before
MPI_Init

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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