Augustin Degomme [Mon, 2 Mar 2020 10:26:27 +0000 (11:26 +0100)]
Bump system for appveyor (windows server 2012->2019).
Flying a bit blind as their documentation about what is currently installed (mingw) is missing some information.
Martin Quinson [Mon, 2 Mar 2020 08:03:52 +0000 (09:03 +0100)]
Note in SMPI introduction that ns-3 could be used as a model here too
Closes https://github.com/simgrid/simgrid/issues/336
Arnaud Giersch [Sun, 1 Mar 2020 13:49:47 +0000 (14:49 +0100)]
Kill unused member "name_".
Arnaud Giersch [Sun, 1 Mar 2020 13:38:42 +0000 (14:38 +0100)]
Cosmetics: one typo, and fix alignment.
Arnaud Giersch [Sun, 1 Mar 2020 13:34:03 +0000 (14:34 +0100)]
Closed isssue.
Arnaud Giersch [Sun, 1 Mar 2020 13:25:21 +0000 (14:25 +0100)]
Merge branch 's_SimGrid_simgrid' into 'master'
Project name has changed from SimGrid to simgrid.
See merge request simgrid/simgrid!34
Arnaud Giersch [Fri, 28 Feb 2020 22:14:18 +0000 (23:14 +0100)]
Complete definition of exception's destructors in Exception.cpp.
See comment in file for rationale.
Hopefully fix test errors on new OSX jenkins slave.
Arnaud Giersch [Fri, 28 Feb 2020 15:55:48 +0000 (16:55 +0100)]
Inline empty ctor; use default dtor.
Augustin Degomme [Fri, 28 Feb 2020 16:38:26 +0000 (17:38 +0100)]
lld does not have -version, actually, but -v
Augustin Degomme [Fri, 28 Feb 2020 16:38:08 +0000 (17:38 +0100)]
When gfortran is used with llvm lld, it needs -ffat-lto-objects, as cmake forces -fno-fat-lto-objects
Augustin Degomme [Fri, 28 Feb 2020 14:24:39 +0000 (15:24 +0100)]
Only test fortran for LTO if compiler is present.
We activate the language in Cmake to test if the compiler is there whenever enable_fortran is given.
But this means that LTO will be tested for fortran as well if we don't say otherwise, even if the compiler was not found (which we allow).
Augustin Degomme [Fri, 28 Feb 2020 07:14:37 +0000 (08:14 +0100)]
bump osx version for travis
Arnaud Giersch [Thu, 27 Feb 2020 20:28:53 +0000 (21:28 +0100)]
[sonar] Declare move constructors with "noexcept".
Arnaud Giersch [Thu, 27 Feb 2020 11:59:12 +0000 (12:59 +0100)]
[sonar] The three expressions of a "for" statement should only be concerned with loop control.
Arnaud Giersch [Thu, 27 Feb 2020 08:40:55 +0000 (09:40 +0100)]
Close file after use.
Arnaud Giersch [Thu, 27 Feb 2020 08:31:03 +0000 (09:31 +0100)]
Const for sonar.
Arnaud Giersch [Thu, 27 Feb 2020 08:13:03 +0000 (09:13 +0100)]
Host is not null here (for scan-build).
Arnaud Giersch [Wed, 26 Feb 2020 22:19:11 +0000 (23:19 +0100)]
Project name has changed from SimGrid to simgrid.
Update last bits. Untested.
Arnaud Giersch [Wed, 26 Feb 2020 22:03:57 +0000 (23:03 +0100)]
[sonar] Don't modify condition variable twice in for loops.
Arnaud Giersch [Wed, 26 Feb 2020 21:12:26 +0000 (22:12 +0100)]
[sonar] Change raw for-loops to range for-loops.
Arnaud Giersch [Wed, 26 Feb 2020 10:35:39 +0000 (11:35 +0100)]
[sonar] Comment unused parameter.
Frederic Suter [Wed, 26 Feb 2020 14:01:12 +0000 (15:01 +0100)]
This doesn't make sense but a segfault.
Martin Quinson [Wed, 26 Feb 2020 11:47:49 +0000 (12:47 +0100)]
Specify the full install path in includeflag and libdir for smpicc when installed
Martin Quinson [Wed, 26 Feb 2020 11:09:28 +0000 (12:09 +0100)]
Also fire the on_connect signal for VMs
Arnaud Giersch [Tue, 25 Feb 2020 13:46:21 +0000 (14:46 +0100)]
Fix version comparison in cmake.
Arnaud Giersch [Tue, 25 Feb 2020 08:11:32 +0000 (09:11 +0100)]
Needless XBT_ATTRIB_UNUSED.
Augustin Degomme [Tue, 25 Feb 2020 19:52:46 +0000 (20:52 +0100)]
Merge branch 'cmake-customizable-install-paths' into 'master'
cmake: customizable installation directories
See merge request simgrid/simgrid!33
Millian Poquet [Tue, 25 Feb 2020 18:23:40 +0000 (19:23 +0100)]
cmake: customizable installation directories
- uses GNUInstallDirs: https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
- cmake standard: https://cmake.org/cmake/help/latest/command/install.html#installing-targets
Augustin Degomme [Tue, 25 Feb 2020 14:08:23 +0000 (15:08 +0100)]
requalify some java tests after surf precision change
Augustin Degomme [Tue, 25 Feb 2020 13:23:57 +0000 (14:23 +0100)]
Merge branch 'cmake-no-doc-when-disabled' into 'master'
cmake: no doc when disabled
See merge request simgrid/simgrid!31
Frederic Suter [Tue, 25 Feb 2020 11:16:34 +0000 (12:16 +0100)]
revalidate after merge of surf-precision branch
Frederic Suter [Tue, 25 Feb 2020 10:52:32 +0000 (11:52 +0100)]
convert energy-ptask to energy-exec-ptask
still have to make C and C++ match
Frederic Suter [Tue, 25 Feb 2020 10:51:37 +0000 (11:51 +0100)]
handle (badly) the timeout exception in wait_for()
Frederic Suter [Tue, 25 Feb 2020 10:51:05 +0000 (11:51 +0100)]
add sg_actor_parallel_exec_init()
Frederic Suter [Tue, 25 Feb 2020 10:14:30 +0000 (11:14 +0100)]
add sg_actor_parallel_execute and rename sg_actor_self_execute
if a sg_actor_* function has no actor as first parameter, it is
executed by this_actor
Frederic Suter [Tue, 25 Feb 2020 09:38:32 +0000 (10:38 +0100)]
please sonar and codefactor
Augustin Degomme [Tue, 25 Feb 2020 10:49:31 +0000 (11:49 +0100)]
actually do as intended. Thanks agier.
Augustin Degomme [Tue, 25 Feb 2020 10:48:46 +0000 (11:48 +0100)]
changelog update
Augustin Degomme [Tue, 25 Feb 2020 10:34:10 +0000 (11:34 +0100)]
Merge branch 'surf_precision' into 'master'
Surf precision
See merge request simgrid/simgrid!32
Martin Quinson [Tue, 25 Feb 2020 10:02:15 +0000 (11:02 +0100)]
write in my own doc how to regenerate the docker images without having to upload the images myself [noci]
+ add python3 on the image of tuto-smpi as smpirun needs it
Martin Quinson [Sun, 23 Feb 2020 21:32:02 +0000 (22:32 +0100)]
Fixups in the SMPI tutorial
- We need python3 on the image for smpirun
- Don't try to compile a c++ file with smpicc. smpicxx is a better guess here.
Thanks to the CI for pointing these issues out.
Martin Quinson [Sun, 23 Feb 2020 21:11:37 +0000 (22:11 +0100)]
smpi needs python3
Augustin Degomme [Tue, 25 Feb 2020 07:56:24 +0000 (08:56 +0100)]
funny this did not break before, thank lto on freebsd
Augustin Degomme [Tue, 25 Feb 2020 05:39:18 +0000 (06:39 +0100)]
also exclude lto for other tests
Millian Poquet [Mon, 24 Feb 2020 18:17:24 +0000 (19:17 +0100)]
cmake: indent cosmetics
Millian Poquet [Mon, 24 Feb 2020 18:15:19 +0000 (19:15 +0100)]
cmake: no manpages/javadoc when doc is disabled
Augustin Degomme [Mon, 24 Feb 2020 17:36:46 +0000 (18:36 +0100)]
try to silence intel (and update the deprecated way to silence it)
Frederic Suter [Mon, 24 Feb 2020 14:14:57 +0000 (15:14 +0100)]
cosmetic changes
Frederic Suter [Mon, 24 Feb 2020 13:07:50 +0000 (14:07 +0100)]
rework this example too
Have to decide if we add multiple scenarios with different delays for
the sender and receiver actors as for the C version.
Augustin Degomme [Mon, 24 Feb 2020 16:34:57 +0000 (17:34 +0100)]
avoid LTO when multiple compilers may be involved on a single target (gfortran+clang for this one)
Augustin Degomme [Mon, 24 Feb 2020 15:00:12 +0000 (16:00 +0100)]
oops
Augustin Degomme [Mon, 24 Feb 2020 14:57:13 +0000 (15:57 +0100)]
remove antique (2013) cmake commands
Augustin Degomme [Mon, 24 Feb 2020 14:56:05 +0000 (15:56 +0100)]
fix build for cmake < 3.9
Augustin Degomme [Mon, 24 Feb 2020 14:48:45 +0000 (15:48 +0100)]
Try to use parallel build/tests when possible
Augustin Degomme [Mon, 24 Feb 2020 14:47:49 +0000 (15:47 +0100)]
activate parallel LTO for gitlab/travis builds.
Augustin Degomme [Mon, 24 Feb 2020 14:46:13 +0000 (15:46 +0100)]
activate -DLTO_EXTRA_FLAG="auto" on our jenkins build .
Augustin Degomme [Mon, 24 Feb 2020 14:11:22 +0000 (15:11 +0100)]
add an LTO_EXTRA_FLAG flag for cmake.
This enables to give "auto", to use all cores, a number to use n cores and speedup linking phase.
flto=auto should be enabled by default in GCC 10, so this option can be used to give a lower value in case resources are scarce.
Augustin Degomme [Mon, 24 Feb 2020 14:05:18 +0000 (15:05 +0100)]
Use more cmakey way to detect and use lto (should work on clang and others)
This was introduced in cmake 3.9, but we still support 3.5, so some bits will be removed later
Frederic Suter [Mon, 24 Feb 2020 11:57:16 +0000 (12:57 +0100)]
convert and simplify async-wait
Frederic Suter [Mon, 24 Feb 2020 11:35:25 +0000 (12:35 +0100)]
add sg_comm_wait()
+ unref comm is test return true
Augustin Degomme [Mon, 24 Feb 2020 10:46:01 +0000 (11:46 +0100)]
scientific notation for readability
Frederic Suter [Sun, 23 Feb 2020 19:29:18 +0000 (20:29 +0100)]
cosmetics
Frederic Suter [Sun, 23 Feb 2020 16:03:40 +0000 (17:03 +0100)]
add sg_comm_test
Frederic Suter [Sun, 23 Feb 2020 14:56:29 +0000 (15:56 +0100)]
update
Frederic Suter [Sun, 23 Feb 2020 14:36:53 +0000 (15:36 +0100)]
convert host-on-off-recv
Martin Quinson [Sun, 23 Feb 2020 17:03:32 +0000 (18:03 +0100)]
FindSimGrid: adapt to the move of SIMGRID_VERSION_* macros to simgrid/version.h
Martin Quinson [Sun, 23 Feb 2020 10:25:09 +0000 (11:25 +0100)]
docker: remove java from stable image
Martin Quinson [Thu, 13 Feb 2020 23:18:49 +0000 (00:18 +0100)]
document some recent (and ongoing) changes
Arnaud Giersch [Sun, 23 Feb 2020 13:33:48 +0000 (14:33 +0100)]
Split sonar.issue.ignore.multicriteria.c10.resourceKey.
A list of comma separated values does not seem to be supported.
Arnaud Giersch [Sat, 22 Feb 2020 10:06:37 +0000 (11:06 +0100)]
Update ignore list after file move.
Arnaud Giersch [Sat, 22 Feb 2020 09:54:32 +0000 (10:54 +0100)]
Use the right free function.
Arnaud Giersch [Fri, 21 Feb 2020 21:39:44 +0000 (22:39 +0100)]
Kill unused variable.
Arnaud Giersch [Fri, 21 Feb 2020 17:10:43 +0000 (18:10 +0100)]
[sonar] Const again.
Arnaud Giersch [Fri, 21 Feb 2020 17:08:57 +0000 (18:08 +0100)]
XBT_ATTRIB_UNUSED for unused parameters.
Arnaud Giersch [Fri, 21 Feb 2020 16:31:49 +0000 (17:31 +0100)]
Prefer xbt::random.
Frederic Suter [Fri, 21 Feb 2020 21:13:46 +0000 (22:13 +0100)]
BUMMER
Frederic Suter [Fri, 21 Feb 2020 15:53:04 +0000 (16:53 +0100)]
try to fix paths
Frederic Suter [Fri, 21 Feb 2020 14:24:42 +0000 (15:24 +0100)]
this was no simdag
Arnaud Giersch [Fri, 21 Feb 2020 14:37:00 +0000 (15:37 +0100)]
Close simgrid/simgrid#48.
Arnaud Giersch [Fri, 21 Feb 2020 14:08:28 +0000 (15:08 +0100)]
Clear simcall.timeout_cb_ after use (contribute to simgrid/simgrid#48).
Arnaud Giersch [Fri, 21 Feb 2020 14:01:08 +0000 (15:01 +0100)]
Ensure that only valid simcalls are answered.
Arnaud Giersch [Wed, 19 Feb 2020 14:02:13 +0000 (15:02 +0100)]
Cosmetics.
Frederic Suter [Fri, 21 Feb 2020 12:29:46 +0000 (13:29 +0100)]
convert host-on-off test to s4u
Frederic Suter [Fri, 21 Feb 2020 11:38:48 +0000 (12:38 +0100)]
convert energy-vm
Frederic Suter [Thu, 20 Feb 2020 15:18:14 +0000 (16:18 +0100)]
convert cloud-migration
Frederic Suter [Thu, 20 Feb 2020 14:05:14 +0000 (15:05 +0100)]
more documented examples
Frederic Suter [Thu, 20 Feb 2020 12:32:43 +0000 (13:32 +0100)]
kill this file
Frederic Suter [Thu, 20 Feb 2020 12:31:21 +0000 (13:31 +0100)]
convert io-file-remote
Frederic Suter [Thu, 20 Feb 2020 12:31:04 +0000 (13:31 +0100)]
add sg_disk_get_host()
Frederic Suter [Thu, 20 Feb 2020 11:37:54 +0000 (12:37 +0100)]
energy-pstate -> exec-dvfs
Frederic Suter [Thu, 20 Feb 2020 11:08:36 +0000 (12:08 +0100)]
convert and simplify app-chainsend in C
Frederic Suter [Thu, 20 Feb 2020 09:13:23 +0000 (10:13 +0100)]
add sg_mailbox_get_async
Frederic Suter [Thu, 20 Feb 2020 07:31:22 +0000 (08:31 +0100)]
fix attribute
Frederic Suter [Wed, 19 Feb 2020 14:36:17 +0000 (15:36 +0100)]
convert cloud capping
Frederic Suter [Wed, 19 Feb 2020 14:35:41 +0000 (15:35 +0100)]
extend C API for asynchronous executions
Frederic Suter [Wed, 19 Feb 2020 12:53:56 +0000 (13:53 +0100)]
convert plugin-hostload
Frederic Suter [Wed, 19 Feb 2020 12:19:49 +0000 (13:19 +0100)]
a couple more C examples
Arnaud Giersch [Wed, 19 Feb 2020 10:42:54 +0000 (11:42 +0100)]
[sonar] Ignore rule S1133 for C code too.
Arnaud Giersch [Wed, 19 Feb 2020 08:55:42 +0000 (09:55 +0100)]
Fix attributes for variables.
Arnaud Giersch [Wed, 19 Feb 2020 08:49:54 +0000 (09:49 +0100)]
Another const.