Christian Heinrich [Tue, 13 Feb 2018 18:50:11 +0000 (19:50 +0100)]
[HostLoad] Ignore VM's ...
Christian Heinrich [Tue, 13 Feb 2018 16:41:52 +0000 (17:41 +0100)]
[SURF] Move Action::suspended_ to new enum class SuspendedStates
Martin Quinson [Mon, 12 Feb 2018 16:44:26 +0000 (17:44 +0100)]
jenkins: install everything after testing
Martin Quinson [Thu, 8 Feb 2018 22:04:15 +0000 (23:04 +0100)]
cosmetics
degomme [Tue, 13 Feb 2018 14:24:34 +0000 (15:24 +0100)]
rename two files in examples
Other files have the same name elsewhere, and this confuses coverage tool in sonar
Arnaud Giersch [Tue, 13 Feb 2018 10:28:00 +0000 (11:28 +0100)]
Fix MC builds.
Arnaud Giersch [Tue, 13 Feb 2018 09:51:10 +0000 (10:51 +0100)]
Kill unused function simgrid::xbt::three_way_partition().
Arnaud Giersch [Tue, 13 Feb 2018 09:45:33 +0000 (10:45 +0100)]
Kill unused private function mmalloc_get_increment().
Arnaud Giersch [Tue, 13 Feb 2018 09:38:46 +0000 (10:38 +0100)]
Kill unused private function MC_dwarf_at_linkage_name().
Arnaud Giersch [Tue, 13 Feb 2018 09:34:53 +0000 (10:34 +0100)]
Kill unused private function MC_compare_frame_index_items().
Arnaud Giersch [Mon, 12 Feb 2018 23:10:21 +0000 (00:10 +0100)]
Kill unused function surf_parse_warn().
Arnaud Giersch [Mon, 12 Feb 2018 22:49:29 +0000 (23:49 +0100)]
Kill useless include files.
Arnaud Giersch [Mon, 12 Feb 2018 22:39:46 +0000 (23:39 +0100)]
Kill unused function instr_platform_traced().
Arnaud Giersch [Mon, 12 Feb 2018 22:36:06 +0000 (23:36 +0100)]
Kill unused function get_java_VM().
Arnaud Giersch [Mon, 12 Feb 2018 22:27:04 +0000 (23:27 +0100)]
Kill unused function TRACE_surf_action().
Arnaud Giersch [Mon, 12 Feb 2018 22:01:33 +0000 (23:01 +0100)]
Kill unused private variable surf_action_state_names[].
Arnaud Giersch [Mon, 12 Feb 2018 21:55:23 +0000 (22:55 +0100)]
Function smpi_process_papi_counters() was renamed (untested).
Arnaud Giersch [Mon, 12 Feb 2018 21:44:59 +0000 (22:44 +0100)]
Kill unused private functions instr_{pause,resume}_tracing().
Arnaud Giersch [Mon, 12 Feb 2018 21:39:49 +0000 (22:39 +0100)]
FIXME: TRACE_smpi_sleeping_init() is never called.
Arnaud Giersch [Mon, 12 Feb 2018 21:33:23 +0000 (22:33 +0100)]
Remove unused run-time parameter "tracing/onelink-only".
Arnaud Giersch [Mon, 12 Feb 2018 21:18:05 +0000 (22:18 +0100)]
Kill unused private function SIMIX_process_get_by_name().
Arnaud Giersch [Mon, 12 Feb 2018 21:14:35 +0000 (22:14 +0100)]
Kill unused private function SIMIX_process_exception_terminate().
Arnaud Giersch [Mon, 12 Feb 2018 21:12:23 +0000 (22:12 +0100)]
Kill function declarations without definitions.
Arnaud Giersch [Mon, 12 Feb 2018 21:08:11 +0000 (22:08 +0100)]
Kill unused private function MC_snapshot_memcmp().
Arnaud Giersch [Mon, 12 Feb 2018 21:03:20 +0000 (22:03 +0100)]
HostAction was killed a long time ago.
Martin Quinson [Thu, 8 Feb 2018 21:55:46 +0000 (22:55 +0100)]
more C++ around ns3
Martin Quinson [Wed, 7 Feb 2018 16:24:29 +0000 (17:24 +0100)]
callbacks are actually meant for external users to use
Martin Quinson [Wed, 7 Feb 2018 10:24:51 +0000 (11:24 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Arnaud Giersch [Wed, 7 Feb 2018 10:12:27 +0000 (11:12 +0100)]
Add virtual destructor.
Arnaud Giersch [Wed, 7 Feb 2018 10:09:41 +0000 (11:09 +0100)]
Remove semicolon (No, Sonar, it's not commented code).
Arnaud Giersch [Wed, 7 Feb 2018 09:39:29 +0000 (10:39 +0100)]
EXIT_SUCCESS/EXIT_FAILURE are standard C defined in stdlib.h.
Arnaud Giersch [Tue, 6 Feb 2018 15:59:56 +0000 (16:59 +0100)]
Please scan-build.
Arnaud Giersch [Tue, 6 Feb 2018 15:51:33 +0000 (16:51 +0100)]
Inform scan-build that (bucket_id + i) cannot wrap around.
Arnaud Giersch [Tue, 6 Feb 2018 15:06:25 +0000 (16:06 +0100)]
Remove unused variable.
Millian Poquet [Tue, 6 Feb 2018 10:34:47 +0000 (11:34 +0100)]
[doc] fix link to Sonar dashboard
Martin Quinson [Tue, 6 Feb 2018 09:15:47 +0000 (10:15 +0100)]
sonar don't like to have commented code, so hide it a bit
Arnaud Giersch [Mon, 5 Feb 2018 21:00:35 +0000 (22:00 +0100)]
Fix distcheck.
Arnaud Giersch [Mon, 5 Feb 2018 17:51:32 +0000 (18:51 +0100)]
Update ChangeLog.
Arnaud Giersch [Mon, 5 Feb 2018 17:35:29 +0000 (18:35 +0100)]
Remove now unused smpi::Process::return_value.
Arnaud Giersch [Mon, 5 Feb 2018 20:34:10 +0000 (21:34 +0100)]
Use explicit extern "C" in cpp file.
Arnaud Giersch [Mon, 5 Feb 2018 20:30:23 +0000 (21:30 +0100)]
Make constructors explicit.
Arnaud Giersch [Mon, 5 Feb 2018 17:32:57 +0000 (18:32 +0100)]
Parameter is not used.
Arnaud Giersch [Mon, 5 Feb 2018 17:31:26 +0000 (18:31 +0100)]
Fix build with MC (simgrid::xbt::string).
Martin Quinson [Mon, 5 Feb 2018 20:36:13 +0000 (21:36 +0100)]
fix build of dvfs plugin with warning enabled
Arnaud Giersch [Mon, 5 Feb 2018 16:06:25 +0000 (17:06 +0100)]
Christian Heinrich [Mon, 5 Feb 2018 13:54:58 +0000 (14:54 +0100)]
[DVFS] Cosmetics / indent as suggested by clang-format
Christian Heinrich [Mon, 5 Feb 2018 13:53:47 +0000 (14:53 +0100)]
[DVFS] Remove MSG from DVFS plugin and make it more flexible
The option plugin/dvfs/governor is now available and can be set on a per-host basis
Christian Heinrich [Mon, 5 Feb 2018 13:51:49 +0000 (14:51 +0100)]
[DVFS] Rephrase debug statements
Christian Heinrich [Sun, 28 Jan 2018 15:10:21 +0000 (16:10 +0100)]
[PLUGINS] Initial commit for the Dvfs plugin (frequency governors)
Christian Heinrich [Sun, 28 Jan 2018 15:12:11 +0000 (16:12 +0100)]
[SMPI] Fix issues with daemons by using isDaemon()
Christian Heinrich [Sun, 28 Jan 2018 15:11:45 +0000 (16:11 +0100)]
[S4U API] Expose the isDaemon() function to the API
Christian Heinrich [Sun, 28 Jan 2018 15:12:52 +0000 (16:12 +0100)]
[SMPI] Clarify in debug message that SMPI processes are meant, not SIMIX.
Christian Heinrich [Thu, 25 Jan 2018 19:32:03 +0000 (20:32 +0100)]
[CHANGELOG] Added brief description on the privatization changes
Arnaud Giersch [Thu, 25 Jan 2018 11:31:43 +0000 (12:31 +0100)]
Cosmetics: get rid of stringstream.
Arnaud Giersch [Wed, 24 Jan 2018 20:45:19 +0000 (21:45 +0100)]
Fix comment.
Arnaud Giersch [Thu, 18 Jan 2018 09:21:13 +0000 (10:21 +0100)]
Disable unused copy constructors (and please cppcheck).
Arnaud Giersch [Mon, 5 Feb 2018 15:34:41 +0000 (16:34 +0100)]
Correctly get the exit status for smpi processes.
Arnaud Giersch [Mon, 5 Feb 2018 15:34:23 +0000 (16:34 +0100)]
Search in map only once.
Arnaud Giersch [Mon, 5 Feb 2018 15:18:08 +0000 (16:18 +0100)]
Kill dead code.
process_data is empty a this point.
Arnaud Giersch [Mon, 5 Feb 2018 15:15:21 +0000 (16:15 +0100)]
Revert "Revert "actually fix the memleak around smpi's process_data" and "try to plug a memleak""
This reverts commit
c7c5def2870e604025be03b866967c0c5e293afe.
Arnaud Giersch [Mon, 5 Feb 2018 15:15:19 +0000 (16:15 +0100)]
Revert "Finally fix memleak."
This reverts commit
aad6442f8fd7d7610f49271010cb8a650f4772de.
Arnaud Giersch [Sun, 4 Feb 2018 21:26:36 +0000 (22:26 +0100)]
Finally fix memleak.
Arnaud Giersch [Sun, 4 Feb 2018 14:50:54 +0000 (15:50 +0100)]
Revert "actually fix the memleak around smpi's process_data" and "try to plug a memleak"
This reverts commit
3c40b1bfc4f4925fa401d3b5d0c74a4b4824b3d5
and commit
d53a2108a1ea38b2f952abb48c39730ccc91c2a8.
Martin Quinson [Sat, 3 Feb 2018 21:36:23 +0000 (22:36 +0100)]
inline a oneliner
Martin Quinson [Sat, 3 Feb 2018 21:36:10 +0000 (22:36 +0100)]
plug another memleak
Martin Quinson [Sat, 3 Feb 2018 21:26:25 +0000 (22:26 +0100)]
actually fix the memleak around smpi's process_data
- Call Actor::onDestruction from the right location
- Have SMPI only destroy the process data of its own processes (not of MSG ones)
- Make sure that the process created with MSG_process_attach() have
the right refcount since we now use a smart pointer on it: we don't
want it to get freed too early.
Martin Quinson [Sat, 3 Feb 2018 21:25:37 +0000 (22:25 +0100)]
obey our coding style
Martin Quinson [Fri, 2 Feb 2018 21:52:51 +0000 (22:52 +0100)]
try to plug a memleak
Martin Quinson [Thu, 1 Feb 2018 22:02:18 +0000 (23:02 +0100)]
Pick the best available clang-format version
and also, update copyright info
Millian Poquet [Thu, 1 Feb 2018 17:02:52 +0000 (18:02 +0100)]
[misc, doc] clang-format pre-commit hook cleanup
The previous script only worked on (old) debian.
This version should work with:
- more versions of clang-format
- more distribs (tested on arch)
Furthermore, I did some cleanup on the script and its doc
Millian Poquet [Thu, 1 Feb 2018 12:48:56 +0000 (13:48 +0100)]
[#!] #! ./tesh -> #!/usr/bin/env tesh
find . \
-type f \
-not -iwholename '*.git*' \
-exec sed -i -e 'sW#!\s*\./teshW#!/usr/bin/env teshWg' {} \;
Millian Poquet [Thu, 1 Feb 2018 12:45:27 +0000 (13:45 +0100)]
[#!] #! tesh -> #!/usr/bin/env tesh
find . \
-type f \
-not -iwholename '*.git*' \
-exec sed -i -e 'sW#!\s*teshW#!/usr/bin/env teshWg' {} \;
Millian Poquet [Thu, 1 Feb 2018 10:46:09 +0000 (11:46 +0100)]
[#!] #!/bin/bash -> #!/usr/bin/env bash
find . \
-type f \
-not -iwholename '*.git*' \
-exec sed -i -e 'sW#!\s*/bin/bashW#!/usr/bin/env bashWg' {} \;
Millian Poquet [Thu, 1 Feb 2018 10:44:04 +0000 (11:44 +0100)]
[#!] #!/bin/sh -> #!/usr/bin/env sh
find . \
-type f \
-not -iwholename '*.git*' \
-exec sed -i -e 'sW#!\s*/bin/shW#!/usr/bin/env shWg' {} \;
Millian Poquet [Thu, 1 Feb 2018 10:24:01 +0000 (11:24 +0100)]
[misc] gitignore: ignore qtcreator main file
Martin Quinson [Wed, 31 Jan 2018 23:03:29 +0000 (00:03 +0100)]
directly store the ns3Node, don't rely on a num ID to find it later on
Martin Quinson [Wed, 31 Jan 2018 21:40:09 +0000 (22:40 +0100)]
ignore a new test
Martin Quinson [Wed, 31 Jan 2018 21:16:07 +0000 (22:16 +0100)]
Factorize how we load NS3 libraries
Martin Quinson [Wed, 31 Jan 2018 21:14:36 +0000 (22:14 +0100)]
try to ensure that link_energy plugin is inited in a timely manner
Martin Quinson [Wed, 31 Jan 2018 11:48:36 +0000 (12:48 +0100)]
reduce the shotgun design pattern in the detection of NS3
Martin Quinson [Tue, 30 Jan 2018 21:12:33 +0000 (22:12 +0100)]
make an interesting error message when mixing link_energy and NS3
Martin Quinson [Tue, 30 Jan 2018 20:58:57 +0000 (21:58 +0100)]
cmake: more verbose msg about which NS3 is chosen
Martin Quinson [Mon, 29 Jan 2018 09:49:04 +0000 (10:49 +0100)]
fix formatting issues (%u for unsigned)
Martin Quinson [Sun, 28 Jan 2018 22:41:31 +0000 (23:41 +0100)]
fix make dist
Martin Quinson [Sun, 28 Jan 2018 22:23:03 +0000 (23:23 +0100)]
ns3: much more debug info, and restore the SetCloseCallbacks that is actually needed
Martin Quinson [Sun, 28 Jan 2018 22:22:16 +0000 (23:22 +0100)]
ns3: remove test on a platform that does not exist anymore
Martin Quinson [Sat, 27 Jan 2018 14:51:32 +0000 (15:51 +0100)]
ns3: no segfault anymore, but a deadlock when using clusters
Martin Quinson [Sat, 27 Jan 2018 10:11:09 +0000 (11:11 +0100)]
fix the creation of links in NS3
Cluster are still broken, sorry
Martin Quinson [Sat, 27 Jan 2018 06:49:08 +0000 (07:49 +0100)]
Rewrite how we search for libunwind (hopefully correctly this time)
This time, I used the canonical approach: Instead of passing the
absolute path to the libraries to the linker, I use link_directory()
and -lname as I should.
I hope that this version will work for both java on all our
target architectures, and also for stampede.
If so, we should maybe contribute it to libunwind and/or cmake projects.
Martin Quinson [Sat, 27 Jan 2018 05:28:59 +0000 (06:28 +0100)]
more informative outputs while searching for libunwind
Martin Quinson [Sat, 27 Jan 2018 04:44:13 +0000 (05:44 +0100)]
Revert "sanitize our way to find and load libunwind"
This reverts commit
2a8f06bcb45d972f49b0661754fac0d51772f02f.
It was doing more harm (to java, to centos, etc) than good (possibly
to stampede, not even sure)
Martin Quinson [Thu, 25 Jan 2018 19:14:37 +0000 (20:14 +0100)]
get ns3 to compile (but still fails)
Martin Quinson [Thu, 25 Jan 2018 18:19:29 +0000 (19:19 +0100)]
cmake: fix a typo that does not break as it should on my machine
Gosh I hate unsafe scripting languages
Martin Quinson [Thu, 25 Jan 2018 17:09:59 +0000 (18:09 +0100)]
Survive to when libunwind does not exist (hello again windows)
Martin Quinson [Thu, 25 Jan 2018 17:00:00 +0000 (18:00 +0100)]
sanitize our way to find and load libunwind
The previous way of doing so was working OK on most machines, but not
on some weirdly configured supercomputers.
Frederic Suter [Thu, 25 Jan 2018 12:18:42 +0000 (13:18 +0100)]
please sonar
Martin Quinson [Thu, 25 Jan 2018 05:55:39 +0000 (06:55 +0100)]
improve a comment
Shorten this a bit, and do not dupplicate things that we can find with
a git blame.
Augustin Degomme [Thu, 25 Jan 2018 00:39:33 +0000 (01:39 +0100)]
Try new fix for rget_testall.
The test seems buggy, as the initialization part on one process may not be started when the other one reaches the second part, due to the way the locks are done.
Add a barrier to separate initialization from computation.
Augustin Degomme [Thu, 25 Jan 2018 00:21:23 +0000 (01:21 +0100)]
add another message useful for debugging here
Christian Heinrich [Wed, 24 Jan 2018 23:37:09 +0000 (00:37 +0100)]
Revert "[TESTS] SMPI/MPICH3: Fix failing rma test"
This reverts commit
1630b8c2917fce5760c0065b240764cda0a70eb4.
We decided to rather have a failing test than a test with
some logic disabled...