Augustin Degomme [Mon, 27 Sep 2021 10:07:09 +0000 (12:07 +0200)]
Mark the smpi_exit call as noreturn, and really kill the process when exit is called
Thanks agier
Augustin Degomme [Sun, 26 Sep 2021 23:17:54 +0000 (01:17 +0200)]
Revert "initialize a variable in EP."
This reverts commit
acf4f8b6abb16973948f10851953a817cd5541a8.
Augustin Degomme [Sun, 26 Sep 2021 22:57:51 +0000 (00:57 +0200)]
initialize a variable in EP.
exit being replaced by smpi_exit, clang thinks wrongly that it can now be used uninitialized, due to our really strict warning policy. This would not cause any issue on a regular build.
Augustin Degomme [Sun, 26 Sep 2021 22:24:00 +0000 (00:24 +0200)]
Intercept exit() to avoid killing simulations too early, as the first process exits.
This should render previous warning pointless, let's see it it's still needed.
Augustin Degomme [Fri, 24 Sep 2021 09:49:20 +0000 (11:49 +0200)]
make test pass. The finalization barrier is needed in this case, which is suboptimal.
Ideally we whould intercept exit() from a process and avoid killing the simulation except for the last one.
SUTER Frederic [Fri, 24 Sep 2021 09:29:23 +0000 (11:29 +0200)]
fix proxy-apps but not the new smpi faulty test
Augustin Degomme [Fri, 24 Sep 2021 08:46:15 +0000 (10:46 +0200)]
add a failing (since a few days) example with an explicit exit in MPI program
We should be able (and were able) to handle it.
Augustin Degomme [Thu, 23 Sep 2021 12:48:54 +0000 (12:48 +0000)]
Merge branch 'public_smpi_func' into 'master'
Make some SMPI functions public
See merge request simgrid/simgrid!71
Julien EMMANUEL [Tue, 27 Jul 2021 16:22:04 +0000 (18:22 +0200)]
Make some SMPI functions public
When doing mixed S4U/SMPI simulations, users might want to initialize
SMPI manually, and to call functions that were private prior to this
patch. In particular, the bench functions (begin/end) can be useful.
Additionally, the callback `smpi_comm_copy_buffer_callback` must be made
public to allow S4U users to initialize the "default comm data copy
callback" in the engine manually
Martin Quinson [Thu, 23 Sep 2021 07:21:27 +0000 (09:21 +0200)]
cosmetics in the changelog and NEWS file [skip-ci]
Martin Quinson [Wed, 22 Sep 2021 21:59:50 +0000 (23:59 +0200)]
Fix distcheck
Martin Quinson [Wed, 22 Sep 2021 21:54:04 +0000 (23:54 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Wed, 22 Sep 2021 21:26:16 +0000 (23:26 +0200)]
Integrate the tutorial on modeling I/O to the flow of existing pages
Martin Quinson [Wed, 22 Sep 2021 20:49:17 +0000 (22:49 +0200)]
Doc: fix broken links after recent slight API changes
Martin Quinson [Wed, 22 Sep 2021 20:38:18 +0000 (22:38 +0200)]
Document xbt_dynar_t in the new doc
Millian Poquet [Wed, 22 Sep 2021 15:50:31 +0000 (17:50 +0200)]
doc: install/usage with nix/pacman
Millian Poquet [Wed, 22 Sep 2021 15:47:42 +0000 (17:47 +0200)]
doc: nix package to run sphinx with sanity
- official release of javasphinx in PyPI is broken with recent sphinx.
fork on github.com/simgrid/javasphinx is used instead
- other sphinx deps not in nixpkgs are packaged in default.nix
Arnaud Giersch [Wed, 22 Sep 2021 08:20:32 +0000 (10:20 +0200)]
Update warning message.
SUTER Frederic [Wed, 22 Sep 2021 09:06:22 +0000 (11:06 +0200)]
more refactoring of get_instance calls
Martin Quinson [Tue, 21 Sep 2021 20:49:51 +0000 (22:49 +0200)]
Update the doc on getting unstable jar builds
SUTER Frederic [Tue, 21 Sep 2021 15:25:32 +0000 (17:25 +0200)]
please sonar
SUTER Frederic [Tue, 21 Sep 2021 14:20:37 +0000 (16:20 +0200)]
remove smx_global.cpp
SUTER Frederic [Tue, 21 Sep 2021 11:13:17 +0000 (13:13 +0200)]
move MC stuff from simix_global to EngineImpl
Arnaud Giersch [Tue, 21 Sep 2021 13:11:09 +0000 (15:11 +0200)]
Typo.
[ci-skip]
Arnaud Giersch [Tue, 21 Sep 2021 12:45:13 +0000 (14:45 +0200)]
Leak--
[ci-skip]
Arnaud Giersch [Tue, 21 Sep 2021 12:03:37 +0000 (14:03 +0200)]
Address warnings from sonar-scanner.
[ci-skip]
Arnaud Giersch [Tue, 21 Sep 2021 08:38:13 +0000 (10:38 +0200)]
Add comment to ease future deprecation process.
[ci-skip]
SUTER Frederic [Tue, 21 Sep 2021 10:44:36 +0000 (12:44 +0200)]
useless cosmetic commit
SUTER Frederic [Tue, 21 Sep 2021 10:02:51 +0000 (12:02 +0200)]
less indirect calls to get_instance in examples (exec to trace)
SUTER Frederic [Tue, 21 Sep 2021 09:46:35 +0000 (11:46 +0200)]
EngineImpl::shutdown doesn't have to be static
SUTER Frederic [Tue, 21 Sep 2021 09:32:06 +0000 (11:32 +0200)]
please sonar, get_clock 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
SUTER Frederic [Tue, 21 Sep 2021 09:13:54 +0000 (11:13 +0200)]
cleanups
SUTER Frederic [Tue, 21 Sep 2021 07:56:15 +0000 (09:56 +0200)]
handle suicidal MPI apps first
SUTER Frederic [Tue, 21 Sep 2021 07:23:29 +0000 (09:23 +0200)]
get rid of surf_init
SUTER Frederic [Tue, 21 Sep 2021 07:06:32 +0000 (09:06 +0200)]
plug last leaks
SUTER Frederic [Mon, 20 Sep 2021 21:16:25 +0000 (23:16 +0200)]
less indirect calls to get_instance in examples (actor to engine)
SUTER Frederic [Mon, 20 Sep 2021 13:45:07 +0000 (15:45 +0200)]
save some hidden calls to Engine::get_instance
SUTER Frederic [Mon, 20 Sep 2021 09:55:46 +0000 (11:55 +0200)]
simplify writing in model setup + may fix issue with unit-tests
SUTER Frederic [Mon, 20 Sep 2021 08:15:20 +0000 (10:15 +0200)]
try to reduce calls to get_instance and plug some leaks
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
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
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.
SUTER Frederic [Fri, 17 Sep 2021 16:41:43 +0000 (18:41 +0200)]
Merge branch 'no_simix_global'
SUTER Frederic [Tue, 14 Sep 2021 07:38:18 +0000 (09:38 +0200)]
type change + rename function
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
SUTER Frederic [Fri, 17 Sep 2021 10:51:45 +0000 (12:51 +0200)]
rename SIMIX_set_maestro into simgrid_set_maestro
SUTER Frederic [Fri, 17 Sep 2021 10:36:12 +0000 (12:36 +0200)]
get rid of SIMIX_global_init
SUTER Frederic [Fri, 17 Sep 2021 10:14:13 +0000 (12:14 +0200)]
deal with MSG and Java too
SUTER Frederic [Fri, 17 Sep 2021 09:39:27 +0000 (11:39 +0200)]
move context_mod_init to EngineImpl
SUTER Frederic [Fri, 17 Sep 2021 09:17:19 +0000 (11:17 +0200)]
get rid of simix_global and smx_private.hpp
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
SUTER Frederic [Tue, 14 Sep 2021 13:49:19 +0000 (15:49 +0200)]
move maestro to EngineImpl. breaks a unit-test
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)
Augustin Degomme [Tue, 14 Sep 2021 14:55:14 +0000 (16:55 +0200)]
bigdft: missing packages (thanks agier)
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]
SUTER Frederic [Tue, 14 Sep 2021 12:08:59 +0000 (14:08 +0200)]
get rid of surf_exit()
SUTER Frederic [Tue, 14 Sep 2021 12:06:41 +0000 (14:06 +0200)]
fix destruction order
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
Martin Quinson [Mon, 13 Sep 2021 17:05:11 +0000 (19:05 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid
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.
Martin Quinson [Mon, 13 Sep 2021 09:50:47 +0000 (11:50 +0200)]
external CI scripts: cosmetics and uniformity
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
Martin Quinson [Mon, 13 Sep 2021 09:27:54 +0000 (11:27 +0200)]
New GH action for BatSim CI
SUTER Frederic [Mon, 13 Sep 2021 07:14:39 +0000 (09:14 +0200)]
a few more implicit conversions removed
Augustin Degomme [Mon, 13 Sep 2021 08:06:00 +0000 (10:06 +0200)]
allow bigdft build as root
Augustin Degomme [Mon, 13 Sep 2021 07:55:24 +0000 (09:55 +0200)]
add configuration for bigdft.
hopefully the path is right
Martin Quinson [Mon, 13 Sep 2021 06:45:38 +0000 (08:45 +0200)]
New GH action for the CI of BigDFT
Martin Quinson [Mon, 13 Sep 2021 06:58:21 +0000 (08:58 +0200)]
Notify Sam of StarPU results
Martin Quinson [Sun, 12 Sep 2021 20:12:15 +0000 (22:12 +0200)]
New github action for StarPU CI
Martin Quinson [Sun, 12 Sep 2021 20:06:58 +0000 (22:06 +0200)]
chmod +x
Martin Quinson [Sun, 12 Sep 2021 20:01:45 +0000 (22:01 +0200)]
CI wrench: use an external script
Martin Quinson [Sun, 12 Sep 2021 19:49:58 +0000 (21:49 +0200)]
CI wrench: we need googletest from source (?)
Martin Quinson [Sun, 12 Sep 2021 19:46:54 +0000 (21:46 +0200)]
CI wrench: update notification messages; do notify on error only
Martin Quinson [Sun, 12 Sep 2021 19:39:15 +0000 (21:39 +0200)]
CI wrench: spaces, no TAB
Martin Quinson [Sun, 12 Sep 2021 19:37:08 +0000 (21:37 +0200)]
CI wrench: dont install dependencies from source
Martin Quinson [Sun, 12 Sep 2021 19:00:51 +0000 (21:00 +0200)]
GH action for Wrench: properly specify the docker image
Martin Quinson [Sun, 12 Sep 2021 18:05:10 +0000 (20:05 +0200)]
linting yaml
Martin Quinson [Sun, 12 Sep 2021 18:03:39 +0000 (20:03 +0200)]
Add a GH action for the Wrench CI
Martin Quinson [Sun, 12 Sep 2021 17:43:01 +0000 (19:43 +0200)]
Rename a github action
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.
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
SUTER Frederic [Mon, 6 Sep 2021 06:48:20 +0000 (08:48 +0200)]
unsigned long-ing
Arnaud Giersch [Sun, 5 Sep 2021 19:07:32 +0000 (21:07 +0200)]
[appveyor] Bump boost library version.
Arnaud Giersch [Fri, 3 Sep 2021 12:00:20 +0000 (14:00 +0200)]
Kill redundant blank lines.
SUTER Frederic [Sun, 5 Sep 2021 14:44:26 +0000 (16:44 +0200)]
fix 32-bit builds
SUTER Frederic [Sun, 5 Sep 2021 11:53:56 +0000 (13:53 +0200)]
yet another bunch of int -> unsigned long
SUTER Frederic [Sat, 4 Sep 2021 10:20:23 +0000 (12:20 +0200)]
another bunch of new implicit conversions
SUTER Frederic [Fri, 3 Sep 2021 08:48:17 +0000 (10:48 +0200)]
chain reaction when solving implicit cast smells
SUTER Frederic [Fri, 3 Sep 2021 05:53:52 +0000 (07:53 +0200)]
forgot one access to now private field
SUTER Frederic [Thu, 2 Sep 2021 14:52:45 +0000 (16:52 +0200)]
[procrasticommit] less implicit casts and more consistency
SUTER Frederic [Thu, 2 Sep 2021 10:21:16 +0000 (12:21 +0200)]
[procasticommit] Do not mix private and public fields
SUTER Frederic [Thu, 2 Sep 2021 08:09:30 +0000 (10:09 +0200)]
[sonar] forgot that one
SUTER Frederic [Tue, 31 Aug 2021 07:55:56 +0000 (09:55 +0200)]
please sonar
Augustin Degomme [Mon, 30 Aug 2021 17:44:42 +0000 (17:44 +0000)]
Update success message
Augustin Degomme [Mon, 30 Aug 2021 16:09:28 +0000 (16:09 +0000)]
Add mattermost notification to docker action
Arnaud Giersch [Mon, 30 Aug 2021 12:48:32 +0000 (14:48 +0200)]
Merge branch 'lost+found_github-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
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
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