Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
11 years agonew attempt to stabilize the use of underscores on f90/f77/f2c
Augustin Degomme [Thu, 14 Mar 2013 12:41:04 +0000 (13:41 +0100)]
new attempt to stabilize the use of underscores on f90/f77/f2c

11 years agofreebsd compatibility
Augustin Degomme [Fri, 29 Mar 2013 09:21:17 +0000 (10:21 +0100)]
freebsd compatibility

11 years agoremove states for the new tracing option, as only links are really useful
Augustin Degomme [Tue, 12 Mar 2013 15:07:53 +0000 (16:07 +0100)]
remove states for the new tracing option, as only links are really useful

11 years agoswitch back from two underscores to one in fortran names, to allow linking with exter...
Augustin Degomme [Mon, 11 Mar 2013 15:30:00 +0000 (16:30 +0100)]
switch back from two underscores to one in fortran names, to allow linking with external libs

11 years agoadd a cfg:tracing/smpi/internals option, to trace all pt2pt communications during...
Augustin Degomme [Mon, 11 Mar 2013 15:29:22 +0000 (16:29 +0100)]
add a cfg:tracing/smpi/internals option, to trace all pt2pt communications during a collective one
This provide a better view of the pattern, useful for debugging

11 years agoupdate dtd
Augustin Degomme [Thu, 7 Mar 2013 09:49:31 +0000 (10:49 +0100)]
update dtd

11 years agoadd a loopback_lat and loopback_bw to cluster tag
Augustin Degomme [Thu, 7 Mar 2013 09:49:23 +0000 (10:49 +0100)]
add a loopback_lat and loopback_bw to cluster tag

11 years agoadd limiter_link option to cluster tag, to add a pseudo-shared link, to limit bandwid...
Augustin Degomme [Thu, 7 Mar 2013 09:48:22 +0000 (10:48 +0100)]
add limiter_link option to cluster tag, to add a pseudo-shared link, to limit bandwidth reachable with a fullduplex link

11 years agoadd a bunch of bindings/new definitions of unimplemented MPI-2 functions, to make...
Augustin Degomme [Wed, 6 Mar 2013 16:30:05 +0000 (17:30 +0100)]
add a bunch of bindings/new definitions of unimplemented MPI-2 functions, to make bigdft happy again

11 years agoCosmetics: those are regexps.
Arnaud Giersch [Thu, 28 Mar 2013 22:09:34 +0000 (23:09 +0100)]
Cosmetics: those are regexps.

11 years agoRemove extraneous parentheses, and silent clang.
Arnaud Giersch [Thu, 28 Mar 2013 21:20:30 +0000 (22:20 +0100)]
Remove extraneous parentheses, and silent clang.

11 years agoMake dist complete, and fix "make distcheck".
Arnaud Giersch [Thu, 28 Mar 2013 21:06:53 +0000 (22:06 +0100)]
Make dist complete, and fix "make distcheck".

11 years agoFix build without smpi.
Arnaud Giersch [Thu, 28 Mar 2013 20:54:15 +0000 (21:54 +0100)]
Fix build without smpi.

11 years agoDon't build smpi in a separate library anymore.
Arnaud Giersch [Thu, 28 Mar 2013 20:47:04 +0000 (21:47 +0100)]
Don't build smpi in a separate library anymore.

11 years agoAdd collectives for allgather, allreduce, bcast and reduce
Paul Bédaride [Thu, 28 Mar 2013 16:15:32 +0000 (17:15 +0100)]
Add collectives for allgather, allreduce, bcast and reduce

11 years agomodel-checker : add example (electric_fence) to check the soundness of the verificati...
Marion Guthmuller [Wed, 27 Mar 2013 12:17:43 +0000 (13:17 +0100)]
model-checker : add example (electric_fence) to check the soundness of the verification with DPOR and delete another one (random_test)

