Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years ago[mc] Fix segfaults when type->name==NULL
Gabriel Corona [Fri, 7 Feb 2014 10:56:08 +0000 (11:56 +0100)]
[mc] Fix segfaults when type->name==NULL

5 years ago[mc] Disable communication pattern code (segfault)
Gabriel Corona [Fri, 7 Feb 2014 10:55:50 +0000 (11:55 +0100)]
[mc] Disable communication pattern code (segfault)

5 years ago[mc] Remove code for finding an array byte size
Gabriel Corona [Tue, 4 Feb 2014 09:18:59 +0000 (10:18 +0100)]
[mc] Remove code for finding an array byte size

This was useless as it was already handled by libdw dwarf_aggregate_size.

5 years ago[mc] Fix broken type in compare_heap_area_with_type
Gabriel Corona [Mon, 3 Feb 2014 11:09:25 +0000 (12:09 +0100)]
[mc] Fix broken type in compare_heap_area_with_type

5 years ago[mc] Enforce some assumption about the relationship of the compared areas in compare_...
Gabriel Corona [Mon, 20 Jan 2014 14:23:54 +0000 (15:23 +0100)]
[mc] Enforce some assumption about the relationship of the compared areas in compare_areas_with_type

Compare_areas_with_type expects that either :

 * both area are in the heap;
 * both area are in the current segment R/W segment.

Otherwise, it falls back to comparing pointers.

Changes to code to fail if both areas are not in the same segment

5 years ago[mc] Add comments to compare_areas_with_type
Gabriel Corona [Mon, 20 Jan 2014 13:43:31 +0000 (14:43 +0100)]
[mc] Add comments to compare_areas_with_type

5 years ago[mc] Do not ignore DW_TAG_const_type
Gabriel Corona [Mon, 20 Jan 2014 12:09:22 +0000 (13:09 +0100)]
[mc] Do not ignore DW_TAG_const_type

5 years ago[mc] In compare_global_variables only compare values in the R/W segment
Gabriel Corona [Mon, 20 Jan 2014 12:06:07 +0000 (13:06 +0100)]
[mc] In compare_global_variables only compare values in the R/W segment

The algorithme is only relevant if the variable is in the R/W segment
otherwise the resulting pointer will be broken and might result in a
SIGSEV.

This happen if we try to compare a pointer on the .rodata (such as
__FUNCTION__).

Values are supposed to be constant and we do not expect to find
pointers to something which is not reachable by the global variables.

5 years ago[mc] DRY in snapshot_compare
Gabriel Corona [Mon, 20 Jan 2014 10:21:43 +0000 (11:21 +0100)]
[mc] DRY in snapshot_compare

5 years ago[mc] Have a more complete/accurate view of an given object mapping in memory
Gabriel Corona [Mon, 20 Jan 2014 09:19:38 +0000 (10:19 +0100)]
[mc] Have a more complete/accurate view of an given object mapping in memory

* Change the terminology (exec/rw instead of text/data)
  as we do not have information about the sections but only
  about the segments.

 * Add information about the read only segment.

5 years ago[mc] Fix element count computation for a givena array dimension
Gabriel Corona [Fri, 31 Jan 2014 10:58:07 +0000 (11:58 +0100)]
[mc] Fix element count computation for a givena array dimension

element_count = upper_bound - lower_bound + 1

and not

element_count = upper_bound - lower_bound

5 years ago[mc] Fix handling of location
Gabriel Corona [Wed, 29 Jan 2014 10:35:04 +0000 (11:35 +0100)]
[mc] Fix handling of location

The handling of member offsets was broken (DW_AT_data_member_location)
and was always 0.

Add support for the class of a given attribute value.

5 years ago[mc] Comment logging in order to fix the unit tests
Gabriel Corona [Mon, 20 Jan 2014 09:18:14 +0000 (10:18 +0100)]
[mc] Comment logging in order to fix the unit tests

6 years agoMerge remote-tracking branch 'origin/libdw2'
Marion Guthmuller [Fri, 17 Jan 2014 12:15:58 +0000 (13:15 +0100)]
Merge remote-tracking branch 'origin/libdw2'

