Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agoCompletely remove ruby and java from simgrid project.
navarrop [Fri, 25 Feb 2011 12:03:54 +0000 (12:03 +0000)]
Completely remove ruby and java from simgrid project.

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

8 years agoprops dict does not always exists anymore. Check if not NULL before
suter [Fri, 25 Feb 2011 09:02:16 +0000 (09:02 +0000)]
props dict does not always exists anymore. Check if not NULL before
asking for length

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

8 years agoWe must set host_coordinates to "" with bypass.
navarrop [Thu, 24 Feb 2011 14:32:18 +0000 (14:32 +0000)]
We must set host_coordinates to "" with bypass.

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

8 years agoA request is still needed here as this code is run in user mode
thiery [Thu, 24 Feb 2011 14:24:43 +0000 (14:24 +0000)]
A request is still needed here as this code is run in user mode

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

8 years agoSimplify process cleanup calls between SIMIX and MSG
thiery [Thu, 24 Feb 2011 14:24:41 +0000 (14:24 +0000)]
Simplify process cleanup calls between SIMIX and MSG

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

8 years agoCreate current_property_set only if it is required.
navarrop [Thu, 24 Feb 2011 12:46:06 +0000 (12:46 +0000)]
Create current_property_set only if it is required.
Create link and cpu after create the dict of properties.

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

8 years agoThose XBT_INFO broke the tests
thiery [Thu, 24 Feb 2011 12:15:49 +0000 (12:15 +0000)]
Those XBT_INFO broke the tests

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

8 years agoIt's not Experimental but Nightly tests.
navarrop [Thu, 24 Feb 2011 10:31:14 +0000 (10:31 +0000)]
It's not Experimental but Nightly tests.

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

8 years agoupdate script
coldpeace [Wed, 23 Feb 2011 17:10:20 +0000 (17:10 +0000)]
update script

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

8 years agoget AS id when addRoute method is not indexed
coldpeace [Wed, 23 Feb 2011 17:09:27 +0000 (17:09 +0000)]
get AS id when addRoute method is not indexed

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

8 years agoUpdate script to add memcheck for pipol.
navarrop [Wed, 23 Feb 2011 16:03:14 +0000 (16:03 +0000)]
Update script to add memcheck for pipol.

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

8 years agoupdate example
coldpeace [Wed, 23 Feb 2011 13:36:31 +0000 (13:36 +0000)]
update example

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

8 years agoInitialize current_as.
agiersch [Tue, 22 Feb 2011 17:09:24 +0000 (17:09 +0000)]
Initialize current_as.

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

8 years agoSimplify the management of processes in MSG.
thiery [Tue, 22 Feb 2011 16:03:39 +0000 (16:03 +0000)]
Simplify the management of processes in MSG.

- I removed the MSG global list of processes, which was useless and not
  thread-safe: this fixes parallel simulations that crashed at the end
- The structure m_process_t is now an alias of smx_process_t
- The name of each process was duplicated: one in MSG and one in SIMIX

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

8 years agoupdate methods
coldpeace [Tue, 22 Feb 2011 14:41:59 +0000 (14:41 +0000)]
update methods

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

8 years agoimprove the way to describe platform and all multi declaration of AS tag on lua console
coldpeace [Tue, 22 Feb 2011 14:41:38 +0000 (14:41 +0000)]
improve the way to describe platform and all multi declaration of AS tag on lua console

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

8 years agoxbt_die : set argument to a format string with args
coldpeace [Tue, 22 Feb 2011 14:26:53 +0000 (14:26 +0000)]
xbt_die : set argument to a format string with args

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

8 years agoFree temporary strings.
agiersch [Tue, 22 Feb 2011 13:51:55 +0000 (13:51 +0000)]
Free temporary strings.

There may be more like those...

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

8 years agosurf_routing: free patterns elements.
agiersch [Tue, 22 Feb 2011 13:51:51 +0000 (13:51 +0000)]
surf_routing: free patterns elements.

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

8 years agoFix replace_random_parameter, and its usage.
agiersch [Tue, 22 Feb 2011 13:51:48 +0000 (13:51 +0000)]
Fix replace_random_parameter, and its usage.

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

8 years agosurf_routing: free coordinates elements.
agiersch [Tue, 22 Feb 2011 13:51:45 +0000 (13:51 +0000)]
surf_routing: free coordinates elements.

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