11 years agofix for windows -- not sure if it's still mandatory, but I guess so
Martin Quinson [Wed, 27 Mar 2013 00:27:37 +0000 (01:27 +0100)]
fix for windows -- not sure if it's still mandatory, but I guess so

11 years agoFix various build errors.
Arnaud Giersch [Mon, 25 Mar 2013 21:27:09 +0000 (22:27 +0100)]
Fix various build errors.

Mainly unused variables, or pointer arithmetic with pointers to void.

The builds with compile optimizations are still broken, because of smpi symbols
imported in libsimgrid, but I'm not sure how to fix this properly.

11 years agoReindent files before changes.
Arnaud Giersch [Mon, 25 Mar 2013 21:21:15 +0000 (22:21 +0100)]
Reindent files before changes.

11 years agoMissing include.
Arnaud Giersch [Mon, 25 Mar 2013 21:20:34 +0000 (22:20 +0100)]
Missing include.

11 years agomodel-checker : variable declaration deleted with a previous conflict
Marion Guthmuller [Mon, 25 Mar 2013 22:47:08 +0000 (23:47 +0100)]
model-checker : variable declaration deleted with a previous conflict

11 years agomodel-checker : add variable deleted before to resolve a merge conflict
Marion Guthmuller [Mon, 25 Mar 2013 22:29:42 +0000 (23:29 +0100)]
model-checker : add variable deleted before to resolve a merge conflict

11 years agomodel-checker : ignore variable about time used with tracing
Marion Guthmuller [Mon, 25 Mar 2013 21:37:39 +0000 (22:37 +0100)]
model-checker : ignore variable about time used with tracing

11 years agomodel-checker : if acceptance cycle is detected, get num of equal pairs
Marion Guthmuller [Mon, 25 Mar 2013 21:36:36 +0000 (22:36 +0100)]
model-checker : if acceptance cycle is detected, get num of equal pairs

11 years agomodel-checker : last fix in DPOR algorithm if max depth is reached
Marion Guthmuller [Mon, 25 Mar 2013 21:02:50 +0000 (22:02 +0100)]
model-checker : last fix in DPOR algorithm if max depth is reached

If max_depth is reached, the last state in stack may have a process
interleaved with a request not executed yet. In that case, we start to
apply the independence theorem with this last request not executed
yet. Otherwise (no more process to interleave in the last state of the
stack), last state is deleted before starting to apply independence theorem.

11 years agomodel-checker : update bugged1 tesh
Marion Guthmuller [Thu, 21 Mar 2013 14:38:13 +0000 (15:38 +0100)]
model-checker : update bugged1 tesh

11 years agodocumentation cosmetics
Martin Quinson [Mon, 25 Mar 2013 21:02:34 +0000 (22:02 +0100)]
documentation cosmetics

11 years agofix some simple errors in the commit of Paul (not enough to compile here)
Martin Quinson [Mon, 25 Mar 2013 20:36:35 +0000 (21:36 +0100)]
fix some simple errors in the commit of Paul (not enough to compile here)

11 years agorework the SMPI documentation quite a bit
Martin Quinson [Mon, 25 Mar 2013 20:31:56 +0000 (21:31 +0100)]
rework the SMPI documentation quite a bit

11 years agosplit SMPI documentation into a specific file (no real change)
Martin Quinson [Mon, 25 Mar 2013 19:52:35 +0000 (20:52 +0100)]
split SMPI documentation into a specific file (no real change)

