Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agofix a bunch of links to the FAQ -- hate that code dupplication
Martin Quinson [Tue, 4 Dec 2012 13:16:05 +0000 (14:16 +0100)]
fix a bunch of links to the FAQ -- hate that code dupplication

7 years agoAvoid to add an empty component into LD_LIBRARY_PATH if it was not set before.
Arnaud Giersch [Tue, 4 Dec 2012 12:13:30 +0000 (13:13 +0100)]
Avoid to add an empty component into LD_LIBRARY_PATH if it was not set before.

Also remove the trailing filename.

7 years agomodel-checker : fix MC_state_set_executed_request
Marion Guthmuller [Mon, 3 Dec 2012 18:07:15 +0000 (19:07 +0100)]
model-checker : fix MC_state_set_executed_request

Comm for SIMCALL_COMM_WAIT was internal_comm address of mc_state
(confusion between s_smx_action_t and smx_action_t)

7 years agoFix debug message in simix
shenshei [Mon, 3 Dec 2012 16:54:02 +0000 (17:54 +0100)]
Fix debug message in simix

7 years agocomment a bit of code in sender_gap for smpi, which leaked memory.
Augustin Degomme [Mon, 3 Dec 2012 16:01:19 +0000 (17:01 +0100)]
comment a bit of code in sender_gap for smpi, which leaked memory.
This is temporary to correct the leak, waiting for the replacement of sender_gap

7 years agoremove sender's side data from mpi_send in the receiver's side for detached send
Augustin Degomme [Mon, 3 Dec 2012 16:00:37 +0000 (17:00 +0100)]
remove sender's side data from mpi_send in the receiver's side for detached send
fixes a leak.

7 years agohopefully remove leak in permanent receive mode
Augustin Degomme [Mon, 3 Dec 2012 11:10:47 +0000 (12:10 +0100)]
hopefully remove leak in permanent receive mode

7 years agoAdd a note about inline functions in README.coding.
Arnaud Giersch [Mon, 3 Dec 2012 09:29:13 +0000 (10:29 +0100)]
Add a note about inline functions in README.coding.

7 years agoRemove spurious semicolon.
Arnaud Giersch [Fri, 30 Nov 2012 16:39:21 +0000 (17:39 +0100)]
Remove spurious semicolon.

7 years agoDefine inline functions in header file (again).
Arnaud Giersch [Fri, 30 Nov 2012 16:31:16 +0000 (17:31 +0100)]
Define inline functions in header file (again).

7 years agoRemove prototypes.
Arnaud Giersch [Fri, 30 Nov 2012 16:30:56 +0000 (17:30 +0100)]
Remove prototypes.

These inline functions are only used in smx_user.  Forward declarations are useless.

7 years agoDefine inline function in header file.
Arnaud Giersch [Fri, 30 Nov 2012 15:41:11 +0000 (16:41 +0100)]
Define inline function in header file.

7 years agoInitialize variables, and make valgrind happy.
Arnaud Giersch [Fri, 30 Nov 2012 15:23:18 +0000 (16:23 +0100)]
Initialize variables, and make valgrind happy.

7 years agoPrint a message and exit if file was not found.
Arnaud Giersch [Fri, 30 Nov 2012 14:59:14 +0000 (15:59 +0100)]
Print a message and exit if file was not found.

7 years agoActivate memcheck tests for smpi-replay.
Arnaud Giersch [Fri, 30 Nov 2012 14:56:11 +0000 (15:56 +0100)]
Activate memcheck tests for smpi-replay.

7 years agoMake generate_memcheck_tests.pl handle command "mkfile".
Arnaud Giersch [Mon, 3 Dec 2012 09:53:27 +0000 (10:53 +0100)]
Make generate_memcheck_tests.pl handle command "mkfile".

7 years agoSet valgrind option --track-origins=no, to make it use less memory.
Arnaud Giersch [Fri, 30 Nov 2012 14:54:31 +0000 (15:54 +0100)]
Set valgrind option --track-origins=no, to make it use less memory.

Actually, for the test smpi-replay, it needs more than 4GB of memory
with option --track-origins=yes.

7 years agoMake tests work when building out of the sources.
Arnaud Giersch [Thu, 29 Nov 2012 21:20:30 +0000 (22:20 +0100)]
Make tests work when building out of the sources.

7 years agoDon't ignore full directory contents.
Arnaud Giersch [Thu, 29 Nov 2012 21:19:29 +0000 (22:19 +0100)]
Don't ignore full directory contents.

7 years agomodel-checker : remove independance between iRecv and Wait
Marion Guthmuller [Sun, 2 Dec 2012 21:28:01 +0000 (22:28 +0100)]
model-checker : remove independance between iRecv and Wait

7 years agomodel-checker : statistics printed twice if exhaustive exploration
Marion Guthmuller [Sun, 2 Dec 2012 21:15:23 +0000 (22:15 +0100)]
model-checker : statistics printed twice if exhaustive exploration

