Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years agoDistinguish access to sender-side and receiver-side user data in smx_action_t.
pini [Tue, 7 Dec 2010 15:47:19 +0000 (15:47 +0000)]
Distinguish access to sender-side and receiver-side user data in smx_action_t.

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

9 years agoNo need to lock on request pop.
cristianrosa [Tue, 7 Dec 2010 15:23:50 +0000 (15:23 +0000)]
No need to lock on request pop.
Only maestro does it and running alone.

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

9 years agono need to check, since the default value of core is set to 1 by the lua user code
coldpeace [Tue, 7 Dec 2010 15:22:40 +0000 (15:22 +0000)]
no need to check, since the default value of core is set to 1 by the lua user code

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

9 years agoFix lua console by adding new core element when bypass the parser
coldpeace [Tue, 7 Dec 2010 15:21:10 +0000 (15:21 +0000)]
Fix lua console by adding new core element when bypass the parser

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

9 years agonew function: MSG_action_paranoid_mode_set (allowing to tell the parser that our...
mquinson [Tue, 7 Dec 2010 15:18:43 +0000 (15:18 +0000)]
new function: MSG_action_paranoid_mode_set (allowing to tell the parser that our input is clean and that he don't need to be paranoid about it

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

9 years agodo not trim in split_quoted, that's expensive, and the caller can do it if his input...
mquinson [Tue, 7 Dec 2010 15:18:41 +0000 (15:18 +0000)]
do not trim in split_quoted, that's expensive, and the caller can do it if his input is not clean

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

9 years agoCall elements_father() only if necessary
thiery [Tue, 7 Dec 2010 15:05:20 +0000 (15:05 +0000)]
Call elements_father() only if necessary

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

9 years agoFix more memory leaks
thiery [Tue, 7 Dec 2010 14:24:27 +0000 (14:24 +0000)]
Fix more memory leaks

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

9 years agono need to lock the structure if we run in sequential
mquinson [Tue, 7 Dec 2010 14:15:09 +0000 (14:15 +0000)]
no need to lock the structure if we run in sequential

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

9 years agogiven the following line, this FIXME seems now done ;)
mquinson [Tue, 7 Dec 2010 14:15:07 +0000 (14:15 +0000)]
given the following line, this FIXME seems now done ;)

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

9 years agoAdd support for custom communication matching to SIMIX network interface
cristianrosa [Tue, 7 Dec 2010 14:02:54 +0000 (14:02 +0000)]
Add support for custom communication matching to SIMIX network interface

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

9 years agoRework context factory's initialization logic.
cristianrosa [Tue, 7 Dec 2010 14:02:49 +0000 (14:02 +0000)]
Rework context factory's initialization logic.
Now if both ucontext and threads are detected, allow the parallel execution of ucontexts using a thread pool.

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

9 years agoMSG does not auto-destroy the MSG_comm_t objects anymore
thiery [Tue, 7 Dec 2010 13:41:29 +0000 (13:41 +0000)]
MSG does not auto-destroy the MSG_comm_t objects anymore

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

9 years agoAnother useless and leaky xbt_strdup
thiery [Tue, 7 Dec 2010 13:23:36 +0000 (13:23 +0000)]
Another useless and leaky xbt_strdup

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

9 years agoimplement actions irecv and wait w/o spawning; kill spawning functions
mquinson [Tue, 7 Dec 2010 13:20:55 +0000 (13:20 +0000)]
implement actions irecv and wait w/o spawning; kill spawning functions

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

9 years agoreimplement reduce and bcast (non tested) w/o spawns
suter [Tue, 7 Dec 2010 12:26:51 +0000 (12:26 +0000)]
reimplement reduce and bcast (non tested) w/o spawns
uncomment the comm_destroy
modify the action files to add init and finalize

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

9 years agoDon't auto-destroy the MSG_comm_t in MSG_comm_wait()
thiery [Tue, 7 Dec 2010 12:23:40 +0000 (12:23 +0000)]
Don't auto-destroy the MSG_comm_t in MSG_comm_wait()

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

