Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years agoAdd availability_file and state_file in cluster.
navarrop [Wed, 8 Dec 2010 15:06:28 +0000 (15:06 +0000)]
Add availability_file and state_file in cluster.
Can use variable :
${id}
${prefix}
${suffix}
${radical}

example :
<cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
   radical="0,2-4,6" power="1000000000.00" bw="125000000.00" lat="5e-5"
   bb_bw="2250000000.00" bb_lat="5e-4"
   state_file="foo/${prefix}${radical}_state_file.trace"
   availability_file="foo/${prefix}${radical}_availability_file.trace"/>

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

9 years agoRemove old buildname and options.
navarrop [Wed, 8 Dec 2010 15:06:27 +0000 (15:06 +0000)]
Remove old buildname and options.

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

9 years agoStarting to implement a Chord example with MSG
thiery [Wed, 8 Dec 2010 15:00:56 +0000 (15:00 +0000)]
Starting to implement a Chord example with MSG

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

9 years agoDavid's patch: replace != by strcmp
thiery [Wed, 8 Dec 2010 15:00:54 +0000 (15:00 +0000)]
David's patch: replace != by strcmp

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

9 years agoBugfixes + test suitx
cristianrosa [Wed, 8 Dec 2010 13:54:59 +0000 (13:54 +0000)]
Bugfixes + test suitx

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

9 years agoInclude threadpool.h
cristianrosa [Wed, 8 Dec 2010 13:54:49 +0000 (13:54 +0000)]
Include threadpool.h

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

9 years agoWait for all the context to finish it's execution
cristianrosa [Wed, 8 Dec 2010 13:54:47 +0000 (13:54 +0000)]
Wait for all the context to finish it's execution

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

9 years agoone & too much
suter [Tue, 7 Dec 2010 22:03:23 +0000 (22:03 +0000)]
one & too much

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

9 years agolast try for tonight to speed the trace replayer
mquinson [Tue, 7 Dec 2010 21:58:00 +0000 (21:58 +0000)]
last try for tonight to speed the trace replayer

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

9 years agonew function: xbt_str_split_quoted_in_place (w/o mallocs)
mquinson [Tue, 7 Dec 2010 21:41:43 +0000 (21:41 +0000)]
new function: xbt_str_split_quoted_in_place (w/o mallocs)

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

9 years agoxbt_dynar_to_array now destroys the dynar. The caller is now only responsible of...
mquinson [Tue, 7 Dec 2010 21:41:20 +0000 (21:41 +0000)]
xbt_dynar_to_array now destroys the dynar. The caller is now only responsible of freeing the received array

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

9 years agorevalidating the tesh outputs for ctest
suter [Tue, 7 Dec 2010 19:38:12 +0000 (19:38 +0000)]
revalidating the tesh outputs for ctest

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

9 years agodo not store the requests on the process's stack nor in the big vector
mquinson [Tue, 7 Dec 2010 17:43:34 +0000 (17:43 +0000)]
do not store the requests on the process's stack nor in the big vector
Instead, they are directly in the s_smx_process_t structure.

There is no stack when going in replay contextes (still to be done)
And the vector may be realloced when creating processes, so saving
pointers to its content is not stable.

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

9 years agorename a badly named variable
mquinson [Tue, 7 Dec 2010 17:43:13 +0000 (17:43 +0000)]
rename a badly named variable

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

9 years agoDo not traverse the whole array of request to find non-null ones, use a heap instead
mquinson [Tue, 7 Dec 2010 17:42:51 +0000 (17:42 +0000)]
Do not traverse the whole array of request to find non-null ones, use a heap instead

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

9 years agoFix SIMIX calls
thiery [Tue, 7 Dec 2010 16:38:33 +0000 (16:38 +0000)]
Fix SIMIX calls

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

9 years agoMake SIMIX_process_create() private
thiery [Tue, 7 Dec 2010 16:38:32 +0000 (16:38 +0000)]
Make SIMIX_process_create() private

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

9 years agoUse a raw array instead of a dynar to store the requests
mquinson [Tue, 7 Dec 2010 15:56:51 +0000 (15:56 +0000)]
Use a raw array instead of a dynar to store the requests
It can be made big enough at every point, so that we don't have to
expend it on need automatically from the dynar stuff.

This was the only remaining reason why we had to lock that structure,
so kill the locking stuff too.

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

9 years agonew function (private to simix): SIMIX_process_get_maxpid
mquinson [Tue, 7 Dec 2010 15:56:40 +0000 (15:56 +0000)]
new function (private to simix): SIMIX_process_get_maxpid

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

9 years agostop using private functions from simix; use requests instead
mquinson [Tue, 7 Dec 2010 15:56:38 +0000 (15:56 +0000)]
stop using private functions from simix; use requests instead

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

9 years agoBuild SMPI on top of smx_action_t.
pini [Tue, 7 Dec 2010 15:47:21 +0000 (15:47 +0000)]
Build SMPI on top of smx_action_t.

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

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