Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
11 years agoRemove spurious semicolon.
Arnaud Giersch [Fri, 30 Nov 2012 16:39:21 +0000 (17:39 +0100)]
Remove spurious semicolon.

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

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

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

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

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

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

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

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

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

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

11 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

11 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

11 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

11 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

11 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

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

11 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

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

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

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

11 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

11 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

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

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

11 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

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

11 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

11 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

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

11 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

11 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

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

11 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

11 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

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