7 years agomodel-checker : get global variables with objdump and compare only the bytes in data...
Marion Guthmuller [Sun, 2 Dec 2012 21:13:37 +0000 (22:13 +0100)]
model-checker : get global variables with objdump and compare only the bytes in data segments corresponding to global variables

7 years agomodel-checker : get segments start only in MC_init_memory_map_info
Marion Guthmuller [Sun, 2 Dec 2012 21:09:09 +0000 (22:09 +0100)]
model-checker : get segments start only in MC_init_memory_map_info

7 years agomodel-checker : text segment is read and exec only
Marion Guthmuller [Sun, 2 Dec 2012 21:07:32 +0000 (22:07 +0100)]
model-checker : text segment is read and exec only

7 years agomodel-checker : cleanups in comments
Marion Guthmuller [Sun, 2 Dec 2012 21:05:52 +0000 (22:05 +0100)]
model-checker : cleanups in comments

7 years agomodel-checker : get .got.plt sections
Marion Guthmuller [Sun, 2 Dec 2012 21:01:39 +0000 (22:01 +0100)]
model-checker : get .got.plt sections

7 years agomodel-checker : increase tesh timeout
Marion Guthmuller [Thu, 29 Nov 2012 13:09:04 +0000 (14:09 +0100)]
model-checker : increase tesh timeout

7 years agomodel-checker : fix tesh name
Marion Guthmuller [Thu, 29 Nov 2012 13:07:21 +0000 (14:07 +0100)]
model-checker : fix tesh name

7 years agomodel-checker : increase tesh timeouts
Marion Guthmuller [Thu, 29 Nov 2012 13:02:15 +0000 (14:02 +0100)]
model-checker : increase tesh timeouts

7 years agoadd the test of allReduce replay
suter [Sun, 2 Dec 2012 11:45:22 +0000 (12:45 +0100)]
add the test of allReduce replay

7 years agoyet another action file for allReduce
suter [Sun, 2 Dec 2012 11:44:30 +0000 (12:44 +0100)]
yet another action file for allReduce

7 years agomissing file
suter [Fri, 30 Nov 2012 15:20:10 +0000 (16:20 +0100)]
missing file

7 years agohey you, you're supposed to be removed already (did I say that I hate
suter [Fri, 30 Nov 2012 14:38:41 +0000 (15:38 +0100)]
hey you, you're supposed to be removed already (did I say that I hate
git when it come to rm already?)

7 years agoremove temporary file at the end of the tesh f
suter [Fri, 30 Nov 2012 09:16:52 +0000 (10:16 +0100)]
remove temporary file at the end of the tesh f

7 years agotypos
suter [Fri, 30 Nov 2012 09:15:36 +0000 (10:15 +0100)]
typos

7 years agohave the smpif90 file replace the main program clause by our own for f90
Augustin Degomme [Fri, 30 Nov 2012 14:59:39 +0000 (15:59 +0100)]
have the smpif90 file replace the main program clause by our own for f90

7 years agofix a memory leak happening with smpi_replay
Augustin Degomme [Fri, 30 Nov 2012 11:44:15 +0000 (12:44 +0100)]
fix a memory leak happening with smpi_replay

7 years agoadd support of smpif90 file
Augustin Degomme [Wed, 28 Nov 2012 17:42:49 +0000 (18:42 +0100)]
add support of smpif90 file

7 years agofew fortran defines to make bigdft happy
Augustin Degomme [Wed, 28 Nov 2012 10:36:42 +0000 (11:36 +0100)]
few fortran defines to make bigdft happy

7 years agoadd yet another stunt with smpi_simulated_main to provide support for f90
Augustin Degomme [Wed, 28 Nov 2012 10:35:49 +0000 (11:35 +0100)]
add yet another stunt with smpi_simulated_main to provide support for f90

7 years agoreplace smpi_simulated main by smpi_simulated_main__, because __ is wanted by fortran...
Augustin Degomme [Wed, 28 Nov 2012 09:01:29 +0000 (10:01 +0100)]
replace smpi_simulated main by smpi_simulated_main__, because __ is wanted by fortran compilers
C compilers don't really care how we name it.

7 years agoadd two functions to fortran bindings, needed by specfem
Augustin Degomme [Wed, 28 Nov 2012 08:58:41 +0000 (09:58 +0100)]
add two functions to fortran bindings, needed by specfem

7 years agoremove unsupported characters from mpif.h, for f90 compiler to be happy
Augustin Degomme [Wed, 28 Nov 2012 08:57:01 +0000 (09:57 +0100)]
remove unsupported characters from mpif.h, for f90 compiler to be happy

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

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

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

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

7 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

7 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)

7 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.

7 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

7 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)

7 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.

7 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/.

7 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.

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

7 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

7 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

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

7 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.

7 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.

7 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.

7 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.

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

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

7 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.

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

Did it work before?

7 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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

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

7 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.

7 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.

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

7 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.

7 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*

7 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.

7 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.

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

7 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.

7 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.

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