Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoConst for sonar.
Arnaud Giersch [Thu, 27 Feb 2020 08:31:03 +0000 (09:31 +0100)]
Const for sonar.

4 years agoHost is not null here (for scan-build).
Arnaud Giersch [Thu, 27 Feb 2020 08:13:03 +0000 (09:13 +0100)]
Host is not null here (for scan-build).

4 years ago[sonar] Don't modify condition variable twice in for loops.
Arnaud Giersch [Wed, 26 Feb 2020 22:03:57 +0000 (23:03 +0100)]
[sonar] Don't modify condition variable twice in for loops.

4 years ago[sonar] Change raw for-loops to range for-loops.
Arnaud Giersch [Wed, 26 Feb 2020 21:12:26 +0000 (22:12 +0100)]
[sonar] Change raw for-loops to range for-loops.

4 years ago[sonar] Comment unused parameter.
Arnaud Giersch [Wed, 26 Feb 2020 10:35:39 +0000 (11:35 +0100)]
[sonar] Comment unused parameter.

4 years agoThis doesn't make sense but a segfault.
Frederic Suter [Wed, 26 Feb 2020 14:01:12 +0000 (15:01 +0100)]
This doesn't make sense but a segfault.

4 years agoSpecify the full install path in includeflag and libdir for smpicc when installed
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

4 years agoAlso fire the on_connect signal for VMs
Martin Quinson [Wed, 26 Feb 2020 11:09:28 +0000 (12:09 +0100)]
Also fire the on_connect signal for VMs

4 years agoFix version comparison in cmake.
Arnaud Giersch [Tue, 25 Feb 2020 13:46:21 +0000 (14:46 +0100)]
Fix version comparison in cmake.

4 years agoNeedless XBT_ATTRIB_UNUSED.
Arnaud Giersch [Tue, 25 Feb 2020 08:11:32 +0000 (09:11 +0100)]
Needless XBT_ATTRIB_UNUSED.

4 years agoMerge branch 'cmake-customizable-install-paths' into 'master'
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

4 years agocmake: customizable installation directories
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

4 years agorequalify some java tests after surf precision change
Augustin Degomme [Tue, 25 Feb 2020 14:08:23 +0000 (15:08 +0100)]
requalify some java tests after surf precision change

4 years agoMerge branch 'cmake-no-doc-when-disabled' into 'master'
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

4 years agorevalidate after merge of surf-precision branch
Frederic Suter [Tue, 25 Feb 2020 11:16:34 +0000 (12:16 +0100)]
revalidate after merge of surf-precision branch

4 years agoconvert energy-ptask to energy-exec-ptask
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

4 years agohandle (badly) the timeout exception in wait_for()
Frederic Suter [Tue, 25 Feb 2020 10:51:37 +0000 (11:51 +0100)]
handle (badly) the timeout exception in wait_for()

4 years agoadd sg_actor_parallel_exec_init()
Frederic Suter [Tue, 25 Feb 2020 10:51:05 +0000 (11:51 +0100)]
add sg_actor_parallel_exec_init()

4 years agoadd sg_actor_parallel_execute and rename sg_actor_self_execute
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

4 years agoplease sonar and codefactor
Frederic Suter [Tue, 25 Feb 2020 09:38:32 +0000 (10:38 +0100)]
please sonar and codefactor

4 years agoactually do as intended. Thanks agier.
Augustin Degomme [Tue, 25 Feb 2020 10:49:31 +0000 (11:49 +0100)]
actually do as intended. Thanks agier.

4 years agochangelog update
Augustin Degomme [Tue, 25 Feb 2020 10:48:46 +0000 (11:48 +0100)]
changelog update

4 years agoMerge branch 'surf_precision' into 'master'
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

4 years agowrite in my own doc how to regenerate the docker images without having to upload...
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

4 years agoFixups in the SMPI tutorial
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.

4 years agosmpi needs python3
Martin Quinson [Sun, 23 Feb 2020 21:11:37 +0000 (22:11 +0100)]
smpi needs python3

4 years agofunny this did not break before, thank lto on freebsd
Augustin Degomme [Tue, 25 Feb 2020 07:56:24 +0000 (08:56 +0100)]
funny this did not break before, thank lto on freebsd