9 years agoDon't auto-destroy the MSG_comm_t in MSG_comm_wait(), it's the
thiery [Tue, 7 Dec 2010 12:23:39 +0000 (12:23 +0000)]
Don't auto-destroy the MSG_comm_t in MSG_comm_wait(), it's the
responsability of the user code

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

9 years agoFix memory leaks
thiery [Tue, 7 Dec 2010 12:23:38 +0000 (12:23 +0000)]
Fix memory leaks

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

9 years agoRemove leaky xbt_strdup: MSG_mailbox_new already does it (and takes a const char*)
thiery [Tue, 7 Dec 2010 12:23:37 +0000 (12:23 +0000)]
Remove leaky xbt_strdup: MSG_mailbox_new already does it (and takes a const char*)

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

9 years agoimplement simix_comm_testany properly
mquinson [Tue, 7 Dec 2010 12:16:38 +0000 (12:16 +0000)]
implement simix_comm_testany properly

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

9 years agoSimix seems to destroy the comm by itself, comment the calls to
suter [Tue, 7 Dec 2010 11:34:20 +0000 (11:34 +0000)]
Simix seems to destroy the comm by itself, comment the calls to
MSG_comm_destroy
Correct a leak in finalize action
modify the basic example to have init and finalize actions for each
process.

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

9 years agoreimplement action_allReduce w/o spawning processes
mquinson [Tue, 7 Dec 2010 10:37:27 +0000 (10:37 +0000)]
reimplement action_allReduce w/o spawning processes

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

9 years agoAdd INSTALL file for cmake.
navarrop [Tue, 7 Dec 2010 10:15:10 +0000 (10:15 +0000)]
Add INSTALL file for cmake.

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

9 years agoRemoved some old and unused filed from SMPI.
pini [Tue, 7 Dec 2010 10:13:47 +0000 (10:13 +0000)]
Removed some old and unused filed from SMPI.

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

9 years agoFix memory leaks
thiery [Tue, 7 Dec 2010 10:11:05 +0000 (10:11 +0000)]
Fix memory leaks

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

9 years ago[trace] remove logging trace message
schnorr [Tue, 7 Dec 2010 09:56:34 +0000 (09:56 +0000)]
[trace] remove logging trace message

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

9 years ago[trace] error codes that are no longer used
schnorr [Tue, 7 Dec 2010 09:56:33 +0000 (09:56 +0000)]
[trace] error codes that are no longer used

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

9 years ago[trace] updating tesh to contain new tracing options
schnorr [Tue, 7 Dec 2010 09:56:32 +0000 (09:56 +0000)]
[trace] updating tesh to contain new tracing options

detail:
- simulated time problem remains

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

9 years ago[trace] use xbt_strdup to copy category
schnorr [Tue, 7 Dec 2010 09:56:31 +0000 (09:56 +0000)]
[trace] use xbt_strdup to copy category

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

9 years ago[trace] we do not need to copy the category since the request exists upon its completion
schnorr [Tue, 7 Dec 2010 09:56:30 +0000 (09:56 +0000)]
[trace] we do not need to copy the category since the request exists upon its completion

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

9 years ago[trace] new option for smpirun (-triva) to generate graph configurations for triva
schnorr [Tue, 7 Dec 2010 09:56:29 +0000 (09:56 +0000)]
[trace] new option for smpirun (-triva) to generate graph configurations for triva

details:
- two files are created if -triva is passed as parameter
     smpi_cat.plist <- graph configuration with categories that might have been used in the code
     smpi_uncat.plist <- graph configuration for uncategorized resource utilization

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

9 years ago[trace] always trace uncategorized with smpirun
schnorr [Tue, 7 Dec 2010 09:56:28 +0000 (09:56 +0000)]
[trace] always trace uncategorized with smpirun

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

9 years ago[trace] declare smpi category and let instr continues if category already exists
schnorr [Tue, 7 Dec 2010 09:56:27 +0000 (09:56 +0000)]
[trace] declare smpi category and let instr continues if category already exists

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

