Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
19 months agosmpi/priv: backup global memory segment at a better place.
Arnaud Giersch [Wed, 11 Apr 2018 16:45:38 +0000 (18:45 +0200)]
smpi/priv: backup global memory segment at a better place.

19 months agoCosmetics.
Arnaud Giersch [Wed, 11 Apr 2018 16:28:32 +0000 (18:28 +0200)]
Cosmetics.

19 months agoFix scan-build warning (link may be null).
Arnaud Giersch [Tue, 10 Apr 2018 09:56:32 +0000 (11:56 +0200)]
Fix scan-build warning (link may be null).

19 months agoCosmetics: rename tests with context factory at the end of the name.
Arnaud Giersch [Tue, 10 Apr 2018 10:20:45 +0000 (12:20 +0200)]
Cosmetics: rename tests with context factory at the end of the name.

19 months agobasic implem of MPI_Win_allocate_shared, MPI_Win_shared_query, MPI_Comm_split_type
degomme [Wed, 11 Apr 2018 20:05:58 +0000 (22:05 +0200)]
basic implem of MPI_Win_allocate_shared, MPI_Win_shared_query, MPI_Comm_split_type

19 months agofurther snake_case s4u::Actor
Martin Quinson [Tue, 10 Apr 2018 21:59:57 +0000 (23:59 +0200)]
further snake_case s4u::Actor

19 months agoonly test for these on non-root processes
Augustin Degomme [Tue, 10 Apr 2018 18:21:37 +0000 (20:21 +0200)]
only test for these on non-root processes

19 months agofix java builds, sorry
Martin Quinson [Mon, 9 Apr 2018 21:17:36 +0000 (23:17 +0200)]
fix java builds, sorry

19 months agoTODO++ in the documentation
Martin Quinson [Mon, 9 Apr 2018 20:33:17 +0000 (22:33 +0200)]
TODO++ in the documentation

19 months agofurther snake_case Actor (::this_actor remains)
Martin Quinson [Mon, 9 Apr 2018 20:24:19 +0000 (22:24 +0200)]
further snake_case Actor (::this_actor remains)

19 months agoFix tesh for smpi-replay.
Arnaud Giersch [Mon, 9 Apr 2018 15:48:05 +0000 (17:48 +0200)]
Fix tesh for smpi-replay.

19 months agoReduce code duplication.
Arnaud Giersch [Mon, 9 Apr 2018 13:33:03 +0000 (15:33 +0200)]
Reduce code duplication.

19 months agoRemove indentation (sonar).
Arnaud Giersch [Mon, 9 Apr 2018 13:23:01 +0000 (15:23 +0200)]
Remove indentation (sonar).

19 months agos/free/xbt_free/ and hope to hide bogus report from codacy.
Arnaud Giersch [Mon, 9 Apr 2018 13:18:49 +0000 (15:18 +0200)]
s/free/xbt_free/ and hope to hide bogus report from codacy.

19 months agoRewrite without delegated constructor.
Arnaud Giersch [Mon, 9 Apr 2018 13:11:19 +0000 (15:11 +0200)]
Rewrite without delegated constructor.

Cppcheck (codacy) gives false positive about address_ being uninitialized.

19 months agoCheck return value of MSG_task_isend_internal (codacy).
Arnaud Giersch [Mon, 9 Apr 2018 12:27:23 +0000 (14:27 +0200)]
Check return value of MSG_task_isend_internal (codacy).

19 months agoRemove redundant assignment (value enforced by previous call to xbt_assert).
Arnaud Giersch [Mon, 9 Apr 2018 12:08:57 +0000 (14:08 +0200)]
Remove redundant assignment (value enforced by previous call to xbt_assert).

19 months agoMSG_action* have been removed.
Arnaud Giersch [Sun, 8 Apr 2018 22:07:48 +0000 (00:07 +0200)]
MSG_action* have been removed.

19 months ago[TESTS] Included tags in tests and traces
Christian Heinrich [Mon, 9 Apr 2018 12:43:39 +0000 (14:43 +0200)]
[TESTS] Included tags in tests and traces

19 months ago[SMPI] Added a FIXME for a weird hardcoded value
Christian Heinrich [Mon, 9 Apr 2018 12:41:58 +0000 (14:41 +0200)]
[SMPI] Added a FIXME for a weird hardcoded value

