Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 months agomake sure that xbt/memory_map can be used out of simgrid
Martin Quinson [Sun, 12 May 2019 23:03:23 +0000 (01:03 +0200)]
make sure that xbt/memory_map can be used out of simgrid

This may be useful for future MC evolutions.

5 months agoadd sorting to project description
Augustin Degomme [Tue, 14 May 2019 10:03:01 +0000 (12:03 +0200)]
add sorting to project description

5 months agoapparently sunos illumos make/dmake does not like make -jx syntax
Augustin Degomme [Tue, 14 May 2019 10:02:37 +0000 (12:02 +0200)]
apparently sunos illumos make/dmake does not like make -jx syntax

5 months ago--quiet long version is not supported on sunos
Augustin Degomme [Tue, 14 May 2019 09:46:48 +0000 (11:46 +0200)]
--quiet long version is not supported on sunos

5 months agoOn some systems, sqrt(int) is not defined properly. On others its just implemented...
Augustin Degomme [Mon, 13 May 2019 08:26:16 +0000 (10:26 +0200)]
On some systems, sqrt(int) is not defined properly. On others its just implemented with a conversion to double.

5 months agoadd some debug messages to MPI_Testany
Augustin Degomme [Mon, 13 May 2019 08:25:39 +0000 (10:25 +0200)]
add some debug messages to MPI_Testany

5 months agobefore matching message sent with MPI_ANY_SOURCE, check that sending process is valid...
Augustin Degomme [Thu, 9 May 2019 23:38:02 +0000 (01:38 +0200)]
before matching message sent with MPI_ANY_SOURCE, check that sending process is valid in our local communicator.

5 months agoDon't use positive tags for internal messages.
Augustin Degomme [Thu, 9 May 2019 23:37:23 +0000 (01:37 +0200)]
Don't use positive tags for internal messages.
They could interfere with receives posted with MPI_ANY_TAG in user's code

5 months ago[mc] do not ignore MC_ASSERT in replay mode
Millian Poquet [Tue, 14 May 2019 09:43:25 +0000 (11:43 +0200)]
[mc] do not ignore MC_ASSERT in replay mode

5 months agoEnable some more test with memcheck, but with disabled leak-check.
Arnaud Giersch [Thu, 9 May 2019 08:29:46 +0000 (10:29 +0200)]
Enable some more test with memcheck, but with disabled leak-check.

There are lots of unfree'd objects on assertion failure, but we want other
kinds of memory error to be checked anyway.

5 months agoTesh files: kill obsolete variables SG_TEST_EXENV and EXEEXT.
Arnaud Giersch [Thu, 9 May 2019 07:18:35 +0000 (09:18 +0200)]
Tesh files: kill obsolete variables SG_TEST_EXENV and EXEEXT.

5 months agoUse "exec" so that failures are correclty reported upstream.
Arnaud Giersch [Tue, 7 May 2019 21:46:59 +0000 (23:46 +0200)]
Use "exec" so that failures are correclty reported upstream.

5 months agoEnsure the task is correctly destroyed when the host turns off during execute.
Arnaud Giersch [Tue, 7 May 2019 20:18:30 +0000 (22:18 +0200)]
Ensure the task is correctly destroyed when the host turns off during execute.

5 months agoMissing explicit.
Arnaud Giersch [Mon, 6 May 2019 14:23:20 +0000 (16:23 +0200)]
Missing explicit.

5 months agoTypos.
Arnaud Giersch [Mon, 6 May 2019 14:14:50 +0000 (16:14 +0200)]
Typos.

5 months agoKill useless hack (and its union).
Arnaud Giersch [Mon, 6 May 2019 09:57:17 +0000 (11:57 +0200)]
Kill useless hack (and its union).

5 months agoUse aligned storage and remove usage of union.
Arnaud Giersch [Mon, 6 May 2019 09:41:39 +0000 (11:41 +0200)]
Use aligned storage and remove usage of union.

I'm not sure about potential UB, but it should not be worse than before.

5 months agoFix a FIXME.
Arnaud Giersch [Mon, 6 May 2019 09:12:16 +0000 (11:12 +0200)]
Fix a FIXME.

5 months agoKill unused static function.
Arnaud Giersch [Sun, 5 May 2019 20:57:46 +0000 (22:57 +0200)]
Kill unused static function.