4 years agoalso exclude lto for other tests
Augustin Degomme [Tue, 25 Feb 2020 05:39:18 +0000 (06:39 +0100)]
also exclude lto for other tests

4 years agocmake: indent cosmetics
Millian Poquet [Mon, 24 Feb 2020 18:17:24 +0000 (19:17 +0100)]
cmake: indent cosmetics

4 years agocmake: no manpages/javadoc when doc is disabled
Millian Poquet [Mon, 24 Feb 2020 18:15:19 +0000 (19:15 +0100)]
cmake: no manpages/javadoc when doc is disabled

4 years agotry to silence intel (and update the deprecated way to silence it)
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)

4 years agocosmetic changes
Frederic Suter [Mon, 24 Feb 2020 14:14:57 +0000 (15:14 +0100)]
cosmetic changes

4 years agorework this example too
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.

4 years agoavoid LTO when multiple compilers may be involved on a single target (gfortran+clang...
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)

4 years agooops
Augustin Degomme [Mon, 24 Feb 2020 15:00:12 +0000 (16:00 +0100)]
oops

4 years agoremove antique (2013) cmake commands
Augustin Degomme [Mon, 24 Feb 2020 14:57:13 +0000 (15:57 +0100)]
remove antique (2013) cmake commands

4 years agofix build for cmake < 3.9
Augustin Degomme [Mon, 24 Feb 2020 14:56:05 +0000 (15:56 +0100)]
fix build for cmake < 3.9

4 years agoTry to use parallel build/tests when possible
Augustin Degomme [Mon, 24 Feb 2020 14:48:45 +0000 (15:48 +0100)]
Try to use parallel build/tests when possible

4 years agoactivate parallel LTO for gitlab/travis builds.
Augustin Degomme [Mon, 24 Feb 2020 14:47:49 +0000 (15:47 +0100)]
activate parallel LTO for gitlab/travis builds.

4 years agoactivate -DLTO_EXTRA_FLAG="auto" on our jenkins build .
Augustin Degomme [Mon, 24 Feb 2020 14:46:13 +0000 (15:46 +0100)]
activate -DLTO_EXTRA_FLAG="auto" on our jenkins build .

4 years agoadd an LTO_EXTRA_FLAG flag for cmake.
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.

4 years agoUse more cmakey way to detect and use lto (should work on clang and others)
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

4 years agoconvert and simplify async-wait
Frederic Suter [Mon, 24 Feb 2020 11:57:16 +0000 (12:57 +0100)]
convert and simplify async-wait

4 years agoadd sg_comm_wait()
Frederic Suter [Mon, 24 Feb 2020 11:35:25 +0000 (12:35 +0100)]
add sg_comm_wait()
+ unref comm is test return true

4 years agoscientific notation for readability
Augustin Degomme [Mon, 24 Feb 2020 10:46:01 +0000 (11:46 +0100)]
scientific notation for readability

4 years agocosmetics
Frederic Suter [Sun, 23 Feb 2020 19:29:18 +0000 (20:29 +0100)]
cosmetics

4 years agoadd sg_comm_test
Frederic Suter [Sun, 23 Feb 2020 16:03:40 +0000 (17:03 +0100)]
add sg_comm_test

4 years agoupdate
Frederic Suter [Sun, 23 Feb 2020 14:56:29 +0000 (15:56 +0100)]
update

4 years agoconvert host-on-off-recv
Frederic Suter [Sun, 23 Feb 2020 14:36:53 +0000 (15:36 +0100)]
convert host-on-off-recv

4 years agoFindSimGrid: adapt to the move of SIMGRID_VERSION_* macros to simgrid/version.h
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

4 years agodocker: remove java from stable image
Martin Quinson [Sun, 23 Feb 2020 10:25:09 +0000 (11:25 +0100)]
docker: remove java from stable image

4 years agodocument some recent (and ongoing) changes
Martin Quinson [Thu, 13 Feb 2020 23:18:49 +0000 (00:18 +0100)]
document some recent (and ongoing) changes

4 years agoSplit sonar.issue.ignore.multicriteria.c10.resourceKey.
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.

4 years agoUpdate ignore list after file move.
Arnaud Giersch [Sat, 22 Feb 2020 10:06:37 +0000 (11:06 +0100)]
Update ignore list after file move.

