Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
11 years agoMerge ../simgrid
shenshei [Fri, 30 Nov 2012 14:09:01 +0000 (15:09 +0100)]
Merge ../simgrid

11 years agoNew simcalls work
shenshei [Fri, 30 Nov 2012 14:07:38 +0000 (15:07 +0100)]
New simcalls work

11 years agochainsend: fix compilation errors
Maximiliano Geier [Fri, 30 Nov 2012 10:30:58 +0000 (11:30 +0100)]
chainsend: fix compilation errors

Signed-off-by: Maximiliano Geier <maximiliano.geier@loria.fr>
11 years agochainsend: change message sizes to more realistic values, avoid passing too many...
Maximiliano Geier [Fri, 30 Nov 2012 10:11:05 +0000 (11:11 +0100)]
chainsend: change message sizes to more realistic values, avoid passing too many parameters around, use MSG_task_isend in broadcaster instead of send

Signed-off-by: Maximiliano Geier <maximiliano.geier@loria.fr>
11 years agoforgot to add this file thus breaking the smpi_replay test
suter [Fri, 30 Nov 2012 08:00:11 +0000 (09:00 +0100)]
forgot to add this file thus breaking the smpi_replay test

11 years agorm this file, generated now
suter [Thu, 29 Nov 2012 16:13:40 +0000 (17:13 +0100)]
rm this file, generated now

11 years agoadd 2 more test for smpi replay: barrier and some Isend/Irecv
suter [Thu, 29 Nov 2012 16:13:10 +0000 (17:13 +0100)]
add 2 more test for smpi replay: barrier and some Isend/Irecv

11 years agoprinting the final simulation time also has to be done by the last
suter [Thu, 29 Nov 2012 16:06:50 +0000 (17:06 +0100)]
printing the final simulation time also has to be done by the last
process to finish.
smpi_process_finalize/destroy already called by PMPI_finalize (remove)
use my own global to count the number of active processes (to not mess
with process_count)

11 years agoassuming that rank 0 is the last to finish is a bad idea. the last
suter [Thu, 29 Nov 2012 15:40:26 +0000 (16:40 +0100)]
assuming that rank 0 is the last to finish is a bad idea. the last
process to die has to free the dicts.

11 years agothe comm_size action is useless now
suter [Thu, 29 Nov 2012 15:34:05 +0000 (16:34 +0100)]
the comm_size action is useless now

