Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoStart to replace old simdag tests of the ptask_L07 model
Frederic Suter [Tue, 16 Feb 2021 19:55:30 +0000 (20:55 +0100)]
Start to replace old simdag tests of the ptask_L07 model

3 years agothis one should be vetoable too
Frederic Suter [Tue, 9 Feb 2021 17:22:31 +0000 (18:22 +0100)]
this one should be vetoable too

3 years agoAlso fix MSG tasks by giving them -1 as default timeout
Martin Quinson [Sat, 13 Feb 2021 22:38:01 +0000 (23:38 +0100)]
Also fix MSG tasks by giving them -1 as default timeout

3 years agoWhen an exception occures in kernel mode, display both kernel and actor stacks
Martin Quinson [Sat, 13 Feb 2021 21:13:37 +0000 (22:13 +0100)]
When an exception occures in kernel mode, display both kernel and actor stacks

- Also some cosmetics about the displayed backtraces: don't show the
  frames that are within our backtrace handling mechanism or below main.

3 years agoFix parallel execs after my change of yesterday
Martin Quinson [Sat, 13 Feb 2021 21:11:40 +0000 (22:11 +0100)]
Fix parallel execs after my change of yesterday

The default timeout of parallel exec was 0. It was not an issue before
my fix of yesterday, which aimed at obeying timeout=0 when given.

The fix is simply to use a negative value meaning "infinite" as a
default value.

3 years agoImprove the behavior of wait_for(0), and activate some tests
Martin Quinson [Sat, 13 Feb 2021 08:14:59 +0000 (09:14 +0100)]
Improve the behavior of wait_for(0), and activate some tests

This only fixes some of the tests, some remain broken.
There must be other bugs around.

3 years agoSome more documentation
Martin Quinson [Fri, 12 Feb 2021 20:39:19 +0000 (21:39 +0100)]
Some more documentation

3 years agoIntroduce the sg4 namespace alias in all comm examples
Martin Quinson [Thu, 11 Feb 2021 19:05:11 +0000 (20:05 +0100)]
Introduce the sg4 namespace alias in all comm examples

3 years agoAdd some comments about unexpected failures.
Arnaud Giersch [Fri, 12 Feb 2021 11:36:23 +0000 (12:36 +0100)]
Add some comments about unexpected failures.

3 years agoNew tests with wait_any_for.
Arnaud Giersch [Fri, 12 Feb 2021 10:22:01 +0000 (11:22 +0100)]
New tests with wait_any_for.

3 years agoSpecialize with ExecPtr.
Arnaud Giersch [Fri, 12 Feb 2021 09:55:05 +0000 (10:55 +0100)]
Specialize with ExecPtr.

3 years agoTemplate for tester and waiter functions.
Arnaud Giersch [Fri, 12 Feb 2021 09:54:01 +0000 (10:54 +0100)]
Template for tester and waiter functions.

3 years agoUse template parameter for ActivityPtr in testing_test-wait.
Arnaud Giersch [Fri, 12 Feb 2021 10:24:49 +0000 (11:24 +0100)]
Use template parameter for ActivityPtr in testing_test-wait.

3 years agoTests were wrong, fix them.
Arnaud Giersch [Fri, 12 Feb 2021 11:24:35 +0000 (12:24 +0100)]
Tests were wrong, fix them.

3 years agoDon't duplicate macro definition.
Arnaud Giersch [Thu, 11 Feb 2021 13:32:40 +0000 (14:32 +0100)]
Don't duplicate macro definition.

3 years agoUse a smart pointer immediately. Uncomment fixed test.
Arnaud Giersch [Thu, 11 Feb 2021 11:13:40 +0000 (12:13 +0100)]
Use a smart pointer immediately. Uncomment fixed test.

3 years agoSonar asks for an in-class initializer.
Arnaud Giersch [Thu, 11 Feb 2021 09:58:08 +0000 (10:58 +0100)]
Sonar asks for an in-class initializer.

3 years agoWhitespaces for codefactor.io.
Arnaud Giersch [Thu, 11 Feb 2021 09:21:41 +0000 (10:21 +0100)]
Whitespaces for codefactor.io.

