Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years ago[trace] bugfix, do not try to declare a NULL category
schnorr [Wed, 15 Dec 2010 09:11:48 +0000 (09:11 +0000)]
[trace] bugfix, do not try to declare a NULL category

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

13 years agoconvert msg/replay to modern replay things even in the tracing parts (sorry)
mquinson [Wed, 15 Dec 2010 09:00:12 +0000 (09:00 +0000)]
convert msg/replay to modern replay things even in the tracing parts (sorry)

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

13 years agoprotect this file against multiple inclusions to fix supernovae (oops)
mquinson [Wed, 15 Dec 2010 08:54:37 +0000 (08:54 +0000)]
protect this file against multiple inclusions to fix supernovae (oops)

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

13 years agoUse private futex commands
cristianrosa [Tue, 14 Dec 2010 17:05:54 +0000 (17:05 +0000)]
Use private futex commands

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

13 years agoReimplement parmap using futex based barriers.
cristianrosa [Tue, 14 Dec 2010 16:27:28 +0000 (16:27 +0000)]
Reimplement parmap using futex based barriers.
The fastest barrier implementation ever ;)

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

13 years agoFix problem with get_route in Dijkstra.
navarrop [Tue, 14 Dec 2010 16:16:34 +0000 (16:16 +0000)]
Fix problem with get_route in Dijkstra.

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

13 years agoFix bug when creating topology graph with model dijkstra.
navarrop [Tue, 14 Dec 2010 14:51:00 +0000 (14:51 +0000)]
Fix bug when creating topology graph with model dijkstra.

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

13 years agomoving graphicator from teshsuite to tools/graphicator/
schnorr [Tue, 14 Dec 2010 14:22:51 +0000 (14:22 +0000)]
moving graphicator from teshsuite to tools/graphicator/

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

13 years agooops forgot one file
mquinson [Tue, 14 Dec 2010 13:25:14 +0000 (13:25 +0000)]
oops forgot one file

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

13 years agoRemove stackless simix context factory
mquinson [Tue, 14 Dec 2010 12:54:48 +0000 (12:54 +0000)]
Remove stackless simix context factory

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

13 years agoget the good parts of the replay without stack into the regular replay
mquinson [Tue, 14 Dec 2010 12:54:46 +0000 (12:54 +0000)]
get the good parts of the replay without stack into the regular replay

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

13 years agoplug a memleak
mquinson [Tue, 14 Dec 2010 12:54:34 +0000 (12:54 +0000)]
plug a memleak

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

13 years agodocument last changes
mquinson [Tue, 14 Dec 2010 12:54:32 +0000 (12:54 +0000)]
document last changes

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

13 years agoKill tesh2 out of the source tree
mquinson [Tue, 14 Dec 2010 09:19:00 +0000 (09:19 +0000)]
Kill tesh2 out of the source tree
It was an old attempt at redoing TESH in a portable way, but it works
mainly/only on windows for now, and is not as paranoid as the regular
tesh.

The future is probably in the perl version of TESH.

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

13 years agosanitize the use of logs in unit testing of parmap to fix supernovae
mquinson [Tue, 14 Dec 2010 08:46:39 +0000 (08:46 +0000)]
sanitize the use of logs in unit testing of parmap to fix supernovae

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

13 years agofix a bunch of compilation warnings
mquinson [Tue, 14 Dec 2010 08:46:28 +0000 (08:46 +0000)]
fix a bunch of compilation warnings
* SIMIX_comm_is_latency_bounded() is inline, so should its prototype
* load gras_config.h to get the prototype of getline

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

13 years agoignore chord binary from git
mquinson [Tue, 14 Dec 2010 08:46:26 +0000 (08:46 +0000)]
ignore chord binary from git

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

13 years agokill useless smx_ctx_raw_create_context_sized(), and shut a debug message up
mquinson [Tue, 14 Dec 2010 08:46:23 +0000 (08:46 +0000)]
kill useless smx_ctx_raw_create_context_sized(), and shut a debug message up

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

13 years agoFix test mc-bugged1
thiery [Tue, 14 Dec 2010 08:45:46 +0000 (08:45 +0000)]
Fix test mc-bugged1

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