9 years ago[trace] setting the tracing category for exec and comm done by smpi
schnorr [Tue, 7 Dec 2010 09:56:26 +0000 (09:56 +0000)]
[trace] setting the tracing category for exec and comm done by smpi

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

9 years ago[trace] registering the tracing categories of mpi processes in dictionary
schnorr [Tue, 7 Dec 2010 09:56:25 +0000 (09:56 +0000)]
[trace] registering the tracing categories of mpi processes in dictionary

details:
- function to get the current tracing category of a process

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

9 years ago[trace] smpi set tracing category returns void
schnorr [Tue, 7 Dec 2010 09:56:24 +0000 (09:56 +0000)]
[trace] smpi set tracing category returns void

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

9 years ago[trace] only set category of the surf action if simix action is running
schnorr [Tue, 7 Dec 2010 09:56:22 +0000 (09:56 +0000)]
[trace] only set category of the surf action if simix action is running

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

9 years ago[trace] setting the category of the simix communicate action
schnorr [Tue, 7 Dec 2010 09:56:21 +0000 (09:56 +0000)]
[trace] setting the category of the simix communicate action

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

9 years ago[trace] there is no need to set surf actions category like this anymore
schnorr [Tue, 7 Dec 2010 09:56:20 +0000 (09:56 +0000)]
[trace] there is no need to set surf actions category like this anymore

details:
- there is a simix request for that now

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

9 years ago[trace] implement set_category function for network model as well
schnorr [Tue, 7 Dec 2010 09:56:19 +0000 (09:56 +0000)]
[trace] implement set_category function for network model as well

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

9 years ago[trace] check action type before setting its tracing category
schnorr [Tue, 7 Dec 2010 09:56:18 +0000 (09:56 +0000)]
[trace] check action type before setting its tracing category
and support only execute and communicate actions

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

9 years agoweird definition of a surf_cpu_model function inside a network model, fixed
schnorr [Tue, 7 Dec 2010 09:56:17 +0000 (09:56 +0000)]
weird definition of a surf_cpu_model function inside a network model, fixed

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

9 years ago[trace] dictionary for holding smx_process_t -> categories no longer necessary with...
schnorr [Tue, 7 Dec 2010 09:56:16 +0000 (09:56 +0000)]
[trace] dictionary for holding smx_process_t -> categories no longer necessary with simix2

details:
- counter to uniquely identify simix actions removed, since it is not used anymore

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

9 years ago[trace] renaming system call to set any action tracing categories, make useful also...
schnorr [Tue, 7 Dec 2010 09:56:14 +0000 (09:56 +0000)]
[trace] renaming system call to set any action tracing categories, make useful also for network models

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

9 years ago[trace] new system call to make categorized host utilization tracing possible again
schnorr [Tue, 7 Dec 2010 09:56:12 +0000 (09:56 +0000)]
[trace] new system call to make categorized host utilization tracing possible again

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

9 years agoreal isend action, w/o spawning. Still ongoing but commiting now because my previous...
mquinson [Tue, 7 Dec 2010 09:51:47 +0000 (09:51 +0000)]
real isend action, w/o spawning. Still ongoing but commiting now because my previous commit broke the compilation (sorry)

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

9 years agostubs for comm_testany, implemented with comm_waitany for now. That's crude but tempo...
mquinson [Tue, 7 Dec 2010 09:51:45 +0000 (09:51 +0000)]
stubs for comm_testany, implemented with comm_waitany for now. That's crude but temporarly

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

9 years agoAdd Makefile and configure to the distrib.
navarrop [Tue, 7 Dec 2010 09:36:59 +0000 (09:36 +0000)]
Add Makefile and configure to the distrib.
Must add the Makefile in Cmake directory as after the command "cmake."
the old in simgrid directory is modify by cmake.

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

9 years agocosmetics, no profund change
mquinson [Tue, 7 Dec 2010 09:21:09 +0000 (09:21 +0000)]
cosmetics, no profund change

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

9 years agotry a bit harder to get the simulated time without any function call
mquinson [Tue, 7 Dec 2010 09:20:58 +0000 (09:20 +0000)]
try a bit harder to get the simulated time without any function call

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

