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)
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.
suter [Thu, 29 Nov 2012 15:34:05 +0000 (16:34 +0100)]
the comm_size action is useless now
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)
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.
Arnaud Giersch [Thu, 29 Nov 2012 13:37:22 +0000 (14:37 +0100)]
Make valgrind skip commands from /usr/bin/ and /bin/.
Arnaud Giersch [Thu, 29 Nov 2012 14:18:38 +0000 (15:18 +0100)]
Cosmetics: test ucontexts before raw contexts.
Arnaud Giersch [Thu, 29 Nov 2012 14:17:46 +0000 (15:17 +0100)]
Add missing guards.
suter [Thu, 29 Nov 2012 13:24:09 +0000 (14:24 +0100)]
remove some leaks by calling SD_exit() before dying
suter [Thu, 29 Nov 2012 12:35:48 +0000 (13:35 +0100)]
clean stuff even when the scheduled is not good
Arnaud Giersch [Wed, 28 Nov 2012 22:40:35 +0000 (23:40 +0100)]
Fix printf statements.
Arnaud Giersch [Wed, 28 Nov 2012 21:39:53 +0000 (22:39 +0100)]
Rename file, and make test smpi-mpich-pt2pt-raw succeed.
Arnaud Giersch [Wed, 28 Nov 2012 20:34:51 +0000 (21:34 +0100)]
Add a few thoughts in README.coding, and correct typos.
Arnaud Giersch [Wed, 28 Nov 2012 17:22:19 +0000 (18:22 +0100)]
We have status, return its value.
Arnaud Giersch [Wed, 28 Nov 2012 17:19:17 +0000 (18:19 +0100)]
Define functions as static.
Fix build errors from -Werror=missing-prototypes.
Arnaud Giersch [Wed, 28 Nov 2012 17:18:19 +0000 (18:18 +0100)]
Remove unused variables.
Arnaud Giersch [Wed, 28 Nov 2012 16:48:37 +0000 (17:48 +0100)]
Add missing prototypes.
Arnaud Giersch [Wed, 28 Nov 2012 17:14:30 +0000 (18:14 +0100)]
An inline function must be visible from header file.
Arnaud Giersch [Wed, 28 Nov 2012 16:47:43 +0000 (17:47 +0100)]
Return new value.
Did it work before?
Maximiliano Geier [Wed, 28 Nov 2012 16:26:03 +0000 (17:26 +0100)]
Oops, forgot to actually add the new tesh
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
Maximiliano Geier [Wed, 28 Nov 2012 14:19:57 +0000 (15:19 +0100)]
Oops, forgot to change one XBT_INFO
Maximiliano Geier [Wed, 28 Nov 2012 14:10:27 +0000 (15:10 +0100)]
Some more cleaning up, commented out INFO logs go to DEBUG
Maximiliano Geier [Wed, 28 Nov 2012 12:31:20 +0000 (13:31 +0100)]
Code cleanup
Maximiliano Geier [Wed, 28 Nov 2012 11:01:54 +0000 (12:01 +0100)]
Fix compilation error: there's no MSG_clean anymore
Maximiliano Geier [Tue, 16 Oct 2012 12:07:36 +0000 (14:07 +0200)]
Fix typo
Maximiliano Geier [Tue, 16 Oct 2012 09:42:50 +0000 (11:42 +0200)]
Renamed project to chainsend to avoid confusion
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
Maximiliano Geier [Thu, 11 Oct 2012 13:29:43 +0000 (15:29 +0200)]
Code is now modular and tidy
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
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
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
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
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
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
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
shenshei [Mon, 26 Nov 2012 12:24:57 +0000 (13:24 +0100)]
Change simcall functions
paul bedaride [Thu, 8 Nov 2012 10:20:47 +0000 (11:20 +0100)]
Add macros to generate simcalls code
Cristian Rosa [Wed, 10 Oct 2012 14:54:56 +0000 (11:54 -0300)]
Make SimGrid compile again :)
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.
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.
Cristian Rosa [Mon, 10 Sep 2012 12:55:59 +0000 (09:55 -0300)]
Kill unused macro.
Cristian Rosa [Mon, 10 Sep 2012 12:24:14 +0000 (09:24 -0300)]
Move Hosts related simcalls to the new API.
Cristian Rosa [Fri, 7 Sep 2012 18:12:34 +0000 (15:12 -0300)]
Add new type of scalar value 'STRING' for const char*
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.
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.
Cristian Rosa [Thu, 6 Sep 2012 14:25:07 +0000 (11:25 -0300)]
Add new simcall interface definitions.
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.
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.
Cristian Rosa [Thu, 6 Sep 2012 14:25:07 +0000 (11:25 -0300)]
Add new simcall interface definitions.
schnorr [Wed, 22 Aug 2012 21:39:39 +0000 (23:39 +0200)]
[trace] avoiding key clashes on paje links
Augustin Degomme [Tue, 21 Aug 2012 16:10:50 +0000 (18:10 +0200)]
forgot to add color for computing in previous commit
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)
jean-noel quintin [Tue, 21 Aug 2012 10:46:15 +0000 (11:46 +0100)]
[smpi,simix-network] remove a useless function
schnorr [Mon, 20 Aug 2012 15:41:53 +0000 (17:41 +0200)]
[trace] for some reason, simulated time changed in smpi -> fix tesh then
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
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)
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
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
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
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
Marion Guthmuller [Thu, 16 Aug 2012 22:32:52 +0000 (00:32 +0200)]
model-checker : remove unnecessary step
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
Marion Guthmuller [Thu, 16 Aug 2012 22:19:08 +0000 (00:19 +0200)]
modelc-checker : reset list of blocks/fragments pairs associated
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
Marion Guthmuller [Wed, 8 Aug 2012 10:06:33 +0000 (12:06 +0200)]
model-checker : set size used to 0 when free fragment
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.
Jean-Baptiste Hervé [Fri, 10 Aug 2012 13:38:46 +0000 (15:38 +0200)]
Platform generation: add a bittorent 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
Arnaud Giersch [Tue, 27 Nov 2012 14:52:55 +0000 (15:52 +0100)]
Typo + kill useless empty lines.
Arnaud Giersch [Tue, 27 Nov 2012 14:32:03 +0000 (15:32 +0100)]
Call xbt_log_postexit() at the end.
Arnaud Giersch [Tue, 27 Nov 2012 12:45:58 +0000 (13:45 +0100)]
gras_os_time() has vanished.
Arnaud Giersch [Tue, 27 Nov 2012 12:41:25 +0000 (13:41 +0100)]
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.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Remove needless volatile qualifier.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Remove unused variable.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
s/diffrent/different/
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Typos.
Arnaud Giersch [Mon, 26 Nov 2012 16:45:43 +0000 (17:45 +0100)]
Revalidate tesh outputs for msg/cloud, and lua tests.
suter [Mon, 26 Nov 2012 15:26:31 +0000 (16:26 +0100)]
mention the modification of TCP_gamma default value, its impact and
workaround
suter [Mon, 26 Nov 2012 15:21:29 +0000 (16:21 +0100)]
revalidate tesh output for tracing ms and simdag
suter [Mon, 26 Nov 2012 15:15:10 +0000 (16:15 +0100)]
revalidate tesh output for token ring
suter [Mon, 26 Nov 2012 15:10:02 +0000 (16:10 +0100)]
revalidate tesh outputs for masterslave
suter [Mon, 26 Nov 2012 15:00:31 +0000 (16:00 +0100)]
revalidate tesh output for bittorrent
suter [Mon, 26 Nov 2012 14:44:24 +0000 (15:44 +0100)]
revalidate tesh output for actions
suter [Mon, 26 Nov 2012 14:30:24 +0000 (15:30 +0100)]
revalidate tesh outputs for chord
suter [Mon, 26 Nov 2012 13:15:21 +0000 (14:15 +0100)]
revalidate tesh outputs for icomms, pmm, sendrecv
suter [Mon, 26 Nov 2012 12:46:06 +0000 (13:46 +0100)]
revalidate tesh outputs for simdag tests
suter [Mon, 26 Nov 2012 12:45:16 +0000 (13:45 +0100)]
revalidate (ans simplify) tesh outputs
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
suter [Mon, 26 Nov 2012 11:18:06 +0000 (12:18 +0100)]
better description of the basic simdag tests + cosmetics
suter [Mon, 26 Nov 2012 11:17:17 +0000 (12:17 +0100)]
oops removed the AS
suter [Mon, 26 Nov 2012 11:03:49 +0000 (12:03 +0100)]
get rid of useless spaces and tabs
suter [Mon, 26 Nov 2012 10:31:14 +0000 (11:31 +0100)]
add a description of the scenario
suter [Mon, 26 Nov 2012 10:28:50 +0000 (11:28 +0100)]
Add a description of the scenario
suter [Mon, 26 Nov 2012 09:04:41 +0000 (10:04 +0100)]
add a description of the scenario and expected result
Martin Quinson [Mon, 26 Nov 2012 13:15:26 +0000 (14:15 +0100)]
doxygen is sooooo roten, it drives me crazy
Martin Quinson [Mon, 26 Nov 2012 13:08:25 +0000 (14:08 +0100)]
add xbt_fifo_search(), to search an item with a user-provided comparison function
Martin Quinson [Sun, 25 Nov 2012 14:15:52 +0000 (15:15 +0100)]
move sg_cmdline to xbt/virtu.h module, and rename it to xbt_cmdline
Martin Quinson [Sun, 25 Nov 2012 14:07:45 +0000 (15:07 +0100)]
xbt_os_procname and xbt_binary_name are the same -- keep only one of them