13 years agoFix uninitialized variables
thiery [Tue, 14 Dec 2010 08:30:22 +0000 (08:30 +0000)]
Fix uninitialized variables

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

13 years agoAdd the chord executable to .gitignore
thiery [Tue, 14 Dec 2010 08:30:21 +0000 (08:30 +0000)]
Add the chord executable to .gitignore

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

13 years agotracing might be disable, protecting lua bindings
schnorr [Mon, 13 Dec 2010 16:45:37 +0000 (16:45 +0000)]
tracing might be disable, protecting lua bindings

details:
- before this commit, if lua is on and tracing is off then compile error

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

13 years ago[trace] updating tesh, no categories are declared in this example anymore
schnorr [Mon, 13 Dec 2010 16:45:36 +0000 (16:45 +0000)]
[trace] updating tesh, no categories are declared in this example anymore

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

13 years ago[trace] arrows to indicate msg send/recv when tracing/msg/task:1
schnorr [Mon, 13 Dec 2010 16:45:35 +0000 (16:45 +0000)]
[trace] arrows to indicate msg send/recv when tracing/msg/task:1

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

13 years ago[trace] arrows to indicate msg process migration
schnorr [Mon, 13 Dec 2010 16:45:33 +0000 (16:45 +0000)]
[trace] arrows to indicate msg process migration

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

13 years ago[trace] updating ChangeLog
schnorr [Mon, 13 Dec 2010 16:45:32 +0000 (16:45 +0000)]
[trace] updating ChangeLog

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

13 years ago[trace] removing old code that was merged into new tracing system
schnorr [Mon, 13 Dec 2010 16:45:31 +0000 (16:45 +0000)]
[trace] removing old code that was merged into new tracing system

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

13 years ago[trace] set/push/pop states for tracing/msg/[task|process]:1
schnorr [Mon, 13 Dec 2010 16:45:30 +0000 (16:45 +0000)]
[trace] set/push/pop states for tracing/msg/[task|process]:1

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

13 years ago[trace] update on --cfg=tracing/msg/task:1, now works with new tracing system
schnorr [Mon, 13 Dec 2010 16:45:28 +0000 (16:45 +0000)]
[trace] update on --cfg=tracing/msg/task:1, now works with new tracing system

details:
- tasks are grouped by processes
- updating tasks.c on example/msg/tracing
      each task must have a unique name in order to --cfg=tracing/msg/task:1 work

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

13 years ago[trace] stop tracing process if user sets its category to NULL
schnorr [Mon, 13 Dec 2010 16:45:27 +0000 (16:45 +0000)]
[trace] stop tracing process if user sets its category to NULL

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

13 years ago[trace] renaming container type of msg process
schnorr [Mon, 13 Dec 2010 16:45:26 +0000 (16:45 +0000)]
[trace] renaming container type of msg process

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

13 years ago[trace] correct debug message
schnorr [Mon, 13 Dec 2010 16:45:24 +0000 (16:45 +0000)]
[trace] correct debug message

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

13 years ago[trace] only let MSG processes receive categories if tracing/msg/process:1
schnorr [Mon, 13 Dec 2010 16:45:23 +0000 (16:45 +0000)]
[trace] only let MSG processes receive categories if tracing/msg/process:1

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

13 years ago[trace] update of msg process tracing (to monitor migrations)
schnorr [Mon, 13 Dec 2010 16:45:22 +0000 (16:45 +0000)]
[trace] update of msg process tracing (to monitor migrations)

details:
- interface to attribute a category to a msg process changed (color needed)
- procmig and volume examples updated

todo:
- states of the processes are not registered

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

13 years ago[trace] other parts of tracing can also declare types (needed by msg process tracing)
schnorr [Mon, 13 Dec 2010 16:45:20 +0000 (16:45 +0000)]
[trace] other parts of tracing can also declare types (needed by msg process tracing)

details:
- and also newEventType and getEventType

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

13 years ago[trace] fix: container creation timestamp should definitely not be 0 here, use simula...
schnorr [Mon, 13 Dec 2010 16:45:19 +0000 (16:45 +0000)]
[trace] fix: container creation timestamp should definitely not be 0 here, use simulation time instead

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

