Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
10 years agoVariable "duration" is never used. Remove it.
Arnaud Giersch [Thu, 6 Mar 2014 11:56:54 +0000 (12:56 +0100)]
Variable "duration" is never used.  Remove it.

10 years agoRemove unused variables.
Arnaud Giersch [Thu, 6 Mar 2014 11:56:54 +0000 (12:56 +0100)]
Remove unused variables.

10 years agoSplit xml files to avoid memory leaks in the parser.
Arnaud Giersch [Thu, 6 Mar 2014 11:56:54 +0000 (12:56 +0100)]
Split xml files to avoid memory leaks in the parser.

10 years agoTypos.
Arnaud Giersch [Thu, 6 Mar 2014 11:56:54 +0000 (12:56 +0100)]
Typos.

10 years agoReset task before each receive.
Arnaud Giersch [Thu, 6 Mar 2014 11:56:54 +0000 (12:56 +0100)]
Reset task before each receive.

10 years agoFix file names: they were exchanged.
Arnaud Giersch [Thu, 6 Mar 2014 11:56:54 +0000 (12:56 +0100)]
Fix file names: they were exchanged.

10 years agoFix build with -Denable_jedule=ON.
Arnaud Giersch [Thu, 6 Mar 2014 11:56:54 +0000 (12:56 +0100)]
Fix build with -Denable_jedule=ON.

Closes bug #16653.

10 years agoAdd msg task destroy cancel test
Paul Bédaride [Wed, 5 Mar 2014 16:33:15 +0000 (17:33 +0100)]
Add msg task destroy cancel test

10 years agoAdd msg host on/off test
Paul Bédaride [Tue, 4 Mar 2014 16:17:21 +0000 (17:17 +0100)]
Add msg host on/off test

10 years agoComment unused parameter.
Arnaud Giersch [Wed, 5 Mar 2014 14:02:25 +0000 (15:02 +0100)]
Comment unused parameter.

10 years agoFix another null dereference.
Arnaud Giersch [Wed, 5 Mar 2014 13:59:14 +0000 (14:59 +0100)]
Fix another null dereference.

Also remove useless variables.

10 years agoFix test bogus-missing-gateway.
Arnaud Giersch [Wed, 5 Mar 2014 10:51:50 +0000 (11:51 +0100)]
Fix test bogus-missing-gateway.

10 years agoAvoid to dereference null pointers.
Arnaud Giersch [Wed, 5 Mar 2014 10:51:17 +0000 (11:51 +0100)]
Avoid to dereference null pointers.

10 years agoCheck if p_routingTable is null in AsFull::~AsFull.
Arnaud Giersch [Wed, 5 Mar 2014 10:49:26 +0000 (11:49 +0100)]
Check if p_routingTable is null in AsFull::~AsFull.

10 years agoAdd test for missing dst gateway too.
Arnaud Giersch [Wed, 5 Mar 2014 10:41:46 +0000 (11:41 +0100)]
Add test for missing dst gateway too.

10 years agoDon't dereference null pointer.
Arnaud Giersch [Wed, 5 Mar 2014 09:30:51 +0000 (10:30 +0100)]
Don't dereference null pointer.

Thanks to Stéphane Castelli.

10 years ago[mc] Add support for DW_TAG_unspecified_type (nullptr_t in C++11)
Gabriel Corona [Mon, 3 Mar 2014 14:59:15 +0000 (15:59 +0100)]
[mc] Add support for DW_TAG_unspecified_type (nullptr_t in C++11)

10 years ago[mc] Bring back old code for MPI_Finalize (disabled)
Gabriel Corona [Mon, 3 Mar 2014 12:30:45 +0000 (13:30 +0100)]
[mc] Bring back old code for MPI_Finalize (disabled)

Some test (probenull) do not terminate with the new code of
MPI_Finalize.

10 years agofix the dist target
Martin Quinson [Fri, 28 Feb 2014 12:42:50 +0000 (13:42 +0100)]
fix the dist target

