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}
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
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
Gabriel Corona [Tue, 24 Dec 2013 11:04:04 +0000 (12:04 +0100)]
[mc] Add some documentation to the MC DWARF code
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.
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.
Gabriel Corona [Fri, 20 Dec 2013 10:07:01 +0000 (11:07 +0100)]
Arnaud Giersch [Fri, 8 Nov 2013 22:55:41 +0000 (23:55 +0100)]
Release version 3.10-rc2.
Arnaud Giersch [Fri, 8 Nov 2013 22:53:10 +0000 (23:53 +0100)]
This part is not relevant anymore.
Arnaud Giersch [Fri, 8 Nov 2013 22:04:03 +0000 (23:04 +0100)]
Give smpiff the directory to libf2c.
(cherry picked from commit
1848d40fafafab07f8c798116d5c507065f4c97b)
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)
Arnaud Giersch [Fri, 8 Nov 2013 16:49:41 +0000 (17:49 +0100)]
Try to fix temp file creation.
(cherry picked from commit
0be4d91dea4f9aeb5e9e298dc579d4ba2b03a2b7)
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)
Augustin Degomme [Thu, 7 Nov 2013 23:47:06 +0000 (00:47 +0100)]
more bash->sh changes
(cherry picked from commit
65f30b16e0e4b23e41c6306290bc3f04f66986a8)
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)
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)
Augustin Degomme [Thu, 7 Nov 2013 22:28:18 +0000 (23:28 +0100)]
I blame someone else for this
(cherry picked from commit
9e330fa625482e41928374164d70cdd209f3f0c7)
Arnaud Giersch [Thu, 7 Nov 2013 21:15:10 +0000 (22:15 +0100)]
Support for F90 also needs f2c.
(cherry picked from commit
433246799eb9913ddb7d902cc1147a39215ee60a)
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)
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)
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)
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)
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)
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)
Arnaud Giersch [Thu, 7 Nov 2013 10:19:35 +0000 (11:19 +0100)]
Increase junkarea to 4kiB.
(cherry picked from commit
49b058066db4e2b4e78b9f7924dd3795a024d94a)
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)
Arnaud Giersch [Wed, 6 Nov 2013 23:12:25 +0000 (00:12 +0100)]
Add Fortran examples for smpi+dvfs.
(cherry picked from commit
28ec59bf4a9e4b04c1af121616b72bd846772fa5)
Arnaud Giersch [Wed, 6 Nov 2013 23:12:02 +0000 (00:12 +0100)]
Add Fortran bindigns for smpi+dvfs.
(cherry picked from commit
12a61a8ab437baed346e356f63e02cdaeabeb6f4)
Arnaud Giersch [Wed, 6 Nov 2013 17:37:25 +0000 (18:37 +0100)]
Add example for smpi+dvfs.
(cherry picked from commit
40f9c3e861f4b651dc2dd63b79271e735931a1a7)
Arnaud Giersch [Wed, 6 Nov 2013 16:01:43 +0000 (17:01 +0100)]
Export DVFS functionality for smpi (experimental).
(cherry picked from commit
444b3487fdce26571d25a82b1fb835c8c15e550f)
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)
Augustin Degomme [Wed, 6 Nov 2013 20:15:56 +0000 (21:15 +0100)]
Augustin Degomme [Wed, 6 Nov 2013 14:42:17 +0000 (15:42 +0100)]
potential fixes
(cherry picked from commit
7e5c2f3a409fb782e912f80867b8573a54e0dc09)
suter [Wed, 6 Nov 2013 18:59:16 +0000 (19:59 +0100)]
Arnaud Giersch [Wed, 6 Nov 2013 17:35:29 +0000 (18:35 +0100)]
Cosmetics: adjust spaces.
(cherry picked from commit
518ff51fd36819ad91b647e5918f0e6e0440f4c8)
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)
Arnaud Giersch [Wed, 6 Nov 2013 15:49:14 +0000 (16:49 +0100)]
Cosmetics: uncapitalize.
(cherry picked from commit
d88fcc7f21b9444f107576afeaed127dfd4de049)
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)
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)
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)
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)
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)
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)
Arnaud Giersch [Tue, 5 Nov 2013 20:52:55 +0000 (21:52 +0100)]
Request should not be null here.
(cherry picked from commit
b8fc5d84a6fcf56a745815d784bc10ebbeb6e68a)
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)
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)
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)
Arnaud Giersch [Tue, 5 Nov 2013 16:55:19 +0000 (17:55 +0100)]
Supernovae builds are deprecated.
Arnaud Giersch [Tue, 5 Nov 2013 12:02:00 +0000 (13:02 +0100)]
Use DBL_MAX for values of type double.
Arnaud Giersch [Tue, 5 Nov 2013 12:04:43 +0000 (13:04 +0100)]
Be consistent: change buf to an array of int.
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().
Arnaud Giersch [Tue, 5 Nov 2013 12:23:42 +0000 (13:23 +0100)]
Use xbt_die() for DIE_IMPOSSIBLE.
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.
Arnaud Giersch [Tue, 5 Nov 2013 12:00:02 +0000 (13:00 +0100)]
Define buffer on the stack here.
Arnaud Giersch [Mon, 4 Nov 2013 20:59:32 +0000 (21:59 +0100)]
Whitespace cleanup.
Arnaud Giersch [Mon, 4 Nov 2013 20:31:13 +0000 (21:31 +0100)]
Exclude these tests from memcheck.
Arnaud Giersch [Mon, 4 Nov 2013 20:30:58 +0000 (21:30 +0100)]
Next release will be (at least) 3.10-rc1.
Arnaud Giersch [Mon, 4 Nov 2013 17:26:50 +0000 (18:26 +0100)]
Define SIMGRID_VERSION_STRING, and add option --version to get version information at run time.
Arnaud Giersch [Mon, 4 Nov 2013 16:41:59 +0000 (17:41 +0100)]
Pierre Veyre [Mon, 4 Nov 2013 15:08:29 +0000 (16:08 +0100)]
Add some MSG_file function prototypes
Arnaud Giersch [Mon, 4 Nov 2013 12:34:20 +0000 (13:34 +0100)]
Rewrite to avoid compiler warnings about unused variables.
Arnaud Giersch [Mon, 4 Nov 2013 12:21:24 +0000 (13:21 +0100)]
Cast operands from both sides of the comparison to the same type.
Arnaud Giersch [Mon, 4 Nov 2013 11:09:03 +0000 (12:09 +0100)]
These options are specific to gcc (not recognized by clang).
Arnaud Giersch [Mon, 4 Nov 2013 11:04:19 +0000 (12:04 +0100)]
Avoid to use static variables from inside a non-static inline function.
Clang is a bit picky about this.
Arnaud Giersch [Mon, 4 Nov 2013 10:58:08 +0000 (11:58 +0100)]
There is no need to export these functions. Mark them static.
Arnaud Giersch [Mon, 4 Nov 2013 10:57:00 +0000 (11:57 +0100)]
Inline is overkill for this function.
Arnaud Giersch [Mon, 4 Nov 2013 09:58:21 +0000 (10:58 +0100)]
Remove useless test (it's always true).
Arnaud Giersch [Mon, 4 Nov 2013 09:54:03 +0000 (10:54 +0100)]
Remove useless test (is_homogeneous).
+ reindent; use "git show -b" to see the real changes.
Martin Quinson [Sun, 3 Nov 2013 15:02:19 +0000 (16:02 +0100)]
spell out -classpath with all letters as it seems to break on kfreebsd when written only -cp
Arnaud Giersch [Sat, 2 Nov 2013 22:16:37 +0000 (23:16 +0100)]
Rename SG_java -> simgrid-java.
Arnaud Giersch [Sat, 2 Nov 2013 22:08:21 +0000 (23:08 +0100)]
libsmpi was removed some time ago.
Arnaud Giersch [Thu, 31 Oct 2013 22:53:01 +0000 (23:53 +0100)]
Prevent user from making call to MPI within a SMPI_SAMPLE_ bloc.
Arnaud Giersch [Thu, 31 Oct 2013 22:25:37 +0000 (23:25 +0100)]
This should be a per process variable.
Arnaud Giersch [Thu, 31 Oct 2013 22:19:13 +0000 (23:19 +0100)]
Reindent.
Arnaud Giersch [Thu, 31 Oct 2013 22:02:17 +0000 (23:02 +0100)]
Put larger fields first (reduce total size for struct).
Arnaud Giersch [Thu, 31 Oct 2013 21:26:18 +0000 (22:26 +0100)]
Make documentation match the code.
Arnaud Giersch [Thu, 31 Oct 2013 20:08:09 +0000 (21:08 +0100)]
Use infinity (-1) for smpi/cpu_threshold in tesh files.
Arnaud Giersch [Thu, 31 Oct 2013 20:24:38 +0000 (21:24 +0100)]
A value of -1 for smpi/cpu_threshold means infinity.
Arnaud Giersch [Thu, 31 Oct 2013 20:24:12 +0000 (21:24 +0100)]
Cache cfg parameters smpi/{cpu_threshold,running_power}.
Arnaud Giersch [Thu, 31 Oct 2013 20:47:18 +0000 (21:47 +0100)]
Compare files.
Looks like it was forgotten in commit
e9befaced39d9f668fb9de3bfbc37dc7ac7cf2de.
Arnaud Giersch [Thu, 31 Oct 2013 20:36:49 +0000 (21:36 +0100)]
It's ok to pass NULL to xbt_free.
Augustin Degomme [Thu, 31 Oct 2013 17:08:50 +0000 (18:08 +0100)]
leaks --
Augustin Degomme [Thu, 31 Oct 2013 17:01:52 +0000 (18:01 +0100)]
add gatherv replay action (bigdft can be replayed easily now)
Arnaud Giersch [Thu, 31 Oct 2013 13:37:45 +0000 (14:37 +0100)]
Connect new log categories.
Arnaud Giersch [Thu, 31 Oct 2013 13:07:49 +0000 (14:07 +0100)]
Use yes/no for tracing options instead of 1/0.
Arnaud Giersch [Thu, 31 Oct 2013 13:06:57 +0000 (14:06 +0100)]
Use booleans instead of ints for tracing options.
Arnaud Giersch [Thu, 31 Oct 2013 09:35:04 +0000 (10:35 +0100)]
Cosmetics.
Arnaud Giersch [Thu, 31 Oct 2013 08:53:08 +0000 (09:53 +0100)]
Don't rely on assert for error handling.
Arnaud Giersch [Thu, 31 Oct 2013 08:35:48 +0000 (09:35 +0100)]
Simplify error handling.
Arnaud Giersch [Thu, 31 Oct 2013 08:22:38 +0000 (09:22 +0100)]
Fix computation of NUMBER_OF_PROCESSORS.
Arnaud Giersch [Wed, 30 Oct 2013 20:54:36 +0000 (21:54 +0100)]
Free process_id, plus reindent.
Arnaud Giersch [Wed, 30 Oct 2013 20:31:37 +0000 (21:31 +0100)]
Ignore memory leaks in any binary from /bin or /usr/bin.
Augustin Degomme [Wed, 30 Oct 2013 17:09:37 +0000 (18:09 +0100)]
leak-- , potential segfault--
Arnaud Giersch [Wed, 30 Oct 2013 15:50:48 +0000 (16:50 +0100)]
Slightly change the sleep duration.
The goal is to have the same results on 32 and 64 bits, despite the different precision
for floating point operations. To achieve this, we choose a sleep_delay that is not a
multiple of the other delays of the algorithm. Hope that it will be sufficient.
Regenerate tesh files accordingly.
Augustin Degomme [Wed, 30 Oct 2013 15:54:37 +0000 (16:54 +0100)]
leaks --
Augustin Degomme [Wed, 30 Oct 2013 14:34:31 +0000 (15:34 +0100)]
requalify a tesh
Augustin Degomme [Wed, 30 Oct 2013 14:21:26 +0000 (15:21 +0100)]
set extra data to 0 at allocation time to avoid bad surprises
Augustin Degomme [Wed, 30 Oct 2013 14:05:09 +0000 (15:05 +0100)]
change size of sent messages for replay testing, and requalify tesh
Augustin Degomme [Wed, 30 Oct 2013 13:46:16 +0000 (14:46 +0100)]
Add an Inception tesh to test TI output.
It uses pingpong executable to generate a TI trace.
Then it replays this TI trace, generating a second one.
They are then compared one to each other (after sorting), and should be identical
Augustin Degomme [Wed, 30 Oct 2013 13:42:49 +0000 (14:42 +0100)]
add Time independent output trace format ( TI ) to output traces that can then be replayed
For now only handles SMPI
Using -trace-ti flag with smpirun should output a smpi_simgrid.txt file by default,
which could be then used for replay. All outputs are for now merged into only one file.