Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years agoFix detection of lua.h on linux
navarrop [Thu, 18 Nov 2010 16:46:23 +0000 (16:46 +0000)]
Fix detection of lua.h on linux

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

13 years agoFix lua detection on apple and re-enable option lua and ruby. \But examples doesn...
navarrop [Thu, 18 Nov 2010 16:43:39 +0000 (16:43 +0000)]
Fix lua detection on apple and re-enable option lua and ruby. \But examples doesn't work due to require simgrid which is not a bundle on mac.

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

13 years agoUpdate default platform in smpirun.
pini [Thu, 18 Nov 2010 14:55:31 +0000 (14:55 +0000)]
Update default platform in smpirun.

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

13 years agoMPI_Comm_split is back to life.
pini [Thu, 18 Nov 2010 14:55:29 +0000 (14:55 +0000)]
MPI_Comm_split is back to life.

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

13 years agoHide options on apple or windows if they are not worked yet.
navarrop [Thu, 18 Nov 2010 14:51:25 +0000 (14:51 +0000)]
Hide options on apple or windows if they are not worked yet.

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

13 years agoMake example dot if graphviz is enable and if it is possible.
navarrop [Wed, 17 Nov 2010 17:20:42 +0000 (17:20 +0000)]
Make example dot if graphviz is enable and if it is possible.

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

13 years agoMake example dot if graphviz is enable.
navarrop [Wed, 17 Nov 2010 17:14:18 +0000 (17:14 +0000)]
Make example dot if graphviz is enable.

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

13 years agoRevert 'Delete the temporary route table for model Full' by Pierre since it broke...
mquinson [Wed, 17 Nov 2010 13:31:11 +0000 (13:31 +0000)]
Revert 'Delete the temporary route table for model Full' by Pierre since it broke midjy's work for no gain

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

13 years agoFix graphviz on Linux.
navarrop [Wed, 17 Nov 2010 13:05:01 +0000 (13:05 +0000)]
Fix graphviz on Linux.

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

13 years agoTry to install doc if enable.
navarrop [Wed, 17 Nov 2010 13:05:00 +0000 (13:05 +0000)]
Try to install doc if enable.

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

13 years agoDelete the temporary route table for model Full.
navarrop [Wed, 17 Nov 2010 13:04:59 +0000 (13:04 +0000)]
Delete the temporary route table for model Full.

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

13 years agoFix problem with detection of graphviz.
navarrop [Wed, 17 Nov 2010 12:53:29 +0000 (12:53 +0000)]
Fix problem with detection of graphviz.

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

13 years agoAdd symetrical=NO to msg_platform.xml (symetrical is now YES be default)
thiery [Tue, 16 Nov 2010 15:30:41 +0000 (15:30 +0000)]
Add symetrical=NO to msg_platform.xml (symetrical is now YES be default)

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

13 years agoAdd option enable_lib_static for compile libsimgrid.a and libsmpi.a
navarrop [Tue, 16 Nov 2010 10:10:59 +0000 (10:10 +0000)]
Add option enable_lib_static for compile libsimgrid.a and libsmpi.a

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

13 years agoMake my_valgrind.pl work with spaces in parameters.
agiersch [Tue, 16 Nov 2010 09:25:39 +0000 (09:25 +0000)]
Make my_valgrind.pl work with spaces in parameters.

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

13 years agoAdd full path when generating memcheck tests.
agiersch [Tue, 16 Nov 2010 09:25:35 +0000 (09:25 +0000)]
Add full path when generating memcheck tests.

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

13 years agoFix argument quoting in tesh files.
agiersch [Tue, 16 Nov 2010 09:25:32 +0000 (09:25 +0000)]
Fix argument quoting in tesh files.

This makes ADD_TEST in memcheck_tests.cmake to correctly split
the arguments.

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

13 years agoFix path to binary in tesh file.
agiersch [Tue, 16 Nov 2010 09:25:28 +0000 (09:25 +0000)]
Fix path to binary in tesh file.

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

13 years agoSimplify synchronization in parallel_log_crashtest.
agiersch [Tue, 16 Nov 2010 09:25:25 +0000 (09:25 +0000)]
Simplify synchronization in parallel_log_crashtest.

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

13 years agoTry to produce the same results with minmin on different setups.
agiersch [Tue, 16 Nov 2010 09:25:22 +0000 (09:25 +0000)]
Try to produce the same results with minmin on different setups.

Use a volatile double temporary variable to avoid rounding differences
on 32bit or 64bit x86, with or without gcc optimizations.

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

13 years agoAdd missing XBT_PUBLIC in declaration.
agiersch [Tue, 16 Nov 2010 09:25:18 +0000 (09:25 +0000)]
Add missing XBT_PUBLIC in declaration.

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

13 years agoFix memory leaks in msg/icomms examples.
agiersch [Mon, 15 Nov 2010 17:11:09 +0000 (17:11 +0000)]
Fix memory leaks in msg/icomms examples.

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

13 years agoFix use after free when using SIMIX_network_wait().
agiersch [Mon, 15 Nov 2010 17:11:05 +0000 (17:11 +0000)]
Fix use after free when using SIMIX_network_wait().

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

13 years agoRemove remaining references to static version of libraries.
agiersch [Mon, 15 Nov 2010 17:10:59 +0000 (17:10 +0000)]
Remove remaining references to static version of libraries.

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