10 years agoadd a test reproducing the issue experienced by Luke Bertot
Martin Quinson [Fri, 28 Feb 2014 11:03:50 +0000 (12:03 +0100)]
add a test reproducing the issue experienced by Luke Bertot

10 years agoRename a test to clearly show that it should properly detect bogus input files
Martin Quinson [Fri, 28 Feb 2014 10:41:14 +0000 (11:41 +0100)]
Rename a test to clearly show that it should properly detect bogus input files

10 years agohide some new advanced variables in CMake
Martin Quinson [Fri, 28 Feb 2014 10:34:26 +0000 (11:34 +0100)]
hide some new advanced variables in CMake

10 years agoignore some more example binaries
Martin Quinson [Fri, 28 Feb 2014 10:33:58 +0000 (11:33 +0100)]
ignore some more example binaries

10 years agoobvious typo
Martin Quinson [Fri, 28 Feb 2014 09:04:36 +0000 (10:04 +0100)]
obvious typo

10 years agoMerge branch 'mc++' into mc-merge
Gabriel Corona [Fri, 28 Feb 2014 08:33:45 +0000 (09:33 +0100)]
Merge branch 'mc++' into mc-merge

10 years ago[mc] Fix broken tests with surf++ (because simcall number have changed)
Gabriel Corona [Mon, 24 Feb 2014 09:10:56 +0000 (10:10 +0100)]
[mc] Fix broken tests with surf++ (because simcall number have changed)

 * do not print the simcall numbers as they are not stable;

 * remove them from test expected output of tests.

10 years ago[mc] Log some information for the prefiltering phase of state comparator
Gabriel Corona [Tue, 25 Feb 2014 14:42:10 +0000 (15:42 +0100)]
[mc] Log some information for the prefiltering phase of state comparator

10 years agoget the doc in sync with what happens in code (thanks to Luke Berthot for the report)
Martin Quinson [Fri, 28 Feb 2014 07:46:11 +0000 (08:46 +0100)]
get the doc in sync with what happens in code (thanks to Luke Berthot for the report)

10 years agoDon't change the address of the buffer of the MPI_Request for a send, as it may be...
Augustin Degomme [Thu, 27 Feb 2014 16:59:25 +0000 (17:59 +0100)]
Don't change the address of the buffer of the MPI_Request for a send, as it may be reused.

10 years agoChange the way persistent MPI_Request are handled after their use.
Augustin Degomme [Thu, 27 Feb 2014 15:42:58 +0000 (16:42 +0100)]
Change the way persistent MPI_Request are handled after their use.

10 years agogeneralize behavior of commit 3391e81 to other test/wait functions
Augustin Degomme [Thu, 27 Feb 2014 09:29:01 +0000 (10:29 +0100)]
generalize behavior of commit 3391e81 to other test/wait functions

10 years agoSome cleanup in FindNS3.cmake.
Arnaud Giersch [Thu, 27 Feb 2014 13:48:21 +0000 (14:48 +0100)]
Some cleanup in FindNS3.cmake.

10 years agoClean surf code
Paul Bédaride [Wed, 26 Feb 2014 09:52:32 +0000 (10:52 +0100)]
Clean surf code

10 years agoPersistent comms may be reused after a wait, do not put their handle to MPI_REQUEST_NULL
Augustin Degomme [Tue, 25 Feb 2014 13:58:50 +0000 (14:58 +0100)]
Persistent comms may be reused after a wait, do not put their handle to MPI_REQUEST_NULL

10 years ago[mc] Handle DW_TAG_class_type as DW_TAG_structure_type (C++)
Gabriel Corona [Tue, 25 Feb 2014 12:21:12 +0000 (13:21 +0100)]
[mc] Handle DW_TAG_class_type as DW_TAG_structure_type (C++)

10 years agoMerge branch 'mc' into mc++
Gabriel Corona [Tue, 25 Feb 2014 12:09:35 +0000 (13:09 +0100)]
Merge branch 'mc' into mc++

10 years agoMerge bugfix from branch mc-refactor
Gabriel Corona [Tue, 25 Feb 2014 11:49:58 +0000 (12:49 +0100)]
Merge bugfix from branch mc-refactor