19 months ago[SMPI] Replay: Enable usage of tags
Christian Heinrich [Fri, 30 Mar 2018 15:19:24 +0000 (17:19 +0200)]
[SMPI] Replay: Enable usage of tags

With this commit, tags of messages sent through the MPI Send/Recv
mechanism(s) are recorded in traces and also used when replayed.

This allows SimGrid to replay also more complex scenarios.

Tests and traces will be adjusted in a separate commit to prevent
this commit from being bloated. (This means, however, that the
smpi-replay tests will fail in this commit.)

19 months ago[SMPI] Add 'tag' parameter for instr::Pt2PtTI class
Christian Heinrich [Fri, 30 Mar 2018 15:11:29 +0000 (17:11 +0200)]
[SMPI] Add 'tag' parameter for instr::Pt2PtTI class

19 months ago[SMPI] Replay: Make error message more verbose
Christian Heinrich [Fri, 30 Mar 2018 09:15:29 +0000 (11:15 +0200)]
[SMPI] Replay: Make error message more verbose

19 months agoUse const references to pass vector as parameters.
Arnaud Giersch [Sun, 8 Apr 2018 21:16:23 +0000 (23:16 +0200)]
Use const references to pass vector as parameters.

19 months agoUpdate copyright headers.
Arnaud Giersch [Sun, 8 Apr 2018 20:45:26 +0000 (22:45 +0200)]
Update copyright headers.

Simplify year ranges; end by 2018.
Starting year was kept as-is. Shall it be changed to 2003?

19 months agoDelete copy assignment operator when copy constructor is already deleted.
Arnaud Giersch [Sun, 8 Apr 2018 20:21:37 +0000 (22:21 +0200)]
Delete copy assignment operator when copy constructor is already deleted.

19 months agoFix old typo: CpuTiTgmr -> CpuTiTmgr.
Arnaud Giersch [Sun, 8 Apr 2018 20:11:28 +0000 (22:11 +0200)]
Fix old typo: CpuTiTgmr -> CpuTiTmgr.

19 months agoDisable unused copy constructors (and please cppcheck).
Arnaud Giersch [Sun, 8 Apr 2018 19:58:31 +0000 (21:58 +0200)]
Disable unused copy constructors (and please cppcheck).

19 months agoAvoid multiple initializations for active_processes.
Arnaud Giersch [Sun, 8 Apr 2018 16:58:13 +0000 (18:58 +0200)]
Avoid multiple initializations for active_processes.

Fixes a memory leak seen with smpi-replay-multiple
(smpi_free_replay_tmp_buffers() was not called).

19 months agoRemove option -o for uname, which is not supported on Darwin.
Arnaud Giersch [Sat, 7 Apr 2018 15:01:18 +0000 (17:01 +0200)]
Remove option -o for uname, which is not supported on Darwin.

19 months agoWe use nowadays standard C++ exceptions. No need to test them.
Arnaud Giersch [Sat, 7 Apr 2018 12:25:52 +0000 (14:25 +0200)]
We use nowadays standard C++ exceptions. No need to test them.

19 months agoFix format string.
Arnaud Giersch [Sat, 7 Apr 2018 12:18:18 +0000 (14:18 +0200)]
Fix format string.

19 months agostart snake_casing s4u::Actor
Martin Quinson [Sun, 8 Apr 2018 20:32:26 +0000 (22:32 +0200)]
start snake_casing s4u::Actor

19 months agosnake_case s4u::Activity
Martin Quinson [Sat, 7 Apr 2018 20:54:44 +0000 (22:54 +0200)]
snake_case s4u::Activity

19 months agoenum class for e_s4u_activity_state_t
Martin Quinson [Sat, 7 Apr 2018 20:29:02 +0000 (22:29 +0200)]
enum class for e_s4u_activity_state_t

19 months agoignore newly generated files
Martin Quinson [Sat, 7 Apr 2018 20:14:04 +0000 (22:14 +0200)]
ignore newly generated files

19 months agoalways use the right type for link sharing policy
Martin Quinson [Sat, 7 Apr 2018 20:09:38 +0000 (22:09 +0200)]
always use the right type for link sharing policy

19 months agocut replay multiple files to make test shorter
Augustin Degomme [Sat, 7 Apr 2018 17:00:20 +0000 (19:00 +0200)]
cut replay multiple files to make test shorter