13 years agoregenerate
mquinson [Mon, 15 Nov 2010 15:13:10 +0000 (15:13 +0000)]
regenerate

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

13 years agodon't build the static version anymore (should be a configure option?)
mquinson [Mon, 15 Nov 2010 15:13:08 +0000 (15:13 +0000)]
don't build the static version anymore (should be a configure option?)

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

13 years agoand now, make sure that the new GRAS code compiles w/o warning
mquinson [Mon, 15 Nov 2010 15:12:57 +0000 (15:12 +0000)]
and now, make sure that the new GRAS code compiles w/o warning

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

13 years agoan unsigned int cannot be negative, no need to enforce
mquinson [Mon, 15 Nov 2010 15:12:55 +0000 (15:12 +0000)]
an unsigned int cannot be negative, no need to enforce

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

13 years agoDon't overwrite an already existing route. Also fix a typo and indentation.
thiery [Mon, 15 Nov 2010 14:25:43 +0000 (14:25 +0000)]
Don't overwrite an already existing route. Also fix a typo and indentation.

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

13 years agoFix dynar test: cpt should be signed.
agiersch [Mon, 15 Nov 2010 10:39:38 +0000 (10:39 +0000)]
Fix dynar test: cpt should be signed.

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

13 years agoFix compilation failure.
agiersch [Mon, 15 Nov 2010 10:39:35 +0000 (10:39 +0000)]
Fix compilation failure.

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

13 years agoPartial fix of GRAS: gras-ping-sg now works again
mquinson [Fri, 12 Nov 2010 20:22:54 +0000 (20:22 +0000)]
Partial fix of GRAS: gras-ping-sg now works again
* Make the following function specific to the plugins:
  - gras_socket_my_port(sock)
  - gras_socket_peer_port(sock)
  - gras_socket_peer_name(sock)
  - gras_socket_peer_proc(sock)
  - gras_socket_peer_proc_set(sock,peer_proc)
* In SG plugin, implement them properly knowing that the same socket
  object gets shared between peers
* In TCP plugin, use the previous behavior
* In file plugin, use THROW_UNIMPLEMENTED

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

13 years agoFix test_minmin: the simulated times had changed since r8522.
thiery [Fri, 12 Nov 2010 19:27:57 +0000 (19:27 +0000)]
Fix test_minmin: the simulated times had changed since r8522.

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

13 years agoFix detection of asymetric routes errors in platform files.
thiery [Fri, 12 Nov 2010 19:07:29 +0000 (19:07 +0000)]
Fix detection of asymetric routes errors in platform files.
The error is now detected, which breaks the tests relying on examples/msg/msg_platform.xml
since this platform contains asymetric routes.

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

13 years agoAdd an invalid platform test for which the parser should trigger an assertion error
thiery [Fri, 12 Nov 2010 18:44:20 +0000 (18:44 +0000)]
Add an invalid platform test for which the parser should trigger an assertion error

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

13 years agoFix tesh file of tesh-simdag-parser-bogus-symmetric
thiery [Fri, 12 Nov 2010 17:15:31 +0000 (17:15 +0000)]
Fix tesh file of tesh-simdag-parser-bogus-symmetric

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

13 years agoProtect the if inside the xbt_assert macros
thiery [Fri, 12 Nov 2010 17:03:14 +0000 (17:03 +0000)]
Protect the if inside the xbt_assert macros

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

13 years agoFix compilation warnings in the dynar test
thiery [Fri, 12 Nov 2010 16:49:05 +0000 (16:49 +0000)]
Fix compilation warnings in the dynar test

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

13 years agoAdd a test enforcing that the route redefinition (when symmetrical=yes) is correctly...
mquinson [Fri, 12 Nov 2010 15:56:09 +0000 (15:56 +0000)]
Add a test enforcing that the route redefinition (when symmetrical=yes) is correctly detected

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

13 years agoCosmetics on the output when parsing the platform raises an exception
mquinson [Fri, 12 Nov 2010 15:56:07 +0000 (15:56 +0000)]
Cosmetics on the output when parsing the platform raises an exception

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

13 years agoadd a convinient xbt_dynar_set_as() macro, and test it
mquinson [Fri, 12 Nov 2010 15:28:56 +0000 (15:28 +0000)]
add a convinient xbt_dynar_set_as() macro, and test it

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

13 years agoTest that insert/replace/remove functions of dynars are working (and fix insert when...
mquinson [Fri, 12 Nov 2010 15:22:18 +0000 (15:22 +0000)]
Test that insert/replace/remove functions of dynars are working (and fix insert when inserting after the end)

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

13 years agoregenerate this file; dict.c was probably updated at some point
mquinson [Fri, 12 Nov 2010 15:22:16 +0000 (15:22 +0000)]
regenerate this file; dict.c was probably updated at some point

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

13 years agoalways regenerate the unit tests when possible, even if not in maintainer_mode
mquinson [Fri, 12 Nov 2010 15:22:06 +0000 (15:22 +0000)]
always regenerate the unit tests when possible, even if not in maintainer_mode

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

13 years agoAlways check for perl since we need it quite a lot, actually
mquinson [Fri, 12 Nov 2010 15:22:04 +0000 (15:22 +0000)]
Always check for perl since we need it quite a lot, actually

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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