Paul Bédaride [Fri, 31 Jan 2014 16:11:56 +0000 (17:11 +0100)]
Add simple vm tesh
Paul Bédaride [Fri, 31 Jan 2014 15:43:48 +0000 (16:43 +0100)]
Add c and tesh files for the new test
Paul Bédaride [Fri, 31 Jan 2014 15:31:13 +0000 (16:31 +0100)]
Add RoutingEdge wrapper to manage vm not destroy
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
Gabriel Corona [Mon, 20 Jan 2014 13:43:31 +0000 (14:43 +0100)]
[mc] Add comments to compare_areas_with_type
Gabriel Corona [Mon, 20 Jan 2014 12:09:22 +0000 (13:09 +0100)]
[mc] Do not ignore DW_TAG_const_type
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.
Gabriel Corona [Mon, 20 Jan 2014 10:21:43 +0000 (11:21 +0100)]
[mc] DRY in snapshot_compare
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.
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
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.
Gabriel Corona [Mon, 20 Jan 2014 09:18:14 +0000 (10:18 +0100)]
[mc] Comment logging in order to fix the unit tests
Arnaud Giersch [Fri, 31 Jan 2014 09:51:20 +0000 (10:51 +0100)]
The Debian package is actually libsimgrid-dev.
Arnaud Giersch [Fri, 31 Jan 2014 09:37:53 +0000 (10:37 +0100)]
Fix warning about "min" and "max" being redefined in f2c.h.
Arnaud Giersch [Fri, 31 Jan 2014 09:00:28 +0000 (10:00 +0100)]
Slightly improve FindF2c.cmake.
* print diagnostic message after each step
* use LD_LIBRARY_PATH as a hint to find libf2c.so
* use the location of libf2c.so as a hint to find f2c.h
Arnaud Giersch [Thu, 30 Jan 2014 21:27:22 +0000 (22:27 +0100)]
Reintroduce MC stuff lost by commit
11af893.
Arnaud Giersch [Thu, 30 Jan 2014 17:21:02 +0000 (18:21 +0100)]
Only install smpi scripts when support is available.
Arnaud Giersch [Thu, 30 Jan 2014 15:16:43 +0000 (16:16 +0100)]
Remove duplicated code.
Augustin Degomme [Thu, 30 Jan 2014 17:06:49 +0000 (18:06 +0100)]
I hate tests in shell.
Augustin Degomme [Thu, 30 Jan 2014 16:57:09 +0000 (17:57 +0100)]
add link + fix doc
Augustin Degomme [Thu, 30 Jan 2014 16:30:11 +0000 (17:30 +0100)]
add an error message in smpirun to point user to the stack_size parameter in case of segfault
This will only work for linux, probably, but shouldn't break other systems
Augustin Degomme [Thu, 30 Jan 2014 16:28:05 +0000 (17:28 +0100)]
Add link to doc in warning message
Arnaud Giersch [Thu, 30 Jan 2014 14:26:32 +0000 (15:26 +0100)]
Fix smpi examples after previous change.
Arnaud Giersch [Thu, 30 Jan 2014 14:25:10 +0000 (15:25 +0100)]
Inform the user that smpi/running_power has to be set to get accurate timings.
Arnaud Giersch [Thu, 30 Jan 2014 14:23:57 +0000 (15:23 +0100)]
Define sg_cfg_is_default_value().
Arnaud Giersch [Thu, 30 Jan 2014 13:45:01 +0000 (14:45 +0100)]
Add template for copyright header.
Arnaud Giersch [Thu, 30 Jan 2014 12:56:41 +0000 (13:56 +0100)]
Make example java/cloud/migration build, and add dummy tesh file.
Arnaud Giersch [Thu, 30 Jan 2014 12:47:21 +0000 (13:47 +0100)]
Add simcalls.{in,py} to EXTRA_DIST.
Arnaud Giersch [Thu, 30 Jan 2014 12:05:48 +0000 (13:05 +0100)]
Exclude simcalls_generated_case.c for Doxygen.
Arnaud Giersch [Thu, 30 Jan 2014 11:55:06 +0000 (12:55 +0100)]
Correct parameter name in doc.
Arnaud Giersch [Thu, 30 Jan 2014 11:53:47 +0000 (12:53 +0100)]
Remove useless files.
Paul Bédaride [Thu, 30 Jan 2014 12:24:06 +0000 (13:24 +0100)]
Add checking for simcalls
Paul Bédaride [Wed, 29 Jan 2014 22:33:29 +0000 (23:33 +0100)]
Add missing files in DefinePackage
Paul Bédaride [Wed, 29 Jan 2014 22:05:00 +0000 (23:05 +0100)]
Simcalls generated by python script
alebre [Wed, 29 Jan 2014 15:35:46 +0000 (16:35 +0100)]
add migration-test adrien
Paul Bédaride [Tue, 28 Jan 2014 16:40:24 +0000 (17:40 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Arnaud Giersch [Mon, 27 Jan 2014 22:11:59 +0000 (23:11 +0100)]
Always initialize p_power.event.
Arnaud Giersch [Mon, 27 Jan 2014 16:33:17 +0000 (17:33 +0100)]
Don't build mmalloc when !HAVE_THREAD_LOCAL_STORAGE.
mm_diff.c uses TLS.
Arnaud Giersch [Mon, 27 Jan 2014 16:30:37 +0000 (17:30 +0100)]
This test really look wrong. Fix it.
Am I missing something?
Arnaud Giersch [Mon, 27 Jan 2014 16:28:52 +0000 (17:28 +0100)]
Cosmetics.
Arnaud Giersch [Mon, 27 Jan 2014 16:27:48 +0000 (17:27 +0100)]
Print value for HAVE_THREAD_LOCAL_STORAGE.
Arnaud Giersch [Mon, 27 Jan 2014 15:23:00 +0000 (16:23 +0100)]
Don't include mc_private.h when \!HAVE_MC.
Paul Bédaride [Fri, 24 Jan 2014 13:07:02 +0000 (14:07 +0100)]
Add Linear MaxMin documentation
Augustin Degomme [Fri, 24 Jan 2014 10:25:53 +0000 (11:25 +0100)]
leak--; dynar abuse--;
Augustin Degomme [Fri, 24 Jan 2014 09:23:47 +0000 (10:23 +0100)]
have smp-aware algorithms use number of cores on the node as basis for their computation (needs good deployment and regular platform)
Augustin Degomme [Thu, 23 Jan 2014 15:56:17 +0000 (16:56 +0100)]
allow handling of host:nb_processes structure for mpi hostfiles
Arnaud Giersch [Fri, 24 Jan 2014 10:13:35 +0000 (11:13 +0100)]
Rework smpi-compute tests, and hope to make them reproducible.
Arnaud Giersch [Thu, 23 Jan 2014 22:15:47 +0000 (23:15 +0100)]
--leak
Arnaud Giersch [Thu, 23 Jan 2014 21:42:10 +0000 (22:42 +0100)]
Fix warning about unused dummy argument.
Arnaud Giersch [Thu, 23 Jan 2014 16:28:54 +0000 (17:28 +0100)]
Avoid to build unused tests and save up to 25% on build time.
Arnaud Giersch [Thu, 23 Jan 2014 16:06:08 +0000 (17:06 +0100)]
Typos.
Arnaud Giersch [Thu, 23 Jan 2014 09:23:30 +0000 (10:23 +0100)]
Free exception, and fix warnings about variables possibly clobbered by longjmp.
Arnaud Giersch [Thu, 23 Jan 2014 08:30:14 +0000 (09:30 +0100)]
Fix doxygen warnings.
Arnaud Giersch [Wed, 22 Jan 2014 20:38:21 +0000 (21:38 +0100)]
Fix initialization order again.
Arnaud Giersch [Wed, 22 Jan 2014 14:46:32 +0000 (15:46 +0100)]
Another fix for format string.
Arnaud Giersch [Wed, 22 Jan 2014 14:45:51 +0000 (15:45 +0100)]
Connect another new log category.
Paul Bédaride [Wed, 22 Jan 2014 17:07:06 +0000 (18:07 +0100)]
Add more callbacks
Augustin Degomme [Wed, 22 Jan 2014 16:46:13 +0000 (17:46 +0100)]
protect (hopefully) collective communication algorithms from abuse.
Prevent their use with a number of node they don't like
Allows the automatic selector to ignore those failing using exception mechanism
Augustin Degomme [Wed, 22 Jan 2014 12:56:44 +0000 (13:56 +0100)]
long => int, and other corrections
Augustin Degomme [Wed, 22 Jan 2014 12:14:05 +0000 (13:14 +0100)]
update tesh
Augustin Degomme [Wed, 22 Jan 2014 11:21:05 +0000 (12:21 +0100)]
add an example of a torus cluster in flatifier
Augustin Degomme [Wed, 22 Jan 2014 11:11:42 +0000 (12:11 +0100)]
change log level for a message
Augustin Degomme [Wed, 22 Jan 2014 10:12:40 +0000 (11:12 +0100)]
Merge branch 'torus'
Augustin Degomme [Wed, 22 Jan 2014 10:07:14 +0000 (11:07 +0100)]
dtd update for new cluster routing options
Augustin Degomme [Wed, 22 Jan 2014 10:06:17 +0000 (11:06 +0100)]
make cluster routing a bit more flexible, to allow adding other kinds of clusters
for each node, link creation is made inside the specific routing file,
except for loopback and backbone which are done in surf_routing if they are needed
Arnaud Giersch [Wed, 22 Jan 2014 09:24:25 +0000 (10:24 +0100)]
Connect new log category.
Arnaud Giersch [Wed, 22 Jan 2014 09:23:10 +0000 (10:23 +0100)]
File is expected to be missing from the archive.
Arnaud Giersch [Wed, 22 Jan 2014 09:20:48 +0000 (10:20 +0100)]
Remove obsolete files.
Arnaud Giersch [Tue, 21 Jan 2014 22:18:08 +0000 (23:18 +0100)]
smpi_global_size() is needed even when !SMPI_F2C.
Arnaud Giersch [Tue, 21 Jan 2014 21:16:07 +0000 (22:16 +0100)]
Fix warnings about unused variables.
Arnaud Giersch [Tue, 21 Jan 2014 21:07:49 +0000 (22:07 +0100)]
Make initialization order match declaration order.
Arnaud Giersch [Tue, 21 Jan 2014 21:04:14 +0000 (22:04 +0100)]
Comment unused variables and parameters.
Arnaud Giersch [Tue, 21 Jan 2014 15:28:25 +0000 (16:28 +0100)]
Use struct here to keep compatibility with C files.
struct As is used in ../include/msg/datatypes.h
struct RoutingEdge is used in ../include/simgrid/platf.h
(commit
6af809fdd97845671db6136b3903e0d543ab7217 again).
Arnaud Giersch [Tue, 21 Jan 2014 15:26:19 +0000 (16:26 +0100)]
Fix format string.
Arnaud Giersch [Tue, 21 Jan 2014 14:12:51 +0000 (15:12 +0100)]
Enable mpich3 tests with sysV and raw contexts.
Arnaud Giersch [Tue, 21 Jan 2014 14:11:31 +0000 (15:11 +0100)]
Privatize global variables in mpich3 tests.
Arnaud Giersch [Tue, 21 Jan 2014 09:30:36 +0000 (10:30 +0100)]
Global variables should be initialized to zero.
Arnaud Giersch [Tue, 21 Jan 2014 09:28:48 +0000 (10:28 +0100)]
smpi_cocci.h: make functions static.
Arnaud Giersch [Tue, 21 Jan 2014 09:26:29 +0000 (10:26 +0100)]
Move declaration for smpi_global_size().
It is needed in smpi_cocci.h.
Paul Bédaride [Tue, 21 Jan 2014 13:44:07 +0000 (14:44 +0100)]
SURF Documentation
Augustin Degomme [Mon, 20 Jan 2014 13:20:43 +0000 (14:20 +0100)]
add handling of the torus topology inside clusters
Arnaud Giersch [Mon, 20 Jan 2014 08:56:53 +0000 (09:56 +0100)]
Fix build when an older version of simgrid is already installed.
Put CMAKE_LINKARGS before CMDARGS so that libsimgrid is caught from the
right directory.
Augustin Degomme [Fri, 17 Jan 2014 18:04:57 +0000 (19:04 +0100)]
update dtd to add torus_dimensions tag to clusters
Marion Guthmuller [Fri, 17 Jan 2014 12:15:58 +0000 (13:15 +0100)]
Merge remote-tracking branch 'origin/libdw2'
Gabriel Corona [Fri, 17 Jan 2014 11:12:05 +0000 (12:12 +0100)]
[mc] Add DW_TAG_formal_parameter as variables in the frames
Gabriel Corona [Fri, 17 Jan 2014 10:30:07 +0000 (11:30 +0100)]
[mc] Use literal values in DWARF constant to name mappings
Gabriel Corona [Thu, 16 Jan 2014 14:57:52 +0000 (15:57 +0100)]
[mc] Cleanup mc_dwarf.c
Gabriel Corona [Fri, 17 Jan 2014 10:16:51 +0000 (11:16 +0100)]
[mc] Remove useless argument in MC_dwarf_at_location
Gabriel Corona [Thu, 16 Jan 2014 14:50:21 +0000 (15:50 +0100)]
[mc] Add comments/doxygen
Gabriel Corona [Thu, 16 Jan 2014 14:14:00 +0000 (15:14 +0100)]
[mc] Free memory for object_info
Gabriel Corona [Thu, 16 Jan 2014 12:08:00 +0000 (13:08 +0100)]
[mc] Remove objdump code
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.
Gabriel Corona [Thu, 16 Jan 2014 10:50:23 +0000 (11:50 +0100)]
[mc] Use libdw for location list
Gabriel Corona [Mon, 13 Jan 2014 10:56:17 +0000 (11:56 +0100)]
[mc] Use libdw for functions and local variables
Gabriel Corona [Fri, 10 Jan 2014 13:40:22 +0000 (14:40 +0100)]
[mc] Use libdw for global variables
Gabriel Corona [Fri, 10 Jan 2014 14:42:51 +0000 (15:42 +0100)]
[mc] Deduplicate address location resolution in MC_dwarf_resolve_location()
Gabriel Corona [Fri, 10 Jan 2014 13:31:41 +0000 (14:31 +0100)]
[mc] Remove MC_dwarf_tag_type()
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.
Gabriel Corona [Mon, 6 Jan 2014 10:21:02 +0000 (11:21 +0100)]
[mc] libdwarf integration for types
Gabriel Corona [Mon, 6 Jan 2014 11:20:56 +0000 (12:20 +0100)]
[mc] Use DWARF constants for type tags