8 years agoReceived a dynar, and not a pointer to it.
agiersch [Tue, 22 Feb 2011 13:51:42 +0000 (13:51 +0000)]
Received a dynar, and not a pointer to it.

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

8 years agoDo explicit lmm_variable_free to avoid warning messages.
agiersch [Tue, 22 Feb 2011 13:51:39 +0000 (13:51 +0000)]
Do explicit lmm_variable_free to avoid warning messages.

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

8 years agoAutomatically release resources associated with detached threads.
agiersch [Tue, 22 Feb 2011 13:51:36 +0000 (13:51 +0000)]
Automatically release resources associated with detached threads.

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

8 years agoFree memory after parmap test.
agiersch [Tue, 22 Feb 2011 13:51:33 +0000 (13:51 +0000)]
Free memory after parmap test.

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

8 years agoUse variadic variants of xbt_test_{add,fail,assert,log}.
agiersch [Tue, 22 Feb 2011 13:51:29 +0000 (13:51 +0000)]
Use variadic variants of xbt_test_{add,fail,assert,log}.

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

8 years agoMake xbt_test_{add,fail,assert,log} variadic macros.
agiersch [Tue, 22 Feb 2011 13:51:25 +0000 (13:51 +0000)]
Make xbt_test_{add,fail,assert,log} variadic macros.

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

8 years agoReplace xbt_die(bprintf(...)) with xbt_die(...).
agiersch [Tue, 22 Feb 2011 13:51:22 +0000 (13:51 +0000)]
Replace xbt_die(bprintf(...)) with xbt_die(...).

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

8 years agoMake xbt_die() accept a format string with arguments.
agiersch [Tue, 22 Feb 2011 13:51:15 +0000 (13:51 +0000)]
Make xbt_die() accept a format string with arguments.

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

8 years agoRemove spurious else..
agiersch [Tue, 22 Feb 2011 13:51:11 +0000 (13:51 +0000)]
Remove spurious else..

Please review this.

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

8 years agoDefine macro _XBT_IF_ONE_ARG.
agiersch [Tue, 22 Feb 2011 13:51:08 +0000 (13:51 +0000)]
Define macro _XBT_IF_ONE_ARG.

Useful to test if the __VA_ARGS__ of a variadic macro is made of one or
more arguments, and to use a different expansion in each case.

It is used to remove the extra argument introduced in XBT_CLOG() with
XBT_LOG_MAYDAY, and in XBT_IN().

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

8 years agoDefine SIMGRID_VERSION through cmake.
agiersch [Tue, 22 Feb 2011 13:51:04 +0000 (13:51 +0000)]
Define SIMGRID_VERSION through cmake.

Also add macro MAKE_SIMGRID_VERSION(major, minor, patch).

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

8 years agoThis initialization change the experiment too much
thiery [Tue, 22 Feb 2011 13:25:27 +0000 (13:25 +0000)]
This initialization change the experiment too much

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

8 years agoFix memory leaks in simdag examples and tests.
agiersch [Tue, 22 Feb 2011 13:19:27 +0000 (13:19 +0000)]
Fix memory leaks in simdag examples and tests.

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

8 years agoThere is no need to dup the key when using xbt_dict_set.
agiersch [Tue, 22 Feb 2011 13:19:23 +0000 (13:19 +0000)]
There is no need to dup the key when using xbt_dict_set.

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

8 years agoReplace a combination of malloc+strcpy by xbt_strdup.
agiersch [Tue, 22 Feb 2011 13:19:19 +0000 (13:19 +0000)]
Replace a combination of malloc+strcpy by xbt_strdup.

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

8 years agoRemove useless double parentheses in function calls.
agiersch [Tue, 22 Feb 2011 13:19:15 +0000 (13:19 +0000)]
Remove useless double parentheses in function calls.

But protect macro parameter with parentheses.

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

8 years agoDo explicit lmm_variable_free to avoid warning messages.
agiersch [Tue, 22 Feb 2011 13:19:12 +0000 (13:19 +0000)]
Do explicit lmm_variable_free to avoid warning messages.

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

8 years agoFix memory leaks in lmm_usage.
agiersch [Tue, 22 Feb 2011 13:19:09 +0000 (13:19 +0000)]
Fix memory leaks in lmm_usage.

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

