Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agofix make distcheck and pip builds, again
Martin Quinson [Thu, 5 Mar 2020 10:41:48 +0000 (11:41 +0100)]
fix make distcheck and pip builds, again

4 years agoforgot to document this new example :)
Martin Quinson [Thu, 5 Mar 2020 10:24:35 +0000 (11:24 +0100)]
forgot to document this new example :)

4 years agocmake: also factorize the multi-files examples
Martin Quinson [Thu, 5 Mar 2020 10:18:39 +0000 (11:18 +0100)]
cmake: also factorize the multi-files examples

4 years agoexamples/s4u/CMakeLists.txt: Also factorize the mc tests with the others
Martin Quinson [Thu, 5 Mar 2020 09:53:49 +0000 (10:53 +0100)]
examples/s4u/CMakeLists.txt: Also factorize the mc tests with the others

4 years agofurther factorize our cmake code to run the s4u examples
Martin Quinson [Thu, 5 Mar 2020 09:39:08 +0000 (10:39 +0100)]
further factorize our cmake code to run the s4u examples

4 years agomove actor-stacksize from teshsuite to examples now that it's of some interest to...
Martin Quinson [Thu, 5 Mar 2020 09:33:48 +0000 (10:33 +0100)]
move actor-stacksize from teshsuite to examples now that it's of some interest to the users

4 years agoallow to specify the stack size on a per-actor basis
Martin Quinson [Thu, 5 Mar 2020 09:03:59 +0000 (10:03 +0100)]
allow to specify the stack size on a per-actor basis

4 years agoadd C version of exec-remote
Frederic Suter [Thu, 5 Mar 2020 09:03:22 +0000 (10:03 +0100)]
add C version of exec-remote

4 years agoadd sg_exec_set_host
Frederic Suter [Thu, 5 Mar 2020 09:01:48 +0000 (10:01 +0100)]
add sg_exec_set_host

4 years agoremove redundant, old, and deprecated test
Frederic Suter [Wed, 4 Mar 2020 12:45:49 +0000 (13:45 +0100)]
remove redundant, old, and deprecated test

4 years agosonar cleanups: pass large objects by const reference
Martin Quinson [Thu, 5 Mar 2020 06:58:45 +0000 (07:58 +0100)]
sonar cleanups: pass large objects by const reference

4 years agoClosed GH#128.
Arnaud Giersch [Wed, 4 Mar 2020 20:47:42 +0000 (21:47 +0100)]
Closed GH#128.

4 years agoRemove unused lambda capture.
Arnaud Giersch [Wed, 4 Mar 2020 13:22:16 +0000 (14:22 +0100)]
Remove unused lambda capture.

4 years agoFix tesh file.
Arnaud Giersch [Wed, 4 Mar 2020 13:06:45 +0000 (14:06 +0100)]
Fix tesh file.

4e6 bytes at 100MBps read in 0.04s: it looks correct.

4 years agoSimcall again, when updating content in s4u::File::write_on_*.
Arnaud Giersch [Tue, 3 Mar 2020 22:21:24 +0000 (23:21 +0100)]
Simcall again, when updating content in s4u::File::write_on_*.

4 years agoUse a simcall for s4u::File construction and destruction.
Arnaud Giersch [Tue, 3 Mar 2020 22:13:14 +0000 (23:13 +0100)]
Use a simcall for s4u::File construction and destruction.

4 years agoUse a simcall to retrieve mounted storages.
Arnaud Giersch [Tue, 3 Mar 2020 22:02:36 +0000 (23:02 +0100)]
Use a simcall to retrieve mounted storages.

For reproducibility concerns, make a simcall even when it's already cached.

4 years agoModify object property in kernel mode.
Arnaud Giersch [Tue, 3 Mar 2020 21:31:25 +0000 (22:31 +0100)]
Modify object property in kernel mode.