5 months ago[sonar] Remove void* from function parameters.
Arnaud Giersch [Sun, 5 May 2019 20:12:39 +0000 (22:12 +0200)]
[sonar] Remove void* from function parameters.

5 months agoChange two dynars (maybe more).
Arnaud Giersch [Sat, 4 May 2019 20:02:53 +0000 (22:02 +0200)]
Change two dynars (maybe more).

5 months agocontinue the devel of the future 3.23 release
Martin Quinson [Mon, 6 May 2019 09:57:28 +0000 (11:57 +0200)]
continue the devel of the future 3.23 release

5 months agoon the way for 3.22.2 v3.22.2
Martin Quinson [Mon, 6 May 2019 08:47:31 +0000 (10:47 +0200)]
on the way for 3.22.2

5 months agoinclude a header we use
Martin Quinson [Sat, 20 Apr 2019 21:25:33 +0000 (23:25 +0200)]
include a header we use

5 months ago[sonar] Catch a more specific exception.
Arnaud Giersch [Fri, 3 May 2019 20:26:32 +0000 (22:26 +0200)]
[sonar] Catch a more specific exception.

5 months agoMore Sonar smells around "noreturn".
Arnaud Giersch [Fri, 3 May 2019 15:37:02 +0000 (17:37 +0200)]
More Sonar smells around "noreturn".

Missing attribute, and remove dead code.

5 months ago[sonar] Rename shadowing local variables.
Arnaud Giersch [Fri, 3 May 2019 12:23:19 +0000 (14:23 +0200)]
[sonar] Rename shadowing local variables.

5 months ago[sonar] Extract assignments from expressions.
Arnaud Giersch [Fri, 3 May 2019 12:18:43 +0000 (14:18 +0200)]
[sonar] Extract assignments from expressions.

5 months ago[sonar] Extract nested conditionals.
Arnaud Giersch [Fri, 3 May 2019 12:14:01 +0000 (14:14 +0200)]
[sonar] Extract nested conditionals.

5 months ago[sonar] Assert that pointer is not null.
Arnaud Giersch [Fri, 3 May 2019 12:10:18 +0000 (14:10 +0200)]
[sonar] Assert that pointer is not null.

5 months agoRename fields to follow coding syle and unshadow from local parameters.
Arnaud Giersch [Fri, 3 May 2019 10:41:01 +0000 (12:41 +0200)]
Rename fields to follow coding syle and unshadow from local parameters.

5 months agoKill never implemented option "model-check/snapshot_fds".
Arnaud Giersch [Fri, 3 May 2019 10:15:47 +0000 (12:15 +0200)]
Kill never implemented option "model-check/snapshot_fds".

5 months agoChange condition for infinite loops (make sonar believe that function can return).
Arnaud Giersch [Fri, 3 May 2019 09:48:16 +0000 (11:48 +0200)]
Change condition for infinite loops (make sonar believe that function can return).

5 months ago[sonar] Add attribute "noreturn" to non-returning functions.
Arnaud Giersch [Fri, 3 May 2019 09:44:35 +0000 (11:44 +0200)]
[sonar] Add attribute "noreturn" to non-returning functions.

5 months ago[sonar] Don't name unused exceptions.
Arnaud Giersch [Fri, 3 May 2019 09:12:49 +0000 (11:12 +0200)]
[sonar] Don't name unused exceptions.

5 months agoplease sonar by handling properly pointers in unimplemented fortran bindings.
Augustin Degomme [Fri, 3 May 2019 11:56:25 +0000 (13:56 +0200)]
please sonar by handling properly pointers in unimplemented fortran bindings.