4 years agoUse the right free function.
Arnaud Giersch [Sat, 22 Feb 2020 09:54:32 +0000 (10:54 +0100)]
Use the right free function.

4 years agoKill unused variable.
Arnaud Giersch [Fri, 21 Feb 2020 21:39:44 +0000 (22:39 +0100)]
Kill unused variable.

4 years ago[sonar] Const again.
Arnaud Giersch [Fri, 21 Feb 2020 17:10:43 +0000 (18:10 +0100)]
[sonar] Const again.

4 years agoXBT_ATTRIB_UNUSED for unused parameters.
Arnaud Giersch [Fri, 21 Feb 2020 17:08:57 +0000 (18:08 +0100)]
XBT_ATTRIB_UNUSED for unused parameters.

4 years agoPrefer xbt::random.
Arnaud Giersch [Fri, 21 Feb 2020 16:31:49 +0000 (17:31 +0100)]
Prefer xbt::random.

4 years agoBUMMER
Frederic Suter [Fri, 21 Feb 2020 21:13:46 +0000 (22:13 +0100)]
BUMMER

4 years agotry to fix paths
Frederic Suter [Fri, 21 Feb 2020 15:53:04 +0000 (16:53 +0100)]
try to fix paths

4 years agothis was no simdag
Frederic Suter [Fri, 21 Feb 2020 14:24:42 +0000 (15:24 +0100)]
this was no simdag

4 years agoClose simgrid/simgrid#48.
Arnaud Giersch [Fri, 21 Feb 2020 14:37:00 +0000 (15:37 +0100)]
Close simgrid/simgrid#48.

4 years agoClear simcall.timeout_cb_ after use (contribute to 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).

4 years agoEnsure that only valid simcalls are answered.
Arnaud Giersch [Fri, 21 Feb 2020 14:01:08 +0000 (15:01 +0100)]
Ensure that only valid simcalls are answered.

4 years agoCosmetics.
Arnaud Giersch [Wed, 19 Feb 2020 14:02:13 +0000 (15:02 +0100)]
Cosmetics.

4 years agoconvert host-on-off test to s4u
Frederic Suter [Fri, 21 Feb 2020 12:29:46 +0000 (13:29 +0100)]
convert host-on-off test to s4u

4 years agoconvert energy-vm
Frederic Suter [Fri, 21 Feb 2020 11:38:48 +0000 (12:38 +0100)]
convert energy-vm

4 years agoconvert cloud-migration
Frederic Suter [Thu, 20 Feb 2020 15:18:14 +0000 (16:18 +0100)]
convert cloud-migration

4 years agomore documented examples
Frederic Suter [Thu, 20 Feb 2020 14:05:14 +0000 (15:05 +0100)]
more documented examples

4 years agokill this file
Frederic Suter [Thu, 20 Feb 2020 12:32:43 +0000 (13:32 +0100)]
kill this file

4 years agoconvert io-file-remote
Frederic Suter [Thu, 20 Feb 2020 12:31:21 +0000 (13:31 +0100)]
convert io-file-remote

4 years agoadd sg_disk_get_host()
Frederic Suter [Thu, 20 Feb 2020 12:31:04 +0000 (13:31 +0100)]
add sg_disk_get_host()

4 years agoenergy-pstate -> exec-dvfs
Frederic Suter [Thu, 20 Feb 2020 11:37:54 +0000 (12:37 +0100)]
energy-pstate -> exec-dvfs

4 years agoconvert and simplify app-chainsend in C
Frederic Suter [Thu, 20 Feb 2020 11:08:36 +0000 (12:08 +0100)]
convert and simplify app-chainsend in C

4 years agoadd sg_mailbox_get_async
Frederic Suter [Thu, 20 Feb 2020 09:13:23 +0000 (10:13 +0100)]
add sg_mailbox_get_async

4 years agofix attribute
Frederic Suter [Thu, 20 Feb 2020 07:31:22 +0000 (08:31 +0100)]
fix attribute

4 years agoconvert cloud capping
Frederic Suter [Wed, 19 Feb 2020 14:36:17 +0000 (15:36 +0100)]
convert cloud capping

4 years agoextend C API for asynchronous executions
Frederic Suter [Wed, 19 Feb 2020 14:35:41 +0000 (15:35 +0100)]
extend C API for asynchronous executions