Conflicts:
src/xbt/mmalloc/mm_diff.c

10 years agoMerge branches 'mc'
Gabriel Corona [Tue, 25 Feb 2014 11:47:47 +0000 (12:47 +0100)]
Merge branches 'mc'

10 years ago[mc] Fix format strings
Gabriel Corona [Tue, 25 Feb 2014 11:47:17 +0000 (12:47 +0100)]
[mc] Fix format strings

10 years agoMerge bugfix
Gabriel Corona [Tue, 25 Feb 2014 11:38:24 +0000 (12:38 +0100)]
Merge bugfix

10 years ago[mc] Fix buf introduces by previous commit
Gabriel Corona [Tue, 25 Feb 2014 11:36:26 +0000 (12:36 +0100)]
[mc] Fix buf introduces by previous commit

Comparing a size with a DIE tag.

10 years ago[mc] Handle reference_type and rvalue_reference_type as pointer_type (C++)
Gabriel Corona [Tue, 25 Feb 2014 11:32:34 +0000 (12:32 +0100)]
[mc] Handle reference_type and rvalue_reference_type as pointer_type (C++)

10 years ago[mc] Skip declaration of data_members (C++)
Gabriel Corona [Tue, 25 Feb 2014 10:03:38 +0000 (11:03 +0100)]
[mc] Skip declaration of data_members (C++)

Skip declaration in in header:

    struct foo {
     [...]
     static int bar
    }

We are interested in (.cpp):

   int foo:bar = 42;

10 years ago[mc] Skip variables/members which are compile time constants
Gabriel Corona [Tue, 25 Feb 2014 09:51:50 +0000 (10:51 +0100)]
[mc] Skip variables/members which are compile time constants

The current code expect location for each variable/member and it is
missing for constants.

10 years ago[mc] Fix typos
Gabriel Corona [Tue, 25 Feb 2014 09:36:35 +0000 (10:36 +0100)]
[mc] Fix typos

A dwarg is a mix of a dwarf and a warg?

10 years ago[mc] Handle DW_AT_start_scope (for constants)
Gabriel Corona [Tue, 25 Feb 2014 09:16:28 +0000 (10:16 +0100)]
[mc] Handle DW_AT_start_scope (for constants)

10 years ago[mc] Handle DW_TAG_namespace (C++)
Gabriel Corona [Tue, 25 Feb 2014 08:55:45 +0000 (09:55 +0100)]
[mc] Handle DW_TAG_namespace (C++)

10 years agomodel-checker : smpi examples for the communication pattern detection
Marion Guthmuller [Mon, 24 Feb 2014 17:44:02 +0000 (18:44 +0100)]
model-checker : smpi examples for the communication pattern detection

10 years agomodel-checker : print comm pattern
Marion Guthmuller [Mon, 24 Feb 2014 17:40:20 +0000 (18:40 +0100)]
model-checker : print comm pattern

10 years agomodel-checker : use separate configuration flags for comm determinism and send determ...
Marion Guthmuller [Mon, 24 Feb 2014 17:39:18 +0000 (18:39 +0100)]
model-checker : use separate configuration flags for comm determinism and send determinism detection

10 years agomodel-checker : check if action not NULL before using it
Marion Guthmuller [Mon, 24 Feb 2014 16:03:37 +0000 (17:03 +0100)]
model-checker : check if action not NULL before using it

10 years ago[mc] Basic namespace support (for types)
Gabriel Corona [Mon, 24 Feb 2014 14:11:40 +0000 (15:11 +0100)]
[mc] Basic namespace support (for types)

10 years agolots and lots of changes
Augustin Degomme [Mon, 24 Feb 2014 15:17:25 +0000 (16:17 +0100)]
lots and lots of changes

10 years ago[mc] Do not use linkage_name as a name
Gabriel Corona [Mon, 24 Feb 2014 13:00:00 +0000 (14:00 +0100)]
[mc] Do not use linkage_name as a name

If needed, it would be better to use a separate field.

