Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agoAdd log to random_mgr.
navarrop [Thu, 10 Mar 2011 13:01:27 +0000 (13:01 +0000)]
Add log to random_mgr.

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

8 years agoFree some missing variables.
navarrop [Thu, 10 Mar 2011 13:01:21 +0000 (13:01 +0000)]
Free some missing variables.

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

8 years agoFree dict random_value and patterns after the end of the platform.
navarrop [Thu, 10 Mar 2011 13:01:17 +0000 (13:01 +0000)]
Free dict random_value and patterns after the end of the platform.

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

8 years agoFree dynar after use in xbt_dynar_compare.
navarrop [Thu, 10 Mar 2011 13:01:12 +0000 (13:01 +0000)]
Free dynar after use in xbt_dynar_compare.

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

8 years agoDon't enter into argv[i]=="FULL_LINK" condition if argv[i]=="ONE_LINK"
navarrop [Wed, 9 Mar 2011 16:41:36 +0000 (16:41 +0000)]
Don't enter into argv[i]=="FULL_LINK" condition if argv[i]=="ONE_LINK"

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

8 years agoVerify if elements src_gateway and dst_gateway are present in global_routing.
navarrop [Wed, 9 Mar 2011 16:41:30 +0000 (16:41 +0000)]
Verify if elements src_gateway and dst_gateway are present in global_routing.

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

8 years agoReturn SURF_NETWORK_ELEMENT_NULL if the elements is not found.
navarrop [Wed, 9 Mar 2011 16:41:25 +0000 (16:41 +0000)]
Return SURF_NETWORK_ELEMENT_NULL if the elements is not found.

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

8 years agoRevert "Change those functions to public for use external parser."
navarrop [Wed, 9 Mar 2011 14:04:21 +0000 (14:04 +0000)]
Revert "Change those functions to public for use external parser."

This reverts commit 20e6d5b7ee48bba1bab1de61105d8ed69a98acd4.

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

8 years agoFactorize functions for Unix and Windows.
navarrop [Tue, 8 Mar 2011 12:35:24 +0000 (12:35 +0000)]
Factorize functions for Unix and Windows.

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

8 years agoWe can have more than 3 args in basic_parsing_test.
navarrop [Tue, 8 Mar 2011 12:35:22 +0000 (12:35 +0000)]
We can have more than 3 args in basic_parsing_test.

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

8 years agoAdd --cfg to tesh.pl
navarrop [Tue, 8 Mar 2011 12:35:19 +0000 (12:35 +0000)]
Add --cfg to tesh.pl

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

8 years agoCorrectely write ${TEST_UNITS} against $(TEST_UNITS)
navarrop [Tue, 8 Mar 2011 12:35:16 +0000 (12:35 +0000)]
Correctely write ${TEST_UNITS} against $(TEST_UNITS)

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

8 years agoRemove old file.
navarrop [Tue, 8 Mar 2011 12:35:13 +0000 (12:35 +0000)]
Remove old file.

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

8 years agoRemove old unused lines for java.
navarrop [Tue, 8 Mar 2011 12:35:10 +0000 (12:35 +0000)]
Remove old unused lines for java.

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

8 years agoNeed to set this flag to compile on windows
navarrop [Mon, 7 Mar 2011 11:21:14 +0000 (11:21 +0000)]
Need to set this flag to compile on windows

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

8 years agoProtect with HAVE_FUTEX_H
navarrop [Mon, 7 Mar 2011 11:21:04 +0000 (11:21 +0000)]
Protect with HAVE_FUTEX_H

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

8 years agoAdd missing functions with windows
navarrop [Mon, 7 Mar 2011 11:20:55 +0000 (11:20 +0000)]
Add missing functions with windows

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

8 years agoThis example does not work for the moment on windows
navarrop [Mon, 7 Mar 2011 11:20:40 +0000 (11:20 +0000)]
This example does not work for the moment on windows

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

8 years agoSet win32_ucontext.c as simgrid source file
navarrop [Mon, 7 Mar 2011 11:20:27 +0000 (11:20 +0000)]
Set win32_ucontext.c as simgrid source file

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

8 years agoAdd working directory to command line for generating files with gras_stub_generator
navarrop [Mon, 7 Mar 2011 11:14:34 +0000 (11:14 +0000)]
Add working directory to command line for generating files with gras_stub_generator

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

8 years agoremove some useless info
coldpeace [Fri, 4 Mar 2011 14:32:13 +0000 (14:32 +0000)]
remove some useless info

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

8 years agosplaySim: a lua implementation of a splay (simulation)scenario with a masterslave...
coldpeace [Fri, 4 Mar 2011 14:23:31 +0000 (14:23 +0000)]
splaySim: a lua implementation of a splay (simulation)scenario with a masterslave application

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

8 years ago[trace] bugfix, correct matching of link keys on trace
schnorr [Thu, 3 Mar 2011 22:57:00 +0000 (22:57 +0000)]
[trace] bugfix, correct matching of link keys on trace