3 years agoUse nullptr rather than 0.
Arnaud Giersch [Thu, 11 Feb 2021 08:33:10 +0000 (09:33 +0100)]
Use nullptr rather than 0.

3 years agoImprove assertions about expected timeouts (still failing).
Arnaud Giersch [Wed, 10 Feb 2021 14:52:29 +0000 (15:52 +0100)]
Improve assertions about expected timeouts (still failing).

3 years agoMerge branch 'local changes'
Martin Quinson [Wed, 10 Feb 2021 21:45:23 +0000 (22:45 +0100)]
Merge branch 'local changes'

3 years agomv examples/s4u examples/cpp
Martin Quinson [Wed, 10 Feb 2021 21:15:57 +0000 (22:15 +0100)]
mv examples/s4u examples/cpp

S4U is now the dominant API in SimGrid. When working on SimGrid5,
we'll create a new subdirectory for the next one :)

3 years agosurf_action_ should not be null here.
Arnaud Giersch [Wed, 10 Feb 2021 10:14:27 +0000 (11:14 +0100)]
surf_action_ should not be null here.

3 years agoPrefer xbt_malloc that will never return NULL.
Arnaud Giersch [Wed, 10 Feb 2021 09:27:32 +0000 (10:27 +0100)]
Prefer xbt_malloc that will never return NULL.

3 years agoplease modern compilers
Frederic Suter [Tue, 9 Feb 2021 12:39:59 +0000 (13:39 +0100)]
please modern compilers

3 years agosetters can be used in the STARTING state too
Frederic Suter [Tue, 9 Feb 2021 12:36:14 +0000 (13:36 +0100)]
setters can be used in the STARTING state too

3 years agoCannot do anything with dependencies
Frederic Suter [Tue, 9 Feb 2021 12:05:04 +0000 (13:05 +0100)]
Cannot do anything with dependencies

3 years agoCmake: allow wildcards (*, ^) when listing factories.
Arnaud Giersch [Tue, 9 Feb 2021 09:25:47 +0000 (10:25 +0100)]
Cmake: allow wildcards (*, ^) when listing factories.

3 years agoEnable test for all available factories.
Arnaud Giersch [Tue, 9 Feb 2021 08:47:19 +0000 (09:47 +0100)]
Enable test for all available factories.

3 years agoUnnecessary "else" after "return".
Arnaud Giersch [Mon, 8 Feb 2021 14:53:21 +0000 (15:53 +0100)]
Unnecessary "else" after "return".

3 years agoPython 3 is required anyway.
Arnaud Giersch [Mon, 8 Feb 2021 14:50:38 +0000 (15:50 +0100)]
Python 3 is required anyway.

3 years agoCosmetics.
Arnaud Giersch [Mon, 8 Feb 2021 13:56:21 +0000 (14:56 +0100)]
Cosmetics.

3 years agoFix return value to MPI_UNDEFINED.
Arnaud Giersch [Mon, 8 Feb 2021 13:56:21 +0000 (14:56 +0100)]
Fix return value to MPI_UNDEFINED.

3 years agotrigger on_completion from wait_any_for
Frederic Suter [Tue, 9 Feb 2021 08:06:42 +0000 (09:06 +0100)]
trigger on_completion from wait_any_for

3 years agoEnable access to Exec from ExecImpl and fix get_finish_time()
Frederic Suter [Tue, 9 Feb 2021 07:15:28 +0000 (08:15 +0100)]
Enable access to Exec from ExecImpl and fix get_finish_time()

3 years agofix Exec::get_start_time()
Frederic Suter [Mon, 8 Feb 2021 22:15:04 +0000 (23:15 +0100)]
fix Exec::get_start_time()

3 years agoa flag for udpor in the simgrid config
eazimi [Mon, 8 Feb 2021 11:45:39 +0000 (12:45 +0100)]
a flag for udpor in the simgrid config

3 years agodictation corrected
eazimi [Mon, 8 Feb 2021 10:38:27 +0000 (11:38 +0100)]
dictation corrected

