Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
9 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

9 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

9 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

9 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

9 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

9 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

9 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

- 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

- 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

9 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

9 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

9 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

9 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

9 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)

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

- 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

9 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)

- and also newEventType and getEventType

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

9 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

9 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

9 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

- 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

9 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

9 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

- 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

- 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

9 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

- 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

9 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

9 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

9 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

- 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

9 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

9 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

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

- 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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


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

9 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

- 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

9 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

9 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

- 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

9 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

- 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

9 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

9 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

9 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

9 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

- 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

9 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

9 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

- this commit breaks four tracing options

- fix type hierarchy definition (and corresponding tracing) for:

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

9 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)

- 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

- 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoUse a dynar instead of a swag to implement the process_to_run list.
cristianrosa [Mon, 13 Dec 2010 08:58:22 +0000 (08:58 +0000)]
Use a dynar instead of a swag to implement the process_to_run list.

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

9 years agoTransform the thread pool into a parallel map data structure.
cristianrosa [Mon, 13 Dec 2010 08:58:18 +0000 (08:58 +0000)]
Transform the thread pool into a parallel map data structure.
It better suits our needs.

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

9 years agoRemove the threadpool from the context factories.
cristianrosa [Mon, 13 Dec 2010 08:58:07 +0000 (08:58 +0000)]
Remove the threadpool from the context factories.
It was way too slow.

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

9 years agofix warning msg...
coldpeace [Fri, 10 Dec 2010 17:19:19 +0000 (17:19 +0000)]
fix warning msg...

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

9 years agoFix quit_notify function
coldpeace [Fri, 10 Dec 2010 17:12:45 +0000 (17:12 +0000)]
Fix quit_notify function

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

9 years agoadd a deadline condition to finish properly the simulation when all nodes leave the...
coldpeace [Fri, 10 Dec 2010 16:55:59 +0000 (16:55 +0000)]
add a deadline condition to finish properly the simulation when all nodes leave the chord ring (and start an implementation for the function leave(node_t)

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

9 years agoChord Deployment File :add a deadline value for each node to let them leave the ring...
coldpeace [Fri, 10 Dec 2010 16:51:30 +0000 (16:51 +0000)]
Chord Deployment File :add a deadline value for each node to let them leave the ring peacefuly...

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

9 years agoDon't do anything if the category is NULL
thiery [Fri, 10 Dec 2010 14:54:31 +0000 (14:54 +0000)]
Don't do anything if the category is NULL

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

9 years agoRemove debugging fprintf
thiery [Fri, 10 Dec 2010 14:45:47 +0000 (14:45 +0000)]
Remove debugging fprintf

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

9 years agoFix tesh files of gras-rpc-sg and gras-synchro-sg
thiery [Fri, 10 Dec 2010 14:45:46 +0000 (14:45 +0000)]
Fix tesh files of gras-rpc-sg and gras-synchro-sg

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

9 years agoand now, test that the file I commit actually works before doing so. Sorry for the...
mquinson [Fri, 10 Dec 2010 13:08:47 +0000 (13:08 +0000)]
and now, test that the file I commit actually works before doing so. Sorry for the noise

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

9 years agoquote the arguments to --log since they are not quoted enough in tesh files to suppor...
mquinson [Fri, 10 Dec 2010 13:02:48 +0000 (13:02 +0000)]
quote the arguments to --log since they are not quoted enough in tesh files to support interpretation by the shell

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

9 years agoput pid on 2 chars to help sorting, and revalidate the output (timestamps changed...
mquinson [Fri, 10 Dec 2010 13:02:46 +0000 (13:02 +0000)]
put pid on 2 chars to help sorting, and revalidate the output (timestamps changed, be we don't care)

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

9 years agoUpdate tesh files of gras-simple_token-sg
thiery [Fri, 10 Dec 2010 12:57:07 +0000 (12:57 +0000)]
Update tesh files of gras-simple_token-sg

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

9 years agobugfix in trace replay: cannot use split_in_place if only one trace file: memory...
mquinson [Fri, 10 Dec 2010 12:51:52 +0000 (12:51 +0000)]
bugfix in trace replay: cannot use split_in_place if only one trace file: memory will be reclaimed while still being used

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