details:
- push new keys to the tail, get on the head
- all conclusions taken by visualizing mpi communications
of smpi traces should be reconsidered, sorry for this

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

8 years agoInstall ruby 1.9 with script on fedora
navarrop [Thu, 3 Mar 2011 14:03:10 +0000 (14:03 +0000)]
Install ruby 1.9 with script on fedora

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

8 years agoUse a better synchronization mechanism to control the worker threads.
cristianrosa [Wed, 2 Mar 2011 15:45:42 +0000 (15:45 +0000)]
Use a better synchronization mechanism to control the worker threads.
Two barriers was an overkill.

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

8 years agoBugfix: do not hardcode the number of workers in the parmap, use the command line...
cristianrosa [Wed, 2 Mar 2011 15:45:39 +0000 (15:45 +0000)]
Bugfix: do not hardcode the number of workers in the parmap, use the command line argument instead.

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

8 years agoNeed to set LD_LIBRARY_PATH for ruby test on pipol.
navarrop [Wed, 2 Mar 2011 14:32:06 +0000 (14:32 +0000)]
Need to set LD_LIBRARY_PATH for ruby test on pipol.

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

8 years agoClean and update srcipt for pipol.
navarrop [Wed, 2 Mar 2011 13:42:06 +0000 (13:42 +0000)]
Clean and update srcipt for pipol.

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

8 years agoNo need to set Windows env variables now.
navarrop [Wed, 2 Mar 2011 09:55:30 +0000 (09:55 +0000)]
No need to set Windows env variables now.

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

8 years agoProtect the use of parmap.
navarrop [Wed, 2 Mar 2011 09:55:26 +0000 (09:55 +0000)]
Protect the use of parmap.

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

8 years agoFix a bug introduced by r9743
thiery [Tue, 1 Mar 2011 17:32:28 +0000 (17:32 +0000)]
Fix a bug introduced by r9743

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

8 years agoMissing semicolon
pini [Tue, 1 Mar 2011 16:45:35 +0000 (16:45 +0000)]
Missing semicolon

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

8 years agoTentatively use sampling with Fortran.
pini [Tue, 1 Mar 2011 16:41:42 +0000 (16:41 +0000)]
Tentatively use sampling with Fortran.

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

8 years agoRemove side effects from xbt_asserts calls
thiery [Tue, 1 Mar 2011 14:22:06 +0000 (14:22 +0000)]
Remove side effects from xbt_asserts calls

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

8 years agoMake test on pipol succed.
navarrop [Tue, 1 Mar 2011 11:34:28 +0000 (11:34 +0000)]
Make test on pipol succed.
Correctly set LD_LIBRARY_PATH

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

8 years agoSort the output of the msg token ring tesh file.
thiery [Tue, 1 Mar 2011 08:49:21 +0000 (08:49 +0000)]
Sort the output of the msg token ring tesh file.

This should fix the corresponding broken tests on CDash.

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

8 years agoAdd ruby to cdash
navarrop [Mon, 28 Feb 2011 15:08:18 +0000 (15:08 +0000)]
Add ruby to cdash

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

8 years agoRevert "Remove lua from cmake files."
navarrop [Mon, 28 Feb 2011 14:30:30 +0000 (14:30 +0000)]
Revert "Remove lua from cmake files."

This reverts commit 90fe593afffadbd9a6741267f716795de4517ee8.

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

8 years agoRevert "Remove lua parse functions from simgrid."
navarrop [Mon, 28 Feb 2011 14:30:24 +0000 (14:30 +0000)]
Revert "Remove lua parse functions from simgrid."

This reverts commit 951fae21a458e44d405f5a4dfef91dbb16a012ab.

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

8 years agoChange those functions to public for use external parser.
navarrop [Mon, 28 Feb 2011 12:42:49 +0000 (12:42 +0000)]
Change those functions to public for use external parser.

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

8 years agoRemove lua parse functions from simgrid.
navarrop [Mon, 28 Feb 2011 12:42:36 +0000 (12:42 +0000)]
Remove lua parse functions from simgrid.

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

8 years agoNightly test for java.
navarrop [Mon, 28 Feb 2011 11:19:26 +0000 (11:19 +0000)]
Nightly test for java.

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

8 years agoRemove lua from cmake files.
navarrop [Mon, 28 Feb 2011 10:17:04 +0000 (10:17 +0000)]
Remove lua from cmake files.

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

8 years agofix the make dist target by including everything that's needed
mquinson [Fri, 25 Feb 2011 17:14:28 +0000 (17:14 +0000)]
fix the make dist target by including everything that's needed

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

8 years agoAdd trace, plist and jed files to gitignore.
navarrop [Fri, 25 Feb 2011 12:04:01 +0000 (12:04 +0000)]
Add trace, plist and jed files to gitignore.
Add build dir to simgrid gitignore.

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

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