Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
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 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)

3 years agoIgnore more warnings about stuff I don't plan to document
Martin Quinson [Sat, 30 Jan 2021 20:38:52 +0000 (21:38 +0100)]
Ignore more warnings about stuff I don't plan to document

3 years agoautodoxy: allow variables to have more than one <ref> in their type
Martin Quinson [Fri, 29 Jan 2021 23:39:22 +0000 (00:39 +0100)]
autodoxy: allow variables to have more than one <ref> in their type

This may occur with templates of several parameters

3 years agoChange the way IO activities are initiated
Frederic Suter [Tue, 2 Feb 2021 16:49:22 +0000 (17:49 +0100)]
Change the way IO activities are initiated

3 years agoIntroduce Exec::init(). One step towards SimDag++
Frederic Suter [Mon, 1 Feb 2021 19:35:14 +0000 (20:35 +0100)]
Introduce Exec::init(). One step towards SimDag++

3 years agopimpl_ will never be null.
Arnaud Giersch [Fri, 29 Jan 2021 16:22:26 +0000 (17:22 +0100)]
pimpl_ will never be null.

3 years agoUse default member initializer.
Arnaud Giersch [Wed, 27 Jan 2021 21:39:42 +0000 (22:39 +0100)]
Use default member initializer.

3 years agoDistcheck needs a sorted list.
Arnaud Giersch [Wed, 27 Jan 2021 15:20:18 +0000 (16:20 +0100)]
Distcheck needs a sorted list.

3 years agoFix a few broken references and other warnings in the doc
Martin Quinson [Fri, 29 Jan 2021 19:07:44 +0000 (20:07 +0100)]
Fix a few broken references and other warnings in the doc

3 years agoget_comm_irecv_raw_addr() defined and implemented
eazimi [Thu, 28 Jan 2021 18:08:06 +0000 (19:08 +0100)]
get_comm_irecv_raw_addr() defined and implemented

3 years agoporivate functions
eazimi [Thu, 28 Jan 2021 16:03:04 +0000 (17:03 +0100)]
porivate functions

3 years agoassignment used
eazimi [Thu, 28 Jan 2021 12:41:23 +0000 (13:41 +0100)]
assignment used

3 years agosimcall_get_issuer() implemented in Api class
eazimi [Thu, 28 Jan 2021 10:24:07 +0000 (11:24 +0100)]
simcall_get_issuer() implemented in Api class

3 years agoclarification
eazimi [Thu, 28 Jan 2021 10:23:04 +0000 (11:23 +0100)]
clarification

3 years agoAlso fix the ns3 log channels. What a debacle...
Martin Quinson [Thu, 28 Jan 2021 00:13:12 +0000 (01:13 +0100)]
Also fix the ns3 log channels. What a debacle...

3 years agoget rid of calling local(), easy peasy!
eazimi [Wed, 27 Jan 2021 18:09:24 +0000 (19:09 +0100)]
get rid of calling local(), easy peasy!

3 years agoRemotePtr in get_dst_actor()
eazimi [Wed, 27 Jan 2021 18:06:32 +0000 (19:06 +0100)]
RemotePtr in get_dst_actor()

3 years agoRemotePtr in get_src_actor()
eazimi [Wed, 27 Jan 2021 18:04:13 +0000 (19:04 +0100)]
RemotePtr in get_src_actor()

3 years agoRemotePtr in PatternCommunication class
eazimi [Wed, 27 Jan 2021 17:59:38 +0000 (18:59 +0100)]
RemotePtr in PatternCommunication class

3 years agono need to comm_addr_equal()
eazimi [Wed, 27 Jan 2021 16:58:28 +0000 (17:58 +0100)]
no need to comm_addr_equal()

3 years agoget_comm_isend_raw_addr() update
eazimi [Wed, 27 Jan 2021 16:44:18 +0000 (17:44 +0100)]
get_comm_isend_raw_addr() update

3 years agoRemotePtr in get_comm_waitany_raw_addr()
eazimi [Wed, 27 Jan 2021 16:41:58 +0000 (17:41 +0100)]
RemotePtr in get_comm_waitany_raw_addr()