11 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Jonathan Rouzaud-Cornabas [Mon, 25 Mar 2013 16:35:26 +0000 (17:35 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

11 years agoFix sendBounded java binding
Jonathan Rouzaud-Cornabas [Mon, 25 Mar 2013 16:35:14 +0000 (17:35 +0100)]
Fix sendBounded java binding

11 years agoAdd colls.h to DefinePackages
Paul Bédaride [Mon, 25 Mar 2013 16:24:48 +0000 (17:24 +0100)]
Add colls.h to DefinePackages

11 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Paul Bédaride [Mon, 25 Mar 2013 16:07:50 +0000 (17:07 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

11 years agoAdd alltoall collectives from starmpi
Paul Bédaride [Mon, 25 Mar 2013 13:50:46 +0000 (14:50 +0100)]
Add alltoall collectives from starmpi

11 years agoDumb commit: kill empty line.
Arnaud Giersch [Thu, 21 Mar 2013 14:08:23 +0000 (15:08 +0100)]
Dumb commit: kill empty line.

11 years agoKill unused variable.
Arnaud Giersch [Thu, 21 Mar 2013 14:04:33 +0000 (15:04 +0100)]
Kill unused variable.

11 years agomodel-checker : use xbt_free_f instead of a new function which do the same thing
Marion Guthmuller [Thu, 21 Mar 2013 13:04:50 +0000 (14:04 +0100)]
model-checker : use xbt_free_f instead of a new function which do the same thing

11 years agomodel-checker : fix soundness of DPOR algorithm if max depth is reached
Marion Guthmuller [Thu, 21 Mar 2013 12:41:21 +0000 (13:41 +0100)]
model-checker : fix soundness of DPOR algorithm if max depth is reached

11 years agoAlso link with platform independent libunwind.
Arnaud Giersch [Tue, 19 Mar 2013 19:48:50 +0000 (20:48 +0100)]
Also link with platform independent libunwind.

11 years agoInitialize variables.
Arnaud Giersch [Tue, 19 Mar 2013 19:44:11 +0000 (20:44 +0100)]
Initialize variables.

11 years agoGenerated file has changed.
Arnaud Giersch [Tue, 19 Mar 2013 17:59:16 +0000 (18:59 +0100)]
Generated file has changed.

11 years agoAdd missing declarations.
Arnaud Giersch [Tue, 19 Mar 2013 17:57:10 +0000 (18:57 +0100)]
Add missing declarations.

11 years agomodel-checker : update tesh
Marion Guthmuller [Tue, 19 Mar 2013 18:37:03 +0000 (19:37 +0100)]
model-checker : update tesh

11 years agomodel-checker : order reached_pairs by number of processes and heap bytes used
Marion Guthmuller [Tue, 19 Mar 2013 18:27:51 +0000 (19:27 +0100)]
model-checker : order reached_pairs by number of processes and heap bytes used

11 years agomodel-checker : free memory
Marion Guthmuller [Tue, 19 Mar 2013 15:41:03 +0000 (16:41 +0100)]
model-checker : free memory

11 years agomodel-checker : cosmetics
Marion Guthmuller [Tue, 19 Mar 2013 15:39:25 +0000 (16:39 +0100)]
model-checker : cosmetics

11 years agomodel-checker : fragment size and fragment number may be negative
Marion Guthmuller [Tue, 19 Mar 2013 15:39:04 +0000 (16:39 +0100)]
model-checker : fragment size and fragment number may be negative

11 years agoAdd receive bounded to the java binding
Jonathan Rouzaud-Cornabas [Tue, 19 Mar 2013 17:33:28 +0000 (18:33 +0100)]
Add receive bounded to the java binding

11 years agomodel-checker : store heap_bytes_used and number of processes directly in mc_visited_...
Marion Guthmuller [Tue, 19 Mar 2013 15:24:01 +0000 (16:24 +0100)]
model-checker : store heap_bytes_used and number of processes directly in mc_visited_state and mc_visited_pair

11 years agomodel-checker : update tesh (according to previous cleanups)
Marion Guthmuller [Tue, 19 Mar 2013 12:50:30 +0000 (13:50 +0100)]
model-checker : update tesh (according to previous cleanups)

11 years agomodel-checker : cleanups
Marion Guthmuller [Tue, 19 Mar 2013 12:41:22 +0000 (13:41 +0100)]
model-checker : cleanups

- remove (a part of) redundant code
- rename structs and variables
- update headers

11 years agomodel-checker : code refactoring for get_hash_global
Marion Guthmuller [Mon, 18 Mar 2013 10:10:03 +0000 (11:10 +0100)]
model-checker : code refactoring for get_hash_global

11 years agoFix msg-bittorrent's problem of incompletion
Nicolas Bonichon [Mon, 18 Mar 2013 14:53:43 +0000 (15:53 +0100)]
Fix msg-bittorrent's problem of incompletion

In the previous version, a peer wasn't able to handle more than
more message per second but could receive much more. As a consequence,
the application gets stuck because of queuing issue.

The problem comes from teh main loops (leech_loop() and seed_loop()))
each call of MSG_task_irecv() was followed by a call of
MSG_process_sleep(1) because the MSG_comm_test() always fails the
first time.

A call of MSG_mailbox_set_async() at the begining fixes this problem.

: in the main loops (leech_loop)

11 years agomodel-checker : update msg chord example for the verification with MC
Marion Guthmuller [Sat, 16 Mar 2013 22:07:10 +0000 (23:07 +0100)]
model-checker : update msg chord example for the verification with MC

11 years agomodel-checker : fix tesh (different local deployment file)
Marion Guthmuller [Sat, 16 Mar 2013 21:47:16 +0000 (22:47 +0100)]
model-checker : fix tesh (different local deployment file)

11 years agomodel-checker : fix dpor
Marion Guthmuller [Sat, 16 Mar 2013 21:32:06 +0000 (22:32 +0100)]
model-checker : fix dpor

11 years agomodel-checker : fix compilation error without MC
Marion Guthmuller [Sat, 16 Mar 2013 21:13:44 +0000 (22:13 +0100)]
model-checker : fix compilation error without MC

11 years agoupdate tesh
Marion Guthmuller [Sat, 16 Mar 2013 18:00:15 +0000 (19:00 +0100)]
update tesh

11 years agomodel-checker : update tesh
Marion Guthmuller [Sat, 16 Mar 2013 17:47:39 +0000 (18:47 +0100)]
model-checker : update tesh

11 years agomodel-checker : code refactoring for heap comparison algorithm
Marion Guthmuller [Sat, 16 Mar 2013 17:28:45 +0000 (18:28 +0100)]
model-checker : code refactoring for heap comparison algorithm

11 years agomodel-checker : add state equality reduction in ddfs algorithm
Marion Guthmuller [Sat, 16 Mar 2013 17:25:32 +0000 (18:25 +0100)]
model-checker : add state equality reduction in ddfs algorithm

11 years agomodel-checker : get current backtrace with libunwind (only available with ucontext...
Marion Guthmuller [Sat, 16 Mar 2013 17:23:31 +0000 (18:23 +0100)]
model-checker : get current backtrace with libunwind (only available with ucontext factory for now ...)

11 years agomodel-checker : code refactoring
Marion Guthmuller [Thu, 14 Mar 2013 13:48:54 +0000 (14:48 +0100)]
model-checker : code refactoring

11 years agomodel-checker : ignore mc_time for heap comparison and global variables comparison
Marion Guthmuller [Wed, 13 Mar 2013 16:07:17 +0000 (17:07 +0100)]
model-checker : ignore mc_time for heap comparison and global variables comparison

11 years agomodel-checker : improve debug message
Marion Guthmuller [Wed, 13 Mar 2013 16:05:56 +0000 (17:05 +0100)]
model-checker : improve debug message

11 years agomodel-checker : new model-checker configuration model-check/dot_output=file_name...
Marion Guthmuller [Wed, 13 Mar 2013 16:04:20 +0000 (17:04 +0100)]
model-checker : new model-checker configuration model-check/dot_output=file_name which generates a dot output of graph state explored during model checking

11 years agomodel-checker : return state number if the current state is equal to another state...
Marion Guthmuller [Wed, 13 Mar 2013 15:59:46 +0000 (16:59 +0100)]
model-checker : return state number if the current state is equal to another state already visited

11 years agomodel-checker : fix MC_RANDOM simcall
Marion Guthmuller [Wed, 13 Mar 2013 15:41:47 +0000 (16:41 +0100)]
model-checker : fix MC_RANDOM simcall

Time doesn't exist in model-checking. However, there are some
protocols, such as Chord, with some periodics operations (random
lookup, check predecessors, ...).  If the model-checker is used with
these examples, these operations are never executed because of the
time which doesn't progress.  With MC_RANDOM simcall, the
model-checker will explore the two cases : the case in which the
periodic operation is executed and the other case in which it is not
executed.  In this way, the verification is exhaustive whatever the
period.

11 years agomodel-checker : remove obsolete example
Marion Guthmuller [Wed, 13 Mar 2013 15:31:54 +0000 (16:31 +0100)]
model-checker : remove obsolete example

11 years agomodel-checker : set ignore flag to 0 if reallocation
Marion Guthmuller [Tue, 5 Mar 2013 20:38:32 +0000 (21:38 +0100)]
model-checker : set ignore flag to 0 if reallocation

11 years agomodel-checker : minor changes for debug information in heap comparison algorithm
Marion Guthmuller [Tue, 5 Mar 2013 20:36:44 +0000 (21:36 +0100)]
model-checker : minor changes for debug information in heap comparison algorithm

11 years agomodel-checker : check if fragment or block has been already compared
Marion Guthmuller [Tue, 5 Mar 2013 20:34:35 +0000 (21:34 +0100)]
model-checker : check if fragment or block has been already compared

11 years agomodel-checker : remove local variable only if frame name is known
Marion Guthmuller [Tue, 5 Mar 2013 20:31:51 +0000 (21:31 +0100)]
model-checker : remove local variable only if frame name is known

11 years agomodel-checker : remove static function
Marion Guthmuller [Tue, 5 Mar 2013 20:28:57 +0000 (21:28 +0100)]
model-checker : remove static function

11 years agomodel-checker : cosmetics
Marion Guthmuller [Tue, 5 Mar 2013 20:25:11 +0000 (21:25 +0100)]
model-checker : cosmetics

11 years agomodel-checker : get hash of local and global variables which are not pointers
Marion Guthmuller [Tue, 5 Mar 2013 20:24:45 +0000 (21:24 +0100)]
model-checker : get hash of local and global variables which are not pointers

11 years agomodel-checker : ignore running context of processes for system state comparison
Marion Guthmuller [Tue, 5 Mar 2013 17:05:54 +0000 (18:05 +0100)]
model-checker : ignore running context of processes for system state comparison

11 years agomodel-checker : use short instead of int for ignore information in mmalloc meta-data
Marion Guthmuller [Mon, 11 Feb 2013 08:20:35 +0000 (09:20 +0100)]
model-checker : use short instead of int for ignore information in mmalloc meta-data

11 years agomodel-checker : init ignore information for each block/fragment only in mmalloc
Marion Guthmuller [Mon, 11 Feb 2013 08:19:22 +0000 (09:19 +0100)]
model-checker : init ignore information for each block/fragment only in mmalloc

11 years agomodel-checker : remove commentated declaration of function (doesn't exist anymore)
Marion Guthmuller [Mon, 11 Feb 2013 08:14:31 +0000 (09:14 +0100)]
model-checker : remove commentated declaration of function (doesn't exist anymore)

11 years agomodel-checker : remove variable from mc_local_variables if ignored
Marion Guthmuller [Mon, 11 Feb 2013 08:12:00 +0000 (09:12 +0100)]
model-checker : remove variable from mc_local_variables if ignored

11 years agomodel-checker : fix memory leak
Marion Guthmuller [Mon, 11 Feb 2013 08:08:42 +0000 (09:08 +0100)]
model-checker : fix memory leak

11 years agomodel-checker : cosmetics
Marion Guthmuller [Mon, 11 Feb 2013 08:08:26 +0000 (09:08 +0100)]
model-checker : cosmetics

11 years agomodel-checker : cleanups in mc_snapshot structure
Marion Guthmuller [Mon, 11 Feb 2013 08:06:06 +0000 (09:06 +0100)]
model-checker : cleanups in mc_snapshot structure

11 years agomodel-checker : new simcall MC_RANDOM
Marion Guthmuller [Mon, 11 Feb 2013 08:01:36 +0000 (09:01 +0100)]
model-checker : new simcall MC_RANDOM

11 years agomodel-checker : fix memory leak
Marion Guthmuller [Sun, 10 Feb 2013 12:48:46 +0000 (13:48 +0100)]
model-checker : fix memory leak

11 years agomodel-checker : get instruction pointer and frame name with libunwind for the compari...
Marion Guthmuller [Fri, 8 Feb 2013 13:37:03 +0000 (14:37 +0100)]
model-checker : get instruction pointer and frame name with libunwind for the comparison of stacks

11 years agoAvoid to run the smpirun script through valgrind on memcheck.
Arnaud Giersch [Fri, 22 Feb 2013 15:29:01 +0000 (16:29 +0100)]
Avoid to run the smpirun script through valgrind on memcheck.

11 years agoAdd new option to smpirun, for running valgrind/gdb/whatever...
Arnaud Giersch [Fri, 22 Feb 2013 15:28:11 +0000 (16:28 +0100)]
Add new option to smpirun, for running valgrind/gdb/whatever...

11 years agoImprove the printing of default values when size != 1.
Arnaud Giersch [Fri, 8 Mar 2013 16:35:14 +0000 (17:35 +0100)]
Improve the printing of default values when size != 1.

11 years agoCosmetics: add space before opening parenthesis.
Arnaud Giersch [Fri, 8 Mar 2013 16:13:57 +0000 (17:13 +0100)]
Cosmetics: add space before opening parenthesis.

11 years agoCheck return code, and report errors.
Arnaud Giersch [Wed, 6 Mar 2013 12:18:39 +0000 (13:18 +0100)]
Check return code, and report errors.

Avoids to call MPI_Get_count with an invalid status.

11 years agoUse simple arrays, instead of dynars.
Arnaud Giersch [Wed, 6 Mar 2013 10:59:29 +0000 (11:59 +0100)]
Use simple arrays, instead of dynars.

Also fix the use of uninitialized values in PMPI_Waitall.

11 years agoReally copy only when recvbuf != sendbuf.
Arnaud Giersch [Wed, 6 Mar 2013 10:02:20 +0000 (11:02 +0100)]
Really copy only when recvbuf != sendbuf.

And avoid to call memcpy with overlapping regions.

11 years ago[doc] general update on tracing doc
Lucas Schnorr [Fri, 1 Mar 2013 19:49:25 +0000 (16:49 -0300)]
[doc] general update on tracing doc

11 years agoDefine missing function.
Arnaud Giersch [Thu, 21 Feb 2013 17:28:27 +0000 (18:28 +0100)]
Define missing function.

11 years agoRemove useless statements.
Arnaud Giersch [Thu, 21 Feb 2013 17:01:45 +0000 (18:01 +0100)]
Remove useless statements.

11 years agoTry to fix const madness.
Arnaud Giersch [Thu, 21 Feb 2013 17:01:23 +0000 (18:01 +0100)]
Try to fix const madness.

See http://c-faq.com/ansi/constmismatch.html for a related FAQ.

11 years agoFix memory leaks in smpi.
Arnaud Giersch [Thu, 21 Feb 2013 13:41:40 +0000 (14:41 +0100)]
Fix memory leaks in smpi.