Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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
   value
 - 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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:
    SD_task_get_workstation_count(task)
    SD_task_get_workstation_list(task)

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoSometimes, we ignore a parameter to stick to a common interface
mquinson [Tue, 6 Oct 2009 16:54:49 +0000 (16:54 +0000)]
Sometimes, we ignore a parameter to stick to a common interface

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

10 years agoNew checked version of GTNetS integration.
velho [Tue, 6 Oct 2009 12:46:25 +0000 (12:46 +0000)]
New checked version of GTNetS integration.

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

10 years agoCompletely rewritten surf/gtnets_network.c model to cople with new routing approach.
velho [Tue, 6 Oct 2009 12:46:01 +0000 (12:46 +0000)]
Completely rewritten surf/gtnets_network.c model to cople with new routing approach.

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

10 years agoImprove the generic routing for different network models, including GTNetS.
velho [Tue, 6 Oct 2009 12:45:59 +0000 (12:45 +0000)]
Improve the generic routing for different network models, including GTNetS.

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

10 years agoUsing an uniform platform to illustrate better model sharing approach.
velho [Tue, 6 Oct 2009 12:45:36 +0000 (12:45 +0000)]
Using an uniform platform to illustrate better model sharing approach.

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

10 years agoCorrected bug on router/host mapping.
velho [Tue, 6 Oct 2009 12:45:34 +0000 (12:45 +0000)]
Corrected bug on router/host mapping.

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

10 years agoCommit stollen from Arnaud personal git repository.
velho [Tue, 6 Oct 2009 12:45:11 +0000 (12:45 +0000)]
Commit stollen from Arnaud personal git repository.

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

10 years agoRevert "Fixed full routing support for routers, no routing complexity is added router...
velho [Tue, 6 Oct 2009 12:45:10 +0000 (12:45 +0000)]
Revert "Fixed full routing support for routers, no routing complexity is added routers are used as hosts."

This reverts commit 7e2b05b2e2ec6a745966f800121782a684166f6f.

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

10 years agoFix some conflicts with modifications introduced in the svn branch
cristianrosa [Mon, 5 Oct 2009 15:41:53 +0000 (15:41 +0000)]
Fix some conflicts with modifications introduced in the svn branch

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

10 years agoFix copyright headers in simdag
mquinson [Mon, 5 Oct 2009 13:54:48 +0000 (13:54 +0000)]
Fix copyright headers in simdag

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

10 years agoDocument Pedro's changes, and cosmetics
mquinson [Mon, 5 Oct 2009 13:49:52 +0000 (13:49 +0000)]
Document Pedro's changes, and cosmetics

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

10 years agoRevalidating some GRAS tests for 64bit architectures
mquinson [Mon, 5 Oct 2009 12:28:36 +0000 (12:28 +0000)]
Revalidating some GRAS tests for 64bit architectures
Update ChangeLog

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

10 years agoBetter organization of header files
mquinson [Mon, 5 Oct 2009 12:28:13 +0000 (12:28 +0000)]
Better organization of header files

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

10 years agoImproved code documentation for SIMIX network.
mquinson [Mon, 5 Oct 2009 12:28:11 +0000 (12:28 +0000)]
Improved code documentation for SIMIX network.

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

10 years ago[Cristian] Lots and lots of small fixes to MSG to work on top of SMX net keeping...
mquinson [Mon, 5 Oct 2009 12:27:48 +0000 (12:27 +0000)]
[Cristian] Lots and lots of small fixes to MSG to work on top of SMX net keeping the old semantic

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

10 years agoImprovements to the MSG port on top of SIMIX network. All MSG tests pass now.
mquinson [Mon, 5 Oct 2009 12:27:45 +0000 (12:27 +0000)]
Improvements to the MSG port on top of SIMIX network. All MSG tests pass now.
This commit breaks the implementation of MSG_get_task_from_host, and
is going to be removed from the MSG API.
Clean-ups in the SIMIX networking code.

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

10 years agoCorrections to the code that handles the errors in the comms in SMX network [Cristian]
mquinson [Mon, 5 Oct 2009 12:27:21 +0000 (12:27 +0000)]
Corrections to the code that handles the errors in the comms in SMX network [Cristian]

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

10 years agoAdded debug information to SIMIX network.
mquinson [Mon, 5 Oct 2009 12:27:19 +0000 (12:27 +0000)]
Added debug information to SIMIX network.
Fixes to the new networking code.
Polish to the port of MSG on top of SIMIX network

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

10 years agoIncomplete port of MSG on top of SIMIX_network [Cristian]
mquinson [Mon, 5 Oct 2009 12:26:55 +0000 (12:26 +0000)]
Incomplete port of MSG on top of SIMIX_network [Cristian]

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

10 years agoCorrections and improvements to the new network implementation for SIMIX
mquinson [Mon, 5 Oct 2009 12:26:52 +0000 (12:26 +0000)]
Corrections and improvements to the new network implementation for SIMIX

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

10 years agoCleanup network prototype
mquinson [Mon, 5 Oct 2009 12:26:29 +0000 (12:26 +0000)]
Cleanup network prototype

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