19 months agochange e_surf_link_sharing_policy_t into a proper enum class
Martin Quinson [Sat, 7 Apr 2018 16:41:35 +0000 (18:41 +0200)]
change e_surf_link_sharing_policy_t into a proper enum class

19 months agovarious useless cosmetics
Martin Quinson [Sat, 7 Apr 2018 15:35:41 +0000 (17:35 +0200)]
various useless cosmetics

19 months agokill ALL trailing whitespace (and deprecate a function in Link)
Martin Quinson [Sat, 7 Apr 2018 15:13:12 +0000 (17:13 +0200)]
kill ALL trailing whitespace (and deprecate a function in Link)

Sorry for the mixup, I forgot to commit between the two change sets.

19 months agocodacy: trailing whitespace
Martin Quinson [Sat, 7 Apr 2018 06:26:48 +0000 (08:26 +0200)]
codacy: trailing whitespace

19 months agomove all network models to the kernel::resource namespace
Martin Quinson [Sat, 7 Apr 2018 06:24:46 +0000 (08:24 +0200)]
move all network models to the kernel::resource namespace

19 months agokill useless C datatypes
Martin Quinson [Fri, 6 Apr 2018 20:06:29 +0000 (22:06 +0200)]
kill useless C datatypes

19 months agocut another bunch of include
Martin Quinson [Fri, 6 Apr 2018 20:00:34 +0000 (22:00 +0200)]
cut another bunch of include

19 months agomove the definition of surf_network_model in a lame attempt to fix windows
Martin Quinson [Fri, 6 Apr 2018 05:54:47 +0000 (07:54 +0200)]
move the definition of surf_network_model in a lame attempt to fix windows

19 months agoforce gnu_source here.
degomme [Thu, 5 Apr 2018 08:54:36 +0000 (10:54 +0200)]
force gnu_source here.
It's needed for unistd.h types, which would be not defined if the user only specifies POSIX_SOURCE

19 months agoUse dladdr(3) to get region filename.
Arnaud Giersch [Thu, 5 Apr 2018 08:21:18 +0000 (10:21 +0200)]
Use dladdr(3) to get region filename.

proc_regionfilename gives bogus results and breaks mmap privatization.

19 months agoUse XBT_DEBUG instead of disabled fprintf(stderr).
Arnaud Giersch [Thu, 5 Apr 2018 07:51:36 +0000 (09:51 +0200)]
Use XBT_DEBUG instead of disabled fprintf(stderr).

19 months agoDon't depend on <stdbool.h>.
Arnaud Giersch [Thu, 5 Apr 2018 07:20:34 +0000 (09:20 +0200)]
Don't depend on <stdbool.h>.

It's inclusion in xbt/base.h breaks existing MPI codesi (e.g. AMG2013).

19 months agoReduce code duplication.
Arnaud Giersch [Wed, 4 Apr 2018 16:34:11 +0000 (18:34 +0200)]
Reduce code duplication.

19 months agoempty a C->C++ wrapper that will soon die
Martin Quinson [Thu, 5 Apr 2018 05:27:26 +0000 (07:27 +0200)]
empty a C->C++ wrapper that will soon die

19 months agoreduce the scope of some #include, and cut useless ones
Martin Quinson [Wed, 4 Apr 2018 23:50:34 +0000 (01:50 +0200)]
reduce the scope of some #include, and cut useless ones

I'm sick of recompiling everything each time I change a line.

19 months agomake option 'network/crosstraffic' clean and nice
Martin Quinson [Wed, 4 Apr 2018 16:15:08 +0000 (18:15 +0200)]
make option 'network/crosstraffic' clean and nice

19 months agoreduce the amount of included headers
Martin Quinson [Wed, 4 Apr 2018 16:13:27 +0000 (18:13 +0200)]
reduce the amount of included headers

19 months agoMake cmd-line option "network/TCP-gamma" neat and clean
Martin Quinson [Wed, 4 Apr 2018 15:52:35 +0000 (17:52 +0200)]
Make cmd-line option "network/TCP-gamma" neat and clean

19 months agodocument last change
Martin Quinson [Tue, 3 Apr 2018 14:28:54 +0000 (16:28 +0200)]
document last change

19 months agotry to get rid of warning by defining calls here
degomme [Wed, 4 Apr 2018 07:54:18 +0000 (09:54 +0200)]
try to get rid of warning by defining calls here
To avoid redefining them, move also the definition from smpi.h to private.hpp

