Frederic Suter [Fri, 17 May 2019 07:11:20 +0000 (09:11 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid
Arnaud Giersch [Thu, 16 May 2019 21:14:17 +0000 (23:14 +0200)]
Don't take buffer on stack, 4M may be too big.
Arnaud Giersch [Thu, 16 May 2019 20:52:28 +0000 (22:52 +0200)]
Copy the values of {C,CXX,F}FLAGS into smpi{cc,cxx,ff,f90}.
The goal is to be able to give compiler flags at cmake time, and to have
them used later by the smpi script.
For example, it can be used to pass "-m64" and build a 64bit simgrid
when it's 32it by default (e.g. on Solaris).
The goal is, for example, to be able to set the variable
Arnaud Giersch [Thu, 16 May 2019 14:03:26 +0000 (16:03 +0200)]
Complete list of closed bugs.
Arnaud Giersch [Thu, 16 May 2019 13:58:53 +0000 (15:58 +0200)]
Correctly split os/ver on redhat-like.
Martin Quinson [Thu, 16 May 2019 13:47:34 +0000 (15:47 +0200)]
Merge branch 'cmake-no-pybind11-search-if-explicitly-disabled' into 'master'
[cmake] no search for pybind11 if explicitly off
See merge request simgrid/simgrid!7
Frederic Suter [Thu, 16 May 2019 12:16:06 +0000 (14:16 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid
Arnaud Giersch [Thu, 16 May 2019 12:11:13 +0000 (14:11 +0200)]
Move install(TARGETS) in its proper directory.
Fix:
CMake Error at tools/cmake/Distrib.cmake:28 (install):
install TARGETS given target "graphicator" which does not exist in this directory.
Frederic Suter [Thu, 16 May 2019 11:54:04 +0000 (13:54 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid
Arnaud Giersch [Thu, 16 May 2019 11:53:02 +0000 (13:53 +0200)]
Fix make dist / distcheck.
Frederic Suter [Thu, 16 May 2019 11:49:35 +0000 (13:49 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid
Millian Poquet [Thu, 16 May 2019 11:45:49 +0000 (13:45 +0200)]
[cmake] no search for pybind11 if explicitly off
Arnaud Giersch [Thu, 16 May 2019 11:14:34 +0000 (13:14 +0200)]
Disable bogus warning.
Arnaud Giersch [Thu, 16 May 2019 09:49:25 +0000 (11:49 +0200)]
Don't install empty doc/html/.
Fix simgrid/simgrid#14 (FramaGit).
Arnaud Giersch [Thu, 16 May 2019 09:38:04 +0000 (11:38 +0200)]
Allow binary to be stripped with install/strip.
See https://gitlab.kitware.com/cmake/cmake/issues/16858.
Fix simgrid/simgrid#13 (FramaGit).
Frederic Suter [Thu, 16 May 2019 09:43:36 +0000 (11:43 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid
Martin Quinson [Thu, 16 May 2019 09:08:59 +0000 (11:08 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Thu, 16 May 2019 09:06:56 +0000 (11:06 +0200)]
Use addr2line as a fallback for stacktraces when backtrace is not available
Arnaud Giersch [Thu, 16 May 2019 07:37:59 +0000 (09:37 +0200)]
Disable LTO for pybind11 too when enable_lto=off.
Fix simgrid/simgrid#12 (FramaGit).
Arnaud Giersch [Thu, 16 May 2019 07:02:21 +0000 (09:02 +0200)]
Close simgrid/simgrid#7 (FramaGit).
Frederic Suter [Thu, 16 May 2019 06:44:48 +0000 (08:44 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid
Martin Quinson [Thu, 16 May 2019 00:15:44 +0000 (02:15 +0200)]
mc: tiny simplifications and cosmetics (even some snake_casing)
Martin Quinson [Thu, 16 May 2019 00:01:35 +0000 (02:01 +0200)]
mc: inline two functions
Martin Quinson [Wed, 15 May 2019 23:46:24 +0000 (01:46 +0200)]
mc: useless cleanups
Martin Quinson [Wed, 15 May 2019 23:26:51 +0000 (01:26 +0200)]
mc::Buffer: no need for mmap type now that KSM is gone
Martin Quinson [Wed, 15 May 2019 23:03:28 +0000 (01:03 +0200)]
mc: kill model-check/ksm option. Was not activated because not very useful
It's probably a pity, but I need to simplify this code to get the
grasp back.
Augustin Degomme [Wed, 15 May 2019 23:51:00 +0000 (01:51 +0200)]
say mmap is not ready for privatization in SunOS.
Would need memory_map to handle /proc/pid/map file https://docs.oracle.com/cd/E19253-01/816-5174/proc-4/index.html
Augustin Degomme [Wed, 15 May 2019 23:43:13 +0000 (01:43 +0200)]
fix mess with quotes
Martin Quinson [Wed, 15 May 2019 22:18:32 +0000 (00:18 +0200)]
mc: simplification: do not repeat information in parameters
Martin Quinson [Wed, 15 May 2019 21:43:39 +0000 (23:43 +0200)]
mc: Kill a C type and use the C++ one
+cosmetics
Martin Quinson [Wed, 15 May 2019 19:33:59 +0000 (21:33 +0200)]
cmake: do not build the documentation by default
Martin Quinson [Wed, 15 May 2019 13:58:18 +0000 (15:58 +0200)]
mc/compare: reduce the scope of some variables
Martin Quinson [Wed, 15 May 2019 12:49:34 +0000 (14:49 +0200)]
Remove option 'model-check/record': paths are recorded in any cases
Martin Quinson [Tue, 14 May 2019 20:44:41 +0000 (22:44 +0200)]
[mc] enable model-check/record by default, and cosmetics
Arnaud Giersch [Wed, 15 May 2019 07:55:33 +0000 (09:55 +0200)]
Fix new/delete mismatch.
Arnaud Giersch [Tue, 14 May 2019 15:16:22 +0000 (17:16 +0200)]
Get rid of "local" keyword for sh.
It's not specified by POSIX and not available on Solaris.
Simply use "local_" prefix for local variables.
For more information, see
https://stackoverflow.com/questions/
18597697/posix-compliant-way-to-scope-variables-to-a-function-in-a-shell-script
Arnaud Giersch [Tue, 14 May 2019 13:23:18 +0000 (15:23 +0200)]
Fix PMPI_Error_string.
MPI_MAX_ERROR_STRING was wrongly used for higher error code.
Use snprintf and ensure the string is properly null terminated.
Arnaud Giersch [Tue, 14 May 2019 09:43:21 +0000 (11:43 +0200)]
Specialize return types.
Arnaud Giersch [Tue, 14 May 2019 09:21:01 +0000 (11:21 +0200)]
Snake case.
Arnaud Giersch [Tue, 14 May 2019 09:12:19 +0000 (11:12 +0200)]
Add "override" specifier.
Augustin Degomme [Tue, 14 May 2019 14:21:44 +0000 (16:21 +0200)]
warnings-=2
Augustin Degomme [Tue, 14 May 2019 13:44:48 +0000 (15:44 +0200)]
replace useless strncpy by a memcpy
Millian Poquet [Tue, 14 May 2019 12:59:00 +0000 (14:59 +0200)]
[doc] fix another doxygen friendliness issue
Millian Poquet [Tue, 14 May 2019 12:54:28 +0000 (14:54 +0200)]
[doc] fix links (URL, internal ref + duplication)
Millian Poquet [Tue, 14 May 2019 12:52:02 +0000 (14:52 +0200)]
[doc] trailing space cosmetics
Millian Poquet [Tue, 14 May 2019 12:30:43 +0000 (14:30 +0200)]
[doc] fix warnings, cosmetics
Millian Poquet [Tue, 14 May 2019 12:09:14 +0000 (14:09 +0200)]
[doc] fix warnings, cosmetics
Martin Quinson [Tue, 14 May 2019 11:59:38 +0000 (13:59 +0200)]
fix some errors and warnings in the doc generation
Augustin Degomme [Tue, 14 May 2019 10:16:51 +0000 (12:16 +0200)]
let's pretend that sunOS supports privatization (no idea)
Martin Quinson [Tue, 14 May 2019 10:15:50 +0000 (12:15 +0200)]
A first example with MC and S4U together
Martin Quinson [Mon, 13 May 2019 10:24:36 +0000 (12:24 +0200)]
docker: fix the build of images for simgrid stable
Martin Quinson [Mon, 13 May 2019 10:24:13 +0000 (12:24 +0200)]
docker: remove useless packages from tuto-mc
Martin Quinson [Mon, 13 May 2019 08:24:37 +0000 (10:24 +0200)]
a dockerfile for a wanna be MC tutorial
Martin Quinson [Mon, 13 May 2019 08:06:48 +0000 (10:06 +0200)]
sonar: silence a rule on python code
Martin Quinson [Sun, 12 May 2019 23:03:23 +0000 (01:03 +0200)]
make sure that xbt/memory_map can be used out of simgrid
This may be useful for future MC evolutions.
Augustin Degomme [Tue, 14 May 2019 10:03:01 +0000 (12:03 +0200)]
add sorting to project description
Augustin Degomme [Tue, 14 May 2019 10:02:37 +0000 (12:02 +0200)]
apparently sunos illumos make/dmake does not like make -jx syntax
Augustin Degomme [Tue, 14 May 2019 09:46:48 +0000 (11:46 +0200)]
--quiet long version is not supported on sunos
Augustin Degomme [Mon, 13 May 2019 08:26:16 +0000 (10:26 +0200)]
On some systems, sqrt(int) is not defined properly. On others its just implemented with a conversion to double.
Augustin Degomme [Mon, 13 May 2019 08:25:39 +0000 (10:25 +0200)]
add some debug messages to MPI_Testany
Augustin Degomme [Thu, 9 May 2019 23:38:02 +0000 (01:38 +0200)]
before matching message sent with MPI_ANY_SOURCE, check that sending process is valid in our local communicator.
Augustin Degomme [Thu, 9 May 2019 23:37:23 +0000 (01:37 +0200)]
Don't use positive tags for internal messages.
They could interfere with receives posted with MPI_ANY_TAG in user's code
Millian Poquet [Tue, 14 May 2019 09:43:25 +0000 (11:43 +0200)]
[mc] do not ignore MC_ASSERT in replay mode
Arnaud Giersch [Thu, 9 May 2019 08:29:46 +0000 (10:29 +0200)]
Enable some more test with memcheck, but with disabled leak-check.
There are lots of unfree'd objects on assertion failure, but we want other
kinds of memory error to be checked anyway.
Arnaud Giersch [Thu, 9 May 2019 07:18:35 +0000 (09:18 +0200)]
Tesh files: kill obsolete variables SG_TEST_EXENV and EXEEXT.
Arnaud Giersch [Tue, 7 May 2019 21:46:59 +0000 (23:46 +0200)]
Use "exec" so that failures are correclty reported upstream.
Arnaud Giersch [Tue, 7 May 2019 20:18:30 +0000 (22:18 +0200)]
Ensure the task is correctly destroyed when the host turns off during execute.
Frederic Suter [Tue, 7 May 2019 12:45:53 +0000 (14:45 +0200)]
cosmetics: make more fields private
Arnaud Giersch [Mon, 6 May 2019 14:23:20 +0000 (16:23 +0200)]
Missing explicit.
Arnaud Giersch [Mon, 6 May 2019 14:14:50 +0000 (16:14 +0200)]
Typos.
Arnaud Giersch [Mon, 6 May 2019 09:57:17 +0000 (11:57 +0200)]
Kill useless hack (and its union).
Arnaud Giersch [Mon, 6 May 2019 09:41:39 +0000 (11:41 +0200)]
Use aligned storage and remove usage of union.
I'm not sure about potential UB, but it should not be worse than before.
Arnaud Giersch [Mon, 6 May 2019 09:12:16 +0000 (11:12 +0200)]
Fix a FIXME.
Arnaud Giersch [Sun, 5 May 2019 20:57:46 +0000 (22:57 +0200)]
Kill unused static function.
Arnaud Giersch [Sun, 5 May 2019 20:12:39 +0000 (22:12 +0200)]
[sonar] Remove void* from function parameters.
Arnaud Giersch [Sat, 4 May 2019 20:02:53 +0000 (22:02 +0200)]
Change two dynars (maybe more).
Martin Quinson [Mon, 6 May 2019 09:57:28 +0000 (11:57 +0200)]
continue the devel of the future 3.23 release
Martin Quinson [Mon, 6 May 2019 08:47:31 +0000 (10:47 +0200)]
on the way for 3.22.2
Martin Quinson [Sat, 20 Apr 2019 21:25:33 +0000 (23:25 +0200)]
include a header we use
Arnaud Giersch [Fri, 3 May 2019 20:26:32 +0000 (22:26 +0200)]
[sonar] Catch a more specific exception.
Arnaud Giersch [Fri, 3 May 2019 15:37:02 +0000 (17:37 +0200)]
More Sonar smells around "noreturn".
Missing attribute, and remove dead code.
Arnaud Giersch [Fri, 3 May 2019 12:23:19 +0000 (14:23 +0200)]
[sonar] Rename shadowing local variables.
Arnaud Giersch [Fri, 3 May 2019 12:18:43 +0000 (14:18 +0200)]
[sonar] Extract assignments from expressions.
Arnaud Giersch [Fri, 3 May 2019 12:14:01 +0000 (14:14 +0200)]
[sonar] Extract nested conditionals.
Arnaud Giersch [Fri, 3 May 2019 12:10:18 +0000 (14:10 +0200)]
[sonar] Assert that pointer is not null.
Arnaud Giersch [Fri, 3 May 2019 10:41:01 +0000 (12:41 +0200)]
Rename fields to follow coding syle and unshadow from local parameters.
Arnaud Giersch [Fri, 3 May 2019 10:15:47 +0000 (12:15 +0200)]
Kill never implemented option "model-check/snapshot_fds".
Arnaud Giersch [Fri, 3 May 2019 09:48:16 +0000 (11:48 +0200)]
Change condition for infinite loops (make sonar believe that function can return).
Arnaud Giersch [Fri, 3 May 2019 09:44:35 +0000 (11:44 +0200)]
[sonar] Add attribute "noreturn" to non-returning functions.
Arnaud Giersch [Fri, 3 May 2019 09:12:49 +0000 (11:12 +0200)]
[sonar] Don't name unused exceptions.
Augustin Degomme [Fri, 3 May 2019 11:56:25 +0000 (13:56 +0200)]
please sonar by handling properly pointers in unimplemented fortran bindings.
Arnaud Giersch [Thu, 25 Apr 2019 15:56:47 +0000 (17:56 +0200)]
Update URLs (FG #1).
NOTE:
* still missing: pls_ns3.html
* old style (lower case): platform.html
Augustin Degomme [Wed, 1 May 2019 12:51:11 +0000 (14:51 +0200)]
get out before dereferencing null pointer in this case
Augustin Degomme [Wed, 1 May 2019 12:44:50 +0000 (14:44 +0200)]
forgot to push test for write_at_all and read_at_all
Augustin Degomme [Tue, 30 Apr 2019 12:27:18 +0000 (14:27 +0200)]
cleanup split_type to avoid leaks.
Augustin Degomme [Tue, 30 Apr 2019 12:26:38 +0000 (14:26 +0200)]
cleanup dup_with_info to avoid leaking in some cases
Arnaud Giersch [Mon, 29 Apr 2019 19:36:48 +0000 (21:36 +0200)]
[sonar] Use unsigned char* for smpi buffers.
Arnaud Giersch [Mon, 18 Mar 2019 15:10:01 +0000 (16:10 +0100)]
Change malloc/free to new/delete.
Arnaud Giersch [Wed, 6 Mar 2019 22:07:09 +0000 (23:07 +0100)]
Use C++ memory operators for smpi buffers.
NOTE: there is a problem with the current implementation. When a resize() happen,
the previous pointer may be invalid, even if it is still in use.
Arnaud Giersch [Mon, 29 Apr 2019 12:51:26 +0000 (14:51 +0200)]
Const for MPI_Type_struct and MPI_Type_hindexed.