Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
14 years agoplug a memleak
mquinson [Thu, 29 Oct 2009 16:10:40 +0000 (16:10 +0000)]
plug a memleak

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

14 years agoforgot to remove the cleaning of a remove data
suter [Thu, 29 Oct 2009 10:52:55 +0000 (10:52 +0000)]
forgot to remove the cleaning of a remove data

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

14 years agoadd an Isend, just the prototype for the barrier action
suter [Thu, 29 Oct 2009 10:51:46 +0000 (10:51 +0000)]
add an Isend, just the prototype for the barrier action

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

14 years agotry harder not to overflow that buffer
mquinson [Thu, 29 Oct 2009 07:00:59 +0000 (07:00 +0000)]
try harder not to overflow that buffer

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

14 years agotry to ensure that stdio is loaded when str.h is loaded, so that __USE_GNU is defined...
mquinson [Wed, 28 Oct 2009 22:36:02 +0000 (22:36 +0000)]
try to ensure that stdio is loaded when str.h is loaded, so that __USE_GNU is defined on glibc

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

14 years agoTry to fix #8852 (SimGrid won't compile on Ubuntu 9.10) by betterly checking my argum...
mquinson [Wed, 28 Oct 2009 22:17:55 +0000 (22:17 +0000)]
Try to fix #8852 (SimGrid won't compile on Ubuntu 9.10) by betterly checking my arguments to standard functions

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

14 years agosmall improvements suggested by Arnaud
suter [Fri, 23 Oct 2009 05:59:09 +0000 (05:59 +0000)]
small improvements suggested by Arnaud

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

14 years agoAdd Irecv and wait actions and corresponding example
suter [Thu, 22 Oct 2009 18:12:25 +0000 (18:12 +0000)]
Add Irecv and wait actions and corresponding example

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

14 years agoChange the waitany functions on semaphore and communications to return the rank of...
mquinson [Tue, 20 Oct 2009 13:10:35 +0000 (13:10 +0000)]
Change the waitany functions on semaphore and communications to return the rank of the object in the dynar instead of the object itself

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

14 years agoImplement smx_comm_t SIMIX_network_waitany(xbt_dynar_t comms)
mquinson [Tue, 20 Oct 2009 13:10:31 +0000 (13:10 +0000)]
Implement smx_comm_t SIMIX_network_waitany(xbt_dynar_t comms)

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

14 years agoImplement smx_sem_t SIMIX_sem_acquire_any(xbt_dynar_t sems)
mquinson [Tue, 20 Oct 2009 13:10:07 +0000 (13:10 +0000)]
Implement smx_sem_t SIMIX_sem_acquire_any(xbt_dynar_t sems)

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

14 years agowhen requested to acquire a cond or semaphore with max_duration=0, call the regular...
mquinson [Tue, 20 Oct 2009 13:10:04 +0000 (13:10 +0000)]
when requested to acquire a cond or semaphore with max_duration=0, call the regular blocking function instead of the internal code so that the dummy action in charge of detecting host failures get created

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