19 months agoprotect against uninitialized/absent smpi
Augustin Degomme [Tue, 3 Apr 2018 23:18:32 +0000 (01:18 +0200)]
protect against uninitialized/absent smpi

19 months agofix tests with timers by properly detecting POSIX_TIMERS
degomme [Tue, 3 Apr 2018 21:23:55 +0000 (23:23 +0200)]
fix tests with timers by properly detecting POSIX_TIMERS

19 months agofix dependency issue to prevent problems with make -jx
degomme [Tue, 3 Apr 2018 21:02:06 +0000 (23:02 +0200)]
fix dependency issue to prevent problems with make -jx

19 months agoavoid undefined NULL
degomme [Tue, 3 Apr 2018 20:33:11 +0000 (22:33 +0200)]
avoid undefined NULL

19 months agoKill unused typedefs from xbt::string.
Arnaud Giersch [Tue, 3 Apr 2018 17:16:47 +0000 (19:16 +0200)]
Kill unused typedefs from xbt::string.

19 months agoPlease sonar: use typedefs s_xbt_log_*_t.
Arnaud Giersch [Tue, 3 Apr 2018 17:02:19 +0000 (19:02 +0200)]
Please sonar: use typedefs s_xbt_log_*_t.

19 months agoKill useless typedef s_xbt_dict_cursor_t.
Arnaud Giersch [Tue, 3 Apr 2018 16:38:21 +0000 (18:38 +0200)]
Kill useless typedef s_xbt_dict_cursor_t.