4 years agoClean surf_action on IoImpl::post.
Arnaud Giersch [Wed, 4 Mar 2020 12:38:15 +0000 (13:38 +0100)]
Clean surf_action on IoImpl::post.

4 years agoDuplicate assert (taken from FileSystemDiskExt::parse_content).
Arnaud Giersch [Tue, 3 Mar 2020 22:27:47 +0000 (23:27 +0100)]
Duplicate assert (taken from FileSystemDiskExt::parse_content).

4 years agoupdate doc
Frederic Suter [Wed, 4 Mar 2020 12:38:25 +0000 (13:38 +0100)]
update doc

4 years agoadd C version of exec-basic (including execute w/ priority)
Frederic Suter [Wed, 4 Mar 2020 12:35:13 +0000 (13:35 +0100)]
add C version of exec-basic (including execute w/ priority)

4 years agoadd sg_actor_execute_with_priority
Frederic Suter [Wed, 4 Mar 2020 12:29:57 +0000 (13:29 +0100)]
add sg_actor_execute_with_priority

4 years agoconvert and simplify msg/process-lifetime
Frederic Suter [Wed, 4 Mar 2020 12:15:28 +0000 (13:15 +0100)]
convert and simplify msg/process-lifetime

4 years agointroduce sg_actor_create and use it in C examples
Frederic Suter [Wed, 4 Mar 2020 11:44:31 +0000 (12:44 +0100)]
introduce sg_actor_create and use it in C examples

may want to add a sg_actor_create_no_args?

4 years agofix pip build
Martin Quinson [Wed, 4 Mar 2020 11:24:07 +0000 (12:24 +0100)]
fix pip build

4 years agopass large objects by const ref to please sonar
Martin Quinson [Wed, 4 Mar 2020 11:09:49 +0000 (12:09 +0100)]
pass large objects by const ref to please sonar

4 years agouse std::function instead of pointers to functions to please sonar
Martin Quinson [Wed, 4 Mar 2020 10:59:56 +0000 (11:59 +0100)]
use std::function instead of pointers to functions to please sonar

4 years agoconvert another teshsuite/simix test into teshsuite/kernel (and fix it)
Martin Quinson [Tue, 3 Mar 2020 23:43:17 +0000 (00:43 +0100)]
convert another teshsuite/simix test into teshsuite/kernel (and fix it)

that test broke when I added the test for the context stacksize (the
tests are now more verbose)

4 years agoavoid cmake warning
Augustin Degomme [Tue, 3 Mar 2020 23:29:20 +0000 (00:29 +0100)]
avoid cmake warning

4 years agofix make distcheck, but the definition of this target (not its configuration), this...
Martin Quinson [Tue, 3 Mar 2020 23:24:47 +0000 (00:24 +0100)]
fix make distcheck, but the definition of this target (not its configuration), this time

I suspect that this broke when we low-cased the project name somehow,
but I fail to really understand the breakage. Anyway, it's fixed now.

4 years agofix make dist, as usual
Martin Quinson [Tue, 3 Mar 2020 23:11:02 +0000 (00:11 +0100)]
fix make dist, as usual

4 years agoclose gforge bug 18137 (allow different stack sizes): that was possible since years...
Martin Quinson [Tue, 3 Mar 2020 22:54:55 +0000 (23:54 +0100)]
close gforge bug 18137 (allow different stack sizes): that was possible since years, actually

4 years agodocs/find-missing: adapt to the fact that ExecPar and ExecSeq don't exist anymore
Martin Quinson [Tue, 3 Mar 2020 22:43:20 +0000 (23:43 +0100)]
docs/find-missing: adapt to the fact that ExecPar and ExecSeq don't exist anymore

4 years agoAllow to set configuration items without parsing the value
Martin Quinson [Tue, 3 Mar 2020 22:40:32 +0000 (23:40 +0100)]
Allow to set configuration items without parsing the value

Also in documentation: publicize the fact that our actor should not
return any value (expected return type: void) and hide the legacy
prototype with expected return type: int.

