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
Augustin Degomme [Tue, 25 Feb 2020 07:56:24 +0000 (08:56 +0100)]
funny this did not break before, thank lto on freebsd
Augustin Degomme [Tue, 25 Feb 2020 05:39:18 +0000 (06:39 +0100)]
also exclude lto for other tests
Millian Poquet [Mon, 24 Feb 2020 18:17:24 +0000 (19:17 +0100)]
cmake: indent cosmetics
Millian Poquet [Mon, 24 Feb 2020 18:15:19 +0000 (19:15 +0100)]
cmake: no manpages/javadoc when doc is disabled
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)
Frederic Suter [Mon, 24 Feb 2020 14:14:57 +0000 (15:14 +0100)]
cosmetic changes
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.
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)
Augustin Degomme [Mon, 24 Feb 2020 15:00:12 +0000 (16:00 +0100)]
oops
Augustin Degomme [Mon, 24 Feb 2020 14:57:13 +0000 (15:57 +0100)]
remove antique (2013) cmake commands
Augustin Degomme [Mon, 24 Feb 2020 14:56:05 +0000 (15:56 +0100)]
fix build for cmake < 3.9
Augustin Degomme [Mon, 24 Feb 2020 14:48:45 +0000 (15:48 +0100)]
Try to use parallel build/tests when possible
Augustin Degomme [Mon, 24 Feb 2020 14:47:49 +0000 (15:47 +0100)]
activate parallel LTO for gitlab/travis builds.
Augustin Degomme [Mon, 24 Feb 2020 14:46:13 +0000 (15:46 +0100)]
activate -DLTO_EXTRA_FLAG="auto" on our jenkins build .
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.
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
Frederic Suter [Mon, 24 Feb 2020 11:57:16 +0000 (12:57 +0100)]
convert and simplify async-wait
Frederic Suter [Mon, 24 Feb 2020 11:35:25 +0000 (12:35 +0100)]
add sg_comm_wait()
+ unref comm is test return true
Augustin Degomme [Mon, 24 Feb 2020 10:46:01 +0000 (11:46 +0100)]
scientific notation for readability
Frederic Suter [Sun, 23 Feb 2020 19:29:18 +0000 (20:29 +0100)]
cosmetics
Frederic Suter [Sun, 23 Feb 2020 16:03:40 +0000 (17:03 +0100)]
add sg_comm_test
Frederic Suter [Sun, 23 Feb 2020 14:56:29 +0000 (15:56 +0100)]
update
Frederic Suter [Sun, 23 Feb 2020 14:36:53 +0000 (15:36 +0100)]
convert host-on-off-recv
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
Martin Quinson [Sun, 23 Feb 2020 10:25:09 +0000 (11:25 +0100)]
docker: remove java from stable image
Martin Quinson [Thu, 13 Feb 2020 23:18:49 +0000 (00:18 +0100)]
document some recent (and ongoing) changes
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.
Arnaud Giersch [Sat, 22 Feb 2020 10:06:37 +0000 (11:06 +0100)]
Update ignore list after file move.
Arnaud Giersch [Sat, 22 Feb 2020 09:54:32 +0000 (10:54 +0100)]
Use the right free function.
Arnaud Giersch [Fri, 21 Feb 2020 21:39:44 +0000 (22:39 +0100)]
Kill unused variable.
Arnaud Giersch [Fri, 21 Feb 2020 17:10:43 +0000 (18:10 +0100)]
[sonar] Const again.
Arnaud Giersch [Fri, 21 Feb 2020 17:08:57 +0000 (18:08 +0100)]
XBT_ATTRIB_UNUSED for unused parameters.
Arnaud Giersch [Fri, 21 Feb 2020 16:31:49 +0000 (17:31 +0100)]
Prefer xbt::random.
Frederic Suter [Fri, 21 Feb 2020 21:13:46 +0000 (22:13 +0100)]
BUMMER
Frederic Suter [Fri, 21 Feb 2020 15:53:04 +0000 (16:53 +0100)]
try to fix paths
Frederic Suter [Fri, 21 Feb 2020 14:24:42 +0000 (15:24 +0100)]
this was no simdag
Arnaud Giersch [Fri, 21 Feb 2020 14:37:00 +0000 (15:37 +0100)]
Close 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).
Arnaud Giersch [Fri, 21 Feb 2020 14:01:08 +0000 (15:01 +0100)]
Ensure that only valid simcalls are answered.
Arnaud Giersch [Wed, 19 Feb 2020 14:02:13 +0000 (15:02 +0100)]
Cosmetics.
Frederic Suter [Fri, 21 Feb 2020 12:29:46 +0000 (13:29 +0100)]
convert host-on-off test to s4u
Frederic Suter [Fri, 21 Feb 2020 11:38:48 +0000 (12:38 +0100)]
convert energy-vm
Frederic Suter [Thu, 20 Feb 2020 15:18:14 +0000 (16:18 +0100)]
convert cloud-migration
Frederic Suter [Thu, 20 Feb 2020 14:05:14 +0000 (15:05 +0100)]
more documented examples
Frederic Suter [Thu, 20 Feb 2020 12:32:43 +0000 (13:32 +0100)]
kill this file
Frederic Suter [Thu, 20 Feb 2020 12:31:21 +0000 (13:31 +0100)]
convert io-file-remote
Frederic Suter [Thu, 20 Feb 2020 12:31:04 +0000 (13:31 +0100)]
add sg_disk_get_host()
Frederic Suter [Thu, 20 Feb 2020 11:37:54 +0000 (12:37 +0100)]
energy-pstate -> exec-dvfs
Frederic Suter [Thu, 20 Feb 2020 11:08:36 +0000 (12:08 +0100)]
convert and simplify app-chainsend in C
Frederic Suter [Thu, 20 Feb 2020 09:13:23 +0000 (10:13 +0100)]
add sg_mailbox_get_async
Frederic Suter [Thu, 20 Feb 2020 07:31:22 +0000 (08:31 +0100)]
fix attribute
Frederic Suter [Wed, 19 Feb 2020 14:36:17 +0000 (15:36 +0100)]
convert cloud capping
Frederic Suter [Wed, 19 Feb 2020 14:35:41 +0000 (15:35 +0100)]
extend C API for asynchronous executions
Frederic Suter [Wed, 19 Feb 2020 12:53:56 +0000 (13:53 +0100)]
convert plugin-hostload
Frederic Suter [Wed, 19 Feb 2020 12:19:49 +0000 (13:19 +0100)]
a couple more C examples
Arnaud Giersch [Wed, 19 Feb 2020 10:42:54 +0000 (11:42 +0100)]
[sonar] Ignore rule S1133 for C code too.
Arnaud Giersch [Wed, 19 Feb 2020 08:55:42 +0000 (09:55 +0100)]
Fix attributes for variables.
Arnaud Giersch [Wed, 19 Feb 2020 08:49:54 +0000 (09:49 +0100)]
Another const.
Frederic Suter [Wed, 19 Feb 2020 08:20:31 +0000 (09:20 +0100)]
document C examples related to actors
Augustin Degomme [Tue, 18 Feb 2020 23:54:36 +0000 (00:54 +0100)]
requalify tesh for cloud sharing 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.
Augustin Degomme [Tue, 18 Feb 2020 23:54:09 +0000 (00:54 +0100)]
requalify tesh for chord 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.
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.
Arnaud Giersch [Tue, 18 Feb 2020 21:03:47 +0000 (22:03 +0100)]
Workaround for errors given by Asan (certainly false positives).
Arnaud Giersch [Tue, 18 Feb 2020 17:00:31 +0000 (18:00 +0100)]
Fix build.
Arnaud Giersch [Tue, 18 Feb 2020 16:00:15 +0000 (17:00 +0100)]
Merge activity-test-wait into activity-lifecycle.
Arnaud Giersch [Tue, 18 Feb 2020 15:50:08 +0000 (16:50 +0100)]
Split sources for activity-lifecycle.
Arnaud Giersch [Tue, 18 Feb 2020 15:07:14 +0000 (16:07 +0100)]
Define a special test_case for failing tests.
Arnaud Giersch [Tue, 18 Feb 2020 14:16:03 +0000 (15:16 +0100)]
Convert activity-test-wait to catch2.
Arnaud Giersch [Tue, 18 Feb 2020 10:21:07 +0000 (11:21 +0100)]
Convert activity-lifecycle to catch2.
Arnaud Giersch [Tue, 18 Feb 2020 12:46:40 +0000 (13:46 +0100)]
Upgrade embedded catch2 (v2.5.0 -> v2.11.1).
Arnaud Giersch [Mon, 17 Feb 2020 09:08:53 +0000 (10:08 +0100)]
Factorize common code.
Arnaud Giersch [Fri, 14 Feb 2020 14:45:02 +0000 (15:45 +0100)]
Closed bug.
Frederic Suter [Fri, 14 Feb 2020 00:19:24 +0000 (01:19 +0100)]
missing override
Frederic Suter [Fri, 14 Feb 2020 00:03:30 +0000 (01:03 +0100)]
merge ExecSeq and ExecPar into Exec (simdag-style)
Frederic Suter [Thu, 13 Feb 2020 06:23:40 +0000 (07:23 +0100)]
convert cloud simple
Augustin Degomme [Thu, 13 Feb 2020 17:37:46 +0000 (18:37 +0100)]
#139 :
- have group::rank check for parent process in case it is called by a subprocess.
- add SMPI_thread_create, which is rather empty, as there is apparently no need for suer_data anymore (?).
Martin Quinson [Wed, 12 Feb 2020 10:49:12 +0000 (11:49 +0100)]
document the actor-{daemon,join,kill} C examples
Martin Quinson [Wed, 12 Feb 2020 10:29:20 +0000 (11:29 +0100)]
Make sure that the doc of the sg_actor functions land in the doc
At some point in the past, I came to the conclusion that I did not
want doxygen to introspect the implementation of the code but only the
header files. I think it was because I did not want doxygen to grab
and publish the internal symbols used for the implementation, but only
to document the public interface. I'm not entirely sure because it was
a long time ago :-/ Maybe I'm missing another issue that will resurface.
But this policy requires that the docstrings are in the header, while
good practices advise to keep docstrings close to the implem, to
increase the chance of getting them updated when the implem changes.
Now that we use autodoxy, we manually pick which symbols get
displayed, so it does not matter anymore to hide stuff from Doxygen as
when we had automatic content listing.
I don't feel (yet) like moving the docstrings from the headers back to
the implem a few years after moving them in the other direction, but
since the docstrings of the C implem is close to the implem (as it
should), let's show that implem to doxygen so that the C symbols get
documented in the refguide.
And yes. This documents a one line commit with 20+ lines of logs. This
will allow agier to point me to that commit when I change my mind in
the future ;) eg when the issue that I forgot will resurface.
Martin Quinson [Wed, 12 Feb 2020 10:28:10 +0000 (11:28 +0100)]
add sg_actor_is_daemon()
Martin Quinson [Wed, 12 Feb 2020 10:12:09 +0000 (11:12 +0100)]
we don't use doxygen's groups anymore
Arnaud Giersch [Thu, 13 Feb 2020 08:35:02 +0000 (09:35 +0100)]
Update tests.
Code factorization, more debug messages, prepare for other kinds of activities.
Frederic Suter [Wed, 12 Feb 2020 23:36:58 +0000 (00:36 +0100)]
ignore binaries for new C examples
Frederic Suter [Wed, 12 Feb 2020 23:32:53 +0000 (00:32 +0100)]
convert msg/energy-consumption to c/energy-exec
Frederic Suter [Wed, 12 Feb 2020 22:14:43 +0000 (23:14 +0100)]
please intel compiler
Arnaud Giersch [Wed, 12 Feb 2020 22:57:59 +0000 (23:57 +0100)]
Update MANIFEST.in, .gitignore.
Arnaud Giersch [Tue, 11 Feb 2020 20:47:04 +0000 (21:47 +0100)]
Add activity-test-wait testing test() and wait_for() for activities.
Currently, only Exec are tested.
Some failing tests are left commented.
Arnaud Giersch [Wed, 12 Feb 2020 22:16:37 +0000 (23:16 +0100)]
Allow to call test() on canceled activities.
Arnaud Giersch [Tue, 11 Feb 2020 08:05:10 +0000 (09:05 +0100)]
[sonar] Add const.
Frederic Suter [Wed, 12 Feb 2020 05:01:32 +0000 (06:01 +0100)]
this test has been converted
Frederic Suter [Tue, 11 Feb 2020 22:23:50 +0000 (23:23 +0100)]
C version of async-waitall
Frederic Suter [Tue, 11 Feb 2020 05:22:23 +0000 (06:22 +0100)]
add actor-exiting in C
This is a shorter counterpart to the C++ example as signals cannot be
used. The only way to be informed of the termination of an actor is
thus to rely on the sg_actor_on_exit function.