13 years ago[trace] protecting category field in process structure
schnorr [Mon, 13 Dec 2010 16:45:18 +0000 (16:45 +0000)]
[trace] protecting category field in process structure

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

13 years ago[trace] marking tracing/msg/volume:1 as deprecated
schnorr [Mon, 13 Dec 2010 16:45:17 +0000 (16:45 +0000)]
[trace] marking tracing/msg/volume:1 as deprecated

details:
- can be reincorporated if someone needs it

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

13 years ago[trace] mpi api is traced if tracing:1 and tracing/smpi:1
schnorr [Mon, 13 Dec 2010 16:45:16 +0000 (16:45 +0000)]
[trace] mpi api is traced if tracing:1 and tracing/smpi:1

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

13 years ago[trace] smpi api tracing updated to the new tracing utilities
schnorr [Mon, 13 Dec 2010 16:45:15 +0000 (16:45 +0000)]
[trace] smpi api tracing updated to the new tracing utilities

todo:
- fix the name of the operations, which name starts with a P
example: today is PMPI_Init, but it should be MPI_Init

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

13 years ago[trace] recursive search for a type in the type hierarchy
schnorr [Mon, 13 Dec 2010 16:45:14 +0000 (16:45 +0000)]
[trace] recursive search for a type in the type hierarchy

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

13 years ago[trace] functions to be used by other parts of tracing (container handling)
schnorr [Mon, 13 Dec 2010 16:45:13 +0000 (16:45 +0000)]
[trace] functions to be used by other parts of tracing (container handling)

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

13 years ago[trace] new type MPI, which is the container type of a MPI process in SMPI
schnorr [Mon, 13 Dec 2010 16:45:12 +0000 (16:45 +0000)]
[trace] new type MPI, which is the container type of a MPI process in SMPI

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

13 years ago[trace] fix, father is already defined, should not use currentContainer here
schnorr [Mon, 13 Dec 2010 16:45:11 +0000 (16:45 +0000)]
[trace] fix, father is already defined, should not use currentContainer here

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

13 years ago[trace] making type_t and container_t available for instr module
schnorr [Mon, 13 Dec 2010 16:45:10 +0000 (16:45 +0000)]
[trace] making type_t and container_t available for instr module

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

13 years ago[trace] smpi types declaration updated
schnorr [Mon, 13 Dec 2010 16:45:09 +0000 (16:45 +0000)]
[trace] smpi types declaration updated

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

13 years ago[trace] declaring dictionary where it is allocated
schnorr [Mon, 13 Dec 2010 16:45:07 +0000 (16:45 +0000)]
[trace] declaring dictionary where it is allocated

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

13 years ago[trace] tracing a 0 instead of 0.000000 in trace file timestamps
schnorr [Mon, 13 Dec 2010 16:45:05 +0000 (16:45 +0000)]
[trace] tracing a 0 instead of 0.000000 in trace file timestamps

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

13 years ago[trace] merging instr_variables.c into instr_interface.c (code re-organization)
schnorr [Mon, 13 Dec 2010 16:45:04 +0000 (16:45 +0000)]
[trace] merging instr_variables.c into instr_interface.c (code re-organization)

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

13 years ago[trace] protecting the declaration of multiple types with the same name
schnorr [Mon, 13 Dec 2010 16:45:02 +0000 (16:45 +0000)]
[trace] protecting the declaration of multiple types with the same name

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

13 years ago[trace] removing old interface prototype that no longer exists
schnorr [Mon, 13 Dec 2010 16:45:02 +0000 (16:45 +0000)]
[trace] removing old interface prototype that no longer exists

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

13 years ago[trace] checking if platform is traced in tracing API
schnorr [Mon, 13 Dec 2010 16:45:00 +0000 (16:45 +0000)]
[trace] checking if platform is traced in tracing API

details:
- for the features that need a known platform to work

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

13 years ago[trace] adding a new structure to keep the type hierarchy of the trace
schnorr [Mon, 13 Dec 2010 16:44:59 +0000 (16:44 +0000)]
[trace] adding a new structure to keep the type hierarchy of the trace

details:
- simplification of container creation during parsing
- use of aliases in the trace file (for containers and types)
- only categorized/uncategorized resource use is working for now

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