9 years agomove the default Makefile that we must install in the tarball away from the root...
mquinson [Tue, 7 Dec 2010 09:20:56 +0000 (09:20 +0000)]
move the default Makefile that we must install in the tarball away from the root svn: it prevents us to work

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

9 years agocosmetics: don't load a file from itself
mquinson [Tue, 7 Dec 2010 08:46:52 +0000 (08:46 +0000)]
cosmetics: don't load a file from itself

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

9 years agodon't try to compute the backtrace if we have no process name (only occure with ...
mquinson [Tue, 7 Dec 2010 08:46:46 +0000 (08:46 +0000)]
don't try to compute the backtrace if we have no process name (only occure with *badly* written bindings, but saves a segfault then)

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

9 years agoAdd a configure file and a Makefile to explain we now use cmake.
navarrop [Mon, 6 Dec 2010 17:44:18 +0000 (17:44 +0000)]
Add a configure file and a Makefile to explain we now use cmake.

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

9 years agoBugfix: protect SIMIX_context_self() in the case that SIMIX is not initialized.
cristianrosa [Mon, 6 Dec 2010 14:54:14 +0000 (14:54 +0000)]
Bugfix: protect SIMIX_context_self() in the case that SIMIX is not initialized.

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

9 years agoInitialize surf before the context module, so the later one can make use of the confi...
cristianrosa [Mon, 6 Dec 2010 14:54:12 +0000 (14:54 +0000)]
Initialize surf before the context module, so the later one can make use of the configuration variables.

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

9 years agoBugfix: Protect SIMIX_process_self in the case that the context module is not yet...
cristianrosa [Mon, 6 Dec 2010 14:54:09 +0000 (14:54 +0000)]
Bugfix: Protect SIMIX_process_self in the case that the context module is not yet initialized.

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

9 years agoRevert thread creation delay on pthread context factory.
cristianrosa [Mon, 6 Dec 2010 14:54:07 +0000 (14:54 +0000)]
Revert thread creation delay on pthread context factory.

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