6 years ago[mc] Add DW_TAG_formal_parameter as variables in the frames
Gabriel Corona [Fri, 17 Jan 2014 11:12:05 +0000 (12:12 +0100)]
[mc] Add DW_TAG_formal_parameter as variables in the frames

6 years ago[mc] Use literal values in DWARF constant to name mappings
Gabriel Corona [Fri, 17 Jan 2014 10:30:07 +0000 (11:30 +0100)]
[mc] Use literal values in DWARF constant to name mappings

6 years ago[mc] Cleanup mc_dwarf.c
Gabriel Corona [Thu, 16 Jan 2014 14:57:52 +0000 (15:57 +0100)]
[mc] Cleanup mc_dwarf.c

6 years ago[mc] Remove useless argument in MC_dwarf_at_location
Gabriel Corona [Fri, 17 Jan 2014 10:16:51 +0000 (11:16 +0100)]
[mc] Remove useless argument in MC_dwarf_at_location

6 years ago[mc] Add comments/doxygen
Gabriel Corona [Thu, 16 Jan 2014 14:50:21 +0000 (15:50 +0100)]
[mc] Add comments/doxygen

6 years ago[mc] Free memory for object_info
Gabriel Corona [Thu, 16 Jan 2014 14:14:00 +0000 (15:14 +0100)]
[mc] Free memory for object_info

6 years ago[mc] Remove objdump code
Gabriel Corona [Thu, 16 Jan 2014 12:08:00 +0000 (13:08 +0100)]
[mc] Remove objdump code

6 years ago[mc] Remove code for location of .plt and .got.plt
Gabriel Corona [Thu, 16 Jan 2014 11:58:06 +0000 (12:58 +0100)]
[mc] Remove code for location of .plt and .got.plt

This code was not used anyway. If necessary a new solution which do
not depend on objdump should be used.

6 years ago[mc] Use libdw for location list
Gabriel Corona [Thu, 16 Jan 2014 10:50:23 +0000 (11:50 +0100)]
[mc] Use libdw for location list

6 years ago[mc] Use libdw for functions and local variables
Gabriel Corona [Mon, 13 Jan 2014 10:56:17 +0000 (11:56 +0100)]
[mc] Use libdw for functions and local variables

6 years ago[mc] Use libdw for global variables
Gabriel Corona [Fri, 10 Jan 2014 13:40:22 +0000 (14:40 +0100)]
[mc] Use libdw for global variables

6 years ago[mc] Deduplicate address location resolution in MC_dwarf_resolve_location()
Gabriel Corona [Fri, 10 Jan 2014 14:42:51 +0000 (15:42 +0100)]
[mc] Deduplicate address location resolution in MC_dwarf_resolve_location()

6 years ago[mc] Remove MC_dwarf_tag_type()
Gabriel Corona [Fri, 10 Jan 2014 13:31:41 +0000 (14:31 +0100)]
[mc] Remove MC_dwarf_tag_type()

6 years ago[mc] Add dwarf_global field to dw_variable_t
Gabriel Corona [Fri, 10 Jan 2014 13:24:16 +0000 (14:24 +0100)]
[mc] Add dwarf_global field to dw_variable_t

It is a better (but not perfect) identifier for a entry.

6 years ago[mc] libdwarf integration for types
Gabriel Corona [Mon, 6 Jan 2014 10:21:02 +0000 (11:21 +0100)]
[mc] libdwarf integration for types

6 years ago[mc] Use DWARF constants for type tags
Gabriel Corona [Mon, 6 Jan 2014 11:20:56 +0000 (12:20 +0100)]
[mc] Use DWARF constants for type tags

6 years ago[mc] Link against libdw
Gabriel Corona [Mon, 23 Dec 2013 13:36:07 +0000 (14:36 +0100)]
[mc] Link against libdw

6 years ago[mc] Fix warnings
Gabriel Corona [Fri, 17 Jan 2014 09:20:06 +0000 (10:20 +0100)]
[mc] Fix warnings

