Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoplease sonar, get_clock is a static method
SUTER Frederic [Tue, 21 Sep 2021 09:32:06 +0000 (11:32 +0200)]
please sonar, get_clock is a static method

2 years agoplease sonar, set_config is a static method
SUTER Frederic [Tue, 21 Sep 2021 09:18:55 +0000 (11:18 +0200)]
please sonar, set_config is a static method

2 years agocleanups
SUTER Frederic [Tue, 21 Sep 2021 09:13:54 +0000 (11:13 +0200)]
cleanups

2 years agohandle suicidal MPI apps first
SUTER Frederic [Tue, 21 Sep 2021 07:56:15 +0000 (09:56 +0200)]
handle suicidal MPI apps first

2 years agoget rid of surf_init
SUTER Frederic [Tue, 21 Sep 2021 07:23:29 +0000 (09:23 +0200)]
get rid of surf_init

2 years agoplug last leaks
SUTER Frederic [Tue, 21 Sep 2021 07:06:32 +0000 (09:06 +0200)]
plug last leaks

2 years agoless indirect calls to get_instance in examples (actor to engine)
SUTER Frederic [Mon, 20 Sep 2021 21:16:25 +0000 (23:16 +0200)]
less indirect calls to get_instance in examples (actor to engine)

2 years agosave some hidden calls to Engine::get_instance
SUTER Frederic [Mon, 20 Sep 2021 13:45:07 +0000 (15:45 +0200)]
save some hidden calls to Engine::get_instance

2 years agosimplify writing in model setup + may fix issue with unit-tests
SUTER Frederic [Mon, 20 Sep 2021 09:55:46 +0000 (11:55 +0200)]
simplify writing in model setup + may fix issue with unit-tests

2 years agotry to reduce calls to get_instance and plug some leaks
SUTER Frederic [Mon, 20 Sep 2021 08:15:20 +0000 (10:15 +0200)]
try to reduce calls to get_instance and plug some leaks

2 years agoadd Engine instance in sd_global and avoid using get_instance. plug a leak
SUTER Frederic [Mon, 20 Sep 2021 07:39:38 +0000 (09:39 +0200)]
add Engine instance in sd_global and avoid using get_instance. plug a leak

2 years agoSomewhat redo commit df93dfaab8d79f5e08088aedc95dd2712cef4c70.
Arnaud Giersch [Sun, 19 Sep 2021 14:20:22 +0000 (16:20 +0200)]
Somewhat redo commit df93dfaab8d79f5e08088aedc95dd2712cef4c70.

Avoids a second initialization of Engine after the end.
See e.g. with teshsuite/s4u/actor-suspend

2 years agoMissing includes.
Arnaud Giersch [Sun, 19 Sep 2021 12:48:17 +0000 (14:48 +0200)]
Missing includes.

* SIMGRID_HAVE_MC not defined;
* undeclared identifier 'kill' on FreeBSD.

2 years agoMerge branch 'no_simix_global'
SUTER Frederic [Fri, 17 Sep 2021 16:41:43 +0000 (18:41 +0200)]
Merge branch 'no_simix_global'

2 years agotype change + rename function
SUTER Frederic [Tue, 14 Sep 2021 07:38:18 +0000 (09:38 +0200)]
type change + rename function

