Arnaud Giersch [Wed, 31 Mar 2021 20:20:43 +0000 (22:20 +0200)]
Make xbt_die use the root log category.
Arnaud Giersch [Thu, 1 Apr 2021 11:28:08 +0000 (13:28 +0200)]
Using xbt_* functions in vasprintf() does not look like a good idea.
Bruno Donassolo [Thu, 1 Apr 2021 09:13:33 +0000 (11:13 +0200)]
Moving the models initialization to NetZoneImpl.
By moving the models init to NetZoneImpl, we don't need the xml to initialize the
models.
This should enable C++ platform creation.
Martin Quinson [Thu, 1 Apr 2021 07:52:25 +0000 (09:52 +0200)]
sg_exit never allowed to reload a platform afterward, so reduce the visibility of a variable
At least it never worked properly
Martin Quinson [Thu, 1 Apr 2021 07:22:05 +0000 (09:22 +0200)]
typo (reported by lintian)
Martin Quinson [Wed, 31 Mar 2021 21:08:43 +0000 (23:08 +0200)]
Actor's ID should be a long, and should be named AID
Augustin Degomme [Thu, 1 Apr 2021 06:44:28 +0000 (08:44 +0200)]
add libfmt-dev as a pajeng dependency [noci]
Arnaud Giersch [Wed, 31 Mar 2021 08:59:25 +0000 (10:59 +0200)]
Make ExecImpl::get_hosts return a const&.
Arnaud Giersch [Wed, 31 Mar 2021 08:48:38 +0000 (10:48 +0200)]
Pointer to const.
Arnaud Giersch [Wed, 31 Mar 2021 08:46:36 +0000 (10:46 +0200)]
Unused variable.
Arnaud Giersch [Wed, 31 Mar 2021 08:19:41 +0000 (10:19 +0200)]
Save a reinterpret_cast.
Arnaud Giersch [Wed, 31 Mar 2021 08:07:37 +0000 (10:07 +0200)]
Constify xbt::string::to_string_data.
Arnaud Giersch [Wed, 31 Mar 2021 07:54:55 +0000 (09:54 +0200)]
Ptrace returns a long int.
Arnaud Giersch [Tue, 30 Mar 2021 12:29:11 +0000 (14:29 +0200)]
[mc] Add some coverage_checkpoint() for model-checked applications.
Arnaud Giersch [Tue, 30 Mar 2021 12:25:54 +0000 (14:25 +0200)]
[mc] Politely ask the model-checked application to terminate on shutdown.
Arnaud Giersch [Tue, 30 Mar 2021 12:24:19 +0000 (14:24 +0200)]
[mc] Add an option to ask a model-checked application to terminate.
Arnaud Giersch [Tue, 30 Mar 2021 12:10:51 +0000 (14:10 +0200)]
[mc] Use a basic message type for answering mc::MessageType::FINALIZE.
Arnaud Giersch [Mon, 29 Mar 2021 09:53:13 +0000 (11:53 +0200)]
[mc] Use existing ModelChecker::shutdown() on ModelChecker::exit().
Arnaud Giersch [Tue, 30 Mar 2021 13:26:42 +0000 (15:26 +0200)]
[mc] Terminate crashing applications too.
Arnaud Giersch [Tue, 30 Mar 2021 09:12:12 +0000 (11:12 +0200)]
Remove function calls with side effects from xbt_assert.
Arnaud Giersch [Mon, 29 Mar 2021 20:52:42 +0000 (22:52 +0200)]
Forgot initial dash line in ChangeLog.
Arnaud Giersch [Tue, 30 Mar 2021 19:57:49 +0000 (21:57 +0200)]
[mc] Don't retrieve actor hostname again if it's already there.
Arnaud Giersch [Tue, 30 Mar 2021 19:52:54 +0000 (21:52 +0200)]
[mc] Fix mc::Api::get_actor_host_name.
Host name has moved from Host to HostImpl.
Arnaud Giersch [Tue, 30 Mar 2021 19:45:44 +0000 (21:45 +0200)]
Revert "Fix MC tests."
This reverts commit
ba5cf16371aed445f20533645ca049990862630a.
A fix for the MC side is coming soon.
Bruno Donassolo [Tue, 30 Mar 2021 17:58:32 +0000 (19:58 +0200)]
Fix MC tests.
Move back host name to s4u::Host. There, it's accessible by MC
Bruno Donassolo [Thu, 18 Mar 2021 09:49:30 +0000 (10:49 +0100)]
Refactor Host and HostImpl
- Going towards empty s4u interfaces
- s4u::Host is created at HostImpl directly as for s4u::Link and
LinkImpl.
- VirtualMachines are still an exception. The user creates directly the
s4u::VirtualMachine object
Bruno Donassolo [Thu, 25 Mar 2021 16:48:42 +0000 (17:48 +0100)]
New API: set_pstate_speed
Implement new API to set pstate for a host:
- Host* Host::set_pstate_speed(const std::vector<double>& speed_per_state)
- Host* Host::set_pstate_speed(const std::vector<std::string>& speed_per_state)
SUTER Frederic [Tue, 30 Mar 2021 10:45:34 +0000 (12:45 +0200)]
fix java test: get_remaining() needs the Exec to be started
SUTER Frederic [Sat, 27 Mar 2021 11:28:25 +0000 (12:28 +0100)]
try to match Activity design to Resource design
Arnaud Giersch [Sun, 28 Mar 2021 15:28:56 +0000 (17:28 +0200)]
Define next XBT_ATTRIB_DEPRECATED macro.
Arnaud Giersch [Sun, 28 Mar 2021 13:50:57 +0000 (15:50 +0200)]
Remove deprecated features for next release.
Arnaud Giersch [Sun, 28 Mar 2021 13:44:45 +0000 (15:44 +0200)]
Start the dev of 3.28.
Martin Quinson [Mon, 29 Mar 2021 14:44:45 +0000 (16:44 +0200)]
Release SimGrid v3.27
Arnaud Giersch [Mon, 29 Mar 2021 12:56:19 +0000 (14:56 +0200)]
Avoid using && in .gitlab-ci.yml.
It does not always stop the script as we would expect.
See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/25394 for more info.
Arnaud Giersch [Mon, 29 Mar 2021 11:30:47 +0000 (13:30 +0200)]
Move xbt_modinter.h to src/include/xbt/.
Martin Quinson [Mon, 29 Mar 2021 10:28:08 +0000 (12:28 +0200)]
Typos [noci]
Augustin Degomme [Sun, 28 Mar 2021 23:36:04 +0000 (01:36 +0200)]
add some words about new options in smpi tuto
Augustin Degomme [Sun, 28 Mar 2021 15:55:04 +0000 (17:55 +0200)]
typo [noci]
Augustin Degomme [Sun, 28 Mar 2021 14:03:30 +0000 (16:03 +0200)]
cosmetics
Augustin Degomme [Sun, 28 Mar 2021 14:03:09 +0000 (16:03 +0200)]
add message when 0 bytes are allocated
Martin Quinson [Sun, 28 Mar 2021 10:11:44 +0000 (12:11 +0200)]
Proposition of a NEWS entry
Augustin Degomme [Sun, 28 Mar 2021 01:47:16 +0000 (03:47 +0200)]
cosmetics
Augustin Degomme [Sun, 28 Mar 2021 01:29:20 +0000 (03:29 +0200)]
also change option name in MC-flavored tesh
Augustin Degomme [Sun, 28 Mar 2021 00:59:56 +0000 (01:59 +0100)]
trim changelog
Augustin Degomme [Sun, 28 Mar 2021 00:59:46 +0000 (01:59 +0100)]
document new options
Augustin Degomme [Sun, 28 Mar 2021 00:57:18 +0000 (01:57 +0100)]
add -analyze to smpirun to activate both smpi/display-timing and smpi/display-allocs at once
Augustin Degomme [Sun, 28 Mar 2021 00:56:39 +0000 (01:56 +0100)]
rename option,
display-analysis was meant to display both timings and allocations, but it's just allocations.
Augustin Degomme [Sun, 28 Mar 2021 00:52:49 +0000 (01:52 +0100)]
typo
Arnaud Giersch [Sat, 27 Mar 2021 22:43:16 +0000 (23:43 +0100)]
Typos [noci]
Arnaud Giersch [Sat, 27 Mar 2021 22:38:19 +0000 (23:38 +0100)]
Add explaining comment.
Martin Quinson [Sat, 27 Mar 2021 21:20:53 +0000 (22:20 +0100)]
Changelog: this big fat warning is not mandated, as we don't have an example that fails [noci]
Arnaud Giersch [Sat, 27 Mar 2021 21:01:36 +0000 (22:01 +0100)]
Reduce scope for variables.
Arnaud Giersch [Sat, 27 Mar 2021 20:57:26 +0000 (21:57 +0100)]
Replace std::random with xbt::random.
Arnaud Giersch [Sat, 27 Mar 2021 20:54:44 +0000 (21:54 +0100)]
Fix XbtRandom::uniform_int() when used with large range.
Add more unit tests.
Arnaud Giersch [Sat, 27 Mar 2021 13:17:20 +0000 (14:17 +0100)]
[sonar] Useless parentheses.
Arnaud Giersch [Sat, 27 Mar 2021 09:18:21 +0000 (10:18 +0100)]
Use std::call_once instead of pthread_once.
Martin Quinson [Sat, 27 Mar 2021 21:06:47 +0000 (22:06 +0100)]
Changelog updates as a preparation to the next release [noci]
It's overdue already.
Augustin Degomme [Sat, 27 Mar 2021 20:25:18 +0000 (21:25 +0100)]
changelog update
Augustin Degomme [Sat, 27 Mar 2021 19:04:01 +0000 (19:04 +0000)]
Rename github action
It's the name of the badge, and it was too long
Augustin Degomme [Sat, 27 Mar 2021 13:18:44 +0000 (13:18 +0000)]
Merge branch 'master' into 'master'
add ctest output to gitlab ci
See merge request simgrid/simgrid!60
Augustin Degomme [Sat, 27 Mar 2021 13:18:44 +0000 (13:18 +0000)]
add ctest output to gitlab ci
Martin Quinson [Fri, 26 Mar 2021 23:02:04 +0000 (00:02 +0100)]
cosmetics, somewhat hinted by sonar
Martin Quinson [Fri, 26 Mar 2021 22:43:37 +0000 (23:43 +0100)]
Move SimcallObserver from simgrid::mc to simgrid::kernel::actor
Arnaud Giersch [Fri, 26 Mar 2021 22:01:11 +0000 (22:01 +0000)]
Merge branch 'simcall_blocking' into 'master'
Fix simcall_blocking returning a value.
See merge request simgrid/simgrid!59
Arnaud Giersch [Fri, 26 Mar 2021 13:55:46 +0000 (14:55 +0100)]
Move PoC blocking_simcall.hpp from public include/ to teshsuite/.
Arnaud Giersch [Fri, 26 Mar 2021 13:40:24 +0000 (14:40 +0100)]
Fix simcall_blocking returning a value.
Get the return value from observer->get_result().
Arnaud Giersch [Fri, 26 Mar 2021 14:05:10 +0000 (15:05 +0100)]
Kill empty file.
Augustin Degomme [Fri, 26 Mar 2021 00:57:18 +0000 (01:57 +0100)]
support MPI_CXX types.
As SMPI is in C++, that's basically free ..
Arnaud Giersch [Thu, 25 Mar 2021 20:43:17 +0000 (21:43 +0100)]
A few more ChangeLog updates.
Includes fixing trailing whitespaces.
Augustin Degomme [Thu, 25 Mar 2021 17:06:02 +0000 (18:06 +0100)]
Changelog update for SMPI
SUTER Frederic [Thu, 25 Mar 2021 15:37:32 +0000 (16:37 +0100)]
why do not implement this?
SUTER Frederic [Thu, 25 Mar 2021 15:37:11 +0000 (16:37 +0100)]
use simcalls for setters
Arnaud Giersch [Thu, 25 Mar 2021 13:19:55 +0000 (14:19 +0100)]
Use const& for std::string parameter (sonar, again).
Bruno Donassolo [Thu, 25 Mar 2021 13:56:12 +0000 (14:56 +0100)]
Fix test: java-app-bittorrent
Add a warning in Changelog, although no result has changed in our tests,
it's probably possible.
Simplify model management. As models must be added in order in the
engine, the list is already in the correct order respecting the
dependencies.
SUTER Frederic [Thu, 25 Mar 2021 09:48:51 +0000 (10:48 +0100)]
more chaining for CPUs too
SUTER Frederic [Thu, 25 Mar 2021 09:07:54 +0000 (10:07 +0100)]
as to zone
SUTER Frederic [Thu, 25 Mar 2021 08:42:37 +0000 (09:42 +0100)]
Cleaning and chaining around links
Arnaud Giersch [Thu, 25 Mar 2021 09:25:14 +0000 (10:25 +0100)]
Use a const reference for parameter.
Sonar warned that std::move is never called on this rvalue reference argument.
Arnaud Giersch [Thu, 25 Mar 2021 08:56:29 +0000 (09:56 +0100)]
Better fix for constness of argv in sg_actor_start/create.
Define two variants of the functions and allow to write the examples
without cast romving const qualifier.
Martin Quinson [Thu, 25 Mar 2021 01:37:24 +0000 (02:37 +0100)]
Make model name constant
Martin Quinson [Thu, 25 Mar 2021 00:59:00 +0000 (01:59 +0100)]
Use the models directly, not their names
Martin Quinson [Thu, 25 Mar 2021 00:41:04 +0000 (01:41 +0100)]
use default value when none better is to be given
Martin Quinson [Wed, 24 Mar 2021 22:19:06 +0000 (23:19 +0100)]
Remove more obsolete files from the old doc
Also remove the most obsolete parts of tools/cmake/Documentation.cmake
We should integrate docs/Build.sh into cmake, at some point.
Martin Quinson [Thu, 25 Mar 2021 00:11:09 +0000 (00:11 +0000)]
Merge branch 'models_type_rework_part2_try2' into 'master'
No more types for models.
See merge request simgrid/simgrid!58
Arnaud Giersch [Wed, 24 Mar 2021 21:12:47 +0000 (22:12 +0100)]
Remove a level of constness for argv parameter of sg_actor_start/create.
Aligns with the signature of main(), and allows to write without cast:
int main(int argc, char *argv[]) {
sg_actor_start(NULL, NULL, argc, argv);
...
The main drawback is that we have to add an explicit cast in our constrained
examples.
Arnaud Giersch [Wed, 24 Mar 2021 09:18:27 +0000 (10:18 +0100)]
Not sure if these files are still used, but keep them up-to-date.
Arnaud Giersch [Wed, 24 Mar 2021 08:45:15 +0000 (09:45 +0100)]
Restore xbt_dynar_to_array, which is still used by starpu.
But mark it as deprecated.
Arnaud Giersch [Tue, 23 Mar 2021 21:56:34 +0000 (22:56 +0100)]
Superfluous global variable.
Arnaud Giersch [Tue, 23 Mar 2021 15:22:24 +0000 (16:22 +0100)]
Kill now unused xbt_str_split_quoted(), xbt_str_split_quoted_in_place().
Arnaud Giersch [Tue, 23 Mar 2021 14:21:22 +0000 (15:21 +0100)]
Use boost::tokenizer.
It's already used in other parts of the code.
Arnaud Giersch [Tue, 23 Mar 2021 13:31:08 +0000 (14:31 +0100)]
Kill unused dynar functions.
Arnaud Giersch [Tue, 23 Mar 2021 13:11:00 +0000 (14:11 +0100)]
Use C++ functions to parse file.
Bruno Donassolo [Tue, 23 Mar 2021 18:04:35 +0000 (19:04 +0100)]
No more types for models.
Remove the concept of type for a model (CPU, VM, NETWORK, etc).
Explicitly declare the dependencies between models when adding them to
the engine.
Internally, they are organized in a ordered list, respecting the
dependencies described by the user.
Changes in APIs:
s4u_Engine.hpp:
- Delete get_model_list(simgrid::kernel::resource::Model::Type type)
- Modify add_model(std::shared_ptr<simgrid::kernel::resource::Model> model, std::vector<std::string>&& dep_models = {}): added list of dependencies
Model.hpp:
- set_name(), get_name(): add methods to associate a name to the model
Arnaud Giersch [Tue, 23 Mar 2021 12:39:05 +0000 (13:39 +0100)]
[sonar] Pass large object by reference to const.
Arnaud Giersch [Tue, 23 Mar 2021 12:36:57 +0000 (13:36 +0100)]
[sonar] Make parameter a pointer-to-const.
Arnaud Giersch [Tue, 23 Mar 2021 12:33:41 +0000 (13:33 +0100)]
[sonar] Inheriting constructors should be used.
Arnaud Giersch [Mon, 22 Mar 2021 19:47:13 +0000 (20:47 +0100)]
Blank lines.
Arnaud Giersch [Mon, 22 Mar 2021 19:46:33 +0000 (20:46 +0100)]
Kill "FIXME" comment.
Martin Quinson [Tue, 23 Mar 2021 00:47:04 +0000 (01:47 +0100)]
Humpf, time to sleep, obviously
Martin Quinson [Tue, 23 Mar 2021 00:41:23 +0000 (01:41 +0100)]
Forbid to modify a sealed netzone