Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years agoFix memory leaks
thiery [Thu, 20 Jan 2011 15:12:26 +0000 (15:12 +0000)]
Fix memory leaks

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

13 years agoAdded macros definitions and runtime support for cocci-processed local static variables.
pini [Thu, 20 Jan 2011 14:18:36 +0000 (14:18 +0000)]
Added macros definitions and runtime support for cocci-processed local static variables.

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

13 years agoAdd functions for callbacks.
navarrop [Thu, 20 Jan 2011 13:09:24 +0000 (13:09 +0000)]
Add functions for callbacks.

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

13 years agoMake a function to know if the configuration is set by default or by command line.
navarrop [Thu, 20 Jan 2011 13:09:22 +0000 (13:09 +0000)]
Make a function to know if the configuration is set by default or by command line.

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

13 years agoUntested update to take deployment file into account.
alegrand [Thu, 20 Jan 2011 13:04:55 +0000 (13:04 +0000)]
Untested update to take deployment file into account.

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

13 years agoupdated patch file to work with static variables. This probably needs some
markls [Thu, 20 Jan 2011 10:43:09 +0000 (10:43 +0000)]
updated patch file to work with static variables. This probably needs some
testing, and maybe we should rename the .cocci file, and maybe roll all of this
into smpicc, possibly with a command line switch to output revised source
instead of compiling it.

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

13 years agoChord: make a lookup every 10 seconds
thiery [Wed, 19 Jan 2011 17:04:22 +0000 (17:04 +0000)]
Chord: make a lookup every 10 seconds

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

13 years agoChord: load a platform with appropriate size
thiery [Wed, 19 Jan 2011 17:04:20 +0000 (17:04 +0000)]
Chord: load a platform with appropriate size

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

13 years agoCosmetics
navarrop [Wed, 19 Jan 2011 16:37:14 +0000 (16:37 +0000)]
Cosmetics

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

13 years agoTest if the configuration into tag_config is already set by command line.
navarrop [Wed, 19 Jan 2011 16:37:13 +0000 (16:37 +0000)]
Test if the configuration into tag_config is already set by command line.

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

13 years agoChord: reproduce the scenario of the Oversim paper
thiery [Wed, 19 Jan 2011 15:08:10 +0000 (15:08 +0000)]
Chord: reproduce the scenario of the Oversim paper

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

13 years agoModify pipol scripts.
navarrop [Wed, 19 Jan 2011 13:10:08 +0000 (13:10 +0000)]
Modify pipol scripts.

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