9 years agoAdded sender-side gaps (only activated by default in the SMPI network model, use...
pini [Mon, 6 Dec 2010 13:54:44 +0000 (13:54 +0000)]
Added sender-side gaps (only activated by default in the SMPI network model, use --cfg=network/sender_gap:?? to override).

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

9 years agoUse more precision by default when running SMPI.
pini [Mon, 6 Dec 2010 13:54:33 +0000 (13:54 +0000)]
Use more precision by default when running SMPI.

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

9 years agoAllow to configure precision in the maxmin systems.
pini [Mon, 6 Dec 2010 13:54:30 +0000 (13:54 +0000)]
Allow to configure precision in the maxmin systems.

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

9 years agoRemove old variable with_context.
navarrop [Mon, 6 Dec 2010 13:50:15 +0000 (13:50 +0000)]
Remove old variable with_context.

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

9 years agoNow take context pthread and ucontext if it is possible.
navarrop [Mon, 6 Dec 2010 13:36:12 +0000 (13:36 +0000)]
Now take context pthread and ucontext if it is possible.

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

9 years agoModify message for gtnets.
navarrop [Mon, 6 Dec 2010 13:36:11 +0000 (13:36 +0000)]
Modify message for gtnets.

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

9 years agoFix gtnets detection and add a script to install patched gtnets from simgrid svn.
navarrop [Mon, 6 Dec 2010 12:34:09 +0000 (12:34 +0000)]
Fix gtnets detection and add a script to install patched gtnets from simgrid svn.

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

9 years ago[trace] fix on compilation without tracing
schnorr [Mon, 6 Dec 2010 11:55:02 +0000 (11:55 +0000)]
[trace] fix on compilation without tracing

sorry for that

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

9 years agoImprove context switching for ucontext
cristianrosa [Mon, 6 Dec 2010 11:01:42 +0000 (11:01 +0000)]
Improve context switching for ucontext

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

9 years agoCompile fix: iwannadie is now in the context structure
cristianrosa [Mon, 6 Dec 2010 11:01:23 +0000 (11:01 +0000)]
Compile fix: iwannadie is now in the context structure

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

9 years agosmall overhault of the TODO file. Much more cruft killing would be needed
mquinson [Mon, 6 Dec 2010 10:17:33 +0000 (10:17 +0000)]
small overhault of the TODO file. Much more cruft killing would be needed

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

9 years agoDon't set gtnets flags if can't compile gtnets.
navarrop [Mon, 6 Dec 2010 09:37:59 +0000 (09:37 +0000)]
Don't set gtnets flags if can't compile gtnets.

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

9 years agoChange way to make tesh for win32.
navarrop [Mon, 6 Dec 2010 09:37:58 +0000 (09:37 +0000)]
Change way to make tesh for win32.

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

9 years ago[trace] TRACE_[start|end] no longer belong to public functions of the tracing api
schnorr [Mon, 6 Dec 2010 01:11:22 +0000 (01:11 +0000)]
[trace] TRACE_[start|end] no longer belong to public functions of the tracing api

details:
- they are called by appropriate initialization functions if simgrid
is compiled with tracing_enable=on

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

9 years ago[trace] logging the categorized/uncategorized resource utilization tracing mechanism
schnorr [Mon, 6 Dec 2010 01:06:16 +0000 (01:06 +0000)]
[trace] logging the categorized/uncategorized resource utilization tracing mechanism

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

9 years agoupdating ChangeLog
schnorr [Mon, 6 Dec 2010 00:56:06 +0000 (00:56 +0000)]
updating ChangeLog

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

9 years ago[trace] configuration option tracing/platform renamed to tracing/categorized
schnorr [Mon, 6 Dec 2010 00:56:05 +0000 (00:56 +0000)]
[trace] configuration option tracing/platform renamed to tracing/categorized

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

9 years ago[trace] use of xbt functions inside instr
schnorr [Mon, 6 Dec 2010 00:56:01 +0000 (00:56 +0000)]
[trace] use of xbt functions inside instr

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

9 years ago[trace] logging messages for category attribution of simix processes
schnorr [Mon, 6 Dec 2010 00:56:00 +0000 (00:56 +0000)]
[trace] logging messages for category attribution of simix processes

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

9 years ago[trace] call functions that do the simix processes category registration directly
schnorr [Mon, 6 Dec 2010 00:55:59 +0000 (00:55 +0000)]
[trace] call functions that do the simix processes category registration directly

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

9 years ago[trace] declaring xbt_log categories for tracing
schnorr [Mon, 6 Dec 2010 00:55:58 +0000 (00:55 +0000)]
[trace] declaring xbt_log categories for tracing

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

9 years ago[trace] detailed description of new configuration options
schnorr [Mon, 6 Dec 2010 00:55:57 +0000 (00:55 +0000)]
[trace] detailed description of new configuration options

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

9 years ago[trace] end must be called while surf configuration still exist
schnorr [Mon, 6 Dec 2010 00:55:56 +0000 (00:55 +0000)]
[trace] end must be called while surf configuration still exist

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

9 years ago[trace] new tracing options to generate graph configurations for triva
schnorr [Mon, 6 Dec 2010 00:55:54 +0000 (00:55 +0000)]
[trace] new tracing options to generate graph configurations for triva

details:
- triva/uncategorized:uncat.plist
          uncat.plist holds a configuration for a uncategorized
          graph resource utilization analysis in triva

- triva/categorized:cat.plist
          cat.plist holds a configuration for a categorized
          graph resource utilization analysis in triva

- Get a MSG/SimDAG/SMPI simulator, compile it against a toolkit
compiled with tracing enabled, then run the simulation with these
parameters:
--cfg=tracing:1 --cfg=tracing/uncategorized:1 --cfg=triva/uncategorized:uncat.plist
then run Triva (from the svn) with the following parameters
Triva simgrid.trace --graph --gc_conf uncat.plist --gc_apply

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

9 years ago[trace] uncategorized resource tracing option is independent from categorized, and...
schnorr [Mon, 6 Dec 2010 00:55:53 +0000 (00:55 +0000)]
[trace] uncategorized resource tracing option is independent from categorized, and set colors

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

9 years ago[trace] categories may have colors registered in the trace file
schnorr [Mon, 6 Dec 2010 00:55:52 +0000 (00:55 +0000)]
[trace] categories may have colors registered in the trace file

details:
- specify color randomly if no color is provided

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

9 years ago[trace] verbose comments to connect simulator parameters with type hierarchy definition
schnorr [Mon, 6 Dec 2010 00:55:50 +0000 (00:55 +0000)]
[trace] verbose comments to connect simulator parameters with type hierarchy definition

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

9 years ago[trace] let paje output its own header
schnorr [Mon, 6 Dec 2010 00:55:49 +0000 (00:55 +0000)]
[trace] let paje output its own header

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

9 years ago[trace] encapsulating the open/close of the trace file
schnorr [Mon, 6 Dec 2010 00:55:48 +0000 (00:55 +0000)]
[trace] encapsulating the open/close of the trace file

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

9 years agoAllow cluster tag to use the core tag...
alegrand [Sun, 5 Dec 2010 17:21:51 +0000 (17:21 +0000)]
Allow cluster tag to use the core tag...
...and thus to work correctly since when bypassing the parser all attributes should be precised

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

9 years agointegrate george modifications. Still use old-fashioned spawn instead
suter [Sat, 4 Dec 2010 09:06:35 +0000 (09:06 +0000)]
integrate george modifications. Still use old-fashioned spawn instead
of isend/irecv

but at least a sender doesn't wait for the receiver in eager-like mode
anymore.

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

9 years agoRestructuration of file CompleteInFiles.
navarrop [Fri, 3 Dec 2010 20:14:35 +0000 (20:14 +0000)]
Restructuration of file CompleteInFiles.

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

9 years agoRemove gtnets_path. Now use a module.
navarrop [Fri, 3 Dec 2010 18:21:16 +0000 (18:21 +0000)]
Remove gtnets_path. Now use a module.

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

9 years agoCosmetics
navarrop [Fri, 3 Dec 2010 18:21:14 +0000 (18:21 +0000)]
Cosmetics

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

9 years agoDon't remove this file otherwise cmake reconfigures the project at each make.
navarrop [Fri, 3 Dec 2010 18:21:11 +0000 (18:21 +0000)]
Don't remove this file otherwise cmake reconfigures the project at each make.

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

9 years agoRenaming PROJECT_BINARY_DIR.
navarrop [Fri, 3 Dec 2010 18:21:10 +0000 (18:21 +0000)]
Renaming PROJECT_BINARY_DIR.

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

9 years ago[trace] do not rely on preprocessor constants to control what is traced (part 2)
schnorr [Fri, 3 Dec 2010 10:40:38 +0000 (10:40 +0000)]
[trace] do not rely on preprocessor constants to control what is traced (part 2)

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

9 years ago[trace] do not check what is traced in internal resource utilization tracing functions
schnorr [Fri, 3 Dec 2010 10:40:31 +0000 (10:40 +0000)]
[trace] do not check what is traced in internal resource utilization tracing functions

details:
- tracing/uncategorized also uses those functions to trace

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

9 years ago[trace] do not rely on preprocessor constants to control what is traced (part 1)
schnorr [Fri, 3 Dec 2010 10:40:24 +0000 (10:40 +0000)]
[trace] do not rely on preprocessor constants to control what is traced (part 1)

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

9 years ago[trace] separate TRACE_is_active() from IS_TRACED condition
schnorr [Fri, 3 Dec 2010 10:40:17 +0000 (10:40 +0000)]
[trace] separate TRACE_is_active() from IS_TRACED condition

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

9 years ago[trace] replace IS_TRACING by TRACE_is_active() function
schnorr [Fri, 3 Dec 2010 10:40:10 +0000 (10:40 +0000)]
[trace] replace IS_TRACING by TRACE_is_active() function

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