6 years agomodel-checker : first steps for the study of MPI communications patterns
Marion Guthmuller [Thu, 16 Jan 2014 14:24:03 +0000 (15:24 +0100)]
model-checker : first steps for the study of MPI communications patterns

6 years ago[mc] Remove type DW_TAG_enumerator type (because it is not a type)
Gabriel Corona [Tue, 7 Jan 2014 09:33:11 +0000 (10:33 +0100)]
[mc] Remove type DW_TAG_enumerator type (because it is not a type)

6 years ago[mc] Split byte_size and element_count in mc_object_info_t
Gabriel Corona [Mon, 6 Jan 2014 14:01:45 +0000 (15:01 +0100)]
[mc] Split byte_size and element_count in mc_object_info_t

6 years ago[mc] Remove spurious return in MC_find_object_address
Gabriel Corona [Mon, 6 Jan 2014 09:35:52 +0000 (10:35 +0100)]
[mc] Remove spurious return in MC_find_object_address

6 years ago[mc] Add comments
Gabriel Corona [Thu, 9 Jan 2014 13:30:38 +0000 (14:30 +0100)]
[mc] Add comments

6 years ago[mc] Restore lightweight MC initialisation procedure
Gabriel Corona [Fri, 3 Jan 2014 11:02:17 +0000 (12:02 +0100)]
[mc] Restore lightweight MC initialisation procedure

6 years ago[mc] Cleanup mc_object_info_t code
Gabriel Corona [Thu, 2 Jan 2014 14:22:23 +0000 (15:22 +0100)]
[mc] Cleanup mc_object_info_t code

6 years ago[mv] Remove global {start,end}_{plt,got}_{libsimgrid,binary}
Gabriel Corona [Thu, 2 Jan 2014 13:57:46 +0000 (14:57 +0100)]
[mv] Remove global {start,end}_{plt,got}_{libsimgrid,binary}

6 years ago[mc] Add plt/got in mc_object_info_t
Gabriel Corona [Thu, 2 Jan 2014 12:57:16 +0000 (13:57 +0100)]
[mc] Add plt/got in mc_object_info_t

6 years ago[mc] Move start_text, start_data, start_bss into mc_object_info_t
Gabriel Corona [Tue, 24 Dec 2013 14:07:43 +0000 (15:07 +0100)]
[mc] Move start_text, start_data, start_bss into mc_object_info_t

6 years ago[mc] Include ELF file name in object_info_t
Gabriel Corona [Tue, 24 Dec 2013 13:25:34 +0000 (14:25 +0100)]
[mc] Include ELF file name in object_info_t

6 years ago[mc] Remvove mc_{global_variables,local_variables,variables_type}_{libsimgrid,binary}
Gabriel Corona [Thu, 2 Jan 2014 10:01:12 +0000 (11:01 +0100)]
[mc] Remvove mc_{global_variables,local_variables,variables_type}_{libsimgrid,binary}