2 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid into no_simix_global
SUTER Frederic [Fri, 17 Sep 2021 10:52:09 +0000 (12:52 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid into no_simix_global

2 years agorename SIMIX_set_maestro into simgrid_set_maestro
SUTER Frederic [Fri, 17 Sep 2021 10:51:45 +0000 (12:51 +0200)]
rename SIMIX_set_maestro into simgrid_set_maestro

2 years agoget rid of SIMIX_global_init
SUTER Frederic [Fri, 17 Sep 2021 10:36:12 +0000 (12:36 +0200)]
get rid of SIMIX_global_init

2 years agodeal with MSG and Java too
SUTER Frederic [Fri, 17 Sep 2021 10:14:13 +0000 (12:14 +0200)]
deal with MSG and Java too

2 years agomove context_mod_init to EngineImpl
SUTER Frederic [Fri, 17 Sep 2021 09:39:27 +0000 (11:39 +0200)]
move context_mod_init to EngineImpl

2 years agoget rid of simix_global and smx_private.hpp
SUTER Frederic [Fri, 17 Sep 2021 09:17:19 +0000 (11:17 +0200)]
get rid of simix_global and smx_private.hpp

2 years agotransfer some parts of the initialization from SIMIX_global_init to EngineImpl::initi...
SUTER Frederic [Fri, 17 Sep 2021 07:07:24 +0000 (09:07 +0200)]
transfer some parts of the initialization from SIMIX_global_init to EngineImpl::initialize

2 years agomove maestro to EngineImpl. breaks a unit-test
SUTER Frederic [Tue, 14 Sep 2021 13:49:19 +0000 (15:49 +0200)]
move maestro to EngineImpl. breaks a unit-test

2 years agoswitch to bigdft sdk container for building bigdft, it already has most packages...
Augustin Degomme [Tue, 14 Sep 2021 16:45:17 +0000 (18:45 +0200)]
switch to bigdft sdk container for building bigdft, it already has most packages (soon all)

2 years agobigdft: missing packages (thanks agier)
Augustin Degomme [Tue, 14 Sep 2021 14:55:14 +0000 (16:55 +0200)]
bigdft: missing packages (thanks agier)

2 years agoAsan: ignore what looks like false positives of gcc-11.
Arnaud Giersch [Thu, 9 Sep 2021 19:38:15 +0000 (21:38 +0200)]
Asan: ignore what looks like false positives of gcc-11.

Rationale: these errors are not reported with thread context factory, nor with
clang-12.

[ci-skip]

2 years agoget rid of surf_exit()
SUTER Frederic [Tue, 14 Sep 2021 12:08:59 +0000 (14:08 +0200)]
get rid of surf_exit()

2 years agofix destruction order
SUTER Frederic [Tue, 14 Sep 2021 12:06:41 +0000 (14:06 +0200)]
fix destruction order

2 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid into no_simix_global
SUTER Frederic [Tue, 14 Sep 2021 11:31:02 +0000 (13:31 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid into no_simix_global

2 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Mon, 13 Sep 2021 17:05:11 +0000 (19:05 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

2 years agonew attempt for bigdft ..
Augustin Degomme [Mon, 13 Sep 2021 16:17:40 +0000 (18:17 +0200)]
new attempt for bigdft ..
it fails on my local system and I have no idea why, so let's see if this is a local issue.

2 years agoexternal CI scripts: cosmetics and uniformity
Martin Quinson [Mon, 13 Sep 2021 09:50:47 +0000 (11:50 +0200)]
external CI scripts: cosmetics and uniformity

2 years agoGH CI actions: schedule 1h17 after the docker action, highlight someone in case of...
Martin Quinson [Mon, 13 Sep 2021 09:36:36 +0000 (11:36 +0200)]
GH CI actions: schedule 1h17 after the docker action, highlight someone in case of error, always notify mattermost

2 years agoNew GH action for BatSim CI
Martin Quinson [Mon, 13 Sep 2021 09:27:54 +0000 (11:27 +0200)]
New GH action for BatSim CI

2 years agoa few more implicit conversions removed
SUTER Frederic [Mon, 13 Sep 2021 07:14:39 +0000 (09:14 +0200)]
a few more implicit conversions removed

2 years agoallow bigdft build as root
Augustin Degomme [Mon, 13 Sep 2021 08:06:00 +0000 (10:06 +0200)]
allow bigdft build as root

2 years agoadd configuration for bigdft.
Augustin Degomme [Mon, 13 Sep 2021 07:55:24 +0000 (09:55 +0200)]
add configuration for bigdft.
hopefully the path is right

2 years agoNew GH action for the CI of BigDFT
Martin Quinson [Mon, 13 Sep 2021 06:45:38 +0000 (08:45 +0200)]
New GH action for the CI of BigDFT

2 years agoNotify Sam of StarPU results
Martin Quinson [Mon, 13 Sep 2021 06:58:21 +0000 (08:58 +0200)]
Notify Sam of StarPU results

2 years agoNew github action for StarPU CI
Martin Quinson [Sun, 12 Sep 2021 20:12:15 +0000 (22:12 +0200)]
New github action for StarPU CI

2 years agochmod +x
Martin Quinson [Sun, 12 Sep 2021 20:06:58 +0000 (22:06 +0200)]
chmod +x

2 years agoCI wrench: use an external script
Martin Quinson [Sun, 12 Sep 2021 20:01:45 +0000 (22:01 +0200)]
CI wrench: use an external script

2 years agoCI wrench: we need googletest from source (?)
Martin Quinson [Sun, 12 Sep 2021 19:49:58 +0000 (21:49 +0200)]
CI wrench: we need googletest from source (?)

2 years agoCI wrench: update notification messages; do notify on error only
Martin Quinson [Sun, 12 Sep 2021 19:46:54 +0000 (21:46 +0200)]
CI wrench: update notification messages; do notify on error only

2 years agoCI wrench: spaces, no TAB
Martin Quinson [Sun, 12 Sep 2021 19:39:15 +0000 (21:39 +0200)]
CI wrench: spaces, no TAB

2 years agoCI wrench: dont install dependencies from source
Martin Quinson [Sun, 12 Sep 2021 19:37:08 +0000 (21:37 +0200)]
CI wrench: dont install dependencies from source

2 years agoGH action for Wrench: properly specify the docker image
Martin Quinson [Sun, 12 Sep 2021 19:00:51 +0000 (21:00 +0200)]
GH action for Wrench: properly specify the docker image

2 years agolinting yaml
Martin Quinson [Sun, 12 Sep 2021 18:05:10 +0000 (20:05 +0200)]
linting yaml

2 years agoAdd a GH action for the Wrench CI
Martin Quinson [Sun, 12 Sep 2021 18:03:39 +0000 (20:03 +0200)]
Add a GH action for the Wrench CI

2 years agoRename a github action
Martin Quinson [Sun, 12 Sep 2021 17:43:01 +0000 (19:43 +0200)]
Rename a github action

2 years agodocker: simgrid:stable should be built on top of debian:11
Martin Quinson [Sun, 12 Sep 2021 14:29:10 +0000 (16:29 +0200)]
docker: simgrid:stable should be built on top of debian:11

Not doing so leads to difficulties when debian:testing points to
another version.

2 years agodo not use unsigned there, -1 is used to indicate there is no route between hosts
SUTER Frederic [Mon, 6 Sep 2021 11:55:51 +0000 (13:55 +0200)]
do not use unsigned there, -1 is used to indicate there is no route between hosts

2 years agounsigned long-ing
SUTER Frederic [Mon, 6 Sep 2021 06:48:20 +0000 (08:48 +0200)]
unsigned long-ing

2 years ago[appveyor] Bump boost library version.
Arnaud Giersch [Sun, 5 Sep 2021 19:07:32 +0000 (21:07 +0200)]
[appveyor] Bump boost library version.

2 years agoKill redundant blank lines.
Arnaud Giersch [Fri, 3 Sep 2021 12:00:20 +0000 (14:00 +0200)]
Kill redundant blank lines.

2 years agofix 32-bit builds
SUTER Frederic [Sun, 5 Sep 2021 14:44:26 +0000 (16:44 +0200)]
fix 32-bit builds

2 years agoyet another bunch of int -> unsigned long
SUTER Frederic [Sun, 5 Sep 2021 11:53:56 +0000 (13:53 +0200)]
yet another bunch of int -> unsigned long

2 years agoanother bunch of new implicit conversions
SUTER Frederic [Sat, 4 Sep 2021 10:20:23 +0000 (12:20 +0200)]
another bunch of new implicit conversions

2 years agochain reaction when solving implicit cast smells
SUTER Frederic [Fri, 3 Sep 2021 08:48:17 +0000 (10:48 +0200)]
chain reaction when solving implicit cast smells

2 years agoforgot one access to now private field
SUTER Frederic [Fri, 3 Sep 2021 05:53:52 +0000 (07:53 +0200)]
forgot one access to now private field

2 years ago[procrasticommit] less implicit casts and more consistency
SUTER Frederic [Thu, 2 Sep 2021 14:52:45 +0000 (16:52 +0200)]
[procrasticommit] less implicit casts and more consistency

2 years ago[procasticommit] Do not mix private and public fields
SUTER Frederic [Thu, 2 Sep 2021 10:21:16 +0000 (12:21 +0200)]
[procasticommit] Do not mix private and public fields

2 years ago[sonar] forgot that one
SUTER Frederic [Thu, 2 Sep 2021 08:09:30 +0000 (10:09 +0200)]
[sonar] forgot that one

2 years agoplease sonar
SUTER Frederic [Tue, 31 Aug 2021 07:55:56 +0000 (09:55 +0200)]
please sonar

2 years agoUpdate success message
Augustin Degomme [Mon, 30 Aug 2021 17:44:42 +0000 (17:44 +0000)]
Update success message

2 years agoAdd mattermost notification to docker action
Augustin Degomme [Mon, 30 Aug 2021 16:09:28 +0000 (16:09 +0000)]
Add mattermost notification to docker action

2 years agoMerge branch 'lost+found_github-master'
Arnaud Giersch [Mon, 30 Aug 2021 12:48:32 +0000 (14:48 +0200)]
Merge branch 'lost+found_github-master'

2 years agoMerge branch 'segvhandler_fix' into 'master'
Arnaud Giersch [Mon, 30 Aug 2021 12:37:41 +0000 (12:37 +0000)]
Merge branch 'segvhandler_fix' into 'master'

Fix incorrect suggestion in segvhandler

See merge request simgrid/simgrid!69

2 years agoFix incorrect suggestion in segvhandler
Julien EMMANUEL [Mon, 30 Aug 2021 10:31:07 +0000 (12:31 +0200)]
Fix incorrect suggestion in segvhandler

In case of access violation the error message suggested to set an
ill-formed parameter value

2 years agoAdd docker images to ci (#378)
adegomme [Mon, 30 Aug 2021 12:18:35 +0000 (14:18 +0200)]
Add docker images to ci (#378)

* Create docker.yml

test without push

* add make stable

* framagit download path is easier now

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* Update docker.yml

* Update docker.yml

* Update Makefile

* Update docker.yml

* trailing spaces

2 years agoone sentence inversion less [no-ci]
Martin Quinson [Fri, 27 Aug 2021 17:04:34 +0000 (19:04 +0200)]
one sentence inversion less [no-ci]

2 years agotypo
Augustin Degomme [Wed, 25 Aug 2021 09:23:11 +0000 (11:23 +0200)]
typo

2 years agofactorize findns3.cmake
Augustin Degomme [Wed, 25 Aug 2021 09:14:46 +0000 (11:14 +0200)]
factorize findns3.cmake
Still keeps a list of know/supported versions hardcoded. Inspired from FindBoost.cmake.

2 years agons-3: Make wifi creation compatible with ns-3 version 3.34 too
Martin Quinson [Tue, 24 Aug 2021 21:31:51 +0000 (23:31 +0200)]
ns-3: Make wifi creation compatible with ns-3 version 3.34 too

2 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Tue, 24 Aug 2021 21:27:31 +0000 (23:27 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

2 years agoIf I'm not mistaken, this is no longer necessary either.
Arnaud Giersch [Thu, 19 Aug 2021 06:03:27 +0000 (08:03 +0200)]
If I'm not mistaken, this is no longer necessary either.

2 years agoplease clang static analyser
SUTER Frederic [Tue, 24 Aug 2021 10:47:20 +0000 (12:47 +0200)]
please clang static analyser

2 years agoadd a FAILED state to activities. tested on comm and exec
SUTER Frederic [Mon, 23 Aug 2021 22:43:30 +0000 (00:43 +0200)]
add a FAILED state to activities. tested on comm and exec

2 years ago the issuer of a remote exec that fails should not die
SUTER Frederic [Mon, 23 Aug 2021 22:01:21 +0000 (00:01 +0200)]
 the issuer of a remote exec that fails should not die

2 years agonew attempt.. this bit of code was not useful, it looks like.
Augustin Degomme [Mon, 23 Aug 2021 20:45:56 +0000 (22:45 +0200)]
new attempt.. this bit of code was not useful, it looks like.

2 years agoRevert "Fix for clang 14: new check was added against substracting from a potential...
Augustin Degomme [Mon, 23 Aug 2021 20:42:46 +0000 (22:42 +0200)]
Revert "Fix for clang 14: new check was added against substracting from a potential nullptr."

This reverts commit 1c67b1098855cd6e7782c8379cfe27fc310144eb.

2 years agoFix for clang 14: new check was added against substracting from a potential nullptr.
Augustin Degomme [Mon, 23 Aug 2021 18:53:54 +0000 (20:53 +0200)]
Fix for clang 14: new check was added against substracting from a potential nullptr.

2 years agoplease clang14
Augustin Degomme [Mon, 23 Aug 2021 16:53:55 +0000 (18:53 +0200)]
please clang14

2 years agoRemote Exec should not survive to a host failure
SUTER Frederic [Mon, 23 Aug 2021 15:41:21 +0000 (17:41 +0200)]
Remote Exec should not survive to a host failure

2 years ago[ci-skip] oops++
Arnaud Giersch [Thu, 19 Aug 2021 05:43:45 +0000 (07:43 +0200)]
[ci-skip] oops++

2 years agoInitialize pointers with a known invalid (out-of-bound) value.
Arnaud Giersch [Tue, 17 Aug 2021 20:29:40 +0000 (22:29 +0200)]
Initialize pointers with a known invalid (out-of-bound) value.

2 years agoFactorize code, reindent, etc.
Arnaud Giersch [Wed, 18 Aug 2021 19:49:57 +0000 (21:49 +0200)]
Factorize code, reindent, etc.

2 years agoPrefer to use Mailbox::get_unique.
Arnaud Giersch [Wed, 18 Aug 2021 19:36:50 +0000 (21:36 +0200)]
Prefer to use Mailbox::get_unique.

2 years agoCosmetics for sonar&co.
Arnaud Giersch [Wed, 18 Aug 2021 15:57:22 +0000 (17:57 +0200)]
Cosmetics for sonar&co.

2 years agoImproving doc and changelog
Bruno Donassolo [Wed, 18 Aug 2021 14:50:52 +0000 (16:50 +0200)]
Improving doc and changelog

2 years agoPleases somewhat codefactor.io, lgtm, and pvs-studio.
Arnaud Giersch [Tue, 17 Aug 2021 19:01:54 +0000 (21:01 +0200)]
Pleases somewhat codefactor.io, lgtm, and pvs-studio.

2 years agoFix fedora:rawhide, actor name forgotten
Bruno Donassolo [Tue, 17 Aug 2021 14:29:20 +0000 (16:29 +0200)]
Fix fedora:rawhide, actor name forgotten

2 years agoPlease sonar a little
Bruno Donassolo [Tue, 17 Aug 2021 10:30:23 +0000 (12:30 +0200)]
Please sonar a little

2 years agoPython: example CPU nonlinear
Bruno Donassolo [Mon, 16 Aug 2021 15:27:29 +0000 (17:27 +0200)]
Python: example CPU nonlinear

2 years agoPython: an example with disks
Bruno Donassolo [Mon, 16 Aug 2021 14:09:58 +0000 (16:09 +0200)]
Python: an example with disks

2 years agomodernize SIMIX_comm_set_copy_data_callback
SUTER Frederic [Mon, 16 Aug 2021 18:09:42 +0000 (20:09 +0200)]
modernize SIMIX_comm_set_copy_data_callback

2 years agoCMake: get ready for some future versions of ns-3
Martin Quinson [Mon, 16 Aug 2021 17:29:59 +0000 (19:29 +0200)]
CMake: get ready for some future versions of ns-3

2 years agoTry to make linking succeed with mingw64 (appveyor).
Arnaud Giersch [Mon, 16 Aug 2021 12:38:29 +0000 (14:38 +0200)]
Try to make linking succeed with mingw64 (appveyor).

2 years agoAdd some words about known problem with ns3 on Debian 11/Bullseye.
Arnaud Giersch [Mon, 16 Aug 2021 12:29:42 +0000 (14:29 +0200)]
Add some words about known problem with ns3 on Debian 11/Bullseye.

2 years agoFix memleak in teshsuite test
Bruno Donassolo [Mon, 16 Aug 2021 09:54:45 +0000 (11:54 +0200)]
Fix memleak in teshsuite test