19 months agosensible error messages when ending the daemons result in a deadlock (fix #258)
Martin Quinson [Tue, 3 Apr 2018 14:19:47 +0000 (16:19 +0200)]
sensible error messages when ending the daemons result in a deadlock (fix #258)

19 months agoRemove useless C linkage.
Arnaud Giersch [Tue, 3 Apr 2018 14:11:20 +0000 (16:11 +0200)]
Remove useless C linkage.

19 months agoKill useless typedef tmgr_Trace.
Arnaud Giersch [Tue, 3 Apr 2018 14:02:34 +0000 (16:02 +0200)]
Kill useless typedef tmgr_Trace.

19 months agoKill useless typedefs const_lmm_element_t and lmm_constraint_light_t.
Arnaud Giersch [Tue, 3 Apr 2018 13:56:50 +0000 (15:56 +0200)]
Kill useless typedefs const_lmm_element_t and lmm_constraint_light_t.

19 months agoKill useless typedefs routing_NetPoint and sg_netpoint_t.
Arnaud Giersch [Tue, 3 Apr 2018 12:58:34 +0000 (14:58 +0200)]
Kill useless typedefs routing_NetPoint and sg_netpoint_t.

19 months agoPlease sonar: use s_xbt_mheap_t.
Arnaud Giersch [Tue, 3 Apr 2018 12:26:56 +0000 (14:26 +0200)]
Please sonar: use s_xbt_mheap_t.

19 months agoKill unused typedef SMPI_Process.
Arnaud Giersch [Tue, 3 Apr 2018 12:20:23 +0000 (14:20 +0200)]
Kill unused typedef SMPI_Process.

19 months agoKill useless typedef s_smx_simcall_t.
Arnaud Giersch [Tue, 3 Apr 2018 11:53:19 +0000 (13:53 +0200)]
Kill useless typedef s_smx_simcall_t.

19 months agoKill useless typedefs surf_Resource and sg_resource_t.
Arnaud Giersch [Tue, 3 Apr 2018 09:19:05 +0000 (11:19 +0200)]
Kill useless typedefs surf_Resource and sg_resource_t.

19 months agoConstify attribute.
Arnaud Giersch [Tue, 3 Apr 2018 08:45:55 +0000 (10:45 +0200)]
Constify attribute.

19 months agoTypo.
Arnaud Giersch [Tue, 3 Apr 2018 07:36:39 +0000 (09:36 +0200)]
Typo.

19 months agoFix compilation warning.
Arnaud Giersch [Sat, 31 Mar 2018 20:32:14 +0000 (22:32 +0200)]
Fix compilation warning.

warning: ‘simgrid::surf::CpuTiAction’ declared with greater visibility than the type of its field ‘simgrid::surf::CpuTiAction::cpu_’ [-Wattributes]

19 months agotry to handle getopt internal global variable
degomme [Tue, 3 Apr 2018 12:53:11 +0000 (14:53 +0200)]
try to handle getopt internal global variable
add a wrapper that will set the value at each call to get the one from the correct process
This will probably not work for BSD implementations (they have optreset as well that might be needed).

19 months agos4u: test what happens when we kill a newborn actor (seems to work)
Martin Quinson [Tue, 3 Apr 2018 11:45:39 +0000 (13:45 +0200)]
s4u: test what happens when we kill a newborn actor (seems to work)

19 months agofix some issues arising when killing new-born actors (see #260)
Martin Quinson [Tue, 3 Apr 2018 11:40:22 +0000 (13:40 +0200)]
fix some issues arising when killing new-born actors (see #260)

19 months agosonar: make inheritance public
Martin Quinson [Tue, 3 Apr 2018 11:17:29 +0000 (13:17 +0200)]
sonar: make inheritance public

19 months agoDragonflyZone: do not save the whole ClusterCreationArgs structure
Martin Quinson [Tue, 3 Apr 2018 08:18:58 +0000 (10:18 +0200)]
DragonflyZone: do not save the whole ClusterCreationArgs structure

19 months agosnake_case routing
Martin Quinson [Tue, 3 Apr 2018 07:22:39 +0000 (09:22 +0200)]
snake_case routing

19 months agofurther snake_case in routing
Martin Quinson [Mon, 2 Apr 2018 21:16:46 +0000 (23:16 +0200)]
further snake_case in routing

19 months agosnake_case routing::NetPoint
Martin Quinson [Mon, 2 Apr 2018 21:10:16 +0000 (23:10 +0200)]
snake_case routing::NetPoint

19 months agosnake_case in resource::Resource
Martin Quinson [Mon, 2 Apr 2018 21:06:30 +0000 (23:06 +0200)]
snake_case in resource::Resource

19 months agoconvert getCname to get_cname
Martin Quinson [Mon, 2 Apr 2018 19:10:21 +0000 (21:10 +0200)]
convert getCname to get_cname

19 months agofinish snake-casing resource::Model
Martin Quinson [Mon, 2 Apr 2018 09:41:50 +0000 (11:41 +0200)]
finish snake-casing resource::Model

19 months agoresource:: extract action_heap into its own class
Martin Quinson [Sun, 1 Apr 2018 20:45:44 +0000 (22:45 +0200)]
resource:: extract action_heap into its own class

19 months agoinline a useless function
Martin Quinson [Sun, 1 Apr 2018 09:07:13 +0000 (11:07 +0200)]
inline a useless function

19 months agoCosmetics and snake_casing in Action and Model
Martin Quinson [Sun, 1 Apr 2018 08:00:04 +0000 (10:00 +0200)]
Cosmetics and snake_casing in Action and Model

19 months agomake Model::update_algo a constant field, set at initialization only
Martin Quinson [Sat, 31 Mar 2018 20:48:24 +0000 (22:48 +0200)]
make Model::update_algo a constant field, set at initialization only

19 months agoreindent to please clang
Martin Quinson [Sat, 31 Mar 2018 18:22:22 +0000 (20:22 +0200)]
reindent to please clang

19 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 31 Mar 2018 17:58:00 +0000 (19:58 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

19 months agofix build ?
Augustin Degomme [Sat, 31 Mar 2018 17:30:30 +0000 (19:30 +0200)]
fix build ?

19 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 31 Mar 2018 17:27:07 +0000 (19:27 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

19 months agodeprecate a function to snake_case it
Martin Quinson [Sat, 31 Mar 2018 17:23:38 +0000 (19:23 +0200)]
deprecate a function to snake_case it

19 months agoCosmetics in HostImpl
Martin Quinson [Sat, 31 Mar 2018 17:17:53 +0000 (19:17 +0200)]
Cosmetics in HostImpl

19 months agoDisable privatization for smpi_replay.
Arnaud Giersch [Fri, 30 Mar 2018 07:56:54 +0000 (09:56 +0200)]
Disable privatization for smpi_replay.

It does't seem to be mandatory, and the tests are broken with mmap privatization
because the global 'previous_send' is not correctly initialized for all processes.

19 months agosmpirun: really disable privatization with -no-privatize.
Arnaud Giersch [Fri, 30 Mar 2018 12:23:32 +0000 (14:23 +0200)]
smpirun: really disable privatization with -no-privatize.