13 years agoIn the end use a temporary file (for those systems where patch cannot output to stdou...
pini [Tue, 18 Jan 2011 14:52:51 +0000 (14:52 +0000)]
In the end use a temporary file (for those systems where patch cannot output to stdout), but trap its removal upon exit.

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

13 years agoWindows compatibility.
navarrop [Tue, 18 Jan 2011 14:39:15 +0000 (14:39 +0000)]
Windows compatibility.

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

13 years agoProtect for windows.
navarrop [Tue, 18 Jan 2011 14:39:03 +0000 (14:39 +0000)]
Protect for windows.

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

13 years agoCosmetics.
navarrop [Tue, 18 Jan 2011 14:38:50 +0000 (14:38 +0000)]
Cosmetics.

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

13 years agoCan have pcrelib in windows by setting PCRE_LIBRARY_PATH.
navarrop [Tue, 18 Jan 2011 14:38:37 +0000 (14:38 +0000)]
Can have pcrelib in windows by setting PCRE_LIBRARY_PATH.

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

13 years agoRemove old scripts for windows.
navarrop [Tue, 18 Jan 2011 14:37:24 +0000 (14:37 +0000)]
Remove old scripts for windows.
Now set in environment variables.

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

13 years agoadded cocci for static vars...
markls [Tue, 18 Jan 2011 14:35:37 +0000 (14:35 +0000)]
added cocci for static vars...

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

13 years agomostly fixed up some comments here and there.
markls [Tue, 18 Jan 2011 14:34:43 +0000 (14:34 +0000)]
mostly fixed up some comments here and there.

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

13 years agoNo need to use a temporary file here.
pini [Tue, 18 Jan 2011 14:14:23 +0000 (14:14 +0000)]
No need to use a temporary file here.

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

13 years agoAlways add the needed include file.
pini [Tue, 18 Jan 2011 14:14:21 +0000 (14:14 +0000)]
Always add the needed include file.

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

13 years agoUpdate documentation since v3.5
navarrop [Tue, 18 Jan 2011 14:08:54 +0000 (14:08 +0000)]
Update documentation since v3.5

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

13 years agodon't use lock file to protect against parallel invocation anymore
mquinson [Tue, 18 Jan 2011 10:27:17 +0000 (10:27 +0000)]
don't use lock file to protect against parallel invocation anymore

Makefiles were changed a while ago to avoid parallel invocation at the
source, and this protections are useless and dangerous on some broken
NFS, for example.

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

13 years agocosmetics
mquinson [Tue, 18 Jan 2011 10:27:13 +0000 (10:27 +0000)]
cosmetics

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

13 years agocommiting some more automatic source patching stuff, and renamed some of the
markls [Tue, 18 Jan 2011 10:07:54 +0000 (10:07 +0000)]
commiting some more automatic source patching stuff, and renamed some of the
macros for purely arbitrary aesthetic reasons. Eventually this all needs to
cleanly rolled into smpicc, but for now we're just testing and don't want to
break anyting...

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

13 years agoAccess to SIMIX data without resorting to a request (and thus do not rely specificall...
pini [Mon, 17 Jan 2011 15:54:07 +0000 (15:54 +0000)]
Access to SIMIX data without resorting to a request (and thus do not rely specifically on thread context in SMPI).

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

13 years agoChord: give some options at runtime
thiery [Mon, 17 Jan 2011 14:31:31 +0000 (14:31 +0000)]
Chord: give some options at runtime

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

13 years agoput var name back in macro calls...
markls [Mon, 17 Jan 2011 14:10:51 +0000 (14:10 +0000)]
put var name back in macro calls...

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

13 years agohey, figured out how to change vars to pointers without cocci complaining...
markls [Mon, 17 Jan 2011 13:49:56 +0000 (13:49 +0000)]
hey, figured out how to change vars to pointers without cocci complaining...

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

13 years agoAdded include file with macro definitions for coccinelle-generated code.
pini [Mon, 17 Jan 2011 13:30:30 +0000 (13:30 +0000)]
Added include file with macro definitions for coccinelle-generated code.

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

13 years agooh, hey, got everything but the array initializers now...
markls [Mon, 17 Jan 2011 13:23:07 +0000 (13:23 +0000)]
oh, hey, got everything but the array initializers now...

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

13 years agookay, this version should work now.
markls [Mon, 17 Jan 2011 13:19:32 +0000 (13:19 +0000)]
okay, this version should work now.

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

13 years agoChange the type of globals to pointer-of-the-type.
pini [Mon, 17 Jan 2011 11:27:39 +0000 (11:27 +0000)]
Change the type of globals to pointer-of-the-type.

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

13 years agoChord: add a large deployment file and a script to generate it
thiery [Mon, 17 Jan 2011 10:44:24 +0000 (10:44 +0000)]
Chord: add a large deployment file and a script to generate it

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

13 years agookay, semantic patches mostly doing what is probably the right thing, the next
markls [Mon, 17 Jan 2011 08:07:54 +0000 (08:07 +0000)]
okay, semantic patches mostly doing what is probably the right thing, the next
order of business is to work on the #defines...

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

13 years agoadded replace globals cocci patch to repository
markls [Mon, 17 Jan 2011 07:57:19 +0000 (07:57 +0000)]
added replace globals cocci patch to repository

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

13 years agoChord: add a deployment file with 90 nodes and fix some bugs
thiery [Fri, 14 Jan 2011 12:35:01 +0000 (12:35 +0000)]
Chord: add a deployment file with 90 nodes and fix some bugs

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

13 years agoDon't store user pointers
thiery [Fri, 14 Jan 2011 12:34:59 +0000 (12:34 +0000)]
Don't store user pointers

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

13 years agoThe output of this test has changed after r9407
thiery [Fri, 14 Jan 2011 07:34:14 +0000 (07:34 +0000)]
The output of this test has changed after r9407

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

13 years agoThis test was not out of source.
navarrop [Thu, 13 Jan 2011 15:25:37 +0000 (15:25 +0000)]
This test was not out of source.

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

13 years agoAdd test for cluster tag with state_file and availability_file.
navarrop [Thu, 13 Jan 2011 15:15:10 +0000 (15:15 +0000)]
Add test for cluster tag with state_file and availability_file.
Can now add state file and availability file with regex.
For example :
state_file="${prefix}${radical}_state_file.trace"
availability_file="${prefix}${radical}_availability_file.trace"

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

13 years agoSet gtnets sources as fragile sources for simgrid cause they are *.cc
navarrop [Thu, 13 Jan 2011 15:15:09 +0000 (15:15 +0000)]
Set gtnets sources as fragile sources for simgrid cause they are *.cc

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

13 years agoNow tag config is available.
navarrop [Thu, 13 Jan 2011 14:14:06 +0000 (14:14 +0000)]
Now tag config is available.
See teshsuite/simdag/platfroms/properties.xml for use it.

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

13 years agoRemove supernovae files with make clean.
navarrop [Thu, 13 Jan 2011 14:14:04 +0000 (14:14 +0000)]
Remove supernovae files with make clean.

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

13 years agoRevert "Fix memory leak in xbt_str_split_quoted."
agiersch [Wed, 12 Jan 2011 17:47:57 +0000 (17:47 +0000)]
Revert "Fix memory leak in xbt_str_split_quoted."
or "On the risk of waiting too long before commiting pending patches."

This reverts commit a122c7adb6b296162c5f5297531902525a675861 (9403).

This was already fixed in the middle of commit 9233.

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

13 years agoRemove redundant call to git svn info.
agiersch [Wed, 12 Jan 2011 17:08:19 +0000 (17:08 +0000)]
Remove redundant call to git svn info.

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

13 years agoFix memory leak in xbt_str_split_quoted.
agiersch [Wed, 12 Jan 2011 17:08:16 +0000 (17:08 +0000)]
Fix memory leak in xbt_str_split_quoted.

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

13 years agoFix debugging message.
agiersch [Wed, 12 Jan 2011 17:08:13 +0000 (17:08 +0000)]
Fix debugging message.

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

13 years agoFix parameter passing through makecontext (again).
agiersch [Wed, 12 Jan 2011 17:08:09 +0000 (17:08 +0000)]
Fix parameter passing through makecontext (again).

Use an union to avoid risky binary operations such as shift or cast with
signed ints.

For example on x86_64 arch, address 0x00007f89d445e010 was recomputed as
0xffffffffd445e010, because (uintptr_t)(int)0xd445e010 is 0xffffffffd445e010,
thanks to sign extension.

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

13 years agoMSG_mailbox_create does not exist anymore.
agiersch [Wed, 12 Jan 2011 17:08:06 +0000 (17:08 +0000)]
MSG_mailbox_create does not exist anymore.

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

13 years agoFix installation of smpif.h.
agiersch [Wed, 12 Jan 2011 17:08:03 +0000 (17:08 +0000)]
Fix installation of smpif.h.

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

13 years agoDon't try forever to join the Chord ring
thiery [Wed, 12 Jan 2011 14:20:20 +0000 (14:20 +0000)]
Don't try forever to join the Chord ring

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

13 years agoCheck a parameter
thiery [Wed, 12 Jan 2011 14:20:19 +0000 (14:20 +0000)]
Check a parameter

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

13 years agocurrent version (maybe 30 or 40% done) of our spatching file
mquinson [Wed, 12 Jan 2011 07:58:23 +0000 (07:58 +0000)]
current version (maybe 30 or 40% done) of our spatching file

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

13 years agoBugfix: no longer post a request in the clean up function.
cristianrosa [Tue, 11 Jan 2011 13:30:36 +0000 (13:30 +0000)]
Bugfix: no longer post a request in the clean up function.
Assume the process being killed is "self".

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

13 years agoImprove debug information
cristianrosa [Tue, 11 Jan 2011 13:30:33 +0000 (13:30 +0000)]
Improve debug information

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

13 years agoUse full path for prefix.
navarrop [Tue, 11 Jan 2011 11:27:29 +0000 (11:27 +0000)]
Use full path for prefix.

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

13 years agoUpdate perl script for generate memcheck test with new tesh.
navarrop [Tue, 11 Jan 2011 11:27:29 +0000 (11:27 +0000)]
Update perl script for generate memcheck test with new tesh.

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

13 years agoCosmetics.
navarrop [Tue, 11 Jan 2011 11:27:28 +0000 (11:27 +0000)]
Cosmetics.

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

13 years agoDefine smx_current_context only once to make the linker happy
thiery [Mon, 10 Jan 2011 14:09:28 +0000 (14:09 +0000)]
Define smx_current_context only once to make the linker happy

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

13 years agoOut of sources build for those examples.
navarrop [Mon, 10 Jan 2011 12:00:15 +0000 (12:00 +0000)]
Out of sources build for those examples.

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

13 years agoDon't remove files from svn sources.
navarrop [Mon, 10 Jan 2011 11:41:29 +0000 (11:41 +0000)]
Don't remove files from svn sources.

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

13 years agoAdd new tests.
navarrop [Mon, 10 Jan 2011 10:32:35 +0000 (10:32 +0000)]
Add new tests.

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

13 years agoCosmetics.
navarrop [Mon, 10 Jan 2011 10:32:34 +0000 (10:32 +0000)]
Cosmetics.

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

13 years agoUpdate pipol scripts
navarrop [Mon, 10 Jan 2011 10:32:33 +0000 (10:32 +0000)]
Update pipol scripts

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

13 years agoForce use of thread contexts when running fortran code.
pini [Fri, 7 Jan 2011 16:54:28 +0000 (16:54 +0000)]
Force use of thread contexts when running fortran code.

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

13 years agoLocally store the process rank.
pini [Fri, 7 Jan 2011 16:54:18 +0000 (16:54 +0000)]
Locally store the process rank.

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

13 years agoCheck if the pointer is writable.
pini [Fri, 7 Jan 2011 16:54:16 +0000 (16:54 +0000)]
Check if the pointer is writable.

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

13 years agoSmall bugfixes to stabilize the MC
cristianrosa [Fri, 7 Jan 2011 08:23:58 +0000 (08:23 +0000)]
Small bugfixes to stabilize the MC

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

13 years agoBugfix: the result of waitany calls should be determined by SIMIX_comm_finish
cristianrosa [Fri, 7 Jan 2011 08:23:56 +0000 (08:23 +0000)]
Bugfix: the result of waitany calls should be determined by SIMIX_comm_finish

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

13 years agoNeed to remove option and not free cause it is also
navarrop [Thu, 6 Jan 2011 14:30:52 +0000 (14:30 +0000)]
Need to remove option and not free cause it is also
free by "xbt_dict_free((xbt_dict_t *) cfg)" in config.c

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

13 years agoRemove unused variables.
navarrop [Thu, 6 Jan 2011 13:09:00 +0000 (13:09 +0000)]
Remove unused variables.

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

13 years agoTest if the config name is "simix/context" is better.
navarrop [Thu, 6 Jan 2011 12:44:48 +0000 (12:44 +0000)]
Test if the config name is "simix/context" is better.

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

13 years agoNeed to passe this line in debug due to cfg = raw, thread or ucontext in tests.
navarrop [Thu, 6 Jan 2011 12:36:48 +0000 (12:36 +0000)]
Need to passe this line in debug due to cfg = raw, thread or ucontext in tests.
One tesh file for 3 configurations.

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

13 years agoAdd an option to tesh : --cfg
navarrop [Thu, 6 Jan 2011 12:36:47 +0000 (12:36 +0000)]
Add an option to tesh : --cfg
examples:

ADD_TEST(msg-icomms-raw  tesh  --cfg simix/context:raw
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/peer.tesh)
ADD_TEST(msg-icomms-thread  tesh  --cfg simix/context:thread
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/peer.tesh)
ADD_TEST(msg-icomms-ucontext tesh  --cfg simix/context:ucontext
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/peer.tesh)

We can give many cfg to tesh.

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

13 years agogenerate sources into CMAKE_CURRENT_BINARY_DIR.
navarrop [Thu, 6 Jan 2011 10:23:32 +0000 (10:23 +0000)]
generate sources into CMAKE_CURRENT_BINARY_DIR.

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

13 years agoNeed this lines because when using gtnets, the libgtnets make a libc malloc
navarrop [Thu, 6 Jan 2011 10:23:31 +0000 (10:23 +0000)]
Need this lines because when using gtnets, the libgtnets make a libc malloc
so we can't do a mfree after.

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

13 years agoUpdate tesh for mc.
navarrop [Thu, 6 Jan 2011 10:23:30 +0000 (10:23 +0000)]
Update tesh for mc.

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

13 years agoSuppress warning of cmake in mac.
navarrop [Thu, 6 Jan 2011 10:23:29 +0000 (10:23 +0000)]
Suppress warning of cmake in mac.

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

13 years agoWe have to somehow rely on F2C if we want it.
pini [Thu, 6 Jan 2011 10:13:36 +0000 (10:13 +0000)]
We have to somehow rely on F2C if we want it.

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

13 years agoAdded support for sampling up to a given number of iterations or until a threshold...
pini [Wed, 5 Jan 2011 18:11:39 +0000 (18:11 +0000)]
Added support for sampling up to a given number of iterations or until a threshold on relative standard error is reached (whichever occurs first). Use negative values to disable.

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

13 years ago[trace] updating process migration tracing tesh
schnorr [Wed, 5 Jan 2011 18:09:01 +0000 (18:09 +0000)]
[trace] updating process migration tracing tesh

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

13 years ago[trace] process category is deprecated (for now, at least)
schnorr [Wed, 5 Jan 2011 18:09:00 +0000 (18:09 +0000)]
[trace] process category is deprecated (for now, at least)

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

13 years ago[trace] using process name and PID as identification for user when tracing/msg/process:1
schnorr [Wed, 5 Jan 2011 18:08:58 +0000 (18:08 +0000)]
[trace] using process name and PID as identification for user when tracing/msg/process:1

details:
- process categorization is deprecated (simpler
instrumentation to try to make model-checking possible)
- simpler instrumentation == all process being traced
when tracing/msg/process:1

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

13 years ago[trace] unique id's for types and containers have to be handled by respective "new...
schnorr [Wed, 5 Jan 2011 18:08:52 +0000 (18:08 +0000)]
[trace] unique id's for types and containers have to be handled by respective "new" functions

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

13 years agoCosmetics
navarrop [Wed, 5 Jan 2011 16:32:19 +0000 (16:32 +0000)]
Cosmetics

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

13 years agoCan compile out of source now.
navarrop [Wed, 5 Jan 2011 15:46:13 +0000 (15:46 +0000)]
Can compile out of source now.

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

13 years agoDestroy mutex and condition.
navarrop [Wed, 5 Jan 2011 15:22:42 +0000 (15:22 +0000)]
Destroy mutex and condition.

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

13 years agoRemove old comments.
navarrop [Wed, 5 Jan 2011 13:57:46 +0000 (13:57 +0000)]
Remove old comments.

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

13 years agoTest if having futex.h.
navarrop [Wed, 5 Jan 2011 13:56:25 +0000 (13:56 +0000)]
Test if having futex.h.
If it's not present use xbt_os_thread.h

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

13 years ago[trace] clean-up tracing ctests
schnorr [Wed, 5 Jan 2011 09:08:13 +0000 (09:08 +0000)]
[trace] clean-up tracing ctests

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

13 years agoAdd suport for TestAny and WaitAny requests to the model-checker.
cristianrosa [Wed, 5 Jan 2011 09:02:47 +0000 (09:02 +0000)]
Add suport for TestAny and WaitAny requests to the model-checker.

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

13 years agoBugfix: killall should execute all processes after killing them in order to let them...
cristianrosa [Wed, 5 Jan 2011 09:02:45 +0000 (09:02 +0000)]
Bugfix: killall should execute all processes after killing them in order to let them clean up.

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

13 years agoRework state's implementation to better support waitany and testany type of transitions
cristianrosa [Wed, 5 Jan 2011 09:02:34 +0000 (09:02 +0000)]
Rework state's implementation to better support waitany and testany type of transitions

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

13 years agoReplace the setsets in the MC's states by malloced arrays.
cristianrosa [Wed, 5 Jan 2011 09:02:32 +0000 (09:02 +0000)]
Replace the setsets in the MC's states by malloced arrays.
In the case that a process has multiple transitions enabled
(like when executing a waitany request) the process should be
several times in the interleave set, so we need multisets, and
the setsets are useless.

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

13 years agoFix SMPI scripts against the target directory
pini [Tue, 4 Jan 2011 14:36:24 +0000 (14:36 +0000)]
Fix SMPI scripts against the target directory

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

13 years agoStill working on Chord
thiery [Tue, 4 Jan 2011 14:13:57 +0000 (14:13 +0000)]
Still working on Chord

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

13 years agoAdd a debug message
thiery [Tue, 4 Jan 2011 14:13:55 +0000 (14:13 +0000)]
Add a debug message

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

13 years ago[trace] updating tracing tesh'es to check correct container destruction order
schnorr [Mon, 3 Jan 2011 14:49:19 +0000 (14:49 +0000)]
[trace] updating tracing tesh'es to check correct container destruction order

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