10 years ago[mc] Add MC_dwarf_tag_classify()
Gabriel Corona [Mon, 24 Feb 2014 12:54:45 +0000 (13:54 +0100)]
[mc] Add MC_dwarf_tag_classify()

Add MC_dwarf_tag_classify(tag) which regroupe different similar
DW_TAG_* items classes. This is in preparation for upcoming
modifications of the DIE handling code.

10 years ago[mc] Do not try to handle scopes inside a subprogram
Gabriel Corona [Mon, 24 Feb 2014 12:22:10 +0000 (13:22 +0100)]
[mc] Do not try to handle scopes inside a subprogram

The variables of a subprogram scopes were merged in the information
about subprogram without any information on its range of validity (for
which range of IP the variable is valid).

As this handling of scopes was broken, this commit ignore the scopes within a
subprogram.

We need to:

  * either add frame_t as child of frame_t to represent scope;

  * or attach validity information on each variables

    This one is needed anyway in order to handle DW_AT_start_scope.

  * or both.

    Use frame_t for DW_TAG_inlined_subprogram and validity range for
    real scope.

-    if(dwarf_offdie(dwarf, offset+length, &die)!=NULL) {
-      MC_dwarf_handle_die(info, &die, &die, NULL);
+    if(dwarf_offdie(dwarf, offset+length, &unit_die)!=NULL) {
+      Dwarf_Die child;
+      int res;
+      for (res=dwarf_child(&unit_die, &child); res==0; res=dwarf_siblingof(&child,&child)) {
+        MC_dwarf_handle_die(info, &child, &unit_die, NULL);
+      }
     }
     offset = next_offset;
   }

10 years ago[mc] Use dynar instead of dict for storing functions
Gabriel Corona [Mon, 24 Feb 2014 11:03:24 +0000 (12:03 +0100)]
[mc] Use dynar instead of dict for storing functions

Multiple instances of the same function with the same name can be
found in a given program:

  * different local static functions;
  * same inline functions;
  * overloads (C++);
  * ...

10 years ago[mc] Move MC_ignore_local_variable and MC_ignore_global_variable to initialisation...
Gabriel Corona [Mon, 24 Feb 2014 09:51:16 +0000 (10:51 +0100)]
[mc] Move MC_ignore_local_variable and MC_ignore_global_variable to initialisation code

10 years ago[mc] Add missing DW_FORM_data1 (enable C++ support)
Gabriel Corona [Mon, 24 Feb 2014 09:35:01 +0000 (10:35 +0100)]
[mc] Add missing DW_FORM_data1 (enable C++ support)

For some reason DW_FORM_data1 was only used in C++ compile units.

10 years agoMerge 'master' into mc
Gabriel Corona [Mon, 24 Feb 2014 09:04:38 +0000 (10:04 +0100)]
Merge 'master' into mc

Conflicts:
src/mc/mc_checkpoint.c
src/mc/mc_global.c
src/mc/mc_private.h

10 years agosmall cosmetics in the Changelog+NEWS files
Martin Quinson [Mon, 24 Feb 2014 08:47:16 +0000 (09:47 +0100)]
small cosmetics in the Changelog+NEWS files

10 years agoMerge branch 'mc-perf' into mc
Gabriel Corona [Mon, 24 Feb 2014 08:27:07 +0000 (09:27 +0100)]
Merge branch 'mc-perf' into mc

10 years agoFix compilation
Gabriel Corona [Mon, 24 Feb 2014 08:27:01 +0000 (09:27 +0100)]
Fix compilation

10 years agoUse the full jar here.
Arnaud Giersch [Fri, 21 Feb 2014 16:24:46 +0000 (17:24 +0100)]
Use the full jar here.

10 years agoAdd an option to control whether native libraries are bundled into jar file.
Arnaud Giersch [Fri, 21 Feb 2014 14:44:49 +0000 (15:44 +0100)]
Add an option to control whether native libraries are bundled into jar file.

May be usefull for e.g. Debian packages.

10 years agoIsolate generation of the NATIVE path for the jar file.
Arnaud Giersch [Wed, 27 Nov 2013 15:37:49 +0000 (16:37 +0100)]
Isolate generation of the NATIVE path for the jar file.