11 years agogenerate the one_trace file for each test (will allow me to test several
suter [Thu, 29 Nov 2012 15:27:09 +0000 (16:27 +0100)]
generate the one_trace file for each test (will allow me to test several
basic traces with a single temporary file)

11 years agoEnable memcheck for smpi tests too.
Arnaud Giersch [Thu, 29 Nov 2012 13:37:37 +0000 (14:37 +0100)]
Enable memcheck for smpi tests too.

Tests from teshsuite/smpi/mpich-test/ are however still excluded, since
they are run through intricate scripts.

Also exclude smpi-replay, since it's too memory hungry.

11 years agoMake valgrind skip commands from /usr/bin/ and /bin/.
Arnaud Giersch [Thu, 29 Nov 2012 13:37:22 +0000 (14:37 +0100)]
Make valgrind skip commands from /usr/bin/ and /bin/.

11 years agoCosmetics: test ucontexts before raw contexts.
Arnaud Giersch [Thu, 29 Nov 2012 14:18:38 +0000 (15:18 +0100)]
Cosmetics: test ucontexts before raw contexts.

11 years agoAdd missing guards.
Arnaud Giersch [Thu, 29 Nov 2012 14:17:46 +0000 (15:17 +0100)]
Add missing guards.

11 years agoremove some leaks by calling SD_exit() before dying
suter [Thu, 29 Nov 2012 13:24:09 +0000 (14:24 +0100)]
remove some leaks by calling SD_exit() before dying

11 years agoclean stuff even when the scheduled is not good
suter [Thu, 29 Nov 2012 12:35:48 +0000 (13:35 +0100)]
clean stuff even when the scheduled is not good

11 years agoFix printf statements.
Arnaud Giersch [Wed, 28 Nov 2012 22:40:35 +0000 (23:40 +0100)]
Fix printf statements.

11 years agoRename file, and make test smpi-mpich-pt2pt-raw succeed.
Arnaud Giersch [Wed, 28 Nov 2012 21:39:53 +0000 (22:39 +0100)]
Rename file, and make test smpi-mpich-pt2pt-raw succeed.

11 years agoAdd a few thoughts in README.coding, and correct typos.
Arnaud Giersch [Wed, 28 Nov 2012 20:34:51 +0000 (21:34 +0100)]
Add a few thoughts in README.coding, and correct typos.

11 years agoWe have status, return its value.
Arnaud Giersch [Wed, 28 Nov 2012 17:22:19 +0000 (18:22 +0100)]
We have status, return its value.

11 years agoDefine functions as static.
Arnaud Giersch [Wed, 28 Nov 2012 17:19:17 +0000 (18:19 +0100)]
Define functions as static.

Fix build errors from -Werror=missing-prototypes.

11 years agoRemove unused variables.
Arnaud Giersch [Wed, 28 Nov 2012 17:18:19 +0000 (18:18 +0100)]
Remove unused variables.

11 years agoAdd missing prototypes.
Arnaud Giersch [Wed, 28 Nov 2012 16:48:37 +0000 (17:48 +0100)]
Add missing prototypes.

11 years agoAn inline function must be visible from header file.
Arnaud Giersch [Wed, 28 Nov 2012 17:14:30 +0000 (18:14 +0100)]
An inline function must be visible from header file.

11 years agoReturn new value.
Arnaud Giersch [Wed, 28 Nov 2012 16:47:43 +0000 (17:47 +0100)]
Return new value.

Did it work before?

11 years agoOops, forgot to actually add the new tesh
Maximiliano Geier [Wed, 28 Nov 2012 16:26:03 +0000 (17:26 +0100)]
Oops, forgot to actually add the new tesh

11 years agoRemove unused tesh (copied from sendrecv), add a real tesh for chainsend
Maximiliano Geier [Wed, 28 Nov 2012 16:06:55 +0000 (17:06 +0100)]
Remove unused tesh (copied from sendrecv), add a real tesh for chainsend

11 years agoOops, forgot to change one XBT_INFO
Maximiliano Geier [Wed, 28 Nov 2012 14:19:57 +0000 (15:19 +0100)]
Oops, forgot to change one XBT_INFO

11 years agoSome more cleaning up, commented out INFO logs go to DEBUG
Maximiliano Geier [Wed, 28 Nov 2012 14:10:27 +0000 (15:10 +0100)]
Some more cleaning up, commented out INFO logs go to DEBUG

11 years agoCode cleanup
Maximiliano Geier [Wed, 28 Nov 2012 12:31:20 +0000 (13:31 +0100)]
Code cleanup

11 years agoFix compilation error: there's no MSG_clean anymore
Maximiliano Geier [Wed, 28 Nov 2012 11:01:54 +0000 (12:01 +0100)]
Fix compilation error: there's no MSG_clean anymore

11 years agoFix typo
Maximiliano Geier [Tue, 16 Oct 2012 12:07:36 +0000 (14:07 +0200)]
Fix typo

11 years agoRenamed project to chainsend to avoid confusion
Maximiliano Geier [Tue, 16 Oct 2012 09:42:50 +0000 (11:42 +0200)]
Renamed project to chainsend to avoid confusion

11 years agoDeployment file generator in Ruby, takes a platform file, parses hostnames and output...
Maximiliano Geier [Mon, 15 Oct 2012 16:14:01 +0000 (18:14 +0200)]
Deployment file generator in Ruby, takes a platform file, parses hostnames and outputs a deployment file for kadeploy Fixed mailbox names so that they don't depend on the hostnames FIXME: comm_t should be queued both in sends and recvs

11 years agoCode is now modular and tidy
Maximiliano Geier [Thu, 11 Oct 2012 13:29:43 +0000 (15:29 +0200)]
Code is now modular and tidy

11 years agoRefactored the xbt_dynar_iterator_t implementation Added reverse and random iterators
Maximiliano Geier [Wed, 10 Oct 2012 15:16:58 +0000 (17:16 +0200)]
Refactored the xbt_dynar_iterator_t implementation Added reverse and random iterators

11 years agoFirst working version with 8 peers I have not evaluated how it works yet, only that...
Maximiliano Geier [Tue, 9 Oct 2012 16:06:57 +0000 (18:06 +0200)]
First working version with 8 peers I have not evaluated how it works yet, only that every piece is delivered successfully

11 years agoModified XML platform file so that routing actually gets done Now it works with sync...
Maximiliano Geier [Mon, 8 Oct 2012 16:50:19 +0000 (18:50 +0200)]
Modified XML platform file so that routing actually gets done Now it works with sync messages, but it's too slow Async doesn't work yet, it fails after the first peer exits

11 years agomessages implementation: it dies when trying to forward data from one peer to another...
Maximiliano Geier [Fri, 5 Oct 2012 15:57:17 +0000 (17:57 +0200)]
messages implementation: it dies when trying to forward data from one peer to another unified message parsing, it parses and executes chain and end of data messages correctly

11 years agoModified platform and deployment files so it's easier to add nodes Fixed chain genera...
Maximiliano Geier [Tue, 2 Oct 2012 15:16:37 +0000 (17:16 +0200)]
Modified platform and deployment files so it's easier to add nodes Fixed chain generation Implemented an end data message (peer doesn't know about it yet) TODO: fix peer side of end data, implement data send, see how to do a barrier to synchronize

