bcamus [Tue, 17 Sep 2019 13:54:24 +0000 (15:54 +0200)]
To detect all the flows that are finishing at the same time, allow NS-3 to have a next_occuring_event of 0.
To avoid inconsistencies between SimGrid actions and NS3 flows, set the remainings of an action to 0 only when its flow is finished in NS3
Frederic Suter [Tue, 17 Sep 2019 11:45:44 +0000 (13:45 +0200)]
convert a last s4u test to disks
Frederic Suter [Tue, 17 Sep 2019 07:34:49 +0000 (09:34 +0200)]
another test conversion to disks
Frederic Suter [Tue, 17 Sep 2019 07:07:08 +0000 (09:07 +0200)]
Align Disk get/set_data() with the Extendable version of that feature
Frederic Suter [Tue, 17 Sep 2019 06:58:10 +0000 (08:58 +0200)]
Merge branch 'master' into disk
Martin Quinson [Mon, 16 Sep 2019 22:14:16 +0000 (00:14 +0200)]
remove another pimpl in smpi initialization
Martin Quinson [Mon, 16 Sep 2019 21:51:51 +0000 (23:51 +0200)]
smpi: get ride of process_data and use a regular Extension
Martin Quinson [Mon, 16 Sep 2019 20:34:56 +0000 (22:34 +0200)]
Revert "debug a problem making LSAN to segfault"
The new information are not very informative, and break many tests
that were working.
This reverts commit
219b128344e14ff691c5f9615741d006ac79aeec.
Frederic Suter [Mon, 16 Sep 2019 15:20:10 +0000 (17:20 +0200)]
revalidate java examples
Frederic Suter [Mon, 16 Sep 2019 14:34:47 +0000 (16:34 +0200)]
fix distcheck and doc
Frederic Suter [Mon, 16 Sep 2019 14:32:39 +0000 (16:32 +0200)]
rework that test too (no windows stuff and no tabs)
Frederic Suter [Mon, 16 Sep 2019 14:18:32 +0000 (16:18 +0200)]
do not use win_storage_content.txt anymore
Frederic Suter [Mon, 16 Sep 2019 14:05:13 +0000 (16:05 +0200)]
replay-storage becomes replay-io ... with disks
Frederic Suter [Mon, 16 Sep 2019 13:36:17 +0000 (15:36 +0200)]
rework old storage example to get rid of win_storage_content.txt
Frederic Suter [Mon, 16 Sep 2019 13:16:27 +0000 (15:16 +0200)]
use smaller file
Frederic Suter [Mon, 16 Sep 2019 11:26:45 +0000 (13:26 +0200)]
get rid of this example
we have its MSG counterpart in teshsuite
Frederic Suter [Mon, 16 Sep 2019 11:25:57 +0000 (13:25 +0200)]
please 32-bit
Frederic Suter [Mon, 16 Sep 2019 10:15:25 +0000 (12:15 +0200)]
revalidate last smpi-io test
location of disk changed when moving from remote_io.xml to
hosts_with_disks.xml (located on bob while on carl before). The shared
file is now opened locally by bob (was opened remotely on carl before)
and the recessary data transfers for remote accesses change to.
If we switch carl and bob in hostfile_io we observe the same behavior
as before, only the hostnames differ.
Frederic Suter [Mon, 16 Sep 2019 09:56:59 +0000 (11:56 +0200)]
take change of signal location into account
Frederic Suter [Mon, 16 Sep 2019 09:28:01 +0000 (11:28 +0200)]
Merge branch 'master' into disk
Frederic Suter [Mon, 16 Sep 2019 09:26:53 +0000 (11:26 +0200)]
let all but io-shared smpi-io tests use the hosts_with_disks platform
file.
Frederic Suter [Mon, 16 Sep 2019 09:17:14 +0000 (11:17 +0200)]
allows for mount of remote disks in file system plugin
* host has to declare a <prop> in the platform file whose id is
"remote_disk" and value has the following format
"mount_point:disk_name:host_name"
* Extend the io-file-remote example and the hosts_with_disks.xml
platform file to test this feature
Martin Quinson [Sun, 15 Sep 2019 20:24:32 +0000 (22:24 +0200)]
debug a problem making LSAN to segfault
Martin Quinson [Sun, 15 Sep 2019 08:31:18 +0000 (10:31 +0200)]
document existing coding convention in C, and stick to it
Martin Quinson [Sun, 15 Sep 2019 08:18:55 +0000 (10:18 +0200)]
Add sg_actor_{get,set}_data()
This fixes https://framagit.org/simgrid/simgrid/issues/31
Martin Quinson [Sat, 14 Sep 2019 21:00:43 +0000 (23:00 +0200)]
Align Link get/set_data() with the Extendable version of that feature
Martin Quinson [Sat, 14 Sep 2019 20:53:03 +0000 (22:53 +0200)]
Align Storage get/set_data() with the Extendable version of that feature
That was easy.
Martin Quinson [Sat, 14 Sep 2019 20:42:53 +0000 (22:42 +0200)]
Align host get/set_data() with the Extendable version of that feature
Martin Quinson [Sat, 14 Sep 2019 19:43:21 +0000 (21:43 +0200)]
give a set_data() and get_data() to all xbt::Extendable structures
This is for C users, and it will unify all versions of the same
feature all over the place.
Martin Quinson [Fri, 13 Sep 2019 14:20:06 +0000 (16:20 +0200)]
move some global signals to the Engine
Martin Quinson [Fri, 13 Sep 2019 09:20:47 +0000 (11:20 +0200)]
try to reduce the memory consistency requirements in the actor refcounting
some people actually seem to like those C++'s hardcore brain teasers
Martin Quinson [Wed, 11 Sep 2019 23:31:35 +0000 (01:31 +0200)]
MC: rename some methods to make their intent clear
Martin Quinson [Wed, 11 Sep 2019 23:31:01 +0000 (01:31 +0200)]
document intent of that test
Martin Quinson [Mon, 9 Sep 2019 06:42:25 +0000 (08:42 +0200)]
harden fortran builds to please debian
Frederic Suter [Thu, 12 Sep 2019 15:09:54 +0000 (17:09 +0200)]
please 32-bit
Frederic Suter [Thu, 12 Sep 2019 13:22:54 +0000 (15:22 +0200)]
add default values for disk properties in file system plugin
If no <prop> are given for keys "size" and "mount" the following
default values are used:
* 500GiB for "size"
* "/" for "mount"
The third property "content" remains fully optional. If this prop is
not set, the disk is considered as empty.
Frederic Suter [Thu, 12 Sep 2019 11:34:32 +0000 (13:34 +0200)]
rework example
* test "/" as mount point
* get rid of this windows style file naming
Frederic Suter [Thu, 12 Sep 2019 11:34:12 +0000 (13:34 +0200)]
handle special case of '/' as mount point
Frederic Suter [Wed, 11 Sep 2019 13:20:23 +0000 (15:20 +0200)]
Merge branch 'master' into disk
Frederic Suter [Wed, 11 Sep 2019 13:16:53 +0000 (15:16 +0200)]
enable remote copy and move for disks
* need to have a local disk on both sides. it amounts to reading on
one side, sending the read data and writing it on the other side.
* seemless remote accesses for read and write are no longer available.
* simplify the s4u-file-remote test (remote operations with storage is
still tested in teshsuite by an old MSG test)
Augustin Degomme [Wed, 11 Sep 2019 12:52:33 +0000 (14:52 +0200)]
remove codacy.
It was redundant and the project was deactivated on the website.
Frederic Suter [Tue, 10 Sep 2019 12:14:28 +0000 (14:14 +0200)]
Merge branch 'master' into disk
Frederic Suter [Tue, 10 Sep 2019 12:08:53 +0000 (14:08 +0200)]
partially handle disks in file system plugin
* open/read/write/move/close/unlink
* remote read/write operations not supported yet
* update the s4u-io-file-system example
* To be used with this plugin, a <disk> has to declare some <props>
* size (with unit) [mandatory]
* mount [mandatory]
* content [optional]
* TODO
* write some documentation
* add some checks/asserts if user tries to
* use plugin with no <prop> declared
* mix disk and storage
Martin Quinson [Tue, 10 Sep 2019 11:40:32 +0000 (13:40 +0200)]
Merge branch 'master' into 'master'
Fix the NS3 bindings to detect when several flows are simultaneously finishing
See merge request simgrid/simgrid!16
Frederic Suter [Tue, 10 Sep 2019 10:42:57 +0000 (12:42 +0200)]
Disks do not need this
Frederic Suter [Tue, 10 Sep 2019 09:12:16 +0000 (11:12 +0200)]
need to delay signal after properties are set
bcamus [Tue, 10 Sep 2019 08:39:59 +0000 (10:39 +0200)]
To stop NS3 in a consistant state at its next occuring event time, make sure it has processed all the flows that are finishing at this time.
Frederic Suter [Mon, 9 Sep 2019 12:09:50 +0000 (14:09 +0200)]
extend platorm with disks
* have two disks on bob
* share same disk name between bob and alice
* revalidate tesh files after modifications
Frederic Suter [Mon, 9 Sep 2019 11:53:37 +0000 (13:53 +0200)]
simplify disk management
* disks are related to a given host, there is no need to maintain a
global map.
* No more map means no by_name methods
* This allows for same name for disks on different hosts
Martin Quinson [Mon, 9 Sep 2019 00:18:06 +0000 (02:18 +0200)]
cosmetics in the wanna be MC's simcall observer
Martin Quinson [Sun, 8 Sep 2019 23:55:31 +0000 (01:55 +0200)]
improve the doc of the MC reduction technics
Frederic Suter [Fri, 6 Sep 2019 15:22:14 +0000 (17:22 +0200)]
Merge branch 'master' into disk
clement-dell [Fri, 6 Sep 2019 11:30:07 +0000 (13:30 +0200)]
Fix test for java energy consumption
Loic Guegan [Fri, 6 Sep 2019 10:45:37 +0000 (12:45 +0200)]
Wifi: Clean obsolete code
Loic Guegan [Fri, 6 Sep 2019 09:44:30 +0000 (11:44 +0200)]
Wifi: Add crosstraffic on WIFI cells
Loic Guegan [Fri, 6 Sep 2019 09:36:12 +0000 (11:36 +0200)]
Wifi: Add wifi tesh sources
Millian Poquet [Fri, 16 Aug 2019 12:31:15 +0000 (14:31 +0200)]
[platforms] fix comments
clement-dell [Wed, 14 Aug 2019 08:48:44 +0000 (10:48 +0200)]
Fix distcheck
clement-dell [Wed, 14 Aug 2019 08:29:15 +0000 (10:29 +0200)]
[tests] Add energy-exec-ptask test
clement-dell [Wed, 14 Aug 2019 08:09:28 +0000 (10:09 +0200)]
[tests] Update tesh files of energy tests
Related to the change in the platform files for the new version of the
energy plugin
clement-dell [Wed, 14 Aug 2019 08:03:27 +0000 (10:03 +0200)]
[Platforms] Update energy platform files
Related to new version of energy plugin
Millian Poquet [Tue, 30 Jul 2019 15:18:53 +0000 (17:18 +0200)]
[tools] platform: watt_per_state conversion script
clement-dell [Tue, 30 Jul 2019 14:04:13 +0000 (16:04 +0200)]
Rework host_energy plugin
Related to issue #189
Frederic Suter [Thu, 5 Sep 2019 11:23:43 +0000 (13:23 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Thu, 5 Sep 2019 11:23:13 +0000 (13:23 +0200)]
no more need to pass issuer to suspend
Loic Guegan [Thu, 5 Sep 2019 09:09:42 +0000 (11:09 +0200)]
Wifi: Ajust model on internal AP communication
Loic Guegan [Thu, 5 Sep 2019 08:51:34 +0000 (10:51 +0200)]
Wifi: Allow crosstraffic simulations
Frederic Suter [Wed, 4 Sep 2019 14:19:55 +0000 (16:19 +0200)]
Merge branch 'master' into disk
Frederic Suter [Wed, 4 Sep 2019 13:39:40 +0000 (15:39 +0200)]
modify this example to use disks
Frederic Suter [Wed, 4 Sep 2019 06:56:46 +0000 (08:56 +0200)]
plug leak
Martin Quinson [Tue, 3 Sep 2019 21:42:54 +0000 (23:42 +0200)]
clang-tidy the ns3 model
Frederic Suter [Tue, 3 Sep 2019 12:15:53 +0000 (14:15 +0200)]
working implementation of storage on disks
+ add a s4u::Disk
+ modify a lot of things to make it working
+ add a small example to test read/write
Frederic Suter [Tue, 3 Sep 2019 07:55:04 +0000 (09:55 +0200)]
connect disks to their host
Frederic Suter [Tue, 3 Sep 2019 07:12:15 +0000 (09:12 +0200)]
load disk model
Frederic Suter [Tue, 3 Sep 2019 07:10:31 +0000 (09:10 +0200)]
disk not mount
Frederic Suter [Mon, 2 Sep 2019 15:26:31 +0000 (17:26 +0200)]
fix distcheck
Frederic Suter [Mon, 2 Sep 2019 15:20:12 +0000 (17:20 +0200)]
fix typo
Frederic Suter [Mon, 2 Sep 2019 14:49:41 +0000 (16:49 +0200)]
implement sg_platf_new_disk
Frederic Suter [Mon, 2 Sep 2019 14:37:08 +0000 (16:37 +0200)]
add a platform file using the new disk tag
Frederic Suter [Mon, 2 Sep 2019 14:12:40 +0000 (16:12 +0200)]
start implementing what is behind the new <disk> tag
* Not tested at all
* Mostly duplicates the current Storage stuff minus what we want to
get rid off
* Several FIXME where the link with S4U should be done
Arnaud Giersch [Mon, 2 Sep 2019 10:08:58 +0000 (12:08 +0200)]
Exit with a special exit code on failure in the last stage.
This can be used in jenkins to mark the build "unstable" instead of "failed".
Martin Quinson [Sun, 1 Sep 2019 00:54:50 +0000 (02:54 +0200)]
doc: specify that you need to build the tests before ctest
Martin Quinson [Sun, 1 Sep 2019 00:50:52 +0000 (02:50 +0200)]
cmake: accept enable-model-checking as an alias to enable_model-checking
This should be generalized to the many potential typos in the option
name, but I don't feel like scripting in cmake tonight.
Martin Quinson [Sun, 1 Sep 2019 00:33:24 +0000 (02:33 +0200)]
another batch of small improvements advised by clang-tidy
Martin Quinson [Sun, 1 Sep 2019 00:12:09 +0000 (02:12 +0200)]
doc: specify that ltl2ba is not part of SimGrid
Martin Quinson [Thu, 29 Aug 2019 00:01:45 +0000 (02:01 +0200)]
further very small steps to modernize our code. thanks clang-tidy
Martin Quinson [Tue, 27 Aug 2019 07:28:06 +0000 (09:28 +0200)]
modernize our C++
- Use auto when using new to not repeat the type
- Pass parameter by value + std::move instead of pass by reference
This was advized by clang advanced warnings
Martin Quinson [Tue, 27 Aug 2019 07:22:19 +0000 (09:22 +0200)]
Don't name the unused parameter of this callback
Martin Quinson [Tue, 27 Aug 2019 07:21:22 +0000 (09:21 +0200)]
fix a bug in a deprecated function
Found by a static analyzer because the function parameter was unused
Gene Cooperman [Sat, 31 Aug 2019 23:56:03 +0000 (19:56 -0400)]
Spelling fixes & a few cases of polishing the English (#329)
Some of the more specialized fixes were:
- 'DEAD-LOCK' -> 'DEADLOCK' (appears when MC fnids a deadlock.
- 'allows to' -> 'allows one to' (and so on for allow/allows/permit/permits)
'model-checker' -> 'model checker'
('the model-checker software', but 'the model checker')
Arnaud Giersch [Wed, 28 Aug 2019 13:30:22 +0000 (15:30 +0200)]
Factor common definition, and avoid empty component in LD_LIBRARY_PATH.
Arnaud Giersch [Wed, 28 Aug 2019 12:52:21 +0000 (14:52 +0200)]
Drop spurious colon.
Augustin Degomme [Wed, 28 Aug 2019 13:00:13 +0000 (15:00 +0200)]
don't forget to set include path in this case.
Augustin Degomme [Wed, 28 Aug 2019 10:16:40 +0000 (12:16 +0200)]
don't throw away existing LD_LIBRARY_PATH in our tests.
Augustin Degomme [Wed, 28 Aug 2019 09:57:30 +0000 (11:57 +0200)]
actually failsafe has to be applied in all cases.
Windows on travis has a 1.58 boost, so it was failing the first attempt, but a recent cmake so it was avoiding the second.
Augustin Degomme [Tue, 27 Aug 2019 23:09:24 +0000 (01:09 +0200)]
fix mc build with gcc10
Augustin Degomme [Tue, 27 Aug 2019 23:09:12 +0000 (01:09 +0200)]
let's be gentle with old cmakes which can't handle missing optional boost libs
Augustin Degomme [Tue, 27 Aug 2019 21:27:45 +0000 (23:27 +0200)]
Attempt to ease detection of boost libraries.
Will probably break things everywhere.
Augustin Degomme [Tue, 27 Aug 2019 10:29:49 +0000 (12:29 +0200)]
Add some includes to please GCC 10
Arnaud Giersch [Tue, 27 Aug 2019 12:12:59 +0000 (14:12 +0200)]
Workaround build error seen with clang 10 on freebsd.
In file included from [...]/src/bindings/python/simgrid_python.cpp:11:
In file included from /usr/local/include/pybind11/functional.h:12:
/usr/local/include/pybind11/pybind11.h:1078:9: error: expression result unused [-Werror,-Wunused-value]
PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
[...]