Now it can be obtained by running:
    java -classpath simgrid.jar org.simgrid.msg.NativeLib

Use it also when finalizing the jar file.

10 years agodistcheck again.
Arnaud Giersch [Fri, 21 Feb 2014 15:58:59 +0000 (16:58 +0100)]
distcheck again.

10 years agoCosmetics.
Arnaud Giersch [Fri, 21 Feb 2014 15:05:09 +0000 (16:05 +0100)]
Cosmetics.

10 years agoDisk usage computation bug fix
Pierre Veyre [Fri, 21 Feb 2014 15:16:46 +0000 (16:16 +0100)]
Disk usage computation bug fix

10 years ago[mc] Avoid resolving TLS over and over again
Gabriel Corona [Fri, 21 Feb 2014 14:21:41 +0000 (15:21 +0100)]
[mc] Avoid resolving TLS over and over again

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Fri, 21 Feb 2014 13:46:17 +0000 (14:46 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoMSG_file_write() bug fix + tesh files improvements
Pierre Veyre [Fri, 21 Feb 2014 13:45:52 +0000 (14:45 +0100)]
MSG_file_write() bug fix + tesh files improvements

10 years agoUpdate changelog and news v3_11_beta
Paul Bédaride [Fri, 21 Feb 2014 12:44:40 +0000 (13:44 +0100)]
Update changelog and news

10 years agoClean surf
Paul Bédaride [Fri, 21 Feb 2014 12:44:15 +0000 (13:44 +0100)]
Clean surf

10 years agoAdd script to generate multi-platform jar
Paul Bédaride [Fri, 21 Feb 2014 10:41:00 +0000 (11:41 +0100)]
Add script to generate multi-platform jar

10 years agoMake check_dist_archive accept the newly created .gitversion.
Arnaud Giersch [Fri, 21 Feb 2014 09:31:29 +0000 (10:31 +0100)]
Make check_dist_archive accept the newly created .gitversion.

10 years agoChangelog update
Augustin Degomme [Fri, 21 Feb 2014 09:43:41 +0000 (10:43 +0100)]
Changelog update

10 years agothis was not needed anymore
Augustin Degomme [Fri, 21 Feb 2014 09:42:58 +0000 (10:42 +0100)]
this was not needed anymore

10 years agoAdd .gitversion to dist
Paul Bédaride [Fri, 21 Feb 2014 09:26:46 +0000 (10:26 +0100)]
Add .gitversion to dist

10 years ago[mc] Merge add_compared_pointers and already_compared_pointers into add_compared_pointers
Gabriel Corona [Fri, 21 Feb 2014 09:04:09 +0000 (10:04 +0100)]
[mc] Merge add_compared_pointers and already_compared_pointers into add_compared_pointers

Avoid doing the binary search twice.

10 years agoFix warnings with make simgrid_documentation.
Arnaud Giersch [Thu, 20 Feb 2014 14:26:15 +0000 (15:26 +0100)]
Fix warnings with make simgrid_documentation.

10 years agoFIX: forget to update filename in DefinePackage.cmake
Paul Bédaride [Thu, 20 Feb 2014 15:23:35 +0000 (16:23 +0100)]
FIX: forget to update filename in DefinePackage.cmake

10 years agoAdd SG version and Git version in MANIFEST.MF
Paul Bédaride [Thu, 20 Feb 2014 15:14:42 +0000 (16:14 +0100)]
Add SG version and Git version in MANIFEST.MF

10 years agoFix MSG_storage_get_proporties() bug
Pierre Veyre [Thu, 20 Feb 2014 14:04:55 +0000 (15:04 +0100)]
Fix MSG_storage_get_proporties() bug

10 years ago[mc] Avoid (slow) type lookups by name or ID (xbt_dict_get_or_null)
Gabriel Corona [Thu, 20 Feb 2014 11:26:24 +0000 (12:26 +0100)]
[mc] Avoid (slow) type lookups by name or ID (xbt_dict_get_or_null)

10 years ago[mc] Move mc_find_frame_base in mc_dwarf.c where it belongs
Gabriel Corona [Thu, 20 Feb 2014 10:56:22 +0000 (11:56 +0100)]
[mc] Move mc_find_frame_base in mc_dwarf.c where it belongs

10 years ago[mc] Use resolved addresses in entry.low_pc and entry.high_pc
Gabriel Corona [Thu, 20 Feb 2014 10:54:46 +0000 (11:54 +0100)]
[mc] Use resolved addresses in entry.low_pc and entry.high_pc

10 years ago[mc] Use resolved addresses in frame->low_pc and frame->high_pc
Gabriel Corona [Thu, 20 Feb 2014 10:41:03 +0000 (11:41 +0100)]
[mc] Use resolved addresses in frame->low_pc and frame->high_pc

10 years agoMissing commit for introduce model specific properties for storage_type
Pierre Veyre [Thu, 20 Feb 2014 09:21:05 +0000 (10:21 +0100)]
Missing commit for introduce model specific properties for storage_type

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Thu, 20 Feb 2014 09:05:29 +0000 (10:05 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoIntroduce model specific properties for storage_type
Pierre Veyre [Thu, 20 Feb 2014 09:04:49 +0000 (10:04 +0100)]
Introduce model specific properties for storage_type

10 years agoCleanup.
Arnaud Giersch [Wed, 19 Feb 2014 14:41:11 +0000 (15:41 +0100)]
Cleanup.

10 years agoUpdate changelog
Paul Bédaride [Wed, 19 Feb 2014 10:18:40 +0000 (11:18 +0100)]
Update changelog

10 years agoFix normalize-pointers script
Paul Bédaride [Wed, 19 Feb 2014 10:18:21 +0000 (11:18 +0100)]
Fix normalize-pointers script

10 years agoInform user when model-checking has been disabled because of HAVE_MMALLOC.
Arnaud Giersch [Tue, 18 Feb 2014 17:15:43 +0000 (18:15 +0100)]
Inform user when model-checking has been disabled because of HAVE_MMALLOC.

Also use HAVE_MC instead on enable_model-checking in cmake's final report.

10 years agoFix some overflows in msg_vm on 32bits archs.
Arnaud Giersch [Tue, 18 Feb 2014 16:13:03 +0000 (17:13 +0100)]
Fix some overflows in msg_vm on 32bits archs.

10 years agoReindent function.
Arnaud Giersch [Tue, 18 Feb 2014 16:22:28 +0000 (17:22 +0100)]
Reindent function.

10 years ago[mc] Do not waste time calling libunwind get_proc_name in the hot spots
Gabriel Corona [Tue, 18 Feb 2014 10:38:14 +0000 (11:38 +0100)]
[mc] Do not waste time calling libunwind get_proc_name in the hot spots

In typical executions, nearly 50% of the time was spent in libunwind
get_proc_name.

The algorithm to find the function for a given IP (instruction
pointer) was:

  (proc_name, offset) = get_proc_name(ip) // Slow!
  dwarf_ip = ip - offset
  function = functions_by_name[proc_name]

We added a structure mapping IP ranges to functions and the algorithm
is now:

  function = functions_by_ip[ip]

Instead of relying on libunwind, we use the DWARF information to find
the corresponding DWARF TAG_subprogram DIEs directly.

The secution time on some MPICH tests is nearly halved.

Notes:

 * It was necessary to disable the support for inlined_subprograms
   which was broken anyway: the inlined_subprogram entries should be
   stored as children of their parent subprogram (as a block). We need
   to add support for scope blocks inside a suprogram to handle this
   correctly.

 * Currently the translation between process virtual addresses and
   DWARF virtual addresses is handled in many different places. We
   should change this to process it only when parsing the DWARF DIEs
   and be done with it.

10 years agomodel-checker : conflit
Marion Guthmuller [Tue, 18 Feb 2014 14:41:16 +0000 (15:41 +0100)]
model-checker : conflit

10 years agomodel-checker : minor fix
Marion Guthmuller [Tue, 18 Feb 2014 14:33:43 +0000 (15:33 +0100)]
model-checker : minor fix