8 years agoFix build error: implicit declaration of function 'getline'.
agiersch [Tue, 22 Feb 2011 13:19:06 +0000 (13:19 +0000)]
Fix build error: implicit declaration of function 'getline'.

On Debian/Lenny, #include "simgrid_config.h" needs to be the first include
for getline to be found.

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

8 years agoNo need to be in cmake 2.8
navarrop [Tue, 22 Feb 2011 10:38:50 +0000 (10:38 +0000)]
No need to be in cmake 2.8
Protect specific commands of cmake 2.8

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

8 years agoRevert commit r9673: many users checkout the trunk directly
thiery [Tue, 22 Feb 2011 10:06:15 +0000 (10:06 +0000)]
Revert commit r9673: many users checkout the trunk directly

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

8 years agoRemove lines that are already in gitignore files of parent directories
thiery [Tue, 22 Feb 2011 08:06:59 +0000 (08:06 +0000)]
Remove lines that are already in gitignore files of parent directories

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

8 years agoReorganize gitignore files for Java
thiery [Tue, 22 Feb 2011 07:38:35 +0000 (07:38 +0000)]
Reorganize gitignore files for Java

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

8 years agoAllow MSG_process_cleanup(p) to be called by other processes than p
thiery [Mon, 21 Feb 2011 13:10:54 +0000 (13:10 +0000)]
Allow MSG_process_cleanup(p) to be called by other processes than p

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

8 years agoUpdate .gitignore
thiery [Mon, 21 Feb 2011 13:10:51 +0000 (13:10 +0000)]
Update .gitignore

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

8 years agoTypos
thiery [Mon, 21 Feb 2011 13:10:48 +0000 (13:10 +0000)]
Typos

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

8 years agoWe need include simgrid_config.h for function getline.
navarrop [Fri, 18 Feb 2011 15:02:53 +0000 (15:02 +0000)]
We need include simgrid_config.h for function getline.
In system Debian : implicit declaration of function getline

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

8 years agoUpdate ChangeLog with new SIMIX flags and new MSG functions
thiery [Fri, 18 Feb 2011 14:35:07 +0000 (14:35 +0000)]
Update ChangeLog with new SIMIX flags and new MSG functions

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

8 years agoRevert "Remove old style logging macros."
agiersch [Thu, 17 Feb 2011 21:16:55 +0000 (21:16 +0000)]
Revert "Remove old style logging macros."

Do not break backward compatibility.  Define XBT_USE_DEPRECATED to use
the old macros INOF1, INFO2, etc.

This reverts commit 8f12c0e9161fabfd7e0ab3f3688546ec7e237e51.

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

8 years agoDefine a SIMGRID_VERSION macro in simgrid_config.h
mquinson [Thu, 17 Feb 2011 21:01:51 +0000 (21:01 +0000)]
Define a SIMGRID_VERSION macro in simgrid_config.h

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

8 years agoRemove old DEBUGx() for XBT_DEBUG
navarrop [Thu, 17 Feb 2011 17:50:33 +0000 (17:50 +0000)]
Remove old DEBUGx() for XBT_DEBUG

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

8 years agoRemove unused include "simgrid_config.h"
navarrop [Thu, 17 Feb 2011 17:14:40 +0000 (17:14 +0000)]
Remove unused include "simgrid_config.h"
If need _XBT_WIN32 include gras_config.h"

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