11 years agoFixed iterator Initial version of chain generator (doesn't work) I have to change...
Maximiliano Geier [Mon, 1 Oct 2012 15:24:36 +0000 (17:24 +0200)]
Fixed iterator Initial version of chain generator (doesn't work) I have to change the deployment file and the way the peers are initialized so that you don't have to generate a huge file with every single entry

11 years agoInitial implementation of kadeploy look-alike
Maximiliano Geier [Fri, 28 Sep 2012 15:34:57 +0000 (17:34 +0200)]
Initial implementation of kadeploy look-alike

Used sendrecv as skeleton
Implemented a random iterator for xbt_dynar_t, which still segfaults

11 years agoChange simcall functions
shenshei [Mon, 26 Nov 2012 12:24:57 +0000 (13:24 +0100)]
Change simcall functions

11 years agoAdd macros to generate simcalls code
paul bedaride [Thu, 8 Nov 2012 10:20:47 +0000 (11:20 +0100)]
Add macros to generate simcalls code

11 years agoMake SimGrid compile again :)
Cristian Rosa [Wed, 10 Oct 2012 14:54:56 +0000 (11:54 -0300)]
Make SimGrid compile again :)

11 years agoWIP on simcalls: fd8c267 Stop making direct calls to SIMIX for host handling, use...
Cristian Rosa [Tue, 18 Sep 2012 16:42:28 +0000 (13:42 -0300)]
WIP on simcalls: fd8c267 Stop making direct calls to SIMIX for host handling, use simcalls instead.

11 years agoStop making direct calls to SIMIX for host handling, use simcalls instead.
Cristian Rosa [Mon, 10 Sep 2012 12:57:51 +0000 (09:57 -0300)]
Stop making direct calls to SIMIX for host handling, use simcalls instead.

11 years agoKill unused macro.
Cristian Rosa [Mon, 10 Sep 2012 12:55:59 +0000 (09:55 -0300)]
Kill unused macro.

11 years agoMove Hosts related simcalls to the new API.
Cristian Rosa [Mon, 10 Sep 2012 12:24:14 +0000 (09:24 -0300)]
Move Hosts related simcalls to the new API.

11 years agoAdd new type of scalar value 'STRING' for const char*
Cristian Rosa [Fri, 7 Sep 2012 18:12:34 +0000 (15:12 -0300)]
Add new type of scalar value 'STRING' for const char*

11 years agoExtend definition of simcalls to include a pointer to the simcall handler functions.
Cristian Rosa [Fri, 7 Sep 2012 15:33:18 +0000 (12:33 -0300)]
Extend definition of simcalls to include a pointer to the simcall handler functions.
Use these pointers to initialize a simcall dispatch table.

11 years agoMove SIMCALL_HOST_EXECUTE to the new simcall architecture for initial testing.
Cristian Rosa [Fri, 7 Sep 2012 13:59:04 +0000 (10:59 -0300)]
Move SIMCALL_HOST_EXECUTE to the new simcall architecture for initial testing.

11 years agoAdd new simcall interface definitions.
Cristian Rosa [Thu, 6 Sep 2012 14:25:07 +0000 (11:25 -0300)]
Add new simcall interface definitions.

11 years agoExtend definition of simcalls to include a pointer to the simcall handler functions.
Cristian Rosa [Fri, 7 Sep 2012 15:33:18 +0000 (12:33 -0300)]
Extend definition of simcalls to include a pointer to the simcall handler functions.
Use these pointers to initialize a simcall dispatch table.

11 years agoMove SIMCALL_HOST_EXECUTE to the new simcall architecture for initial testing.
Cristian Rosa [Fri, 7 Sep 2012 13:59:04 +0000 (10:59 -0300)]
Move SIMCALL_HOST_EXECUTE to the new simcall architecture for initial testing.

11 years agoAdd new simcall interface definitions.
Cristian Rosa [Thu, 6 Sep 2012 14:25:07 +0000 (11:25 -0300)]
Add new simcall interface definitions.