4 years agoconvert plugin-hostload
Frederic Suter [Wed, 19 Feb 2020 12:53:56 +0000 (13:53 +0100)]
convert plugin-hostload

4 years agoa couple more C examples
Frederic Suter [Wed, 19 Feb 2020 12:19:49 +0000 (13:19 +0100)]
a couple more C examples

4 years ago[sonar] Ignore rule S1133 for C code too.
Arnaud Giersch [Wed, 19 Feb 2020 10:42:54 +0000 (11:42 +0100)]
[sonar] Ignore rule S1133 for C code too.

4 years agoFix attributes for variables.
Arnaud Giersch [Wed, 19 Feb 2020 08:55:42 +0000 (09:55 +0100)]
Fix attributes for variables.

4 years agoAnother const.
Arnaud Giersch [Wed, 19 Feb 2020 08:49:54 +0000 (09:49 +0100)]
Another const.

4 years agodocument C examples related to actors
Frederic Suter [Wed, 19 Feb 2020 08:20:31 +0000 (09:20 +0100)]
document C examples related to actors

4 years agorequalify tesh for cloud sharing with new surf precision value.
Augustin Degomme [Tue, 18 Feb 2020 23:54:36 +0000 (00:54 +0100)]
requalify tesh for cloud sharing with new surf precision value.

4 years agorequalify tesh for replay multiple with new surf precision value.
Augustin Degomme [Tue, 18 Feb 2020 23:54:22 +0000 (00:54 +0100)]
requalify tesh for replay multiple with new surf precision value.

4 years agorequalify tesh for chord with new surf precision value.
Augustin Degomme [Tue, 18 Feb 2020 23:54:09 +0000 (00:54 +0100)]
requalify tesh for chord with new surf precision value.

4 years agorequalify tesh for simdag scheduling with new surf precision value.
Augustin Degomme [Tue, 18 Feb 2020 23:53:48 +0000 (00:53 +0100)]
requalify tesh for simdag scheduling with new surf precision value.

4 years agoput default surf precision value to 1e-9 instead of 1e-5.
Augustin Degomme [Tue, 18 Feb 2020 23:53:16 +0000 (00:53 +0100)]
put default surf precision value to 1e-9 instead of 1e-5.
This was causing some hard to understand bugs for users with high bandwidth tests, and is actually not that expensive.

4 years agoWorkaround for errors given by Asan (certainly false positives).
Arnaud Giersch [Tue, 18 Feb 2020 21:03:47 +0000 (22:03 +0100)]
Workaround for errors given by Asan (certainly false positives).

4 years agoFix build.
Arnaud Giersch [Tue, 18 Feb 2020 17:00:31 +0000 (18:00 +0100)]
Fix build.

4 years agoMerge activity-test-wait into activity-lifecycle.
Arnaud Giersch [Tue, 18 Feb 2020 16:00:15 +0000 (17:00 +0100)]
Merge activity-test-wait into activity-lifecycle.

4 years agoSplit sources for activity-lifecycle.
Arnaud Giersch [Tue, 18 Feb 2020 15:50:08 +0000 (16:50 +0100)]
Split sources for activity-lifecycle.

4 years agoDefine a special test_case for failing tests.
Arnaud Giersch [Tue, 18 Feb 2020 15:07:14 +0000 (16:07 +0100)]
Define a special test_case for failing tests.

4 years agoConvert activity-test-wait to catch2.
Arnaud Giersch [Tue, 18 Feb 2020 14:16:03 +0000 (15:16 +0100)]
Convert activity-test-wait to catch2.

4 years agoConvert activity-lifecycle to catch2.
Arnaud Giersch [Tue, 18 Feb 2020 10:21:07 +0000 (11:21 +0100)]
Convert activity-lifecycle to catch2.

4 years agoUpgrade embedded catch2 (v2.5.0 -> v2.11.1).
Arnaud Giersch [Tue, 18 Feb 2020 12:46:40 +0000 (13:46 +0100)]
Upgrade embedded catch2 (v2.5.0 -> v2.11.1).

4 years agoFactorize common code.
Arnaud Giersch [Mon, 17 Feb 2020 09:08:53 +0000 (10:08 +0100)]
Factorize common code.

4 years agoClosed bug.
Arnaud Giersch [Fri, 14 Feb 2020 14:45:02 +0000 (15:45 +0100)]
Closed bug.