Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Fri, 12 Apr 2019 11:01:51 +0000 (13:01 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

8 months agochanging namespace for cpu_interface
Frederic Suter [Fri, 12 Apr 2019 11:01:15 +0000 (13:01 +0200)]
changing namespace for cpu_interface

8 months agocosmetics
Frederic Suter [Fri, 12 Apr 2019 09:29:43 +0000 (11:29 +0200)]
cosmetics

8 months agoFix hash update.
Arnaud Giersch [Fri, 12 Apr 2019 09:13:51 +0000 (11:13 +0200)]
Fix hash update.

8 months agostringify
Frederic Suter [Fri, 12 Apr 2019 09:08:31 +0000 (11:08 +0200)]
stringify

8 months agoWith a std::map, entries are already sorted by their keys.
Arnaud Giersch [Thu, 11 Apr 2019 20:08:26 +0000 (22:08 +0200)]
With a std::map, entries are already sorted by their keys.

8 months agoRemove unnecessary "else"s.
Arnaud Giersch [Tue, 9 Apr 2019 08:27:12 +0000 (10:27 +0200)]
Remove unnecessary "else"s.

Also reduce Sonar's cognitive complexity.

8 months agoCosmetics.
Arnaud Giersch [Fri, 5 Apr 2019 14:19:51 +0000 (16:19 +0200)]
Cosmetics.

8 months agoRestore environment variable used by StarPU.
Arnaud Giersch [Thu, 11 Apr 2019 15:31:21 +0000 (17:31 +0200)]
Restore environment variable used by StarPU.

8 months agoMemory leaks.
Arnaud Giersch [Thu, 11 Apr 2019 08:58:28 +0000 (10:58 +0200)]
Memory leaks.

8 months agoplease sonar (protected fields) and coding standards (uppercase enum)
Frederic Suter [Thu, 11 Apr 2019 12:14:12 +0000 (14:14 +0200)]
please sonar (protected fields) and coding standards (uppercase enum)

8 months agosimplify this live migration stuff
Frederic Suter [Thu, 11 Apr 2019 11:17:39 +0000 (13:17 +0200)]
simplify this live migration stuff

8 months agoExclude overlapping portions of regions.
Arnaud Giersch [Wed, 10 Apr 2019 19:06:35 +0000 (21:06 +0200)]
Exclude overlapping portions of regions.

Sometimes, offending regions don't match perfectly. Don't ask me why...

Should solve problems seen on Jenkins with UBSan or Coverage builds, and tests
*-mpich3-coll-*-mmap-*.

8 months agoSimplify deprecated function.
Arnaud Giersch [Mon, 8 Apr 2019 13:02:21 +0000 (15:02 +0200)]
Simplify deprecated function.

8 months agoA simcall seems superfluous here (+ constify).
Arnaud Giersch [Tue, 9 Apr 2019 15:29:25 +0000 (17:29 +0200)]
A simcall seems superfluous here (+ constify).

8 months agoUse already set variable.
Arnaud Giersch [Tue, 9 Apr 2019 15:29:03 +0000 (17:29 +0200)]
Use already set variable.

8 months ago[codacy] Reduce scope for variables.
Arnaud Giersch [Mon, 8 Apr 2019 20:16:31 +0000 (22:16 +0200)]
[codacy] Reduce scope for variables.

8 months agoLess casts.
Arnaud Giersch [Fri, 5 Apr 2019 14:25:06 +0000 (16:25 +0200)]
Less casts.

8 months agoRegenerated.
Arnaud Giersch [Fri, 5 Apr 2019 14:19:01 +0000 (16:19 +0200)]
Regenerated.

8 months agougly typo ...
Frederic Suter [Mon, 8 Apr 2019 13:45:42 +0000 (15:45 +0200)]
ugly typo ...

8 months agofurther simplify throw_exception
Frederic Suter [Mon, 8 Apr 2019 11:49:51 +0000 (13:49 +0200)]
further simplify throw_exception

8 months agosimplify throw_exception
Frederic Suter [Mon, 8 Apr 2019 11:09:46 +0000 (13:09 +0200)]
simplify throw_exception

8 months agofortran : avoid removing groups and communicators from the lookup table if they are...
degomme [Mon, 8 Apr 2019 09:54:19 +0000 (11:54 +0200)]
fortran : avoid removing groups and communicators from the lookup table if they are not really freed and possibly shared with other processes (comm_world).

8 months agoFix fortran f2c.
degomme [Mon, 8 Apr 2019 09:42:08 +0000 (11:42 +0200)]
Fix fortran f2c.
It was using hexa to store int strings, which led to issues as 1F was interpreted as 1 in the other direction.

8 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Mon, 8 Apr 2019 07:03:16 +0000 (09:03 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

8 months agoplease herr sonar
Augustin Degomme [Sat, 6 Apr 2019 12:54:02 +0000 (14:54 +0200)]
please herr sonar

8 months agoprotect against bad buffer
Augustin Degomme [Sat, 6 Apr 2019 12:53:51 +0000 (14:53 +0200)]
protect against bad buffer

8 months agoplease sonar in various trivial ways
Martin Quinson [Sat, 6 Apr 2019 11:48:37 +0000 (13:48 +0200)]
please sonar in various trivial ways

8 months agoactivate a sleeping test
Augustin Degomme [Sat, 6 Apr 2019 10:40:24 +0000 (12:40 +0200)]
activate a sleeping test

8 months agomost linuxes seem to prefer resetting this value at 0 to initiate some cleanups
Augustin Degomme [Sat, 6 Apr 2019 10:40:12 +0000 (12:40 +0200)]
most linuxes seem to prefer resetting this value at 0 to initiate some cleanups
from the manpage :
(Resetting  to 0 forces the invocation of an internal initialization routine that rechecks POSIXLY_CORRECT and
       checks for GNU extensions in optstring.)

8 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Fri, 5 Apr 2019 15:57:54 +0000 (17:57 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

8 months agosimplify
Frederic Suter [Fri, 5 Apr 2019 15:57:14 +0000 (17:57 +0200)]
simplify

8 months agosimplify terminaison of activities in Actor::exit()
Frederic Suter [Fri, 5 Apr 2019 15:56:44 +0000 (17:56 +0200)]
simplify terminaison of activities in Actor::exit()

8 months agoFix getopt for BSD systems
degomme [Fri, 5 Apr 2019 15:29:29 +0000 (17:29 +0200)]
Fix getopt for BSD systems
optind should be set to 1, not 0. GNU was just more resilient.

8 months agogetopt seems to behave differently on BSD platforms, deactivate the test for them...
degomme [Fri, 5 Apr 2019 14:40:26 +0000 (16:40 +0200)]
getopt seems to behave differently on BSD platforms, deactivate the test for them, pending investigation.

8 months agofactor simcall/activity binding
Frederic Suter [Fri, 5 Apr 2019 14:19:59 +0000 (16:19 +0200)]
factor simcall/activity binding

8 months agoforgot to change fake option here as well
degomme [Fri, 5 Apr 2019 13:37:41 +0000 (15:37 +0200)]
forgot to change fake option here as well

8 months agomove newly implemented calls outside of the unimplemented section of the smpi.h file
degomme [Fri, 5 Apr 2019 13:34:28 +0000 (15:34 +0200)]
move newly implemented calls outside of the unimplemented section of the smpi.h file

8 months agotest getopt, getopt_long, getopt_long_only wrappers
degomme [Fri, 5 Apr 2019 13:12:52 +0000 (15:12 +0200)]
test getopt, getopt_long, getopt_long_only wrappers

8 months agotest --cfg=smpi/shared-malloc:local
degomme [Fri, 5 Apr 2019 13:10:33 +0000 (15:10 +0200)]
test --cfg=smpi/shared-malloc:local

8 months agosome potentially useful debug messages
degomme [Fri, 5 Apr 2019 13:10:12 +0000 (15:10 +0200)]
some potentially useful debug messages

8 months agoSpring cleaning : remove manual privatization from 2010.
degomme [Fri, 5 Apr 2019 13:09:12 +0000 (15:09 +0200)]
Spring cleaning : remove manual privatization from 2010.
It's 2019, dlopen and mmap are supported everywhere we want it to be.
So long, and thanks for all the fish.

8 months agoobjectify SIMIX_execute_tasks
Frederic Suter [Fri, 5 Apr 2019 09:53:49 +0000 (11:53 +0200)]
objectify SIMIX_execute_tasks

8 months agoget rid fo SIMIX_simcall_exit
Frederic Suter [Fri, 5 Apr 2019 09:35:20 +0000 (11:35 +0200)]
get rid fo SIMIX_simcall_exit

8 months agorelax some constraints
Augustin Degomme [Fri, 5 Apr 2019 06:59:35 +0000 (08:59 +0200)]
relax some constraints

8 months agotest more extensively error returns for collectives.
Augustin Degomme [Thu, 4 Apr 2019 21:42:38 +0000 (23:42 +0200)]
test more extensively error returns for collectives.

8 months agoBranch has been renamed.
Arnaud Giersch [Thu, 4 Apr 2019 13:36:42 +0000 (15:36 +0200)]
Branch has been renamed.

8 months agodocument last bug closed
Martin Quinson [Thu, 4 Apr 2019 20:05:07 +0000 (22:05 +0200)]
document last bug closed

8 months agochangelog update
degomme [Thu, 4 Apr 2019 15:06:19 +0000 (17:06 +0200)]
changelog update

8 months agoAdd checks for comms and datatypes as well
degomme [Thu, 4 Apr 2019 14:22:09 +0000 (16:22 +0200)]
Add checks for comms and datatypes as well

8 months agoAdd plenty more checks to MPI collectives, to comply with the standard.
degomme [Thu, 4 Apr 2019 13:29:05 +0000 (15:29 +0200)]
Add plenty more checks to MPI collectives, to comply with the standard.
Coverage was a bit too high, this should help reducing it.

8 months agoCheck validity for extension (Framagit issue #10).
Arnaud Giersch [Thu, 4 Apr 2019 12:48:23 +0000 (14:48 +0200)]
Check validity for extension (Framagit issue #10).

8 months agoCosmetic cleanups.
Arnaud Giersch [Thu, 4 Apr 2019 12:44:13 +0000 (14:44 +0200)]
Cosmetic cleanups.

8 months ago[codacy] Don't use assert for error checking.
Arnaud Giersch [Thu, 4 Apr 2019 10:08:19 +0000 (12:08 +0200)]
[codacy] Don't use assert for error checking.

8 months ago[sonar] Remove useless commented lines of code.
Arnaud Giersch [Thu, 4 Apr 2019 09:32:19 +0000 (11:32 +0200)]
[sonar] Remove useless commented lines of code.

8 months ago[sonar] Simplify nested try blocks.
Arnaud Giersch [Thu, 4 Apr 2019 08:51:11 +0000 (10:51 +0200)]
[sonar] Simplify nested try blocks.

8 months ago[sonar] Prefer ArrayList to Vector.
Arnaud Giersch [Thu, 4 Apr 2019 08:39:24 +0000 (10:39 +0200)]
[sonar] Prefer ArrayList to Vector.

8 months ago[sonar] Forbid construction of utility class.
Arnaud Giersch [Thu, 4 Apr 2019 08:33:03 +0000 (10:33 +0200)]
[sonar] Forbid construction of utility class.

8 months ago[sonar] Anonymize unused parameters.
Arnaud Giersch [Thu, 4 Apr 2019 08:11:56 +0000 (10:11 +0200)]
[sonar] Anonymize unused parameters.

8 months agoDeclare log category where it is actually used.
Arnaud Giersch [Thu, 4 Apr 2019 08:29:30 +0000 (10:29 +0200)]
Declare log category where it is actually used.

8 months agoStrengthen test.
Arnaud Giersch [Thu, 4 Apr 2019 07:45:57 +0000 (09:45 +0200)]
Strengthen test.

8 months agorename the 'releases' branch to 'stable'
Martin Quinson [Thu, 4 Apr 2019 05:50:51 +0000 (07:50 +0200)]
rename the 'releases' branch to 'stable'

8 months agoimprove the documentation of the minimal_java build option
Martin Quinson [Thu, 4 Apr 2019 05:50:05 +0000 (07:50 +0200)]
improve the documentation of the minimal_java build option

8 months ago[scan-build] Assert that there is no memory leak here.
Arnaud Giersch [Fri, 29 Mar 2019 10:11:08 +0000 (11:11 +0100)]
[scan-build] Assert that there is no memory leak here.

8 months ago[sonar] Declare one identifier per statement.
Arnaud Giersch [Wed, 3 Apr 2019 19:52:06 +0000 (21:52 +0200)]
[sonar] Declare one identifier per statement.

8 months ago[cppcheck] Reduce scope for variables.
Arnaud Giersch [Tue, 2 Apr 2019 12:46:52 +0000 (14:46 +0200)]
[cppcheck] Reduce scope for variables.

8 months ago[sonar] Use a logger for help messages.
Arnaud Giersch [Tue, 26 Mar 2019 21:25:19 +0000 (22:25 +0100)]
[sonar] Use a logger for help messages.

8 months ago[sonar] Exclude "Use a logger..." for teshsuite/simdag.
Arnaud Giersch [Wed, 3 Apr 2019 15:38:15 +0000 (17:38 +0200)]
[sonar] Exclude "Use a logger..." for teshsuite/simdag.

8 months agoFix the fixme the obvious way.
Arnaud Giersch [Wed, 3 Apr 2019 12:50:36 +0000 (14:50 +0200)]
Fix the fixme the obvious way.

8 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
henricasanova [Wed, 3 Apr 2019 19:26:48 +0000 (09:26 -1000)]
Merge branch 'master' of framagit.org:simgrid/simgrid

8 months agotest++ (turning off a host on which an actor is doing a recv should
henricasanova [Wed, 3 Apr 2019 19:25:39 +0000 (09:25 -1000)]
test++ (turning off a host on which an actor is doing a recv should
terminate that actor and just have it execute its on_exit() function).

8 months agoback to the devel work
Martin Quinson [Wed, 3 Apr 2019 19:16:23 +0000 (21:16 +0200)]
back to the devel work

8 months agoRelease 3.22.1 v3.22.1
Martin Quinson [Wed, 3 Apr 2019 17:21:33 +0000 (19:21 +0200)]
Release 3.22.1

8 months agoupdate our releasing process
Martin Quinson [Wed, 3 Apr 2019 13:08:33 +0000 (15:08 +0200)]
update our releasing process

8 months agogitlab-ci: only release the commits that are on the releases branch
Martin Quinson [Wed, 3 Apr 2019 12:32:57 +0000 (14:32 +0200)]
gitlab-ci: only release the commits that are on the releases branch

8 months agompi_ireduce and iallreduce are not yet ready for derived datatypes.
degomme [Wed, 3 Apr 2019 14:37:06 +0000 (16:37 +0200)]
mpi_ireduce and iallreduce are not yet ready for derived datatypes.
Should have CLAMR proxy app back on tracks.

8 months agoDon't fill array with garbage when it won't be needed. Thanks agier (and ubsan).
degomme [Wed, 3 Apr 2019 14:09:39 +0000 (16:09 +0200)]
Don't fill array with garbage when it won't be needed. Thanks agier (and ubsan).

8 months agofix f77 tests
degomme [Wed, 3 Apr 2019 13:11:06 +0000 (15:11 +0200)]
fix f77 tests

8 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Wed, 3 Apr 2019 11:21:53 +0000 (13:21 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

8 months agogitlab-ci: we also need zip and unzip, and build a jarfile with no deps
Martin Quinson [Wed, 3 Apr 2019 11:08:37 +0000 (13:08 +0200)]
gitlab-ci: we also need zip and unzip, and build a jarfile with no deps

8 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Wed, 3 Apr 2019 11:07:49 +0000 (13:07 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

8 months agocmake: new option to build a jarfile with no external dependencies
Martin Quinson [Wed, 3 Apr 2019 11:07:18 +0000 (13:07 +0200)]
cmake: new option to build a jarfile with no external dependencies

8 months agogitlab-ci: apt update
Martin Quinson [Wed, 3 Apr 2019 10:46:25 +0000 (12:46 +0200)]
gitlab-ci: apt update

8 months agofortran expects MPI_ADDRESS_SIZE output here, not int.
degomme [Wed, 3 Apr 2019 10:45:31 +0000 (12:45 +0200)]
fortran expects MPI_ADDRESS_SIZE output here, not int.
@Martin, stop erasing my commits !!!

8 months agosimcall_comm_test returns a bool too
Frederic Suter [Wed, 3 Apr 2019 10:41:26 +0000 (12:41 +0200)]
simcall_comm_test returns a bool too

8 months agogitlab: install wget before using it
Martin Quinson [Wed, 3 Apr 2019 10:38:19 +0000 (12:38 +0200)]
gitlab: install wget before using it

8 months agosimcall_execution_test returns a bool not a state
Frederic Suter [Wed, 3 Apr 2019 10:36:42 +0000 (12:36 +0200)]
simcall_execution_test returns a bool not a state

8 months agoDocker: dont mess with the bash syntax ('>' is for redirection)
Martin Quinson [Wed, 3 Apr 2019 10:29:11 +0000 (12:29 +0200)]
Docker: dont mess with the bash syntax ('>' is for redirection)

8 months agogitlab-ci: try to build a complete jarfile automatically
Martin Quinson [Wed, 3 Apr 2019 10:28:34 +0000 (12:28 +0200)]
gitlab-ci: try to build a complete jarfile automatically

8 months agoupdate the release process a bit
Martin Quinson [Tue, 2 Apr 2019 20:26:22 +0000 (22:26 +0200)]
update the release process a bit

Still not perfectly adapted after the move to framagit.

8 months agolook for ActorImpl at its new location
Frederic Suter [Wed, 3 Apr 2019 10:11:04 +0000 (12:11 +0200)]
look for ActorImpl at its new location

8 months agoadd some coverage in fortran bindings
degomme [Wed, 3 Apr 2019 08:11:04 +0000 (10:11 +0200)]
add some coverage in fortran bindings

8 months agomake more sense
Frederic Suter [Wed, 3 Apr 2019 09:36:05 +0000 (11:36 +0200)]
make more sense

8 months agofactoring with an ActivityImpl::clean_action() method
Frederic Suter [Wed, 3 Apr 2019 08:07:32 +0000 (10:07 +0200)]
factoring with an ActivityImpl::clean_action() method

8 months agouse activity cancel, not the action cancel
Frederic Suter [Wed, 3 Apr 2019 06:58:41 +0000 (08:58 +0200)]
use activity cancel, not the action cancel

8 months agoRemove features marked with DEPRECATED_v323.
Arnaud Giersch [Tue, 2 Apr 2019 20:30:12 +0000 (22:30 +0200)]
Remove features marked with DEPRECATED_v323.

8 months agoClose #326.
Arnaud Giersch [Tue, 2 Apr 2019 14:54:27 +0000 (16:54 +0200)]
Close #326.

Either commit 1ed359ee78 or b32344ed85 did it.

8 months agoSave a cast per action completion
Frederic Suter [Tue, 2 Apr 2019 18:47:14 +0000 (20:47 +0200)]
Save a cast per action completion
Action::get_data() and Action::set_data() remain because of SimDag ...

8 months agorework terminaison of IoImpl
Frederic Suter [Tue, 2 Apr 2019 16:56:40 +0000 (18:56 +0200)]
rework terminaison of IoImpl

8 months agorework terminaison of SleepImpl
Frederic Suter [Tue, 2 Apr 2019 16:43:33 +0000 (18:43 +0200)]
rework terminaison of SleepImpl