3 years agoRemotePtr in get_comm_wait_raw_addr()
eazimi [Wed, 27 Jan 2021 16:34:03 +0000 (17:34 +0100)]
RemotePtr in get_comm_wait_raw_addr()

3 years agoY U NO test before commit/push??
Martin Quinson [Wed, 27 Jan 2021 17:31:05 +0000 (18:31 +0100)]
Y U NO test before commit/push??

3 years agosome cleanups to the logging channel hierarchy
Martin Quinson [Wed, 27 Jan 2021 16:53:22 +0000 (17:53 +0100)]
some cleanups to the logging channel hierarchy

3 years agoDeclare methods 'const'.
Arnaud Giersch [Wed, 27 Jan 2021 14:35:19 +0000 (15:35 +0100)]
Declare methods 'const'.

3 years agoRename field.
Arnaud Giersch [Wed, 27 Jan 2021 14:15:42 +0000 (15:15 +0100)]
Rename field.

3 years agoNo need to make a simcall on semaphore construction.
Arnaud Giersch [Wed, 27 Jan 2021 14:06:15 +0000 (15:06 +0100)]
No need to make a simcall on semaphore construction.

3 years agoNo need to make a simcall on mutex creation.
Arnaud Giersch [Wed, 27 Jan 2021 14:05:53 +0000 (15:05 +0100)]
No need to make a simcall on mutex creation.

3 years agoKeep improved comments from commit 9304dfd37f.
Arnaud Giersch [Wed, 27 Jan 2021 13:24:27 +0000 (14:24 +0100)]
Keep improved comments from commit 9304dfd37f.

3 years agoAvoid to define log categories twice.
Arnaud Giersch [Wed, 27 Jan 2021 13:18:18 +0000 (14:18 +0100)]
Avoid to define log categories twice.

3 years agoRemotePtr in get_pattern_comm_dst_proc()
eazimi [Wed, 27 Jan 2021 13:50:22 +0000 (14:50 +0100)]
RemotePtr in get_pattern_comm_dst_proc()

3 years agoRemotePtr in get_pattern_comm_src_proc()
eazimi [Wed, 27 Jan 2021 13:47:37 +0000 (14:47 +0100)]
RemotePtr in get_pattern_comm_src_proc()

3 years agoRemotePtr in complete_comm_pattern()
eazimi [Wed, 27 Jan 2021 13:44:29 +0000 (14:44 +0100)]
RemotePtr in complete_comm_pattern()

3 years agoRemotePtr in update_comm_pattern()
eazimi [Wed, 27 Jan 2021 13:35:24 +0000 (14:35 +0100)]
RemotePtr in update_comm_pattern()

3 years agoRemotePtr as the input parameter type in get_pattern_comm_data()
eazimi [Wed, 27 Jan 2021 13:20:42 +0000 (14:20 +0100)]
RemotePtr as the input parameter type in get_pattern_comm_data()

3 years agoRemotePtr as the input parameter type in get_pattern_comm_rdv()
eazimi [Wed, 27 Jan 2021 12:16:29 +0000 (13:16 +0100)]
RemotePtr as the input parameter type in get_pattern_comm_rdv()

3 years agoa .gitignore update
eazimi [Wed, 27 Jan 2021 11:49:48 +0000 (12:49 +0100)]
a .gitignore update

3 years agodefusing
eazimi [Wed, 27 Jan 2021 11:48:55 +0000 (12:48 +0100)]
defusing

3 years agosimcall_get_comm() deleted
eazimi [Wed, 27 Jan 2021 10:35:35 +0000 (11:35 +0100)]
simcall_get_comm() deleted

3 years agoThis was not meant to be commited, sorry
Martin Quinson [Tue, 26 Jan 2021 19:26:51 +0000 (20:26 +0100)]
This was not meant to be commited, sorry

3 years agologs: Allow %a instead of %P to display the actor name
Martin Quinson [Tue, 26 Jan 2021 19:11:12 +0000 (20:11 +0100)]
logs: Allow %a instead of %P to display the actor name

%P still works, but I don't think that saving a case in a switch
really saves anything. So let's not break existing scripts for nothing.