14 years agoImplement Asynchronous send/recv in SIMIX (you dreamt of it? It's here now)
mquinson [Tue, 20 Oct 2009 13:09:40 +0000 (13:09 +0000)]
Implement Asynchronous send/recv in SIMIX (you dreamt of it? It's here now)
Too bad that nobody cared enough to propagate the change to MSG (yet).

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

14 years agoEnough is enough. Add semaphores as SIMIX synchronization mechanism.
mquinson [Tue, 20 Oct 2009 13:09:36 +0000 (13:09 +0000)]
Enough is enough. Add semaphores as SIMIX synchronization mechanism.

Check the SIMIX_sem_release_forever() function, which allows something
between conditions and pure semaphores.

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

14 years agoAdapt tests to the fact that we can now detect that there was a timeout during commun...
mquinson [Tue, 20 Oct 2009 13:09:13 +0000 (13:09 +0000)]
Adapt tests to the fact that we can now detect that there was a timeout during communication

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

14 years agouse a bit more informative actions'names. Helpful while debuging
mquinson [Tue, 20 Oct 2009 13:09:10 +0000 (13:09 +0000)]
use a bit more informative actions'names. Helpful while debuging

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

14 years agoAdd SIMIX_rdv_{set,get}_data; tiny fixups
mquinson [Tue, 20 Oct 2009 13:08:47 +0000 (13:08 +0000)]
Add SIMIX_rdv_{set,get}_data; tiny fixups

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

14 years agoNew function: SIMIX_action_set_name()
mquinson [Tue, 20 Oct 2009 13:08:44 +0000 (13:08 +0000)]
New function: SIMIX_action_set_name()

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

14 years agouseless cosmetics
mquinson [Tue, 20 Oct 2009 13:08:20 +0000 (13:08 +0000)]
useless cosmetics

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

14 years agoa script to generate a strassen workflow (+cosmetics on other script)
mquinson [Tue, 20 Oct 2009 13:08:16 +0000 (13:08 +0000)]
a script to generate a strassen workflow (+cosmetics on other script)

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

14 years agoFix a vicious bug in dictionaries inducing that some elements were not freed on xbt_d...
mquinson [Fri, 16 Oct 2009 09:06:55 +0000 (09:06 +0000)]
Fix a vicious bug in dictionaries inducing that some elements were not freed on xbt_dict_free()

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

14 years agoIntegrate patch #8636: Obey DESTDIR when installing documentation (thanks to Robson...
mquinson [Fri, 16 Oct 2009 07:54:18 +0000 (07:54 +0000)]
Integrate patch #8636: Obey DESTDIR when installing documentation (thanks to Robson Peixoto)

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

14 years agoIntroduce a MSG_TIMEOUT_FAILURE return code and use it for communication timeouts...
mquinson [Fri, 16 Oct 2009 07:37:44 +0000 (07:37 +0000)]
Introduce a MSG_TIMEOUT_FAILURE return code and use it for communication timeouts (closes #8563)

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

14 years agoFix #8569: XBT/synchro.h has redundant declarations
mquinson [Fri, 16 Oct 2009 07:37:42 +0000 (07:37 +0000)]
Fix #8569: XBT/synchro.h has redundant declarations

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

14 years agoA script to recompile and rerun the whole chain from platfile+daxfile to actual repla...
mquinson [Thu, 15 Oct 2009 16:26:55 +0000 (16:26 +0000)]
A script to recompile and rerun the whole chain from platfile+daxfile to actual replay on simulator

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

14 years agoA script to generate neat DAX files of fork/joins
mquinson [Thu, 15 Oct 2009 16:26:32 +0000 (16:26 +0000)]
A script to generate neat DAX files of fork/joins

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

14 years agoUse private headers to help debugging
mquinson [Thu, 15 Oct 2009 16:26:30 +0000 (16:26 +0000)]
Use private headers to help debugging

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

14 years agoVarious fixes. Working (in SG) for ForkJoins, but not for Montage.
mquinson [Thu, 15 Oct 2009 16:26:07 +0000 (16:26 +0000)]
Various fixes. Working (in SG) for ForkJoins, but not for Montage.
* Change synchronization scheme for ending: workers send go to master
  instead of having the master calling amok_pm_group_end() right after
  the setup. This killed the workers ways too early.
* make sure that workers do create all mandatory sockets to others
  since dopar threads have real difficulties speaking to the listener
  thread to add new sockets
* instead of having a callback to the go message in the worker which
  does all the work, do explicitely wait for that message and move the
  code in worker's main()

Like I said, there is still a deadlock when trying to replay
Montage_25, but this may related to the fact that this workflow seems
somehow broken. the "cimages.tbl" file, generated by root and consumed
by ID00021@mImgTbl is mangled in the dot output, and thus presumably
also in memory representation. More to come tomorrow.

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

14 years agoconditions are not semaphores. signals can get lost if delivered before you are waiti...
mquinson [Thu, 15 Oct 2009 16:26:05 +0000 (16:26 +0000)]
conditions are not semaphores. signals can get lost if delivered before you are waiting on the cond. So only wait on the condition if the message were not delevered already, and ignore all this cruft in other cases

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

14 years agostart threads only if I have more than 1 element to handle
mquinson [Thu, 15 Oct 2009 16:25:42 +0000 (16:25 +0000)]
start threads only if I have more than 1 element to handle

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

14 years agoRevert the change inducing that GRAS processes keep quiet when leaving on simulator...
mquinson [Thu, 15 Oct 2009 16:25:40 +0000 (16:25 +0000)]
Revert the change inducing that GRAS processes keep quiet when leaving on simulator, since it's helpful sometimes, and since it breaks several tesh files

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

14 years agoplug various memleaks
mquinson [Thu, 15 Oct 2009 16:25:17 +0000 (16:25 +0000)]
plug various memleaks

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

14 years agoMore informative error message
mquinson [Thu, 15 Oct 2009 16:25:15 +0000 (16:25 +0000)]
More informative error message

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

14 years agoDo not call xbt_thread_exit at the end of the dopar worker since this call forcefully...
mquinson [Thu, 15 Oct 2009 16:24:51 +0000 (16:24 +0000)]
Do not call xbt_thread_exit at the end of the dopar worker since this call forcefully kills the process in SG, preventing the wrapper to cleanup around before leaving

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

14 years agounify the log channels for SG and RL implementations of xbt_synchro
mquinson [Thu, 15 Oct 2009 16:24:49 +0000 (16:24 +0000)]
unify the log channels for SG and RL implementations of xbt_synchro

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

14 years agoTry to do all communications in parallel (not quite working)
mquinson [Thu, 15 Oct 2009 11:54:49 +0000 (11:54 +0000)]
Try to do all communications in parallel (not quite working)

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

14 years agoImplement xbt_thread_join and xbt_thread_yield in SG also
mquinson [Thu, 15 Oct 2009 11:54:46 +0000 (11:54 +0000)]
Implement xbt_thread_join and xbt_thread_yield in SG also

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

14 years agoChange the prototype of xbt_thread_create(), sorry.
mquinson [Thu, 15 Oct 2009 11:54:23 +0000 (11:54 +0000)]
Change the prototype of xbt_thread_create(), sorry.

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

14 years agoIgnore (in git) more example binaries
mquinson [Thu, 15 Oct 2009 11:54:18 +0000 (11:54 +0000)]
Ignore (in git) more example binaries

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

14 years agomalloc the expected size (and announce the malloced size)
mquinson [Thu, 15 Oct 2009 11:53:55 +0000 (11:53 +0000)]
malloc the expected size (and announce the malloced size)

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

14 years agoGive a name to the dopar worker threads since logging from them segfault otherwise
mquinson [Thu, 15 Oct 2009 11:53:53 +0000 (11:53 +0000)]
Give a name to the dopar worker threads since logging from them segfault otherwise

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

14 years agodo not create execution action of size 0 since it seems to lock surf down
mquinson [Thu, 15 Oct 2009 11:53:30 +0000 (11:53 +0000)]
do not create execution action of size 0 since it seems to lock surf down

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

14 years agoMake SIMIX_process_yield() public
mquinson [Thu, 15 Oct 2009 11:53:28 +0000 (11:53 +0000)]
Make SIMIX_process_yield() public

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

14 years agoallow to specify tracefilename on cmdline; use workstations in lexical order; return...
mquinson [Thu, 15 Oct 2009 11:53:05 +0000 (11:53 +0000)]
allow to specify tracefilename on cmdline; use workstations in lexical order; return 0 on success

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

14 years agoAdd a note to flatifier to the ChangeLog. That tool is really neat
mquinson [Thu, 15 Oct 2009 11:53:02 +0000 (11:53 +0000)]
Add a note to flatifier to the ChangeLog. That tool is really neat

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

14 years agoMove my favorite test first
mquinson [Wed, 14 Oct 2009 19:14:00 +0000 (19:14 +0000)]
Move my favorite test first

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

14 years agoStart to fix the <cluster> tag (see ChangeLog)
mquinson [Wed, 14 Oct 2009 19:13:53 +0000 (19:13 +0000)]
Start to fix the <cluster> tag (see ChangeLog)

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

14 years agoThis file was written when <route:multi> were not symmetric by default. Specify it now
mquinson [Wed, 14 Oct 2009 19:13:46 +0000 (19:13 +0000)]
This file was written when <route:multi> were not symmetric by default. Specify it now

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

14 years agoSanitize static functions' names; kill unused ones
mquinson [Wed, 14 Oct 2009 19:13:38 +0000 (19:13 +0000)]
Sanitize static functions' names; kill unused ones

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

14 years agoBug fix, corrected jitter works for each linkk separately.
velho [Wed, 14 Oct 2009 18:34:16 +0000 (18:34 +0000)]
Bug fix, corrected jitter works for each linkk separately.

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

14 years agoSanitize a bit the <foreach> handling (cosmetics, no bug fixed so far)
mquinson [Wed, 14 Oct 2009 10:09:31 +0000 (10:09 +0000)]
Sanitize a bit the <foreach> handling (cosmetics, no bug fixed so far)
Do all the work in the starting tag of <host> and <link> instead of
  saving values in starting tag and using them in closing tag.
This allows to:
 - have only one function in the interception mecanism and no global
 - not have to intercept the closing tags and run directly the
   original functions

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

14 years agoMore debug
mquinson [Wed, 14 Oct 2009 10:09:28 +0000 (10:09 +0000)]
More debug

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

14 years agocorrection/verfication of the tesh up to one_link_state_file
suter [Wed, 14 Oct 2009 09:14:51 +0000 (09:14 +0000)]
correction/verfication of the tesh up to one_link_state_file

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

14 years agoKill a 'unused variable' warning when compiling without GTNets
mquinson [Wed, 14 Oct 2009 09:11:46 +0000 (09:11 +0000)]
Kill a 'unused variable' warning when compiling without GTNets

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

14 years agoI really need this to be printed as an int to fit DOT taste. Let's assume that longs...
mquinson [Wed, 14 Oct 2009 09:11:44 +0000 (09:11 +0000)]
I really need this to be printed as an int to fit DOT taste. Let's assume that longs are as long as pointer on any arch

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

14 years agoMake sure it works to compile only one file of the java example directories by adding...
mquinson [Wed, 14 Oct 2009 09:07:09 +0000 (09:07 +0000)]
Make sure it works to compile only one file of the java example directories by adding . to the classpath

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

14 years agoKill a warning in java example: unused variable
mquinson [Wed, 14 Oct 2009 09:06:45 +0000 (09:06 +0000)]
Kill a warning in java example: unused variable

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

14 years agoMake sure this variable is always initialized
mquinson [Wed, 14 Oct 2009 09:06:42 +0000 (09:06 +0000)]
Make sure this variable is always initialized

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

14 years agoFix invalid memory references in SIMIX network.
cristianrosa [Wed, 14 Oct 2009 08:50:58 +0000 (08:50 +0000)]
Fix invalid memory references in SIMIX network.
Fix compilation issues in SimDag on 64bit platforms

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

14 years agoAdded a gtnets_jitter_seed parameter enabling jitted repeatable experiments, activate...
velho [Tue, 13 Oct 2009 15:43:19 +0000 (15:43 +0000)]
Added a gtnets_jitter_seed parameter enabling jitted repeatable experiments, activate with --cfg=gtnets_jitter_seed:<int_number>.

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

14 years agoDisable gtnets jitter by default.
velho [Tue, 13 Oct 2009 15:43:17 +0000 (15:43 +0000)]
Disable gtnets jitter by default.

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

14 years agoAutomatically generated tesh file for the flatifier. Most of the outputs are faulty...
mquinson [Tue, 13 Oct 2009 15:05:18 +0000 (15:05 +0000)]
Automatically generated tesh file for the flatifier. Most of the outputs are faulty and should be manually double-checked

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

14 years agoGRAS replayer partially works. Need a real platform to test it now
mquinson [Tue, 13 Oct 2009 13:53:16 +0000 (13:53 +0000)]
GRAS replayer partially works. Need a real platform to test it now

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

14 years agoMore verbose error messages
mquinson [Tue, 13 Oct 2009 13:53:14 +0000 (13:53 +0000)]
More verbose error messages

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

14 years agoNew function: gras_socket_close_voidp() -- just like gras_socket_close() but acceptin...
mquinson [Tue, 13 Oct 2009 13:52:50 +0000 (13:52 +0000)]
New function: gras_socket_close_voidp() -- just like gras_socket_close() but accepting void* parameters (useful for dynars and dicts of sockets)

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

14 years agoShut gras processes up on simulators
mquinson [Tue, 13 Oct 2009 13:52:48 +0000 (13:52 +0000)]
Shut gras processes up on simulators

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

14 years agoNew function: void gras_cpu_burn(double flops) -- a simple CPU burner
mquinson [Tue, 13 Oct 2009 13:52:25 +0000 (13:52 +0000)]
New function: void gras_cpu_burn(double flops) -- a simple CPU burner

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

14 years agoWhen creating a datatype, make sure we're not trying to redo an already creeated...
mquinson [Tue, 13 Oct 2009 13:52:20 +0000 (13:52 +0000)]
When creating a datatype, make sure we're not trying to redo an already creeated one. The fact that the name is not productible is not important since this function is used to automatically send a structure field which size is given by another field

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

14 years agoFix some memory leaks and invalid read/delete
cristianrosa [Tue, 13 Oct 2009 10:02:28 +0000 (10:02 +0000)]
Fix some memory leaks and invalid read/delete

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

14 years agoImproved and tested docummentation.
velho [Fri, 9 Oct 2009 11:12:51 +0000 (11:12 +0000)]
Improved and tested docummentation.

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

14 years agoStart working on a trace replayer in GRAS (to replay it on real platforms)
mquinson [Thu, 8 Oct 2009 14:47:45 +0000 (14:47 +0000)]
Start working on a trace replayer in GRAS (to replay it on real platforms)

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

14 years agoAdd a header to that file
mquinson [Thu, 8 Oct 2009 14:47:21 +0000 (14:47 +0000)]
Add a header to that file

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

14 years agoNew function: xbt_dynar_dopar(dynar,fun)
mquinson [Thu, 8 Oct 2009 14:47:18 +0000 (14:47 +0000)]
New function: xbt_dynar_dopar(dynar,fun)
maps a function over the dynar with one separate thread per value of the dynar.

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

14 years agomove synchro.h to synchro_core.h because I want to use synchor primitives using dynar...
mquinson [Thu, 8 Oct 2009 14:46:54 +0000 (14:46 +0000)]
move synchro.h to synchro_core.h because I want to use synchor primitives using dynars. Since dynar.h loads synchro_core.h, I need to split it in two parts to avoid loops in header loading

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

14 years agoplug a memleak
mquinson [Thu, 8 Oct 2009 14:46:52 +0000 (14:46 +0000)]
plug a memleak

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

14 years agowrite the produced trace into an external file; schedule on every machine provided
mquinson [Thu, 8 Oct 2009 14:46:44 +0000 (14:46 +0000)]
write the produced trace into an external file; schedule on every machine provided

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

14 years agoCorrected jitter, now oscillates between [-lat*jitter,+lat*jitter), mean is granted...
velho [Thu, 8 Oct 2009 08:01:25 +0000 (08:01 +0000)]
Corrected jitter, now oscillates between [-lat*jitter,+lat*jitter), mean is granted by the uniform distribution.

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

14 years agoBug fix in GTNets docummentation.
velho [Thu, 8 Oct 2009 07:50:50 +0000 (07:50 +0000)]
Bug fix in GTNets docummentation.

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

14 years agoAdded a jitter functionallity to GTNets model, latency is increased by a random numbe...
velho [Thu, 8 Oct 2009 07:50:45 +0000 (07:50 +0000)]
Added a jitter functionallity to GTNets model, latency is increased by a random number in [0,latency*jitter).

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

14 years agoFactorized better debugging output.
velho [Thu, 8 Oct 2009 07:50:37 +0000 (07:50 +0000)]
Factorized better debugging output.

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

14 years agoBug fix, surf_routing needs love.
velho [Wed, 7 Oct 2009 14:50:12 +0000 (14:50 +0000)]
Bug fix, surf_routing needs love.

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

14 years agoFixed bug introduced by the update of the two last extern papers.
velho [Wed, 7 Oct 2009 14:22:57 +0000 (14:22 +0000)]
Fixed bug introduced by the update of the two last extern papers.

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

14 years agoImproved GTNetS howto, spell checked everything.
velho [Wed, 7 Oct 2009 14:22:55 +0000 (14:22 +0000)]
Improved GTNetS howto, spell checked everything.

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

14 years agobugfixes to make the dax loader and typed task scheduler work
mquinson [Wed, 7 Oct 2009 10:06:13 +0000 (10:06 +0000)]
bugfixes to make the dax loader and typed task scheduler work

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

14 years agoUpdate the start_time and finish_time of tasks on completion/failure
mquinson [Wed, 7 Oct 2009 10:06:10 +0000 (10:06 +0000)]
Update the start_time and finish_time of tasks on completion/failure

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

14 years agoAutomatically schedule E2E comms placed before and after sequential computations...
mquinson [Tue, 6 Oct 2009 21:22:35 +0000 (21:22 +0000)]
Automatically schedule E2E comms placed before and after sequential computations when the latter get scheduled

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

14 years agoSimplify the code of typed tasks in simdag by allocating the comm_ and comp_amount...
mquinson [Tue, 6 Oct 2009 21:22:29 +0000 (21:22 +0000)]
Simplify the code of typed tasks in simdag by allocating the comm_ and comp_amount at task creation and prefill it. Factorize a lot of code

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

14 years agoDump dotty info for verification
mquinson [Tue, 6 Oct 2009 16:59:41 +0000 (16:59 +0000)]
Dump dotty info for verification

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

14 years agonew function SD_task_dotty(task,FILE*) writing to file the info about the task in...
mquinson [Tue, 6 Oct 2009 16:59:15 +0000 (16:59 +0000)]
new function SD_task_dotty(task,FILE*) writing to file the info about the task in dotty format

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

14 years agoDAX loader seem to be working
mquinson [Tue, 6 Oct 2009 16:59:11 +0000 (16:59 +0000)]
DAX loader seem to be working

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

14 years agoalso display the kind of a task if known from SD_task_dump()
mquinson [Tue, 6 Oct 2009 16:58:46 +0000 (16:58 +0000)]
also display the kind of a task if known from SD_task_dump()

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

14 years agosome more work on dax loader
mquinson [Tue, 6 Oct 2009 16:58:42 +0000 (16:58 +0000)]
some more work on dax loader

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

14 years agoAdd various getters to task structure:
mquinson [Tue, 6 Oct 2009 16:58:17 +0000 (16:58 +0000)]
Add various getters to task structure:
 * list of preceding/following tasks:
    SD_task_get_parents(task) and SD_task_get_children(task)
 * amount of workstations and list:

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

14 years agoIntroduce typed tasks in SimDag
mquinson [Tue, 6 Oct 2009 16:58:13 +0000 (16:58 +0000)]
Introduce typed tasks in SimDag
- Specify its kind and cost at creation.
- At scheduling, just give where it should be placed, and the cost for
  each involved resource is automatically computed.
- Existing constructors so far (more to come of course):
  - SD_task_create_comm_e2e() for end-to-end communication
  - SD_task_create_comp_seq() for sequential computation
- Use SD_task_schedulev() / SD_task_schedulel() to schedule them.

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

14 years agomore comments to explain the structure
mquinson [Tue, 6 Oct 2009 16:57:47 +0000 (16:57 +0000)]
more comments to explain the structure

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

14 years agoSD_task_dependency_exists() can now cope with having one of its arguments NULL.
mquinson [Tue, 6 Oct 2009 16:57:43 +0000 (16:57 +0000)]
SD_task_dependency_exists() can now cope with having one of its arguments NULL.
If so, it tests whether the other argument has /any/ dependency.

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

14 years agoignore more generated files in git
mquinson [Tue, 6 Oct 2009 16:57:18 +0000 (16:57 +0000)]
ignore more generated files in git

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

14 years agoMake the empty box of DAX parsing work (still empty, but don't choke on valid input
mquinson [Tue, 6 Oct 2009 16:57:14 +0000 (16:57 +0000)]
Make the empty box of DAX parsing work (still empty, but don't choke on valid input

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

14 years agoNew dax loader infrastructure (empty box so far)
mquinson [Tue, 6 Oct 2009 16:56:48 +0000 (16:56 +0000)]
New dax loader infrastructure (empty box so far)

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

14 years agokill cruft that I introduced while merging routing code from Anvers
mquinson [Tue, 6 Oct 2009 16:56:43 +0000 (16:56 +0000)]
kill cruft that I introduced while merging routing code from Anvers

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