4 years agodoc: fix a code snippet
Martin Quinson [Tue, 3 Mar 2020 22:04:45 +0000 (23:04 +0100)]
doc: fix a code snippet

4 years agogive up 3.8 for now.
Augustin Degomme [Tue, 3 Mar 2020 12:53:37 +0000 (13:53 +0100)]
give up 3.8 for now.
Even setting the system path or pythonpath correctly does not fix the issue, I will try to debug on a live windows system.

4 years agodie verbosely when the content of a filesystem is not found, instead of an infinite...
Martin Quinson [Tue, 3 Mar 2020 08:08:01 +0000 (09:08 +0100)]
die verbosely when the content of a filesystem is not found, instead of an infinite loop

4 years agogitlab-ci: avoid recompiling the lib in 'pages' stage
Martin Quinson [Mon, 2 Mar 2020 22:54:11 +0000 (23:54 +0100)]
gitlab-ci: avoid recompiling the lib in 'pages' stage

use the one from the 'ctest' stage instead. What we really need here
is the python module for autodoc to work.

4 years agofix dead links in the doc
Martin Quinson [Mon, 2 Mar 2020 17:27:08 +0000 (18:27 +0100)]
fix dead links in the doc

4 years agoNew attempt
Augustin Degomme [Mon, 2 Mar 2020 13:27:19 +0000 (14:27 +0100)]
New attempt

4 years agoTry to add simgrid path to the global system path, as python >=3.8 on windows now...
Augustin Degomme [Mon, 2 Mar 2020 12:35:41 +0000 (13:35 +0100)]
Try to add simgrid path to the global system path, as python >=3.8 on windows now ignores user level paths.
see https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew

4 years agoYuck.
Augustin Degomme [Mon, 2 Mar 2020 10:52:54 +0000 (11:52 +0100)]
Yuck.

4 years agoBump system for appveyor (windows server 2012->2019).
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.

4 years agoNote in SMPI introduction that ns-3 could be used as a model here too
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

4 years agoKill unused member "name_".
Arnaud Giersch [Sun, 1 Mar 2020 13:49:47 +0000 (14:49 +0100)]
Kill unused member "name_".

4 years agoCosmetics: one typo, and fix alignment.
Arnaud Giersch [Sun, 1 Mar 2020 13:38:42 +0000 (14:38 +0100)]
Cosmetics: one typo, and fix alignment.

4 years agoClosed isssue.
Arnaud Giersch [Sun, 1 Mar 2020 13:34:03 +0000 (14:34 +0100)]
Closed isssue.

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

4 years agoComplete definition of exception's destructors in Exception.cpp.
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.

4 years agoInline empty ctor; use default dtor.
Arnaud Giersch [Fri, 28 Feb 2020 15:55:48 +0000 (16:55 +0100)]
Inline empty ctor; use default dtor.

4 years agolld does not have -version, actually, but -v
Augustin Degomme [Fri, 28 Feb 2020 16:38:26 +0000 (17:38 +0100)]
lld does not have -version, actually, but -v

4 years agoWhen gfortran is used with llvm lld, it needs -ffat-lto-objects, as cmake forces...
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

4 years agoOnly test fortran for LTO if compiler is present.
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).

4 years agobump osx version for travis
Augustin Degomme [Fri, 28 Feb 2020 07:14:37 +0000 (08:14 +0100)]
bump osx version for travis

4 years ago[sonar] Declare move constructors with "noexcept".
Arnaud Giersch [Thu, 27 Feb 2020 20:28:53 +0000 (21:28 +0100)]
[sonar] Declare move constructors with "noexcept".

4 years ago[sonar] The three expressions of a "for" statement should only be concerned with...
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.

4 years agoClose file after use.
Arnaud Giersch [Thu, 27 Feb 2020 08:40:55 +0000 (09:40 +0100)]
Close file after use.

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 agoProject name has changed from SimGrid to simgrid.
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.

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.