6 years ago[mc] Do not use mc_{global_variables,local_variables,variables_type}_{libsimgrid...
Gabriel Corona [Thu, 2 Jan 2014 09:49:24 +0000 (10:49 +0100)]
[mc] Do not use mc_{global_variables,local_variables,variables_type}_{libsimgrid,binary}

6 years ago[mc] Refactor, group some informations about a given ELF in mc_object_info_t
Gabriel Corona [Thu, 2 Jan 2014 08:52:19 +0000 (09:52 +0100)]
[mc] Refactor, group some informations about a given ELF in mc_object_info_t

6 years ago[mc] Use LANG=C when calling objdump
Gabriel Corona [Thu, 2 Jan 2014 13:50:52 +0000 (14:50 +0100)]
[mc] Use LANG=C when calling objdump

The output of objdump change with the locale and the parser fails with some locales.

Conflicts:
src/mc/mc_checkpoint.c

6 years ago[mc] Add some documentation to the MC DWARF code
Gabriel Corona [Tue, 24 Dec 2013 11:04:04 +0000 (12:04 +0100)]
[mc] Add some documentation to the MC DWARF code

6 years ago[mc] Fix bug in recurive call of compare_heap_area_with_type
Gabriel Corona [Mon, 6 Jan 2014 13:58:48 +0000 (14:58 +0100)]
[mc] Fix bug in recurive call of compare_heap_area_with_type

When comparing arrays, the number of elements of the array was passed instead of the size of the elements.

6 years ago[mc] Fix bug when parsing /proc/self/maps
Gabriel Corona [Fri, 20 Dec 2013 11:58:13 +0000 (12:58 +0100)]
[mc] Fix bug when parsing /proc/self/maps

Sometimes, the heap is not found by the MC :

* the MC expects the heap to be anonymous/unlabelled in
  /proc/self/maps;

* the heap may be labelled as as [stack:$tid] in /proc/self/maps at
  some instants of the execution of the program because the tasks
  stacks are allocated on the heap.

6 years ago[mc] Fix broken objdump parser with new versions of objdump
Gabriel Corona [Fri, 20 Dec 2013 10:07:01 +0000 (11:07 +0100)]
[mc] Fix broken objdump parser with new versions of objdump

objdump -Wo used to produce this:

     Offset   Begin    End      Expression
     00000000 000000000040149c 000000000040149d (DW_OP_breg7 (rsp): 8)
     00000000 000000000040149d 00000000004014a0 (DW_OP_breg7 (rsp): 16)
     00000000 00000000004014a0 00000000004014ba (DW_OP_breg6 (rbp): 16)
     00000000 00000000004014ba 00000000004014bb (DW_OP_breg7 (rsp): 8)
     00000000 <End of list>
     00000060 00000000004014bb 00000000004014bc (DW_OP_breg7 (rsp): 8)
     00000060 00000000004014bc 00000000004014bf (DW_OP_breg7 (rsp): 16)
     00000060 00000000004014bf 00000000004014c6 (DW_OP_breg6 (rbp): 16)
     00000060 00000000004014c6 00000000004014c7 (DW_OP_breg7 (rsp): 8)
     00000060 <End of list>
     000000c0 00000000004014c7 00000000004014c8 (DW_OP_breg7 (rsp): 8)
     000000c0 00000000004014c8 00000000004014cb (DW_OP_breg7 (rsp): 16)
     000000c0 00000000004014cb 00000000004014d2 (DW_OP_breg6 (rbp): 16)
     000000c0 00000000004014d2 00000000004014d3 (DW_OP_breg7 (rsp): 8)
     000000c0 <End of list>
     00000120 00000000004014d3 00000000004014d4 (DW_OP_breg7 (rsp): 8)
     00000120 00000000004014d4 00000000004014d7 (DW_OP_breg7 (rsp): 16)
     00000120 00000000004014d7 00000000004018c0 (DW_OP_breg6 (rbp): 16)
     00000120 <End of list>

but now we get this:

    Offset   Begin    End      Expression
    00000000 0000000000401252 0000000000401253 (DW_OP_breg7 (rsp): 8)
    00000014 0000000000401253 0000000000401256 (DW_OP_breg7 (rsp): 16)
    00000028 0000000000401256 0000000000401270 (DW_OP_breg6 (rbp): 16)
    0000003c 0000000000401270 0000000000401271 (DW_OP_breg7 (rsp): 8)
    00000050 <End of list>
    00000060 0000000000401271 0000000000401272 (DW_OP_breg7 (rsp): 8)
    00000074 0000000000401272 0000000000401275 (DW_OP_breg7 (rsp): 16)
    00000088 0000000000401275 000000000040127c (DW_OP_breg6 (rbp): 16)
    0000009c 000000000040127c 000000000040127d (DW_OP_breg7 (rsp): 8)
    000000b0 <End of list>
    000000c0 000000000040127d 000000000040127e (DW_OP_breg7 (rsp): 8)
    000000d4 000000000040127e 0000000000401281 (DW_OP_breg7 (rsp): 16)
    000000e8 0000000000401281 0000000000401288 (DW_OP_breg6 (rbp): 16)
    000000fc 0000000000401288 0000000000401289 (DW_OP_breg7 (rsp): 8)
    00000110 <End of list>
    00000120 0000000000401289 000000000040128a (DW_OP_breg7 (rsp): 8)
    00000134 000000000040128a 000000000040128d (DW_OP_breg7 (rsp): 16)
    00000148 000000000040128d 00000000004016a1 (DW_OP_breg6 (rbp): 16)
    0000015c <End of list>
    0000016c 00000000004016a1 00000000004016a2 (DW_OP_breg7 (rsp): 8)
    00000180 00000000004016a2 00000000004016a5 (DW_OP_breg7 (rsp): 16)
    00000194 00000000004016a5 0000000000401bd7 (DW_OP_breg6 (rbp): 16)
    000001a8 <End of list>
    000001b8 0000000000401bd7 0000000000401bd8 (DW_OP_breg7 (rsp): 8)
    000001cc 0000000000401bd8 0000000000401bdb (DW_OP_breg7 (rsp): 16)
    000001e0 0000000000401bdb 0000000000401ced (DW_OP_breg6 (rbp): 16)
    000001f4 0000000000401ced 0000000000401cee (DW_OP_breg7 (rsp): 8)
    00000208 <End of list>

The offset is not stable in a given list.

6 years agoRelease version 3.10-rc2. v3_10_rc2
Arnaud Giersch [Fri, 8 Nov 2013 22:55:41 +0000 (23:55 +0100)]
Release version 3.10-rc2.

6 years agoThis part is not relevant anymore.
Arnaud Giersch [Fri, 8 Nov 2013 22:53:10 +0000 (23:53 +0100)]
This part is not relevant anymore.

6 years agoGive smpiff the directory to libf2c.
Arnaud Giersch [Fri, 8 Nov 2013 22:04:03 +0000 (23:04 +0100)]
Give smpiff the directory to libf2c.
(cherry picked from commit 1848d40fafafab07f8c798116d5c507065f4c97b)

6 years agoDon't add include directories when f77 support is disabled.
Arnaud Giersch [Fri, 8 Nov 2013 22:03:10 +0000 (23:03 +0100)]
Don't add include directories when f77 support is disabled.
(cherry picked from commit 482244d2827841bb565348470beb8167c7558337)

6 years agoTry to fix temp file creation.
Arnaud Giersch [Fri, 8 Nov 2013 16:49:41 +0000 (17:49 +0100)]
Try to fix temp file creation.
(cherry picked from commit 0be4d91dea4f9aeb5e9e298dc579d4ba2b03a2b7)

6 years agobe a little more tricky and hopefully more portable
Augustin Degomme [Fri, 8 Nov 2013 00:12:20 +0000 (01:12 +0100)]
be a little more tricky and hopefully more portable
(cherry picked from commit 3e7047f7353ca1853d3eb5415264714a0315a8d4)

6 years agomore bash->sh changes
Augustin Degomme [Thu, 7 Nov 2013 23:47:06 +0000 (00:47 +0100)]
more bash->sh changes
(cherry picked from commit 65f30b16e0e4b23e41c6306290bc3f04f66986a8)

6 years agothanks to Matthieu Volat, freebsd build may work again. If it doesn't, blame him
Augustin Degomme [Thu, 7 Nov 2013 23:08:30 +0000 (00:08 +0100)]
thanks to Matthieu Volat, freebsd build may work again. If it doesn't, blame him
(cherry picked from commit afa65d266d24d09dce77e5a2e40dec5abdd791b7)

6 years agoflto has not the right effect with clang
Augustin Degomme [Thu, 7 Nov 2013 23:02:22 +0000 (00:02 +0100)]
flto has not the right effect with clang
(cherry picked from commit 56d1e384b07f2eacd980c30a447504cdf5f1d6ef)

6 years agoI blame someone else for this
Augustin Degomme [Thu, 7 Nov 2013 22:28:18 +0000 (23:28 +0100)]
I blame someone else for this
(cherry picked from commit 9e330fa625482e41928374164d70cdd209f3f0c7)

6 years agoSupport for F90 also needs f2c.
Arnaud Giersch [Thu, 7 Nov 2013 21:15:10 +0000 (22:15 +0100)]
Support for F90 also needs f2c.
(cherry picked from commit 433246799eb9913ddb7d902cc1147a39215ee60a)

6 years agoLook for gfortran before enabling support for smpif90.
Arnaud Giersch [Thu, 7 Nov 2013 20:45:53 +0000 (21:45 +0100)]
Look for gfortran before enabling support for smpif90.
(cherry picked from commit 85b2dce67ce8e0e1b4c68f6fbbf4d6f427bca3ff)

6 years agoName the release (following frs69wq's advice).
Arnaud Giersch [Thu, 7 Nov 2013 16:48:07 +0000 (17:48 +0100)]
Name the release (following frs69wq's advice).
(cherry picked from commit 1028bf295229d3a5c75a74b910ca34000d40bb79)

6 years agoFree group_lookup at finalize.
Arnaud Giersch [Thu, 7 Nov 2013 16:23:15 +0000 (17:23 +0100)]
Free group_lookup at finalize.

Also remove useless assignments: variable are already reset to NULL
by xbt_dict_free.
(cherry picked from commit 078e59c8562f1a12a828b8197689c1843d0b6e07)

6 years agothis test used too much memory for build slaves, divide by 4 the buffer size
Augustin Degomme [Thu, 7 Nov 2013 12:35:16 +0000 (13:35 +0100)]
this test used too much memory for build slaves, divide by 4 the buffer size
(cherry picked from commit b60816bd929521783f045ec907fd540efda16e9f)

6 years agoFix build of jar file with cmake >= 3.12 (try #2).
Arnaud Giersch [Thu, 7 Nov 2013 13:47:40 +0000 (14:47 +0100)]
Fix build of jar file with cmake >= 3.12 (try #2).
(cherry picked from commit 7727ed2b76d9fac788bf6bdefbbf49a0425a10e8)

6 years agoThis test does not work with MC.
Arnaud Giersch [Thu, 7 Nov 2013 12:27:58 +0000 (13:27 +0100)]
This test does not work with MC.
(cherry picked from commit ddb79fc2ffed5e509b0898e0adae70cc24622fb8)

6 years agoIncrease junkarea to 4kiB.
Arnaud Giersch [Thu, 7 Nov 2013 10:19:35 +0000 (11:19 +0100)]
Increase junkarea to 4kiB.
(cherry picked from commit 49b058066db4e2b4e78b9f7924dd3795a024d94a)

6 years agoFix 32 bits builds.
Arnaud Giersch [Thu, 7 Nov 2013 09:54:16 +0000 (10:54 +0100)]
Fix 32 bits builds.

f2c defines integer as long int on 32 bits systems.
(cherry picked from commit 612d201268a4154815e62436f30da3e6323486ee)

6 years agoAdd Fortran examples for smpi+dvfs.
Arnaud Giersch [Wed, 6 Nov 2013 23:12:25 +0000 (00:12 +0100)]
Add Fortran examples for smpi+dvfs.
(cherry picked from commit 28ec59bf4a9e4b04c1af121616b72bd846772fa5)

6 years agoAdd Fortran bindigns for smpi+dvfs.
Arnaud Giersch [Wed, 6 Nov 2013 23:12:02 +0000 (00:12 +0100)]
Add Fortran bindigns for smpi+dvfs.
(cherry picked from commit 12a61a8ab437baed346e356f63e02cdaeabeb6f4)

6 years agoAdd example for smpi+dvfs.
Arnaud Giersch [Wed, 6 Nov 2013 17:37:25 +0000 (18:37 +0100)]
Add example for smpi+dvfs.
(cherry picked from commit 40f9c3e861f4b651dc2dd63b79271e735931a1a7)

6 years agoExport DVFS functionality for smpi (experimental).
Arnaud Giersch [Wed, 6 Nov 2013 16:01:43 +0000 (17:01 +0100)]
Export DVFS functionality for smpi (experimental).
(cherry picked from commit 444b3487fdce26571d25a82b1fb835c8c15e550f)

6 years agosmpi build without F2C was broken since 58ea5966
Augustin Degomme [Wed, 6 Nov 2013 23:49:39 +0000 (00:49 +0100)]
smpi build without F2C was broken since 58ea5966
(cherry picked from commit 18bbe5b38ef4565c39f452b42a5b5417c5ad61ed)

6 years agochangelog
Augustin Degomme [Wed, 6 Nov 2013 20:15:56 +0000 (21:15 +0100)]
changelog
(cherry picked from commit c06cc40fb52a8e289add52024b916b728f1a24fa)

6 years agopotential fixes
Augustin Degomme [Wed, 6 Nov 2013 14:42:17 +0000 (15:42 +0100)]
potential fixes
(cherry picked from commit 7e5c2f3a409fb782e912f80867b8573a54e0dc09)

6 years agoleak --(cherry picked from commit dd1330c53beec9c5abb8b23375062e6acf214632)
suter [Wed, 6 Nov 2013 18:59:16 +0000 (19:59 +0100)]
leak --(cherry picked from commit dd1330c53beec9c5abb8b23375062e6acf214632)

6 years agoCosmetics: adjust spaces.
Arnaud Giersch [Wed, 6 Nov 2013 17:35:29 +0000 (18:35 +0100)]
Cosmetics: adjust spaces.
(cherry picked from commit 518ff51fd36819ad91b647e5918f0e6e0440f4c8)

6 years agoMake functions public, they are need by macros SMPI_SAMPLE_{DELAY,FLOPS}.
Arnaud Giersch [Wed, 6 Nov 2013 17:17:33 +0000 (18:17 +0100)]
Make functions public, they are need by macros SMPI_SAMPLE_{DELAY,FLOPS}.
(cherry picked from commit afcb6663eebe4a13bf9ffed05192253f1b6e5297)

6 years agoCosmetics: uncapitalize.
Arnaud Giersch [Wed, 6 Nov 2013 15:49:14 +0000 (16:49 +0100)]
Cosmetics: uncapitalize.
(cherry picked from commit d88fcc7f21b9444f107576afeaed127dfd4de049)

6 years agorevalidate tesh, no impact on time, but cleaning makes jupiter be the
suter [Wed, 6 Nov 2013 17:40:50 +0000 (18:40 +0100)]
revalidate tesh, no impact on time, but cleaning makes jupiter be the
last to finalize(cherry picked from commit 5a3326284f6d3377fd38786633ae8347178d4ded)

6 years agohandle pending asynchronous requests on finalize (should be harmless in
suter [Wed, 6 Nov 2013 17:39:48 +0000 (18:39 +0100)]
handle pending asynchronous requests on finalize (should be harmless in
most cases, everybody should has completed)(cherry picked from commit a09da6c17ad98c22da2c043958f60e0336e9942b)

6 years agosimplify and improve the way asynchronous send and receive are handled(cherry picked...
suter [Wed, 6 Nov 2013 16:18:04 +0000 (17:18 +0100)]
simplify and improve the way asynchronous send and receive are handled(cherry picked from commit 3b0cc88be96b2f07a2a4829a659a4f02f9bbf594)

6 years agoMisc cleanups.
Arnaud Giersch [Wed, 6 Nov 2013 06:47:24 +0000 (07:47 +0100)]
Misc cleanups.

* stat'ing the directory before mkdir is just wrong (race condition),
  remove this test and let fopen report any error;
* use mode 0777 for mkdir, and let the user adjust his umask;
* use xbt_free() instead of free();
* remove useless tests before xbt_{dict,dynar}_free();
* and the usual reindent.
(cherry picked from commit 332285d51119f8f98270655bf88f485a9f914df1)

6 years agoSimplify logic, and free loc in all cases.
Arnaud Giersch [Tue, 5 Nov 2013 21:16:40 +0000 (22:16 +0100)]
Simplify logic, and free loc in all cases.
(cherry picked from commit 903f71895fc1cfd7bbc7609c57b9d09153b7011e)

6 years agoAvoid to dereference a null index when HAVE_TRACING.
Arnaud Giersch [Tue, 5 Nov 2013 21:02:17 +0000 (22:02 +0100)]
Avoid to dereference a null index when HAVE_TRACING.
(cherry picked from commit df9b8b6931c264f2e2877e201e31019e6e7dcad3)

6 years agoRequest should not be null here.
Arnaud Giersch [Tue, 5 Nov 2013 20:52:55 +0000 (21:52 +0100)]
Request should not be null here.
(cherry picked from commit b8fc5d84a6fcf56a745815d784bc10ebbeb6e68a)

6 years agochange tesh test to account for new structure in time independent traces
Augustin Degomme [Tue, 5 Nov 2013 18:06:10 +0000 (19:06 +0100)]
change tesh test to account for new structure in time independent traces
Not ideal, as tesh is a bit too strict to allow us to really compare the files
(cherry picked from commit bf31c01ca3d4167bd748658b02b5938231f23fc5)

6 years agoTrace buffer is not to be handled by the format-dependent init functions
Augustin Degomme [Tue, 5 Nov 2013 18:05:11 +0000 (19:05 +0100)]
Trace buffer is not to be handled by the format-dependent init functions
(cherry picked from commit 8ec4cdb61b9430ccbbb5f07e48d46039aa72609f)

6 years agoMake time independent tracing output by default in one file per process
Augustin Degomme [Tue, 5 Nov 2013 18:04:19 +0000 (19:04 +0100)]
Make time independent tracing output by default in one file per process
Structure is filename.txt : list of all the files to open
folder filename.txt_files : all files, with unique names (so that they won't be erased by a new run, only the main one will)

Adds an option tracing/smpi/format/ti_one_file to only use one subfile and put every event in it
For larger runs this will avoid opening too many handles.
(cherry picked from commit dc0e44715d73224df3cff50a9a0f42e73b1afc8c)

6 years agoSupernovae builds are deprecated.
Arnaud Giersch [Tue, 5 Nov 2013 16:55:19 +0000 (17:55 +0100)]
Supernovae builds are deprecated.

6 years agoUse DBL_MAX for values of type double.
Arnaud Giersch [Tue, 5 Nov 2013 12:02:00 +0000 (13:02 +0100)]
Use DBL_MAX for values of type double.

6 years agoBe consistent: change buf to an array of int.
Arnaud Giersch [Tue, 5 Nov 2013 12:04:43 +0000 (13:04 +0100)]
Be consistent: change buf to an array of int.

6 years agoCheck that table[0].name is defined.
Arnaud Giersch [Tue, 5 Nov 2013 12:16:41 +0000 (13:16 +0100)]
Check that table[0].name is defined.

Also change "model" for "collective" in find_coll_description().

6 years agoUse xbt_die() for DIE_IMPOSSIBLE.
Arnaud Giersch [Tue, 5 Nov 2013 12:23:42 +0000 (13:23 +0100)]
Use xbt_die() for DIE_IMPOSSIBLE.

6 years agoMPI_Abort can theorically fail. Add a call to exit() to ensure that the program...
Arnaud Giersch [Tue, 5 Nov 2013 15:54:24 +0000 (16:54 +0100)]
MPI_Abort can theorically fail.  Add a call to exit() to ensure that the program really stops.

6 years agoDefine buffer on the stack here.
Arnaud Giersch [Tue, 5 Nov 2013 12:00:02 +0000 (13:00 +0100)]
Define buffer on the stack here.

6 years agoWhitespace cleanup. v3_10_rc1
Arnaud Giersch [Mon, 4 Nov 2013 20:59:32 +0000 (21:59 +0100)]
Whitespace cleanup.

6 years agoExclude these tests from memcheck.
Arnaud Giersch [Mon, 4 Nov 2013 20:31:13 +0000 (21:31 +0100)]
Exclude these tests from memcheck.