13 years ago[trace] smaller timestamp is registered in trace files if time is 0
schnorr [Mon, 13 Dec 2010 16:44:58 +0000 (16:44 +0000)]
[trace] smaller timestamp is registered in trace files if time is 0

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

13 years ago[trace] filter out the reverse connections to get a smaller trace file
schnorr [Mon, 13 Dec 2010 16:44:57 +0000 (16:44 +0000)]
[trace] filter out the reverse connections to get a smaller trace file

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

13 years ago[trace] new field id to make the final trace file smaller
schnorr [Mon, 13 Dec 2010 16:44:56 +0000 (16:44 +0000)]
[trace] new field id to make the final trace file smaller

details:
- instr_id (resource_name) gives the right alias

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

13 years ago[trace] extracting routes among ASes
schnorr [Mon, 13 Dec 2010 16:44:55 +0000 (16:44 +0000)]
[trace] extracting routes among ASes

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

13 years ago[trace] recursive extraction of connections between hosts/link/routers
schnorr [Mon, 13 Dec 2010 16:44:54 +0000 (16:44 +0000)]
[trace] recursive extraction of connections between hosts/link/routers

details:
- a connection between two components is registered in the paje trace file with a link
- an AS container contains the connections inside that container

todo:
- extract connections among the backbones ASes

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

13 years ago[trace] new fields in the container structure, holding its kind and its typename...
schnorr [Mon, 13 Dec 2010 16:44:53 +0000 (16:44 +0000)]
[trace] new fields in the container structure, holding its kind and its typename (as seen by users)

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

13 years ago[trace] new static function to declare a new link type (checking if it already exists)
schnorr [Mon, 13 Dec 2010 16:44:52 +0000 (16:44 +0000)]
[trace] new static function to declare a new link type (checking if it already exists)

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

13 years ago[trace] new callback to end of platform parsing
schnorr [Mon, 13 Dec 2010 16:44:51 +0000 (16:44 +0000)]
[trace] new callback to end of platform parsing

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

13 years ago[trace] adding some comments in the hierarchical structure of containers used during...
schnorr [Mon, 13 Dec 2010 16:44:50 +0000 (16:44 +0000)]
[trace] adding some comments in the hierarchical structure of containers used during tracing

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

13 years ago[trace] registering in the dictionary the router containers
schnorr [Mon, 13 Dec 2010 16:44:49 +0000 (16:44 +0000)]
[trace] registering in the dictionary the router containers

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

13 years ago[trace] using a single dictionary to hold all containers indexed by their names
schnorr [Mon, 13 Dec 2010 16:44:48 +0000 (16:44 +0000)]
[trace] using a single dictionary to hold all containers indexed by their names

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

13 years ago[trace] better include, no need to declare global_routing here, it is already externed
schnorr [Mon, 13 Dec 2010 16:44:47 +0000 (16:44 +0000)]
[trace] better include, no need to declare global_routing here, it is already externed

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

13 years agoupdating ChangeLog
schnorr [Mon, 13 Dec 2010 16:44:46 +0000 (16:44 +0000)]
updating ChangeLog

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

13 years ago[trace] cosmetics and removing unused static variable
schnorr [Mon, 13 Dec 2010 16:44:45 +0000 (16:44 +0000)]
[trace] cosmetics and removing unused static variable

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

13 years ago[trace] gtnets tracing mechanism is outdated
schnorr [Mon, 13 Dec 2010 16:44:44 +0000 (16:44 +0000)]
[trace] gtnets tracing mechanism is outdated

TODO

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

13 years ago[trace] pay attention to configuration options when tracing
schnorr [Mon, 13 Dec 2010 16:44:43 +0000 (16:44 +0000)]
[trace] pay attention to configuration options when tracing

detail:
- not defining the parser callbacks means that instr_routing.c does nothing

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

13 years ago[trace] only call container destruction if we have a hierarchy of them
schnorr [Mon, 13 Dec 2010 16:44:43 +0000 (16:44 +0000)]
[trace] only call container destruction if we have a hierarchy of them

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

13 years ago[trace] updating the user link variables mechanism and its interface
schnorr [Mon, 13 Dec 2010 16:44:41 +0000 (16:44 +0000)]
[trace] updating the user link variables mechanism and its interface