11 years ago[trace] avoiding key clashes on paje links
schnorr [Wed, 22 Aug 2012 21:39:39 +0000 (23:39 +0200)]
[trace] avoiding key clashes on paje links

11 years agoforgot to add color for computing in previous commit
Augustin Degomme [Tue, 21 Aug 2012 16:10:50 +0000 (18:10 +0200)]
forgot to add color for computing in previous commit

11 years agoadd option to generate states for code outside smpi to allow computation timing ...
Augustin Degomme [Tue, 21 Aug 2012 13:26:57 +0000 (15:26 +0200)]
add option to generate states for code outside smpi to allow computation timing (not completely accurate as some smpi calls are not traced yet)

11 years ago[smpi,simix-network] remove a useless function
jean-noel quintin [Tue, 21 Aug 2012 10:46:15 +0000 (11:46 +0100)]
[smpi,simix-network] remove a useless function

11 years ago[trace] for some reason, simulated time changed in smpi -> fix tesh then
schnorr [Mon, 20 Aug 2012 15:41:53 +0000 (17:41 +0200)]
[trace] for some reason, simulated time changed in smpi -> fix tesh then

11 years ago[trace] updating tesh'es according to header changes
schnorr [Mon, 20 Aug 2012 15:39:26 +0000 (17:39 +0200)]
[trace] updating tesh'es according to header changes

details:
- albeit recent modifications on the header, only a white
space after the events number identification was removed

11 years ago[trace] header re-organization (now with a basic version)
schnorr [Mon, 20 Aug 2012 15:33:25 +0000 (17:33 +0200)]
[trace] header re-organization (now with a basic version)

details:
you can generate a basic version of the header by passing
--cfg=tracing/basic:1 when launching your simulator (considering
you are using other arguments to enable the tracing)

11 years ago[trace] fix color for MPI operations to correctly follow color specification
schnorr [Mon, 20 Aug 2012 13:30:14 +0000 (15:30 +0200)]
[trace] fix color for MPI operations to correctly follow color specification

details:
http://paje.sourceforge.net/download/publication/lang-paje.pdf

11 years ago[trace] new option tracing/basic (used to generate impoverished trace files)
schnorr [Mon, 20 Aug 2012 13:25:20 +0000 (15:25 +0200)]
[trace] new option tracing/basic (used to generate impoverished trace files)

details:
- this option should be used with visualization tools that are
incapable to read the complete Paje file format specification, as
detailed in this file:
http://paje.sourceforge.net/download/publication/lang-paje.pdf

11 years agomodel-checker : init result of simcalls for snapshot comparison done during simcall
Marion Guthmuller [Sat, 18 Aug 2012 16:48:28 +0000 (18:48 +0200)]
model-checker : init result of simcalls for snapshot comparison done during simcall

11 years agomodel-checker : try first to associate each block or fragment with the same positiion...
Marion Guthmuller [Fri, 17 Aug 2012 07:55:59 +0000 (09:55 +0200)]
model-checker : try first to associate each block or fragment with the same positiion in the other heap

11 years agomodel-checker : remove unnecessary step
Marion Guthmuller [Thu, 16 Aug 2012 22:32:52 +0000 (00:32 +0200)]
model-checker : remove unnecessary step

11 years agomodel-checker : equal_to field of blocks/fragments updated twice with match_equals
Marion Guthmuller [Thu, 16 Aug 2012 22:24:49 +0000 (00:24 +0200)]
model-checker : equal_to field of blocks/fragments updated twice with match_equals

11 years agomodelc-checker : reset list of blocks/fragments pairs associated
Marion Guthmuller [Thu, 16 Aug 2012 22:19:08 +0000 (00:19 +0200)]
modelc-checker : reset list of blocks/fragments pairs associated

11 years agomodel-checker : init equal_to field to -1 for each allocated block/fragment at the...
Marion Guthmuller [Thu, 16 Aug 2012 22:13:52 +0000 (00:13 +0200)]
model-checker : init equal_to field to -1 for each allocated block/fragment at the beginning of the heap comparison

11 years agomodel-checker : set size used to 0 when free fragment
Marion Guthmuller [Wed, 8 Aug 2012 10:06:33 +0000 (12:06 +0200)]
model-checker : set size used to 0 when free fragment

11 years agoAdd a master/slave example using a generated platform, and using generated event...
Jean-Baptiste Hervé [Fri, 10 Aug 2012 15:52:53 +0000 (17:52 +0200)]
Add a master/slave example using a generated platform, and using generated event traces

This example fails at the end for the moment, apparently because of autorestart.