5 months agoUpdate URLs (FG #1).
Arnaud Giersch [Thu, 25 Apr 2019 15:56:47 +0000 (17:56 +0200)]
Update URLs (FG #1).

NOTE:
* still missing: pls_ns3.html
* old style (lower case): platform.html

5 months agoget out before dereferencing null pointer in this case
Augustin Degomme [Wed, 1 May 2019 12:51:11 +0000 (14:51 +0200)]
get out before dereferencing null pointer in this case

5 months agoforgot to push test for write_at_all and read_at_all
Augustin Degomme [Wed, 1 May 2019 12:44:50 +0000 (14:44 +0200)]
forgot to push test for write_at_all and read_at_all

5 months agocleanup split_type to avoid leaks.
Augustin Degomme [Tue, 30 Apr 2019 12:27:18 +0000 (14:27 +0200)]
cleanup split_type to avoid leaks.

5 months agocleanup dup_with_info to avoid leaking in some cases
Augustin Degomme [Tue, 30 Apr 2019 12:26:38 +0000 (14:26 +0200)]
cleanup dup_with_info to avoid leaking in some cases

5 months ago[sonar] Use unsigned char* for smpi buffers.
Arnaud Giersch [Mon, 29 Apr 2019 19:36:48 +0000 (21:36 +0200)]
[sonar] Use unsigned char* for smpi buffers.

5 months agoChange malloc/free to new/delete.
Arnaud Giersch [Mon, 18 Mar 2019 15:10:01 +0000 (16:10 +0100)]
Change malloc/free to new/delete.

5 months agoUse C++ memory operators for smpi buffers.
Arnaud Giersch [Wed, 6 Mar 2019 22:07:09 +0000 (23:07 +0100)]
Use C++ memory operators for smpi buffers.

NOTE: there is a problem with the current implementation. When a resize() happen,
the previous pointer may be invalid, even if it is still in use.

5 months agoConst for MPI_Type_struct and MPI_Type_hindexed.
Arnaud Giersch [Mon, 29 Apr 2019 12:51:26 +0000 (14:51 +0200)]
Const for MPI_Type_struct and MPI_Type_hindexed.

5 months agoConstify third parameter of smpi::Op::apply, and save a few const_casts.
Arnaud Giersch [Mon, 29 Apr 2019 12:12:06 +0000 (14:12 +0200)]
Constify third parameter of smpi::Op::apply, and save a few const_casts.

5 months agoRemove another bunch of const_casts.
Arnaud Giersch [Mon, 29 Apr 2019 09:14:19 +0000 (11:14 +0200)]
Remove another bunch of const_casts.

5 months agoRename some variables for consistency.
Arnaud Giersch [Mon, 29 Apr 2019 09:01:11 +0000 (11:01 +0200)]
Rename some variables for consistency.

5 months agoGet rid of const_casts in pmpi_coll.
Arnaud Giersch [Mon, 29 Apr 2019 08:28:39 +0000 (10:28 +0200)]
Get rid of const_casts in pmpi_coll.

5 months agoMPI_Address gets const too.
Arnaud Giersch [Sat, 27 Apr 2019 12:53:01 +0000 (14:53 +0200)]
MPI_Address gets const too.

5 months agoRegenerated.
Arnaud Giersch [Sat, 27 Apr 2019 12:14:11 +0000 (14:14 +0200)]
Regenerated.

5 months agochangelog
Augustin Degomme [Fri, 26 Apr 2019 21:36:10 +0000 (23:36 +0200)]
changelog

5 months agoMPI_Comm_dup_with_info
Augustin Degomme [Fri, 26 Apr 2019 21:27:57 +0000 (23:27 +0200)]
MPI_Comm_dup_with_info

5 months agomove some calls out of the unimplemented zone
Augustin Degomme [Fri, 26 Apr 2019 21:27:04 +0000 (23:27 +0200)]
move some calls out of the unimplemented zone

5 months agosome forgotten consts
Augustin Degomme [Fri, 26 Apr 2019 15:01:57 +0000 (17:01 +0200)]
some forgotten consts

5 months ago(painfully) constify colls.
Augustin Degomme [Fri, 26 Apr 2019 14:13:56 +0000 (16:13 +0200)]
(painfully) constify colls.

5 months agoconstify MPI_Win*
Augustin Degomme [Fri, 26 Apr 2019 12:42:57 +0000 (14:42 +0200)]
constify MPI_Win*

5 months agoconstify MPI_Request*
Augustin Degomme [Fri, 26 Apr 2019 12:32:04 +0000 (14:32 +0200)]
constify MPI_Request*

5 months agoconstify MPI_Datatype*
Augustin Degomme [Fri, 26 Apr 2019 11:46:14 +0000 (13:46 +0200)]
constify MPI_Datatype*

5 months agoconstify MPI_Topo*
Augustin Degomme [Fri, 26 Apr 2019 11:17:21 +0000 (13:17 +0200)]
constify MPI_Topo*

5 months agoconstify MPI_File*
Augustin Degomme [Fri, 26 Apr 2019 10:15:27 +0000 (12:15 +0200)]
constify MPI_File*

5 months agoconstify MPI_Group*
Augustin Degomme [Fri, 26 Apr 2019 10:15:14 +0000 (12:15 +0200)]
constify MPI_Group*

5 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Fri, 26 Apr 2019 12:24:56 +0000 (14:24 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

5 months agokill some dead code
Frederic Suter [Fri, 26 Apr 2019 12:22:58 +0000 (14:22 +0200)]
kill some dead code

5 months agoMPI3 changed MPI interface to use const everywhere it could.
degomme [Fri, 26 Apr 2019 09:30:56 +0000 (11:30 +0200)]
MPI3 changed MPI interface to use const everywhere it could.
Start with MPI_Info_*

5 months agoadd some unimplemented signatures.
degomme [Fri, 26 Apr 2019 09:04:27 +0000 (11:04 +0200)]
add some unimplemented signatures.

5 months agoFix again FG #11 (mixing daemonize and auto-restart).
Arnaud Giersch [Thu, 25 Apr 2019 06:18:29 +0000 (08:18 +0200)]
Fix again FG #11 (mixing daemonize and auto-restart).

Main changes:
* don't modify (clean) the on_exit vector on cleanup, but detach its shared_ptr instead;
* define ActorImpl::undaemonize() for daemon cleanup, and use it instead of using an
  on_exit callback (ensures that it is not added multiple times);
* complete test 'tesh-s4u-actor-autorestart' with an auto-restarting daemon.

5 months agoUnused function parameters.
Arnaud Giersch [Thu, 25 Apr 2019 06:12:46 +0000 (08:12 +0200)]
Unused function parameters.

5 months agoCheck result of lseek.
Arnaud Giersch [Wed, 24 Apr 2019 20:50:48 +0000 (22:50 +0200)]
Check result of lseek.

5 months agoFile "sampi.h" is already included here.
Arnaud Giersch [Wed, 24 Apr 2019 20:39:35 +0000 (22:39 +0200)]
File "sampi.h" is already included here.

5 months agoField seems unused since 10 years at least.
Arnaud Giersch [Wed, 24 Apr 2019 20:32:43 +0000 (22:32 +0200)]
Field seems unused since 10 years at least.

5 months agoUse bit shift operator (FIXME--).
Arnaud Giersch [Wed, 24 Apr 2019 20:17:30 +0000 (22:17 +0200)]
Use bit shift operator (FIXME--).

5 months agoFIXME is obsolete.
Arnaud Giersch [Wed, 24 Apr 2019 20:10:01 +0000 (22:10 +0200)]
FIXME is obsolete.

5 months agoFIXME is irrelevant.
Arnaud Giersch [Wed, 24 Apr 2019 19:58:45 +0000 (21:58 +0200)]
FIXME is irrelevant.

5 months ago[sonar] Unused function parameters.
Arnaud Giersch [Wed, 24 Apr 2019 19:55:10 +0000 (21:55 +0200)]
[sonar] Unused function parameters.

5 months agoCosmetics: conslidate TODO list.
Arnaud Giersch [Wed, 24 Apr 2019 19:21:39 +0000 (21:21 +0200)]
Cosmetics: conslidate TODO list.

5 months agoMany const to remove a mutable (TODO--).
Arnaud Giersch [Wed, 24 Apr 2019 19:13:07 +0000 (21:13 +0200)]
Many const to remove a mutable (TODO--).

5 months agoAdd test for FG#11.
Arnaud Giersch [Wed, 24 Apr 2019 18:44:52 +0000 (20:44 +0200)]
Add test for FG#11.

5 months agoClear the 'on_exit' vector when the actor doesn't have to restart.
Arnaud Giersch [Wed, 24 Apr 2019 12:09:23 +0000 (14:09 +0200)]
Clear the 'on_exit' vector when the actor doesn't have to restart.

The python tests actor-kill and actor-daemon were failing.

5 months agoFix 'on_exit' preservation which failed when auto_restart was set first (FG#11).
Arnaud Giersch [Wed, 24 Apr 2019 08:21:17 +0000 (10:21 +0200)]
Fix 'on_exit' preservation which failed when auto_restart was set first (FG#11).

The 'on_exit' vector is now shared between the ActorImpl and ProcessArg.

5 months agoPreserve on_exit funcions between restarts.
Arnaud Giersch [Tue, 23 Apr 2019 20:43:12 +0000 (22:43 +0200)]
Preserve on_exit funcions between restarts.

Add a member "on_exit" to kernel::actor::ProcessArg.
Fix Framagit isssue #11.

5 months agoMove some includes where they are used.
Arnaud Giersch [Sat, 20 Apr 2019 20:47:53 +0000 (22:47 +0200)]
Move some includes where they are used.

5 months agodrand48 is not used anymore; stop using srand48.
Arnaud Giersch [Sat, 20 Apr 2019 20:47:09 +0000 (22:47 +0200)]
drand48 is not used anymore; stop using srand48.

5 months agoUse C++ random for tracing colors.
Arnaud Giersch [Sat, 20 Apr 2019 20:44:43 +0000 (22:44 +0200)]
Use C++ random for tracing colors.

5 months agoSlight simplification.
Arnaud Giersch [Sat, 20 Apr 2019 20:21:32 +0000 (22:21 +0200)]
Slight simplification.

5 months agoUse what was previously added, and fix broken tests
degomme [Tue, 23 Apr 2019 13:38:32 +0000 (15:38 +0200)]
Use what was previously added, and fix broken tests

5 months agoIf size read is 0 (eof), don't initiate faulty comm which will crash.
degomme [Tue, 23 Apr 2019 12:50:37 +0000 (14:50 +0200)]
If size read is 0 (eof), don't initiate faulty comm which will crash.

5 months agostorage : Allow to write inside a file without reducing its final size (for parallel IO)
degomme [Tue, 23 Apr 2019 12:49:51 +0000 (14:49 +0200)]
storage : Allow to write inside a file without reducing its final size (for parallel IO)

5 months agoMPI_File_get_size, MPI_File_get_amode, MPI_File_get_group, MPI_File_sync
degomme [Tue, 23 Apr 2019 12:48:50 +0000 (14:48 +0200)]
MPI_File_get_size, MPI_File_get_amode, MPI_File_get_group, MPI_File_sync

5 months agoComplete --help-logs.
Arnaud Giersch [Fri, 19 Apr 2019 20:34:54 +0000 (22:34 +0200)]
Complete --help-logs.

5 months agoNew log appenders stdout and stderr. Use stdout for xbt_help.
Arnaud Giersch [Fri, 19 Apr 2019 20:18:09 +0000 (22:18 +0200)]
New log appenders stdout and stderr. Use stdout for xbt_help.

5 months agotry to address comment made in FG#8
Frederic Suter [Fri, 19 Apr 2019 17:23:10 +0000 (19:23 +0200)]
try to address comment made in FG#8

5 months agoSet cfg=smpi/simulate-computation:no.
Arnaud Giersch [Fri, 19 Apr 2019 15:51:27 +0000 (17:51 +0200)]
Set cfg=smpi/simulate-computation:no.

5 months agoFix default MPI_Barrier.
Arnaud Giersch [Fri, 19 Apr 2019 13:40:05 +0000 (15:40 +0200)]
Fix default MPI_Barrier.

Mpich3 test comm_group_rand was sometimes failing.

5 months agoRevise to fool cppcheck.
Arnaud Giersch [Fri, 19 Apr 2019 12:19:12 +0000 (14:19 +0200)]
Revise to fool cppcheck.

5 months agofix test binary path
Frederic Suter [Fri, 19 Apr 2019 13:01:37 +0000 (15:01 +0200)]
fix test binary path

5 months agofixed issue
Frederic Suter [Fri, 19 Apr 2019 11:43:00 +0000 (13:43 +0200)]
fixed issue

5 months agoAdd a test for callback disconnection
Frederic Suter [Fri, 19 Apr 2019 11:38:01 +0000 (13:38 +0200)]
Add a test for callback disconnection

5 months agoAllow for callback disconnection
Frederic Suter [Fri, 19 Apr 2019 11:35:00 +0000 (13:35 +0200)]
Allow for callback disconnection

xbt::signal::connect now returns an unsigned int id and callbacks are
stored in a map <id, callback>.
a new xbt::signal::disconnect(unsigned int id) method has been added.

5 months agoFix build errors with gcc 5.4.0.
Arnaud Giersch [Fri, 19 Apr 2019 11:20:29 +0000 (13:20 +0200)]
Fix build errors with gcc 5.4.0.