Augustin Degomme [Fri, 6 Mar 2020 16:24:18 +0000 (17:24 +0100)]
requalify some teshes
Augustin Degomme [Fri, 6 Mar 2020 14:30:40 +0000 (15:30 +0100)]
update doc
Augustin Degomme [Fri, 6 Mar 2020 14:15:26 +0000 (15:15 +0100)]
typo--
Augustin Degomme [Fri, 6 Mar 2020 13:56:41 +0000 (14:56 +0100)]
Update changelog for loopback changes.
I did set this as important, but we might move it if it's not.
Augustin Degomme [Fri, 6 Mar 2020 13:55:26 +0000 (14:55 +0100)]
Fix shared seek when using something else than MPI_SEEK_SET
Augustin Degomme [Fri, 6 Mar 2020 13:54:22 +0000 (14:54 +0100)]
fix io-shared test, which was just a little bit too non deterministic.
Some pocesses could enter the seek_shared call before other entered the previous write_shared, changing the shared pointer value under their feet. Or not.
Augustin Degomme [Fri, 6 Mar 2020 13:08:43 +0000 (14:08 +0100)]
disable SMPI/IO shared test pending investigation.
While changing loopback values might have changed this non deterministic test, its behaviour is oddly suspicious and probably buggy.
Augustin Degomme [Fri, 6 Mar 2020 13:07:26 +0000 (14:07 +0100)]
requalify tesh to account for default value change for loopback link
Augustin Degomme [Fri, 6 Mar 2020 11:08:29 +0000 (12:08 +0100)]
Add an option to alter the default hidden and poorly performing loopback link in some models
Frederic Suter [Fri, 6 Mar 2020 12:01:45 +0000 (13:01 +0100)]
handle (some) exceptions for Comm and Exec in C
Frederic Suter [Fri, 6 Mar 2020 08:50:18 +0000 (09:50 +0100)]
add C version of actor-stacksize example
Frederic Suter [Fri, 6 Mar 2020 08:49:24 +0000 (09:49 +0100)]
add C version of Actor::set_stacksize
Martin Quinson [Thu, 5 Mar 2020 11:08:39 +0000 (12:08 +0100)]
gitlab-ci: 'pages' waits only for 'ctest' again: 'pip' builds its stuff to some weird location
Not a raw revert of the previous change because it still uses needs:
instead of dependencies:
Martin Quinson [Thu, 5 Mar 2020 10:54:57 +0000 (11:54 +0100)]
fix the execution of the bittorrent example
Martin Quinson [Thu, 5 Mar 2020 10:50:29 +0000 (11:50 +0100)]
gitlab-ci: pages only waits for the pip build, to speed things up
- This way, the pages can be built before the tests are run
Martin Quinson [Thu, 5 Mar 2020 10:41:48 +0000 (11:41 +0100)]
fix make distcheck and pip builds, again
Martin Quinson [Thu, 5 Mar 2020 10:24:35 +0000 (11:24 +0100)]
forgot to document this new example :)
Martin Quinson [Thu, 5 Mar 2020 10:18:39 +0000 (11:18 +0100)]
cmake: also factorize the multi-files examples
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
Martin Quinson [Thu, 5 Mar 2020 09:39:08 +0000 (10:39 +0100)]
further factorize our cmake code to run the s4u examples
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
Martin Quinson [Thu, 5 Mar 2020 09:03:59 +0000 (10:03 +0100)]
allow to specify the stack size on a per-actor basis
Frederic Suter [Thu, 5 Mar 2020 09:03:22 +0000 (10:03 +0100)]
add C version of exec-remote
Frederic Suter [Thu, 5 Mar 2020 09:01:48 +0000 (10:01 +0100)]
add sg_exec_set_host
Frederic Suter [Wed, 4 Mar 2020 12:45:49 +0000 (13:45 +0100)]
remove redundant, old, and deprecated test
Martin Quinson [Thu, 5 Mar 2020 06:58:45 +0000 (07:58 +0100)]
sonar cleanups: pass large objects by const reference
Arnaud Giersch [Wed, 4 Mar 2020 20:47:42 +0000 (21:47 +0100)]
Closed GH#128.
Arnaud Giersch [Wed, 4 Mar 2020 13:22:16 +0000 (14:22 +0100)]
Remove unused lambda capture.
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.
Arnaud Giersch [Tue, 3 Mar 2020 22:21:24 +0000 (23:21 +0100)]
Simcall again, when updating content in s4u::File::write_on_*.
Arnaud Giersch [Tue, 3 Mar 2020 22:13:14 +0000 (23:13 +0100)]
Use a simcall for s4u::File construction and destruction.
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.
Arnaud Giersch [Tue, 3 Mar 2020 21:31:25 +0000 (22:31 +0100)]
Modify object property in kernel mode.
Arnaud Giersch [Wed, 4 Mar 2020 12:38:15 +0000 (13:38 +0100)]
Clean surf_action on IoImpl::post.
Arnaud Giersch [Tue, 3 Mar 2020 22:27:47 +0000 (23:27 +0100)]
Duplicate assert (taken from FileSystemDiskExt::parse_content).
Frederic Suter [Wed, 4 Mar 2020 12:38:25 +0000 (13:38 +0100)]
update doc
Frederic Suter [Wed, 4 Mar 2020 12:35:13 +0000 (13:35 +0100)]
add C version of exec-basic (including execute w/ priority)
Frederic Suter [Wed, 4 Mar 2020 12:29:57 +0000 (13:29 +0100)]
add sg_actor_execute_with_priority
Frederic Suter [Wed, 4 Mar 2020 12:15:28 +0000 (13:15 +0100)]
convert and simplify msg/process-lifetime
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?
Martin Quinson [Wed, 4 Mar 2020 11:24:07 +0000 (12:24 +0100)]
fix pip build
Martin Quinson [Wed, 4 Mar 2020 11:09:49 +0000 (12:09 +0100)]
pass large objects by const ref 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
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)
Augustin Degomme [Tue, 3 Mar 2020 23:29:20 +0000 (00:29 +0100)]
avoid cmake warning
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.
Martin Quinson [Tue, 3 Mar 2020 23:11:02 +0000 (00:11 +0100)]
fix make dist, as usual
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
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
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.
Martin Quinson [Tue, 3 Mar 2020 22:04:45 +0000 (23:04 +0100)]
doc: fix a code snippet
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.
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
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.
Martin Quinson [Mon, 2 Mar 2020 17:27:08 +0000 (18:27 +0100)]
fix dead links in the doc
Augustin Degomme [Mon, 2 Mar 2020 13:27:19 +0000 (14:27 +0100)]
New attempt
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
Augustin Degomme [Mon, 2 Mar 2020 10:52:54 +0000 (11:52 +0100)]
Yuck.
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