3 years agoget_enabled_transitions() is a general function
eazimi [Mon, 8 Feb 2021 08:17:03 +0000 (09:17 +0100)]
get_enabled_transitions() is a general function

3 years agoAlso test the direct communications
Martin Quinson [Sun, 7 Feb 2021 23:02:53 +0000 (00:02 +0100)]
Also test the direct communications

3 years agogroup some internal tests together
Martin Quinson [Sun, 7 Feb 2021 21:55:36 +0000 (22:55 +0100)]
group some internal tests together

3 years agoSort the model tests a bit better
Martin Quinson [Sun, 7 Feb 2021 18:05:47 +0000 (19:05 +0100)]
Sort the model tests a bit better

3 years agoNo need to test 'not detached_' twice in the same test
Martin Quinson [Sat, 6 Feb 2021 12:56:39 +0000 (13:56 +0100)]
No need to test 'not detached_' twice in the same test

3 years agocleanup!
eazimi [Fri, 5 Feb 2021 20:02:27 +0000 (21:02 +0100)]
cleanup!

3 years agoMC_smx_actor_get_name() implemented in Api class, it renamed to actor_get_name().
eazimi [Fri, 5 Feb 2021 19:59:27 +0000 (20:59 +0100)]
MC_smx_actor_get_name() implemented in Api class, it renamed to actor_get_name().

3 years agoMC_smx_actor_get_host_name() implemented in Api, it renamed to actor_get_host_name()
eazimi [Fri, 5 Feb 2021 19:39:58 +0000 (20:39 +0100)]
MC_smx_actor_get_host_name() implemented in Api, it renamed to actor_get_host_name()