8 years agoRemove all xbt_assert.*(0,FALSE or NULL for xbt_die
navarrop [Thu, 17 Feb 2011 17:14:29 +0000 (17:14 +0000)]
Remove all xbt_assert.*(0,FALSE or NULL for xbt_die

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

8 years agoMake PARSE_ERROR a variadic macro too.
agiersch [Thu, 17 Feb 2011 16:12:19 +0000 (16:12 +0000)]
Make PARSE_ERROR a variadic macro too.

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

8 years agoMake XBT_{IN,OUT,HERE} function-like macros.
agiersch [Thu, 17 Feb 2011 16:12:14 +0000 (16:12 +0000)]
Make XBT_{IN,OUT,HERE} function-like macros.

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

8 years agoRemove old style logging macros.
agiersch [Thu, 17 Feb 2011 16:12:08 +0000 (16:12 +0000)]
Remove old style logging macros.

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

8 years agoUse new style logging macros.
agiersch [Thu, 17 Feb 2011 16:11:56 +0000 (16:11 +0000)]
Use new style logging macros.

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

8 years agoDefine variadic logging macros.
agiersch [Thu, 17 Feb 2011 16:11:14 +0000 (16:11 +0000)]
Define variadic logging macros.

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

8 years agoRemove unused file.
agiersch [Thu, 17 Feb 2011 16:11:07 +0000 (16:11 +0000)]
Remove unused file.

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

8 years agoNow it compiles with NDEBUG flag
navarrop [Thu, 17 Feb 2011 14:47:17 +0000 (14:47 +0000)]
Now it compiles with NDEBUG flag

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

8 years agoCompile with flag NDEBUG.
navarrop [Thu, 17 Feb 2011 14:00:39 +0000 (14:00 +0000)]
Compile with flag NDEBUG.

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

8 years agoRemove ; after SG_BEGIN_DECL().
agiersch [Thu, 17 Feb 2011 12:38:02 +0000 (12:38 +0000)]
Remove ; after SG_BEGIN_DECL().

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

8 years agoRemove unused call to MSG_process_sleep(1).
navarrop [Thu, 17 Feb 2011 11:04:09 +0000 (11:04 +0000)]
Remove unused call to MSG_process_sleep(1).

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

8 years agoCorrection of problems from commit 9644
navarrop [Thu, 17 Feb 2011 09:59:49 +0000 (09:59 +0000)]
Correction of problems from commit 9644

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

8 years agoadd a misseing argument to xbt_assert1
coldpeace [Thu, 17 Feb 2011 09:54:41 +0000 (09:54 +0000)]
add a misseing argument to xbt_assert1

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

8 years agoEvaluating the expression of xbt_assert must not have side effects.
thiery [Wed, 16 Feb 2011 17:14:57 +0000 (17:14 +0000)]
Evaluating the expression of xbt_assert must not have side effects.

The xbt_assert macros are disabled at compile time when NDEBUG is set.
There are a lot of other faulty xbt_assert calls, I haven't finished to
fix them.

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

8 years agoThis is not a tesh file
thiery [Wed, 16 Feb 2011 14:25:54 +0000 (14:25 +0000)]
This is not a tesh file

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

8 years agoDon't need private files without this command line
navarrop [Wed, 16 Feb 2011 14:12:30 +0000 (14:12 +0000)]
Don't need private files without this command line

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

8 years agoWe need cmake 2.8 to compile simgrid
navarrop [Wed, 16 Feb 2011 13:32:07 +0000 (13:32 +0000)]
We need cmake 2.8 to compile simgrid

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

8 years agoAll tesh files have the .tesh extension now
thiery [Wed, 16 Feb 2011 12:14:22 +0000 (12:14 +0000)]
All tesh files have the .tesh extension now

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

8 years agoUpdate .gitignore
thiery [Wed, 16 Feb 2011 12:14:15 +0000 (12:14 +0000)]
Update .gitignore

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

8 years agocheck HAVE_MC before calling MC_assert
coldpeace [Wed, 16 Feb 2011 09:37:06 +0000 (09:37 +0000)]
check HAVE_MC before calling MC_assert

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

8 years agoCorrectely use xbt_str_varsubs
navarrop [Tue, 15 Feb 2011 16:43:24 +0000 (16:43 +0000)]
Correctely use xbt_str_varsubs

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

8 years agoAdd another SMPI bugged example to test the MC.
cristianrosa [Tue, 15 Feb 2011 16:09:02 +0000 (16:09 +0000)]
Add another SMPI bugged example to test the MC.

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

8 years agoAlways show the MC statistics on exit.
cristianrosa [Tue, 15 Feb 2011 16:09:00 +0000 (16:09 +0000)]
Always show the MC statistics on exit.

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

8 years agoIf --cfg=model-check:2 was passed, use a DFS exploration.
cristianrosa [Tue, 15 Feb 2011 16:08:49 +0000 (16:08 +0000)]
If --cfg=model-check:2 was passed, use a DFS exploration.

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

8 years agoAdd SMPI bugged example to test the MC.
cristianrosa [Tue, 15 Feb 2011 16:08:48 +0000 (16:08 +0000)]
Add SMPI bugged example to test the MC.

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

8 years agoCount the context switches as user code also.
cristianrosa [Tue, 15 Feb 2011 16:08:37 +0000 (16:08 +0000)]
Count the context switches as user code also.

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

8 years agoCompute the real simulation time.
cristianrosa [Tue, 15 Feb 2011 16:08:35 +0000 (16:08 +0000)]
Compute the real simulation time.

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

8 years agoThis job is done two time.
navarrop [Tue, 15 Feb 2011 13:15:58 +0000 (13:15 +0000)]
This job is done two time.
Also in surf_parse_add_callback_config(void)

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

8 years agoFind simgrid version
navarrop [Tue, 15 Feb 2011 13:15:54 +0000 (13:15 +0000)]
Find simgrid version

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

8 years agoConsider the value of the cfg=model-checker flag
thiery [Tue, 15 Feb 2011 10:01:50 +0000 (10:01 +0000)]
Consider the value of the cfg=model-checker flag

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

8 years agoAdd sources for rngstreams
navarrop [Mon, 14 Feb 2011 16:25:20 +0000 (16:25 +0000)]
Add sources for rngstreams

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

8 years agoAdd --log option to token_ring.tesh
navarrop [Mon, 14 Feb 2011 13:49:15 +0000 (13:49 +0000)]
Add --log option to token_ring.tesh

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

8 years agoReimplement old tag random.
navarrop [Mon, 14 Feb 2011 13:30:32 +0000 (13:30 +0000)]
Reimplement old tag random.
Need to be rewrite (in progress)

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

8 years agoCosmetics
navarrop [Mon, 14 Feb 2011 13:30:31 +0000 (13:30 +0000)]
Cosmetics

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

8 years agoAdd a gforge sync for simgrid.dtd
navarrop [Mon, 14 Feb 2011 13:30:30 +0000 (13:30 +0000)]
Add a gforge sync for simgrid.dtd

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

8 years agoAdd an unused (for the moment) module file
navarrop [Mon, 14 Feb 2011 13:30:29 +0000 (13:30 +0000)]
Add an unused (for the moment) module file

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

8 years agoDon't search for RngStream.h but specific file simulator.h
navarrop [Mon, 14 Feb 2011 13:30:28 +0000 (13:30 +0000)]
Don't search for RngStream.h but specific file simulator.h

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

8 years ago[trace] fix bug on interconnections tracing
schnorr [Mon, 14 Feb 2011 13:19:48 +0000 (13:19 +0000)]
[trace] fix bug on interconnections tracing

details:
- this commit reduces the trace size (in the paje format)
of g5k platform from ~16M to ~404K without loss of information

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

8 years agoReview const attribute for pointers..
agiersch [Fri, 11 Feb 2011 17:01:08 +0000 (17:01 +0000)]
Review const attribute for pointers..

The main goal for this patch is to remove the cast for the argument of
free() in MSG_action_runner().

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

8 years agoUse xbt_dynar_free to destroy dynar.
agiersch [Fri, 11 Feb 2011 17:01:03 +0000 (17:01 +0000)]
Use xbt_dynar_free to destroy dynar.

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

8 years agoRemove useless cast.
agiersch [Fri, 11 Feb 2011 17:01:00 +0000 (17:01 +0000)]
Remove useless cast.

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

8 years agoCosmetics: fix indentation.
agiersch [Fri, 11 Feb 2011 17:00:57 +0000 (17:00 +0000)]
Cosmetics: fix indentation.

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

8 years agoRemove useless operation.
agiersch [Fri, 11 Feb 2011 17:00:53 +0000 (17:00 +0000)]
Remove useless operation.

dynar is free'd two lines below...

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

8 years agoFix and cleanups for test msg-icomms-waitany.
agiersch [Fri, 11 Feb 2011 17:00:50 +0000 (17:00 +0000)]
Fix and cleanups for test msg-icomms-waitany.

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

8 years agoFree mallocator for SIMIX actions on exit.
agiersch [Fri, 11 Feb 2011 17:00:47 +0000 (17:00 +0000)]
Free mallocator for SIMIX actions on exit.

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

8 years agoAdd missing XBT_PUBLIC.
agiersch [Fri, 11 Feb 2011 17:00:44 +0000 (17:00 +0000)]
Add missing XBT_PUBLIC.

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

8 years agoRemove duplicated declaration.
agiersch [Fri, 11 Feb 2011 17:00:41 +0000 (17:00 +0000)]
Remove duplicated declaration.

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