details:
- now user provides the name of the link (the same name used in the platform)
- the rest works exactly as it has been working for hosts
- there is no check to see if the variable was already declared

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

13 years ago[trace] updating (availability) trace support in tracing mechanism
schnorr [Mon, 13 Dec 2010 16:44:40 +0000 (16:44 +0000)]
[trace] updating (availability) trace support in tracing mechanism

details:
- latency not used
- some old prototypes also removed

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

13 years ago[trace] removing old vivaldi tracing (no longer called by the model)
schnorr [Mon, 13 Dec 2010 16:44:39 +0000 (16:44 +0000)]
[trace] removing old vivaldi tracing (no longer called by the model)

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

13 years ago[trace] checking if the user created the environment previously
schnorr [Mon, 13 Dec 2010 16:44:38 +0000 (16:44 +0000)]
[trace] checking if the user created the environment previously

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

13 years ago[trace] categories declaration must be after environment creation
schnorr [Mon, 13 Dec 2010 16:44:37 +0000 (16:44 +0000)]
[trace] categories declaration must be after environment creation

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

13 years ago[trace] simpler tracing interface, just one way to declare categories
schnorr [Mon, 13 Dec 2010 16:44:36 +0000 (16:44 +0000)]
[trace] simpler tracing interface, just one way to declare categories

details:
- TRACE_category updated to the new way platform file is traced:
     user must call TRACE_category *after* platform parsing;
     after MSG_create_environment or SD_create_environment (SMPI is ok)
  => such requirement allows the trace mechanism to figure out
     where to put the new categories in the traced type hierarchy
- TRACE_create_category killed, allowed the user to create a hierarchy
  of categories, but such hierarchy was not reflected in the categorized
  resource utilization

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

13 years ago[trace] updating the tracing of user host variables to the new way hosts are created
schnorr [Mon, 13 Dec 2010 16:44:35 +0000 (16:44 +0000)]
[trace] updating the tracing of user host variables to the new way hosts are created

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

13 years ago[trace] trace type hierarchy depends on the platform file
schnorr [Mon, 13 Dec 2010 16:44:33 +0000 (16:44 +0000)]
[trace] trace type hierarchy depends on the platform file

details:
- this commit breaks four tracing options

todo:
- fix type hierarchy definition (and corresponding tracing) for:
    TRACE_msg_process_is_enabled
    TRACE_msg_volume_is_enabled
    TRACE_msg_task_is_enabled
    TRACE_smpi_is_enabled

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

13 years ago[trace] graph configuration file for triva no longer needs categories to be in p...
schnorr [Mon, 13 Dec 2010 16:44:32 +0000 (16:44 +0000)]
[trace] graph configuration file for triva no longer needs categories to be in p$CAT (hosts) or b$CAT (links), uses $CAT (for both)

details:
- squeezing what the paje file format can give us

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

13 years ago[trace] remove the function that was used to save the one link routes of the platform...
schnorr [Mon, 13 Dec 2010 16:44:31 +0000 (16:44 +0000)]
[trace] remove the function that was used to save the one link routes of the platform file

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

13 years ago[trace] links are identified by their names (the same used in the platform file)
schnorr [Mon, 13 Dec 2010 16:44:29 +0000 (16:44 +0000)]
[trace] links are identified by their names (the same used in the platform file)

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

13 years ago[trace] updating the entry point functions of resource utilization tracing
schnorr [Mon, 13 Dec 2010 16:44:26 +0000 (16:44 +0000)]
[trace] updating the entry point functions of resource utilization tracing

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

13 years ago[trace] removing prototypes of functions that are obsolete
schnorr [Mon, 13 Dec 2010 16:44:25 +0000 (16:44 +0000)]
[trace] removing prototypes of functions that are obsolete

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

13 years ago[trace] properly destroy the tracing platform
schnorr [Mon, 13 Dec 2010 16:44:24 +0000 (16:44 +0000)]
[trace] properly destroy the tracing platform

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

13 years ago[trace] removing obsolete code (host and link declaration is in instr_routing.c)
schnorr [Mon, 13 Dec 2010 16:44:22 +0000 (16:44 +0000)]
[trace] removing obsolete code (host and link declaration is in instr_routing.c)

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