3 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
eazimi [Fri, 5 Feb 2021 17:14:59 +0000 (18:14 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

3 years agoget_enabled_transitions() implemented
eazimi [Fri, 5 Feb 2021 17:14:48 +0000 (18:14 +0100)]
get_enabled_transitions() implemented

3 years agoFix includes.
Arnaud Giersch [Fri, 5 Feb 2021 16:18:26 +0000 (17:18 +0100)]
Fix includes.

3 years agoMake constructor 'explicit'.
Arnaud Giersch [Fri, 5 Feb 2021 15:52:17 +0000 (16:52 +0100)]
Make constructor 'explicit'.

3 years agoUse XBT_DECLARE_ENUM_CLASS for mc::MessageType.
Arnaud Giersch [Fri, 5 Feb 2021 15:41:49 +0000 (16:41 +0100)]
Use XBT_DECLARE_ENUM_CLASS for mc::MessageType.

3 years agoUse XBT_DECLARE_ENUM_CLASS for s4u::Activity::State.
Arnaud Giersch [Fri, 5 Feb 2021 14:43:50 +0000 (15:43 +0100)]
Use XBT_DECLARE_ENUM_CLASS for s4u::Activity::State.

3 years agoUse XBT_DECLARE_ENUM_CLASS for kernel::activity::State.
Arnaud Giersch [Fri, 5 Feb 2021 14:29:03 +0000 (15:29 +0100)]
Use XBT_DECLARE_ENUM_CLASS for kernel::activity::State.

3 years agoAdd helper macro to declare enums with to_string.
Arnaud Giersch [Fri, 5 Feb 2021 14:06:28 +0000 (15:06 +0100)]
Add helper macro to declare enums with to_string.

3 years agoDefine two more XBT macros to handle lists of arguments.
Arnaud Giersch [Fri, 5 Feb 2021 14:04:23 +0000 (15:04 +0100)]
Define two more XBT macros to handle lists of arguments.

3 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
eazimi [Fri, 5 Feb 2021 12:13:16 +0000 (13:13 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

3 years agomerge with framagit/master
eazimi [Fri, 5 Feb 2021 12:12:43 +0000 (13:12 +0100)]
merge with framagit/master

3 years agoindentation
eazimi [Fri, 5 Feb 2021 09:15:34 +0000 (10:15 +0100)]
indentation

3 years agoCommImpl: don't mix state and type, and make type_ const
Martin Quinson [Fri, 5 Feb 2021 08:37:20 +0000 (09:37 +0100)]
CommImpl: don't mix state and type, and make type_ const

3 years agoTiny doc improvement
Martin Quinson [Thu, 4 Feb 2021 20:29:21 +0000 (21:29 +0100)]
Tiny doc improvement

3 years agodoc: borken link
Martin Quinson [Wed, 3 Feb 2021 19:31:35 +0000 (20:31 +0100)]
doc: borken link

3 years agoDefine CommImpl::type_ at construction.
Arnaud Giersch [Thu, 4 Feb 2021 21:47:53 +0000 (22:47 +0100)]
Define CommImpl::type_ at construction.

3 years agoSimplify condition.
Arnaud Giersch [Thu, 4 Feb 2021 20:54:38 +0000 (21:54 +0100)]
Simplify condition.

3 years agoPrefer std::array to map enum to string.
Arnaud Giersch [Thu, 4 Feb 2021 20:21:51 +0000 (21:21 +0100)]
Prefer std::array to map enum to string.

3 years ago[sonar] Pointer to const.
Arnaud Giersch [Thu, 4 Feb 2021 13:20:49 +0000 (14:20 +0100)]
[sonar] Pointer to const.

3 years ago[sonar] Restore old comment for empty function.
Arnaud Giersch [Thu, 4 Feb 2021 11:01:37 +0000 (12:01 +0100)]
[sonar] Restore old comment for empty function.

3 years ago[sonar] Add attribute "noreturn".
Arnaud Giersch [Thu, 4 Feb 2021 10:56:46 +0000 (11:56 +0100)]
[sonar] Add attribute "noreturn".

3 years ago[fbinfer] Fix dead stores.
Arnaud Giersch [Thu, 4 Feb 2021 10:11:05 +0000 (11:11 +0100)]
[fbinfer] Fix dead stores.

3 years agoget_mbox_remote_addr() returns RemotePtr
eazimi [Thu, 4 Feb 2021 18:00:20 +0000 (19:00 +0100)]
get_mbox_remote_addr() returns RemotePtr

3 years agoget_comm_remote_addr() implemented
eazimi [Thu, 4 Feb 2021 17:42:57 +0000 (18:42 +0100)]
get_comm_remote_addr() implemented

3 years agosimcall_get_name() updated
eazimi [Thu, 4 Feb 2021 17:13:05 +0000 (18:13 +0100)]
simcall_get_name() updated

3 years agoget_mbox() replaced by get_mbox_remote_addr()
eazimi [Thu, 4 Feb 2021 16:38:12 +0000 (17:38 +0100)]
get_mbox() replaced by get_mbox_remote_addr()

3 years agoplease clang and explicitly override
Frederic Suter [Thu, 4 Feb 2021 16:28:55 +0000 (17:28 +0100)]
please clang and explicitly override

3 years agoImplement a second veto on start. Activity must be assigned to a resource
Frederic Suter [Thu, 4 Feb 2021 16:18:21 +0000 (17:18 +0100)]
Implement a second veto on start. Activity must be assigned to a resource

3 years agomore vetoable_start
Frederic Suter [Thu, 4 Feb 2021 12:42:09 +0000 (13:42 +0100)]
more vetoable_start

3 years agoChainable CRTPed version of vetoable_start
Frederic Suter [Thu, 4 Feb 2021 12:35:48 +0000 (13:35 +0100)]
Chainable CRTPed version of vetoable_start

3 years agoHost::exec_async was an init(), fix that.
Frederic Suter [Thu, 4 Feb 2021 11:57:22 +0000 (12:57 +0100)]
Host::exec_async was an init(), fix that.

3 years agotest and fix Comm::set_payload_size + more chaining
Frederic Suter [Thu, 4 Feb 2021 11:29:02 +0000 (12:29 +0100)]
test and fix Comm::set_payload_size + more chaining

3 years agoStorage-kill: update ChangeLog
Frederic Suter [Tue, 2 Feb 2021 23:18:24 +0000 (00:18 +0100)]
Storage-kill: update ChangeLog

3 years agoStorage-kill: use right version number
Frederic Suter [Tue, 2 Feb 2021 23:14:07 +0000 (00:14 +0100)]
Storage-kill: use right version number

3 years agoStorage-kill: fix distcheck
Frederic Suter [Tue, 2 Feb 2021 23:09:43 +0000 (00:09 +0100)]
Storage-kill: fix distcheck

3 years agoStorage-kill: get rid of this platform file
Frederic Suter [Tue, 2 Feb 2021 23:03:33 +0000 (00:03 +0100)]
Storage-kill: get rid of this platform file

3 years agoStorage-kill: this test is useless now
Frederic Suter [Tue, 2 Feb 2021 22:52:18 +0000 (23:52 +0100)]
Storage-kill: this test is useless now

3 years agoStorage-kill: last crumbs
Frederic Suter [Tue, 2 Feb 2021 22:45:17 +0000 (23:45 +0100)]
Storage-kill: last crumbs

3 years agoStorage-kill: remove java bindings
Frederic Suter [Tue, 2 Feb 2021 22:11:57 +0000 (23:11 +0100)]
Storage-kill: remove java bindings

3 years agoStorage-kill: prevent users to use these tags
Frederic Suter [Tue, 2 Feb 2021 22:08:21 +0000 (23:08 +0100)]
Storage-kill: prevent users to use these tags

3 years agoStorage-kill: this survives to make
Frederic Suter [Tue, 2 Feb 2021 21:36:07 +0000 (22:36 +0100)]
Storage-kill: this survives to make

3 years agoStorage-kill: clean forward.h
Frederic Suter [Tue, 2 Feb 2021 21:05:32 +0000 (22:05 +0100)]
Storage-kill: clean forward.h

3 years agoStorage-kill: no more storage in MSG
Frederic Suter [Tue, 2 Feb 2021 21:00:34 +0000 (22:00 +0100)]
Storage-kill: no more storage in MSG

3 years agoStorage-kill: no more check disk attachement
Frederic Suter [Tue, 2 Feb 2021 20:55:25 +0000 (21:55 +0100)]
Storage-kill: no more check disk attachement

3 years agoStorage-kill: clean file system plugin
Frederic Suter [Tue, 2 Feb 2021 20:53:36 +0000 (21:53 +0100)]
Storage-kill: clean file system plugin

3 years agoStorage-kill: clean surf of storage
Frederic Suter [Tue, 2 Feb 2021 20:36:59 +0000 (21:36 +0100)]
Storage-kill: clean surf of storage

3 years agoStorage-kill: start with entire files
Frederic Suter [Tue, 2 Feb 2021 20:22:44 +0000 (21:22 +0100)]
Storage-kill: start with entire files

3 years agoFix make distcheck
Martin Quinson [Tue, 2 Feb 2021 20:30:52 +0000 (21:30 +0100)]
Fix make distcheck

3 years agoNew function: Comm::set_payload_size() to set the amount of bytes to simulate
Martin Quinson [Tue, 2 Feb 2021 20:16:56 +0000 (21:16 +0100)]
New function: Comm::set_payload_size() to set the amount of bytes to simulate

3 years agoImprove an error message: comms must be detached if you don't plan to wait() on them
Martin Quinson [Tue, 2 Feb 2021 18:49:33 +0000 (19:49 +0100)]
Improve an error message: comms must be detached if you don't plan to wait() on them

Fix https://framagit.org/simgrid/simgrid/-/issues/60

3 years agoIgnore more cruft found on my disk
Martin Quinson [Mon, 1 Feb 2021 18:08:13 +0000 (19:08 +0100)]
Ignore more cruft found on my disk

3 years agoStart to document the plugin mechanism
Martin Quinson [Mon, 1 Feb 2021 18:06:35 +0000 (19:06 +0100)]
Start to document the plugin mechanism

3 years agoa word in the doc about signal's API
Martin Quinson [Sun, 31 Jan 2021 17:06:47 +0000 (18:06 +0100)]
a word in the doc about signal's API

3 years agohaving generated files in the git is of no use for nobody (hello conflicts)
Martin Quinson [Sun, 31 Jan 2021 17:05:41 +0000 (18:05 +0100)]
having generated files in the git is of no use for nobody (hello conflicts)