11 years agoPlatform generation: add a bittorent example using a generated platform
Jean-Baptiste Hervé [Fri, 10 Aug 2012 13:38:46 +0000 (15:38 +0200)]
Platform generation: add a bittorent example using a generated platform

11 years agoPlatform generation: add a master/slave example using a generated platform
Jean-Baptiste Hervé [Thu, 9 Aug 2012 15:36:23 +0000 (17:36 +0200)]
Platform generation: add a master/slave example using a generated platform

11 years agoTypo + kill useless empty lines.
Arnaud Giersch [Tue, 27 Nov 2012 14:52:55 +0000 (15:52 +0100)]
Typo + kill useless empty lines.

11 years agoCall xbt_log_postexit() at the end.
Arnaud Giersch [Tue, 27 Nov 2012 14:32:03 +0000 (15:32 +0100)]
Call xbt_log_postexit() at the end.

11 years agogras_os_time() has vanished.
Arnaud Giersch [Tue, 27 Nov 2012 12:45:58 +0000 (13:45 +0100)]
gras_os_time() has vanished.

11 years agoFile is unused since commit 678328fb7b84cbcebfff2e5df242b59fb0a0b9ff.
Arnaud Giersch [Tue, 27 Nov 2012 12:41:25 +0000 (13:41 +0100)]
File is unused since commit 678328fb7b84cbcebfff2e5df242b59fb0a0b9ff.

11 years agoRemove unused test program.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Remove unused test program.

It was used to define SIZEOF_MAX for Gras.

11 years agoRemove needless volatile qualifier.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Remove needless volatile qualifier.

11 years agoRemove unused variable.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Remove unused variable.

11 years agos/diffrent/different/
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
s/diffrent/different/

11 years agoTypos.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Typos.

11 years agoRevalidate tesh outputs for msg/cloud, and lua tests.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Revalidate tesh outputs for msg/cloud, and lua tests.

11 years agomention the modification of TCP_gamma default value, its impact and
suter [Mon, 26 Nov 2012 15:26:31 +0000 (16:26 +0100)]
mention the modification of TCP_gamma default value, its impact and
workaround

11 years agorevalidate tesh output for tracing ms and simdag
suter [Mon, 26 Nov 2012 15:21:29 +0000 (16:21 +0100)]
revalidate tesh output for tracing ms and simdag

11 years agorevalidate tesh output for token ring
suter [Mon, 26 Nov 2012 15:15:10 +0000 (16:15 +0100)]
revalidate tesh output for token ring

11 years agorevalidate tesh outputs for masterslave
suter [Mon, 26 Nov 2012 15:10:02 +0000 (16:10 +0100)]
revalidate tesh outputs for masterslave

11 years agorevalidate tesh output for bittorrent
suter [Mon, 26 Nov 2012 15:00:31 +0000 (16:00 +0100)]
revalidate tesh output for bittorrent

11 years agorevalidate tesh output for actions
suter [Mon, 26 Nov 2012 14:44:24 +0000 (15:44 +0100)]
revalidate tesh output for actions

11 years agorevalidate tesh outputs for chord
suter [Mon, 26 Nov 2012 14:30:24 +0000 (15:30 +0100)]
revalidate tesh outputs for chord

11 years agorevalidate tesh outputs for icomms, pmm, sendrecv
suter [Mon, 26 Nov 2012 13:15:21 +0000 (14:15 +0100)]
revalidate tesh outputs for icomms, pmm, sendrecv

11 years agorevalidate tesh outputs for simdag tests
suter [Mon, 26 Nov 2012 12:46:06 +0000 (13:46 +0100)]
revalidate tesh outputs for simdag tests

11 years agorevalidate (ans simplify) tesh outputs
suter [Mon, 26 Nov 2012 12:45:16 +0000 (13:45 +0100)]
revalidate (ans simplify) tesh outputs

11 years agochange default value of tcp_gamma to use something more realistic than
suter [Mon, 26 Nov 2012 12:44:27 +0000 (13:44 +0100)]
change default value of tcp_gamma to use something more realistic than
20K. Use 4MiB now

11 years agobetter description of the basic simdag tests + cosmetics
suter [Mon, 26 Nov 2012 11:18:06 +0000 (12:18 +0100)]
better description of the basic simdag tests + cosmetics

11 years agooops removed the AS
suter [Mon, 26 Nov 2012 11:17:17 +0000 (12:17 +0100)]
oops removed the AS

11 years agoget rid of useless spaces and tabs
suter [Mon, 26 Nov 2012 11:03:49 +0000 (12:03 +0100)]
get rid of useless spaces and tabs