13 years ago[trace] tracing the platform hierarchy using parser callbacks
schnorr [Mon, 13 Dec 2010 16:44:21 +0000 (16:44 +0000)]
[trace] tracing the platform hierarchy using parser callbacks

details:
- instr_routing_define_callbacks defines a set of callbacks to the parser
- each level of the platform hierarchy becomes a new type
   example: a three level simgrid platform hierarchy will have
            container type L1 (child of root), container type L2 (child of L1)
            container type L3 (child of L2).
- each AS becomes a container (its type is defined according to its level)
   example: if a three level simgrid platform hierarchy is given, with
              one AS in the first level (id: Site),
              two in the second (ids: X, Y),
              two in the third, for each of the second (ids: X1, X2, Y1, Y2)
            The tracing will create:
            a container of type L1, named Site (child of root)
            two containers of type L2, X and Y (both child of Site)
            four containers of type L3, X1 and X2 (child of X), and Y1, Y2 (child of Y)
- ROUTER is a new container type for routers
- containers of type HOST, LINK, and ROUTER can be in any level of the type hierarchy:
    for each AS, a unique type alias is created for each of them,
    but the type name for all of them remains HOST, LINK and ROUTER)
- the tracing mechanism now holds a (static) structure of the platform hierarchy
  that is used during the simulation

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

13 years ago[trace] missing declaration to avoid compilation errors if tracing is not enabled
schnorr [Mon, 13 Dec 2010 16:44:19 +0000 (16:44 +0000)]
[trace] missing declaration to avoid compilation errors if tracing is not enabled

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

13 years ago[trace] renaming function to follow up parameters
schnorr [Mon, 13 Dec 2010 16:44:18 +0000 (16:44 +0000)]
[trace] renaming function to follow up parameters

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

13 years ago[trace] using parser callbacks to trace the platform hierarchy
schnorr [Mon, 13 Dec 2010 16:44:16 +0000 (16:44 +0000)]
[trace] using parser callbacks to trace the platform hierarchy

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

13 years agographicator takes a platform file and generates a graphviz dot file as output
schnorr [Mon, 13 Dec 2010 16:44:14 +0000 (16:44 +0000)]
graphicator takes a platform file and generates a graphviz dot file as output

the dot file has these characteristics:
- loopback links are not present
- links are graph nodes as well as hosts
- graph edges represent a relation among links and hosts

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

13 years agoFix a memory leak
thiery [Mon, 13 Dec 2010 14:22:02 +0000 (14:22 +0000)]
Fix a memory leak

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

13 years agoAdd parmap to raw contexts
cristianrosa [Mon, 13 Dec 2010 14:10:22 +0000 (14:10 +0000)]
Add parmap to raw contexts

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

13 years agomore debugging message
mquinson [Mon, 13 Dec 2010 12:59:14 +0000 (12:59 +0000)]
more debugging message

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

13 years agoDo not answer the request twice
mquinson [Mon, 13 Dec 2010 12:59:12 +0000 (12:59 +0000)]
Do not answer the request twice

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

13 years agoverbose message about the type of context factory activated
mquinson [Mon, 13 Dec 2010 12:41:08 +0000 (12:41 +0000)]
verbose message about the type of context factory activated

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

13 years agofunction to see the name of syscall types in debugging messages (and use it on SIMIX_...
mquinson [Mon, 13 Dec 2010 12:40:56 +0000 (12:40 +0000)]
function to see the name of syscall types in debugging messages (and use it on SIMIX_request_push)

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

13 years agomore verbose on problem
mquinson [Mon, 13 Dec 2010 12:40:54 +0000 (12:40 +0000)]
more verbose on problem

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

13 years agoAdd an hide option "enable_pcre" for enable or not pcre lib.
navarrop [Mon, 13 Dec 2010 12:09:44 +0000 (12:09 +0000)]
Add an hide option "enable_pcre" for enable or not pcre lib.
By default = on.
Use for personal test only.

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

13 years agoFix tne runall functions
thiery [Mon, 13 Dec 2010 10:57:18 +0000 (10:57 +0000)]
Fix tne runall functions

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

13 years agoRemove a useless instruction
thiery [Mon, 13 Dec 2010 10:57:16 +0000 (10:57 +0000)]
Remove a useless instruction

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