Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
12 years agooops, this should have been in a previous commit (a4f777f30924d7890b9e1da29f9d1a63703...
Martin Quinson [Thu, 3 Nov 2011 13:36:22 +0000 (14:36 +0100)]
oops, this should have been in a previous commit (a4f777f30924d7890b9e1da29f9d1a637035531b)

12 years agostop messing with the surf internals from the test suite, so that these internals...
Martin Quinson [Thu, 3 Nov 2011 13:06:46 +0000 (14:06 +0100)]
stop messing with the surf internals from the test suite, so that these internals can be modified

12 years agoFix the mallocator of SimDag tasks.
Christophe Thiéry [Thu, 3 Nov 2011 11:06:01 +0000 (12:06 +0100)]
Fix the mallocator of SimDag tasks.

Tasks were uninitialized too late (and with duplicated code), in
SD_task_recycle_f() and SD_task_free_f(). The uninitialization code
is now back in SD_task_destroy().
This fixes simdag-minmin-test.

12 years agoxbt_swag_foreach_safe is actually needed here.
Christophe Thiéry [Thu, 3 Nov 2011 10:14:52 +0000 (11:14 +0100)]
xbt_swag_foreach_safe is actually needed here.

This fixes tests tesh-simdag-basic6 and simdag-minmin-test.

12 years agoNobody cares about this argument since maybe 4 years (when we managed to parse the...
Martin Quinson [Thu, 3 Nov 2011 09:47:00 +0000 (10:47 +0100)]
Nobody cares about this argument since maybe 4 years (when we managed to parse the platf in one pass only), so kill the extra complexity

12 years agofinish to kill a unused function
Martin Quinson [Wed, 2 Nov 2011 22:16:58 +0000 (23:16 +0100)]
finish to kill a unused function

12 years agokeep_track should be set only when lmm_solve is called from network_im
Christophe Thiéry [Thu, 3 Nov 2011 09:53:00 +0000 (10:53 +0100)]
keep_track should be set only when lmm_solve is called from network_im

12 years agoMake xbt_swag_insert_at_head/tail uniform and check an error
Christophe Thiéry [Thu, 3 Nov 2011 09:18:51 +0000 (10:18 +0100)]
Make xbt_swag_insert_at_head/tail uniform and check an error

12 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 2 Nov 2011 20:50:14 +0000 (21:50 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

12 years agoimprove the documentation of the parser (getting used to that code before using my...
Martin Quinson [Wed, 2 Nov 2011 20:06:37 +0000 (21:06 +0100)]
improve the documentation of the parser (getting used to that code before using my haxe)

12 years agoOptimize swags and save calls from Surf
Christophe Thiéry [Wed, 2 Nov 2011 18:46:35 +0000 (19:46 +0100)]
Optimize swags and save calls from Surf

12 years agoThis constant may be too large for type long
Christophe Thiéry [Wed, 2 Nov 2011 14:51:23 +0000 (15:51 +0100)]
This constant may be too large for type long

12 years agoThis useless test makes a warning when assertions are disabled
Christophe Thiéry [Wed, 2 Nov 2011 14:17:43 +0000 (15:17 +0100)]
This useless test makes a warning when assertions are disabled

12 years agoFix gcc 4.6 warnings about clobbered variables with optimizations
Christophe Thiéry [Wed, 2 Nov 2011 14:17:12 +0000 (15:17 +0100)]
Fix gcc 4.6 warnings about clobbered variables with optimizations

12 years agoImplement direct context switching also for raw contexts
Christophe Thiéry [Wed, 2 Nov 2011 13:46:15 +0000 (14:46 +0100)]
Implement direct context switching also for raw contexts

12 years agoThe impossible might be possible sometimes, actually
Christophe Thiéry [Wed, 2 Nov 2011 12:36:10 +0000 (13:36 +0100)]
The impossible might be possible sometimes, actually

12 years agoDirect context switching: clean the semantics of parmap
Christophe Thiéry [Wed, 2 Nov 2011 11:10:40 +0000 (12:10 +0100)]
Direct context switching: clean the semantics of parmap

12 years agoSwitch directly between runnable contextes (work in progress)
Christophe Thiéry [Wed, 2 Nov 2011 08:52:01 +0000 (09:52 +0100)]
Switch directly between runnable contextes (work in progress)

12 years agotypos
Martin Quinson [Wed, 2 Nov 2011 00:36:43 +0000 (01:36 +0100)]
typos

12 years agocosmetics
Martin Quinson [Wed, 2 Nov 2011 00:16:09 +0000 (01:16 +0100)]
cosmetics

12 years agoregenerate with flexml 1.9.1 (integrate small changes from the debian package)
Martin Quinson [Tue, 1 Nov 2011 18:16:19 +0000 (19:16 +0100)]
regenerate with flexml 1.9.1 (integrate small changes from the debian package)

12 years agouseless simplification
Martin Quinson [Tue, 1 Nov 2011 18:15:30 +0000 (19:15 +0100)]
useless simplification

12 years agodo build and install the manpages
Martin Quinson [Tue, 1 Nov 2011 18:15:10 +0000 (19:15 +0100)]
do build and install the manpages

12 years agoRegenerate with flexml 1.9 (robust against multiple definitions of attributes)
Martin Quinson [Sun, 30 Oct 2011 18:47:52 +0000 (19:47 +0100)]
Regenerate with flexml 1.9 (robust against multiple definitions of attributes)

12 years agosimplification by removing a useless level of call
Martin Quinson [Fri, 28 Oct 2011 16:24:37 +0000 (18:24 +0200)]
simplification by removing a useless level of call

12 years agoshut up you stupid gcc46
Martin Quinson [Fri, 28 Oct 2011 15:37:26 +0000 (17:37 +0200)]
shut up you stupid gcc46

12 years agoreduce greatly the size of the static string for logs. According to Christophe, this...
Martin Quinson [Fri, 28 Oct 2011 15:26:39 +0000 (17:26 +0200)]
reduce greatly the size of the static string for logs. According to Christophe, this can lead to a 10% speedup. Thanks to agier for the fix that made it possible

12 years agomark as volatile variables that are used within TRY/CATCH blocks, or gcc46 will compl...
Martin Quinson [Fri, 28 Oct 2011 14:41:26 +0000 (16:41 +0200)]
mark as volatile variables that are used within TRY/CATCH blocks, or gcc46 will complain about possible clobbering

12 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 28 Oct 2011 14:22:58 +0000 (16:22 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

12 years agoIn xbt_log_layout_simple_doit, add missing calls to check_overflow.
Arnaud Giersch [Tue, 25 Oct 2011 20:56:57 +0000 (22:56 +0200)]
In xbt_log_layout_simple_doit, add missing calls to check_overflow.

Also keep room for the final '\0'.

12 years agocosmetics/tiny computation saving
Martin Quinson [Fri, 28 Oct 2011 14:05:34 +0000 (16:05 +0200)]
cosmetics/tiny computation saving

12 years agovalgrind.h causes a "variable unused but set" warning in gcc 4.6
Christophe Thiéry [Fri, 28 Oct 2011 10:11:38 +0000 (12:11 +0200)]
valgrind.h causes a "variable unused but set" warning in gcc 4.6

12 years agoDon't memset to zero
Christophe Thiéry [Fri, 28 Oct 2011 10:11:00 +0000 (12:11 +0200)]
Don't memset to zero

12 years agoWith optimizations, gcc 4.6 warns about clobbered variables
Christophe Thiéry [Fri, 28 Oct 2011 08:58:55 +0000 (10:58 +0200)]
With optimizations, gcc 4.6 warns about clobbered variables

12 years agomemset with a size of 0 is forbidden
Christophe Thiéry [Fri, 28 Oct 2011 08:57:54 +0000 (10:57 +0200)]
memset with a size of 0 is forbidden

12 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
Christophe Thiéry [Thu, 27 Oct 2011 17:18:48 +0000 (19:18 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid

12 years agoMake suspending/resuming a suspended/non-suspended process a no-op
Christophe Thiéry [Thu, 27 Oct 2011 17:15:56 +0000 (19:15 +0200)]
Make suspending/resuming a suspended/non-suspended process a no-op

12 years agoFix cluster without backbone.
Navarrop [Thu, 27 Oct 2011 12:08:41 +0000 (14:08 +0200)]
Fix cluster without backbone.

12 years agoAdd the include into EXTRA DIST package.
Navarrop [Wed, 26 Oct 2011 14:36:46 +0000 (16:36 +0200)]
Add the include into EXTRA DIST package.

12 years agoEnsure windows combatibility.
Navarrop [Wed, 26 Oct 2011 14:26:03 +0000 (16:26 +0200)]
Ensure windows combatibility.
s_host is already an used variable.

12 years agoWe must use those two libraries for ns3 when using ns3 3.12
Navarrop [Wed, 26 Oct 2011 13:12:40 +0000 (15:12 +0200)]
We must use those two libraries for ns3 when using ns3 3.12

12 years agoRewrite the way to do the parsing for host,cluster,peer,router and link.
Navarrop [Wed, 26 Oct 2011 12:50:44 +0000 (14:50 +0200)]
Rewrite the way to do the parsing for host,cluster,peer,router and link.

12 years agoDo the parsing one time and not more.
Navarrop [Mon, 24 Oct 2011 12:24:10 +0000 (14:24 +0200)]
Do the parsing one time and not more.

12 years agoFix path in tesh file.
Arnaud Giersch [Tue, 25 Oct 2011 07:04:17 +0000 (09:04 +0200)]
Fix path in tesh file.

12 years agoTry to fix generate_memcheck.pl.
Arnaud Giersch [Fri, 21 Oct 2011 12:29:42 +0000 (14:29 +0200)]
Try to fix generate_memcheck.pl.

- improve detection of tesh-based tests
- improve variable substitutions
- don't mix up bindir and srcdir
- don't produce absolute paths
- don't miss options like --cfg when they appear several times

Also regenerate memcheck_tests.cmake.

12 years agoReindent generate_memcheck_tests.pl.
Arnaud Giersch [Fri, 21 Oct 2011 11:59:40 +0000 (13:59 +0200)]
Reindent generate_memcheck_tests.pl.

Done with perltidy.

12 years agoFix build failure when tracing is disabled.
Arnaud Giersch [Fri, 21 Oct 2011 09:34:10 +0000 (11:34 +0200)]
Fix build failure when tracing is disabled.

An include was missing.

12 years agoYou can now specify if you want sleep to see memory usage.
Navarrop [Fri, 21 Oct 2011 11:07:27 +0000 (13:07 +0200)]
You can now specify if you want sleep to see memory usage.

12 years agoOptimize bprintf during cluster loop.
Navarrop [Fri, 21 Oct 2011 10:32:56 +0000 (12:32 +0200)]
Optimize bprintf during cluster loop.

12 years agoAdd optimization flag with gcc46.
Navarrop [Fri, 21 Oct 2011 10:32:35 +0000 (12:32 +0200)]
Add optimization flag with gcc46.

12 years agouse more consistently the resource create of models, killing some useless/borken...
Martin Quinson [Thu, 20 Oct 2011 14:17:35 +0000 (16:17 +0200)]
use more consistently the resource create of models, killing some useless/borken forwarder methods

12 years agosave some useless strdups
Martin Quinson [Thu, 20 Oct 2011 14:15:56 +0000 (16:15 +0200)]
save some useless strdups

12 years agoreduce the amount of damn paranoid checks in simdag. Valgrind is here to report the...
Martin Quinson [Thu, 20 Oct 2011 13:20:32 +0000 (15:20 +0200)]
reduce the amount of damn paranoid checks in simdag. Valgrind is here to report the errors, nowadays

12 years agoFix memoryleak.
Navarrop [Thu, 20 Oct 2011 12:42:56 +0000 (14:42 +0200)]
Fix memoryleak.

12 years agoNeed to set state_file and availability file into the loop.
Navarrop [Thu, 20 Oct 2011 12:42:33 +0000 (14:42 +0200)]
Need to set state_file and availability file into the loop.

12 years agoThere is no contexts in SimDag
Christophe Thiéry [Thu, 20 Oct 2011 12:02:25 +0000 (14:02 +0200)]
There is no contexts in SimDag

12 years agoRewrite perl script for optorsim
Navarrop [Thu, 20 Oct 2011 11:22:19 +0000 (13:22 +0200)]
Rewrite perl script for optorsim

12 years agoUpdate include tag.
Navarrop [Thu, 20 Oct 2011 11:21:56 +0000 (13:21 +0200)]
Update include tag.

12 years agoMove arguments outside of the loop of hosts.
Navarrop [Thu, 20 Oct 2011 11:21:18 +0000 (13:21 +0200)]
Move arguments outside of the loop of hosts.

12 years agoRemove unused and old function.
Navarrop [Thu, 20 Oct 2011 09:14:17 +0000 (11:14 +0200)]
Remove unused and old function.

12 years agoRemove supernovae mode for SimGrid v3.7
Navarrop [Thu, 20 Oct 2011 09:11:25 +0000 (11:11 +0200)]
Remove supernovae mode for SimGrid v3.7

12 years agoTest the help command.
Navarrop [Thu, 20 Oct 2011 09:10:23 +0000 (11:10 +0200)]
Test the help command.

12 years agoUpdate tag include
Navarrop [Mon, 17 Oct 2011 15:35:37 +0000 (17:35 +0200)]
Update tag include

12 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 20 Oct 2011 11:26:50 +0000 (13:26 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

12 years agosetup a mallocator for the simdag tasks. The gain is quite disapointing, but not...
Martin Quinson [Thu, 20 Oct 2011 11:26:28 +0000 (13:26 +0200)]
setup a mallocator for the simdag tasks. The gain is quite disapointing, but not null

12 years agomemory cleanups
Martin Quinson [Thu, 20 Oct 2011 11:24:15 +0000 (13:24 +0200)]
memory cleanups

12 years agos/GRAS_STUB_GENERATOR/SIMGRID_LUA/ to actually match file name.
Arnaud Giersch [Tue, 18 Oct 2011 07:41:02 +0000 (09:41 +0200)]
s/GRAS_STUB_GENERATOR/SIMGRID_LUA/ to actually match file name.

12 years agoGuard against multiple inclusion.
Arnaud Giersch [Tue, 18 Oct 2011 07:40:24 +0000 (09:40 +0200)]
Guard against multiple inclusion.

12 years agoFix race condition with gras-mmrpc test.
Arnaud Giersch [Fri, 14 Oct 2011 11:38:25 +0000 (13:38 +0200)]
Fix race condition with gras-mmrpc test.

Register messages before opening the sockets, to avoid to receive
unknown messages.

12 years agoFiglet for 3.7 was incomplete.
Arnaud Giersch [Tue, 11 Oct 2011 11:17:40 +0000 (13:17 +0200)]
Figlet for 3.7 was incomplete.

Also do some whitespace cleanup (and save up to 247 bytes!).

12 years agotesh: add tests with empty output.
Arnaud Giersch [Thu, 20 Oct 2011 09:21:18 +0000 (11:21 +0200)]
tesh: add tests with empty output.

12 years agotesh: do not fail on empty output, when sorting is enabled.
Arnaud Giersch [Thu, 20 Oct 2011 09:20:58 +0000 (11:20 +0200)]
tesh: do not fail on empty output, when sorting is enabled.

12 years agoMerge stuff again. Damn, I should pull before changing stuff
Martin Quinson [Thu, 20 Oct 2011 08:27:04 +0000 (10:27 +0200)]
Merge stuff again. Damn, I should pull before changing stuff

12 years agomerge branches
Martin Quinson [Thu, 20 Oct 2011 08:25:30 +0000 (10:25 +0200)]
merge branches

12 years agouse a user level mallocator on the task content
Martin Quinson [Thu, 20 Oct 2011 08:19:18 +0000 (10:19 +0200)]
use a user level mallocator on the task content

12 years agoenlarge my cluster once again
Martin Quinson [Thu, 20 Oct 2011 08:17:59 +0000 (10:17 +0200)]
enlarge my cluster once again

12 years agoPerformance boost by using a swag internally in SD_simulate
Martin Quinson [Thu, 20 Oct 2011 08:11:44 +0000 (10:11 +0200)]
Performance boost by using a swag internally in SD_simulate

12 years agoUse the partial invalidation optimization by default for the network too
Martin Quinson [Thu, 20 Oct 2011 07:47:59 +0000 (09:47 +0200)]
Use the partial invalidation optimization by default for the network too

12 years agoThis memory leak fix did not work with complex simulations.
Christophe Thiéry [Thu, 20 Oct 2011 06:39:27 +0000 (08:39 +0200)]
This memory leak fix did not work with complex simulations.

12 years agoSIMIX_CANCELED is a more adapted state in SIMIX_comm_cancel()
Christophe Thiéry [Thu, 20 Oct 2011 06:39:03 +0000 (08:39 +0200)]
SIMIX_CANCELED is a more adapted state in SIMIX_comm_cancel()

12 years agorestore some stuff that got killed from the gitignore during some sort of cleanup
Martin Quinson [Wed, 19 Oct 2011 19:48:16 +0000 (21:48 +0200)]
restore some stuff that got killed from the gitignore during some sort of cleanup

12 years agoenlarge my cluster
Martin Quinson [Wed, 19 Oct 2011 19:47:44 +0000 (21:47 +0200)]
enlarge my cluster

12 years agofirst prealpha not working prototype (please public keep away) version of what could...
Martin Quinson [Wed, 19 Oct 2011 19:47:23 +0000 (21:47 +0200)]
first prealpha not working prototype (please public keep away) version of what could be a GOAL loader using simdag

12 years agotypo--
Martin Quinson [Wed, 19 Oct 2011 19:43:59 +0000 (21:43 +0200)]
typo--

12 years agoAdd example to kill a process.
Navarrop [Mon, 17 Oct 2011 13:59:15 +0000 (15:59 +0200)]
Add example to kill a process.

12 years agoTimings have changed: comms cannot continue when a process is dead
Christophe Thiéry [Fri, 14 Oct 2011 15:57:31 +0000 (17:57 +0200)]
Timings have changed: comms cannot continue when a process is dead

12 years agoNow that processes are terminated cleanly, this recv can fail
Christophe Thiéry [Fri, 14 Oct 2011 15:54:51 +0000 (17:54 +0200)]
Now that processes are terminated cleanly, this recv can fail

12 years agoIn case of failures, a process may become runnable without time step
Christophe Thiéry [Fri, 14 Oct 2011 15:46:45 +0000 (17:46 +0200)]
In case of failures, a process may become runnable without time step

Since commit e5922b4 (clean unfinished comms when terminating a process),
the test msg-actions was failing on a deadlock instead of waking up
the last process (who can terminate normally after a failed recv).

12 years agoImprove debug messages
Christophe Thiéry [Fri, 14 Oct 2011 15:46:08 +0000 (17:46 +0200)]
Improve debug messages

12 years agoRevalidate Chord tesh output (the end of the simulation is clean now)
Christophe Thiéry [Fri, 14 Oct 2011 15:09:29 +0000 (17:09 +0200)]
Revalidate Chord tesh output (the end of the simulation is clean now)

12 years agoMake cancelling a non-running task a no-op
Christophe Thiéry [Fri, 14 Oct 2011 15:09:00 +0000 (17:09 +0200)]
Make cancelling a non-running task a no-op

12 years agoFix remaining memory leaks in MSG
Christophe Thiéry [Fri, 14 Oct 2011 15:04:28 +0000 (17:04 +0200)]
Fix remaining memory leaks in MSG

12 years agoSimix: clean unfinished comms when terminating a process
Christophe Thiéry [Fri, 14 Oct 2011 13:38:20 +0000 (15:38 +0200)]
Simix: clean unfinished comms when terminating a process

12 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
Christophe Thiéry [Thu, 13 Oct 2011 15:44:57 +0000 (17:44 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid

12 years agoFighting more memory leaks in Chord
Christophe Thiéry [Thu, 13 Oct 2011 14:45:05 +0000 (16:45 +0200)]
Fighting more memory leaks in Chord

12 years ago[trace] fix tesh'es to follow recent changes in the paje header
Lucas Schnorr [Thu, 13 Oct 2011 13:21:59 +0000 (15:21 +0200)]
[trace] fix tesh'es to follow recent changes in the paje header

12 years agoReorganize platforms for optorsim.
Navarrop [Thu, 13 Oct 2011 13:14:29 +0000 (15:14 +0200)]
Reorganize platforms for optorsim.
Add scripts into the right directory.

12 years agoFix a memory leak in chord
Christophe Thiéry [Thu, 13 Oct 2011 13:05:35 +0000 (15:05 +0200)]
Fix a memory leak in chord

12 years agoUpdate index.doc to have the right references to url.
Navarrop [Thu, 13 Oct 2011 13:00:08 +0000 (15:00 +0200)]
Update index.doc to have the right references to url.

12 years agoAdd host core to "1.0" for tag peer.
Navarrop [Thu, 13 Oct 2011 12:59:21 +0000 (14:59 +0200)]
Add host core to "1.0" for tag peer.