3 years agokilling mc_get_remote_simulation()
eazimi [Mon, 25 Jan 2021 16:31:09 +0000 (17:31 +0100)]
killing mc_get_remote_simulation()

3 years agofilenames changed
eazimi [Mon, 25 Jan 2021 15:35:48 +0000 (16:35 +0100)]
filenames changed

3 years agomc_api renamed to Api
eazimi [Mon, 25 Jan 2021 15:21:06 +0000 (16:21 +0100)]
mc_api renamed to Api

3 years agosimcall_check_dependency() defined and implemented
eazimi [Mon, 25 Jan 2021 15:08:31 +0000 (16:08 +0100)]
simcall_check_dependency() defined and implemented

3 years agorequest_depend_asymmetric() in mc_api class
eazimi [Mon, 25 Jan 2021 15:02:29 +0000 (16:02 +0100)]
request_depend_asymmetric() in mc_api class

3 years agosimcall_get_comm() defined and implemented
eazimi [Mon, 25 Jan 2021 15:01:02 +0000 (16:01 +0100)]
simcall_get_comm() defined and implemented

3 years agosimcall_get_mbox() defined and implemented
eazimi [Mon, 25 Jan 2021 14:57:23 +0000 (15:57 +0100)]
simcall_get_mbox() defined and implemented

3 years agoRevert "Assert that the log categories are unique"
Martin Quinson [Mon, 25 Jan 2021 13:58:47 +0000 (14:58 +0100)]
Revert "Assert that the log categories are unique"

The proposed method is not reliable, because when log categories are
not unique, there is 2 variables of the same name and 2 constructors
of the same name.

Redefinitions should thus be detected by the linker and we cannot fix
it reliably from our side.

I'll use less common category names in the library to reduce the risk
of conflict.

This reverts commit 7ca53b5ebe9b96f24832b6890a34e13599b254c2.

3 years agobinutils upgraded, but still broken.
Arnaud Giersch [Mon, 25 Jan 2021 13:48:33 +0000 (14:48 +0100)]
binutils upgraded, but still broken.

3 years agoFix build error.
Arnaud Giersch [Mon, 25 Jan 2021 12:29:46 +0000 (13:29 +0100)]
Fix build error.

error: exception specification of explicitly defaulted move constructor does not match the calculated one.

3 years agoUse auto return type deduction.
Arnaud Giersch [Mon, 25 Jan 2021 12:21:17 +0000 (13:21 +0100)]
Use auto return type deduction.

3 years agoFbinfer saw there another static initialization order fiasco.
Arnaud Giersch [Mon, 25 Jan 2021 12:14:49 +0000 (13:14 +0100)]
Fbinfer saw there another static initialization order fiasco.

3 years agoKill ancient compatibility hack (fixed since elfutils 0.155 in 2012).
Arnaud Giersch [Sun, 24 Jan 2021 22:26:09 +0000 (23:26 +0100)]
Kill ancient compatibility hack (fixed since elfutils 0.155 in 2012).

3 years agothis constructor was removed in ns3 3.33 - apparently still needed for earlier releases
Augustin Degomme [Mon, 25 Jan 2021 13:45:22 +0000 (14:45 +0100)]
this constructor was removed in ns3 3.33 - apparently still needed for earlier releases

3 years agoAssert that the log categories are unique
Martin Quinson [Mon, 25 Jan 2021 10:06:53 +0000 (11:06 +0100)]
Assert that the log categories are unique

This interacts badly with SMPI that loads the same binary several
times, as its constructors are naturally started several times. This
is why it's not a real assert but a warning for now.

3 years agoVarious doc improvements
Martin Quinson [Mon, 25 Jan 2021 10:06:16 +0000 (11:06 +0100)]
Various doc improvements

3 years agoStart cleaning up the log channel hierarchy
Martin Quinson [Mon, 25 Jan 2021 07:45:30 +0000 (08:45 +0100)]
Start cleaning up the log channel hierarchy

3 years agoSymbol is not defined by older elfutils.
Arnaud Giersch [Sun, 24 Jan 2021 22:15:03 +0000 (23:15 +0100)]
Symbol is not defined by older elfutils.