Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoWe are in UM=Lazy, that was tested 2 lines above
Martin Quinson [Mon, 26 Mar 2018 17:14:02 +0000 (19:14 +0200)]
We are in UM=Lazy, that was tested 2 lines above

2 years agofurther snake_casing in resource::Action
Martin Quinson [Mon, 26 Mar 2018 16:59:02 +0000 (18:59 +0200)]
further snake_casing in resource::Action

I think that's the third time I'm sure I'm done with this file.
This gonna be a long one refactoring :(

2 years agoAction::is_suspended() does not need to be virtual (+ more snake_casing)
Martin Quinson [Mon, 26 Mar 2018 16:49:05 +0000 (18:49 +0200)]
Action::is_suspended() does not need to be virtual (+ more snake_casing)

2 years agofinish(done) already sets remains to 0
Martin Quinson [Mon, 26 Mar 2018 07:38:22 +0000 (09:38 +0200)]
finish(done) already sets remains to 0

2 years agosnake_case another method
Martin Quinson [Mon, 26 Mar 2018 06:57:28 +0000 (08:57 +0200)]
snake_case another method

2 years agoprefer readable syntax instead of inlining functions
Martin Quinson [Sun, 25 Mar 2018 20:49:22 +0000 (22:49 +0200)]
prefer readable syntax instead of inlining functions

2 years agocleanup Action refcounting
Martin Quinson [Sun, 25 Mar 2018 20:41:11 +0000 (22:41 +0200)]
cleanup Action refcounting

Previously, subclasses did override unref() to do some cleanups on
destruction. This required to have refcount_ protected for them to
mess with it.

Instead, the cleanups go to the various destructors, where they
belong. The refcounting can be made private to Action as it should.

2 years agofinish snake_casing resource::Action
Martin Quinson [Sun, 25 Mar 2018 19:49:37 +0000 (21:49 +0200)]
finish snake_casing resource::Action

2 years agofix MC builds
Martin Quinson [Sun, 25 Mar 2018 17:54:50 +0000 (19:54 +0200)]
fix MC builds

2 years agosnake_case some resource::Action fields and cleanups
Martin Quinson [Sun, 25 Mar 2018 16:49:37 +0000 (18:49 +0200)]
snake_case some resource::Action fields and cleanups

- Rename the hooks and associated typedefs for the intrusive lists
  Action::ModifiedSet (used by lazy lmm) and Action::StateSet
  (grouping all actions in the same state)
- Start snake_case()ing the public interface of simix::kernel::resource.
  It's public, but since really short, and since some methods are
  virtual and overriden, deprecating them properly will be really
  hard. I think it's useless since nobody (but me) uses it in external
  projects yet.
- Remove some extraneous namespace specifications (we are already in
  simgrid::kernel)

2 years agokill an unused function
Martin Quinson [Sun, 25 Mar 2018 15:59:38 +0000 (17:59 +0200)]
kill an unused function

The prototype was s::k::actor::set_maestro while its declaration was
simgrid::simix::set_maestro (since one commit), proving that it's not
used.

The used function is SIMIX_set_maestro(), which should be converted
to C++ for sure, but I'm not sure yet of how to do it properly.

2 years agomove simix::ActorImpl to kernel::actor::ActorImpl
Martin Quinson [Sun, 25 Mar 2018 15:36:02 +0000 (17:36 +0200)]
move simix::ActorImpl to kernel::actor::ActorImpl

2 years agodeprecate an old pimple
Martin Quinson [Sun, 25 Mar 2018 14:05:17 +0000 (16:05 +0200)]
deprecate an old pimple

2 years agokill typedef lmm_element_t
Martin Quinson [Sun, 25 Mar 2018 13:07:26 +0000 (15:07 +0200)]
kill typedef lmm_element_t

2 years agoKill typedef lmm_system_t
Martin Quinson [Sat, 24 Mar 2018 20:35:42 +0000 (21:35 +0100)]
Kill typedef lmm_system_t

2 years agomore snake_casing of private fields
Martin Quinson [Sat, 24 Mar 2018 20:11:13 +0000 (21:11 +0100)]
more snake_casing of private fields

2 years agodocument a proposal of coding standard. Please comment
Martin Quinson [Sat, 24 Mar 2018 17:53:48 +0000 (18:53 +0100)]
document a proposal of coding standard. Please comment

2 years agostart snake_case()ing some private fields
Martin Quinson [Sat, 24 Mar 2018 17:28:31 +0000 (18:28 +0100)]
start snake_case()ing some private fields

2 years agomore specific comments
Martin Quinson [Sat, 24 Mar 2018 10:11:41 +0000 (11:11 +0100)]
more specific comments

2 years agoMove modifiedSet from Resource to lmm::System
Martin Quinson [Sat, 24 Mar 2018 10:00:05 +0000 (11:00 +0100)]
Move modifiedSet from Resource to lmm::System

2 years agocosmetics: init fields at declaration, emptying the ctor
Martin Quinson [Sat, 24 Mar 2018 09:36:54 +0000 (10:36 +0100)]
cosmetics: init fields at declaration, emptying the ctor

2 years agoReplace a protected field with a private variable in the child' constructor
Martin Quinson [Sat, 24 Mar 2018 09:17:36 +0000 (10:17 +0100)]
Replace a protected field with a private variable in the child' constructor

2 years agoSMPI: only warn once on unimplemented calls
Martin Quinson [Fri, 23 Mar 2018 21:53:28 +0000 (22:53 +0100)]
SMPI: only warn once on unimplemented calls

2 years agoproperly guard the installation of smpi.mod to systems with a proper Fortran install
Martin Quinson [Fri, 23 Mar 2018 21:26:30 +0000 (22:26 +0100)]
properly guard the installation of smpi.mod to systems with a proper Fortran install

2 years agotiny doc improvement [noci]
Martin Quinson [Fri, 23 Mar 2018 10:09:06 +0000 (11:09 +0100)]
tiny doc improvement [noci]

2 years agoForward slash is a valid file separator on Windows too.
Arnaud Giersch [Fri, 23 Mar 2018 15:58:04 +0000 (16:58 +0100)]
Forward slash is a valid file separator on Windows too.

2 years agoRemove superfluous "virtual" declarations.
Arnaud Giersch [Fri, 23 Mar 2018 14:48:40 +0000 (15:48 +0100)]
Remove superfluous "virtual" declarations.

2 years agoKill unused function.
Arnaud Giersch [Fri, 23 Mar 2018 14:20:13 +0000 (15:20 +0100)]
Kill unused function.

2 years agoDeclare one variable per statement.
Arnaud Giersch [Fri, 23 Mar 2018 13:42:46 +0000 (14:42 +0100)]
Declare one variable per statement.

2 years agoRemove unused typedef.
Arnaud Giersch [Fri, 23 Mar 2018 13:39:24 +0000 (14:39 +0100)]
Remove unused typedef.

2 years agoKill trailing whitespace.
Arnaud Giersch [Fri, 23 Mar 2018 13:36:25 +0000 (14:36 +0100)]
Kill trailing whitespace.

2 years agooops
Frederic Suter [Fri, 23 Mar 2018 16:18:47 +0000 (17:18 +0100)]
oops

2 years agothis has been bugging me for a while
Frederic Suter [Fri, 23 Mar 2018 15:37:33 +0000 (16:37 +0100)]
this has been bugging me for a while

2 years agomore legacy MSG for processes/actors
Frederic Suter [Fri, 23 Mar 2018 10:25:27 +0000 (11:25 +0100)]
more legacy MSG for processes/actors

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 23 Mar 2018 10:25:21 +0000 (11:25 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agofix install
Augustin Degomme [Fri, 23 Mar 2018 09:20:17 +0000 (10:20 +0100)]
fix install

2 years agobuild a mpi.mod file
Augustin Degomme [Fri, 23 Mar 2018 08:55:51 +0000 (09:55 +0100)]
build a mpi.mod file
This allows fortran codes to use 'use mpi' instead of 'include mpif.h'
For now this is built in the global CMakelists.txt before finding a beter home

2 years agomake tracing less tightly coupled to MSG
Frederic Suter [Fri, 23 Mar 2018 07:56:13 +0000 (08:56 +0100)]
make tracing less tightly coupled to MSG

2 years agosmpiff: proper handling of non-f77 source files
Martin Quinson [Thu, 22 Mar 2018 22:28:55 +0000 (23:28 +0100)]
smpiff: proper handling of non-f77 source files

2 years agosmpiff: compile f90 code if asked to
Martin Quinson [Thu, 22 Mar 2018 22:02:03 +0000 (23:02 +0100)]
smpiff: compile f90 code if asked to

2 years agoreduce the undue differences between smpiff and smpif90
Martin Quinson [Thu, 22 Mar 2018 21:46:22 +0000 (22:46 +0100)]
reduce the undue differences between smpiff and smpif90

2 years agoKill obsolete parts of README.coding, move others to the doc
Martin Quinson [Thu, 22 Mar 2018 21:02:14 +0000 (22:02 +0100)]
Kill obsolete parts of README.coding, move others to the doc

2 years agoMagic: rename variables and make tests succeed with mmap privatization.
Arnaud Giersch [Wed, 21 Mar 2018 21:13:19 +0000 (22:13 +0100)]
Magic: rename variables and make tests succeed with mmap privatization.

Before that, it seems that there is a confusion with another 'err' symbol
somewhere.

2 years agoRework smpi-mpich3-coll tests.
Arnaud Giersch [Wed, 21 Mar 2018 21:47:37 +0000 (22:47 +0100)]
Rework smpi-mpich3-coll tests.

Factorize code, and change tests to test all context factories, and both privatization
options.
If the required factory (resp. privatization) is not available, fall back to the default
behavior.

2 years agoIndent.
Arnaud Giersch [Wed, 21 Mar 2018 21:09:03 +0000 (22:09 +0100)]
Indent.

2 years agoSmpi privatization is already enabled by default.
Arnaud Giersch [Wed, 21 Mar 2018 12:22:24 +0000 (13:22 +0100)]
Smpi privatization is already enabled by default.

Don't specify it on command line, and use the value of SMPI_PRIVATIZATION
if it exists.

2 years agoLast but one parameter should be null here.
Arnaud Giersch [Wed, 21 Mar 2018 08:23:21 +0000 (09:23 +0100)]
Last but one parameter should be null here.

2 years agoMSG_task_isend_internal: remove unused parameters match_fun and match_data.
Arnaud Giersch [Wed, 21 Mar 2018 08:07:45 +0000 (09:07 +0100)]
MSG_task_isend_internal: remove unused parameters match_fun and match_data.

2 years agoDefine XBT_ATTRIB_DEPRECATED_v323 for next deprecated features.
Arnaud Giersch [Wed, 21 Mar 2018 07:51:31 +0000 (08:51 +0100)]
Define XBT_ATTRIB_DEPRECATED_v323 for next deprecated features.

2 years agoKill features marked deprecated until v3.20.
Arnaud Giersch [Wed, 21 Mar 2018 07:42:10 +0000 (08:42 +0100)]
Kill features marked deprecated until v3.20.

2 years agoStart the dev of v3.20 (again)
Martin Quinson [Wed, 21 Mar 2018 00:14:44 +0000 (01:14 +0100)]
Start the dev of v3.20 (again)

(cherry picked from commit e19d44d4735c16f7fd1d3da1a143388faae13edd)

2 years agorelease v3.19.1 v3.19.1
Martin Quinson [Thu, 22 Mar 2018 15:56:58 +0000 (16:56 +0100)]
release v3.19.1

2 years agoseek and destroy more of MSG out of include/
Martin Quinson [Thu, 22 Mar 2018 14:20:41 +0000 (15:20 +0100)]
seek and destroy more of MSG out of include/

2 years agomore MSG aliases converted to really dumb functions
Martin Quinson [Thu, 22 Mar 2018 14:20:23 +0000 (15:20 +0100)]
more MSG aliases converted to really dumb functions

2 years agoHave fortran SMPI compilers output in current folder, not in source one
degomme [Thu, 22 Mar 2018 12:50:10 +0000 (13:50 +0100)]
Have fortran SMPI compilers output in current folder, not in source one

2 years agotypo
Martin Quinson [Thu, 22 Mar 2018 12:50:40 +0000 (13:50 +0100)]
typo

2 years agoold school legacy wrappers for MSG
Martin Quinson [Thu, 22 Mar 2018 12:39:29 +0000 (13:39 +0100)]
old school legacy wrappers for MSG

2 years agodoc: fix link to appveyor (and update text)
Martin Quinson [Thu, 22 Mar 2018 10:14:14 +0000 (11:14 +0100)]
doc: fix link to appveyor (and update text)

2 years agoMSG aliasing instead of macro-ization to keep ABI safe
Frederic Suter [Thu, 22 Mar 2018 08:13:38 +0000 (09:13 +0100)]
MSG aliasing instead of macro-ization to keep ABI safe

2 years agosomehow prepare the next dot release
Martin Quinson [Wed, 21 Mar 2018 21:43:08 +0000 (22:43 +0100)]
somehow prepare the next dot release

Not sure of whether it should be in the ChangeLog or somewhere else in
the doc. Probably both, but I don't feel like refreshing the FAQ
tonight.

2 years agoFix non-smpi builds on Mac OSX
Martin Quinson [Wed, 21 Mar 2018 08:04:43 +0000 (09:04 +0100)]
Fix non-smpi builds on Mac OSX

2 years agodocument how to rebuild the java lib in a chroot while releasing
Martin Quinson [Wed, 21 Mar 2018 00:15:47 +0000 (01:15 +0100)]
document how to rebuild the java lib in a chroot while releasing

2 years agotry to compile when SMPI is compiled out
Martin Quinson [Wed, 21 Mar 2018 00:15:25 +0000 (01:15 +0100)]
try to compile when SMPI is compiled out

2 years agoStart the dev of v3.20
Martin Quinson [Wed, 21 Mar 2018 00:14:44 +0000 (01:14 +0100)]
Start the dev of v3.20

2 years agoRelease SimGrid v3.19 (the Moscovitly-cold Spring release) v3.19
Martin Quinson [Tue, 20 Mar 2018 21:14:04 +0000 (22:14 +0100)]
Release SimGrid v3.19 (the Moscovitly-cold Spring release)

2 years agoSmall doc and changelog improvements
Martin Quinson [Tue, 20 Mar 2018 21:06:26 +0000 (22:06 +0100)]
Small doc and changelog improvements

2 years agotesh: try to fix on windows
Martin Quinson [Tue, 20 Mar 2018 20:42:25 +0000 (21:42 +0100)]
tesh: try to fix on windows

2 years agowindows: also allow internal includes to the lib
Martin Quinson [Tue, 20 Mar 2018 20:15:45 +0000 (21:15 +0100)]
windows: also allow internal includes to the lib

2 years agoUpdate SimGrid dates in COPYING file
Martin Quinson [Tue, 20 Mar 2018 20:04:35 +0000 (21:04 +0100)]
Update SimGrid dates in COPYING file

2 years agoDocument this version [noci]
Martin Quinson [Tue, 20 Mar 2018 19:51:28 +0000 (20:51 +0100)]
Document this version [noci]

2 years agotry to please clang
Frederic Suter [Tue, 20 Mar 2018 15:18:12 +0000 (16:18 +0100)]
try to please clang

2 years agoold clang compiler seem to need that include
Martin Quinson [Tue, 20 Mar 2018 14:27:20 +0000 (15:27 +0100)]
old clang compiler seem to need that include

2 years agodo not include msg from s4u and surf
Frederic Suter [Tue, 20 Mar 2018 14:23:56 +0000 (15:23 +0100)]
do not include msg from s4u and surf

2 years agoadd zone.h and storage.h
Frederic Suter [Tue, 20 Mar 2018 14:06:51 +0000 (15:06 +0100)]
add zone.h and storage.h

2 years agomove back MSG_host_* macros to msg.h
Frederic Suter [Tue, 20 Mar 2018 13:51:10 +0000 (14:51 +0100)]
move back MSG_host_* macros to msg.h

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 20 Mar 2018 13:50:48 +0000 (14:50 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoremove the last include of private header from installed headers
Martin Quinson [Tue, 20 Mar 2018 13:47:49 +0000 (14:47 +0100)]
remove the last include of private header from installed headers

2 years agoprefer system-wide headers to project-wide ones in include/
Martin Quinson [Tue, 20 Mar 2018 13:05:06 +0000 (14:05 +0100)]
prefer system-wide headers to project-wide ones in include/

2 years agodo not load a private header from s/k/resource/ headers
Martin Quinson [Tue, 20 Mar 2018 12:34:31 +0000 (13:34 +0100)]
do not load a private header from s/k/resource/ headers

2 years agomove an internal header out of the public directory
Martin Quinson [Tue, 20 Mar 2018 12:10:32 +0000 (13:10 +0100)]
move an internal header out of the public directory

2 years agocosmetics (reorder)
Frederic Suter [Tue, 20 Mar 2018 13:38:54 +0000 (14:38 +0100)]
cosmetics (reorder)

2 years agostart to split msg.h into pieces
Frederic Suter [Tue, 20 Mar 2018 13:36:28 +0000 (14:36 +0100)]
start to split msg.h into pieces

2 years agoMove last functions in msg_host.cpp to the S4U C interface
Frederic Suter [Tue, 20 Mar 2018 10:05:31 +0000 (11:05 +0100)]
Move last functions in msg_host.cpp to the S4U C interface

2 years agoa bit of simplification
Frederic Suter [Tue, 20 Mar 2018 09:16:42 +0000 (10:16 +0100)]
a bit of simplification
this should move to the Actor/ActorImpl realm someday.

2 years agomove netzone C API to the right place
Frederic Suter [Tue, 20 Mar 2018 08:04:44 +0000 (09:04 +0100)]
move netzone C API to the right place

2 years agoDo not load internal headers when compiling the examples
Martin Quinson [Mon, 19 Mar 2018 19:43:21 +0000 (20:43 +0100)]
Do not load internal headers when compiling the examples

2 years agoonly use public headers from MC examples too
Martin Quinson [Mon, 19 Mar 2018 19:42:35 +0000 (20:42 +0100)]
only use public headers from MC examples too

2 years agoMerge C++ API into simgrid/plugins/file_system.h to make it public
Martin Quinson [Mon, 19 Mar 2018 14:46:52 +0000 (15:46 +0100)]
Merge C++ API into simgrid/plugins/file_system.h to make it public

2 years agostop loading private headers from now public NetZoneImpl.hpp
Martin Quinson [Mon, 19 Mar 2018 13:47:21 +0000 (14:47 +0100)]
stop loading private headers from now public NetZoneImpl.hpp

2 years agomake NetZoneImpl public too
Martin Quinson [Mon, 19 Mar 2018 10:59:47 +0000 (11:59 +0100)]
make NetZoneImpl public too

2 years agoUse an ActorPtr as parameter to smpi_switch_data_segemnt.
Arnaud Giersch [Thu, 15 Mar 2018 20:53:17 +0000 (21:53 +0100)]
Use an ActorPtr as parameter to smpi_switch_data_segemnt.

2 years agoUse src_proc/dst_proc to switch data segment.
Arnaud Giersch [Mon, 19 Mar 2018 11:28:16 +0000 (12:28 +0100)]
Use src_proc/dst_proc to switch data segment.

Error has been introduced with commit a1d0f5ae6be48d26770a264562100706e9a5e9ff.

2 years agoChangeLog: merge lists of fixed bugs.
Arnaud Giersch [Sat, 17 Mar 2018 21:19:03 +0000 (22:19 +0100)]
ChangeLog: merge lists of fixed bugs.

2 years agoupdate changelog
Augustin Degomme [Sun, 18 Mar 2018 11:30:38 +0000 (12:30 +0100)]
update changelog

2 years agoMC: add icc libs to filtered_libraries.
Arnaud Giersch [Fri, 16 Mar 2018 17:41:38 +0000 (18:41 +0100)]
MC: add icc libs to filtered_libraries.

2 years agoEnable flag with MC too (optCFLAGS was reset before).
Arnaud Giersch [Fri, 16 Mar 2018 17:16:44 +0000 (18:16 +0100)]
Enable flag with MC too (optCFLAGS was reset before).

2 years agoAdd explicit cast for negative to unsigned conversion.
Arnaud Giersch [Fri, 16 Mar 2018 15:53:32 +0000 (16:53 +0100)]
Add explicit cast for negative to unsigned conversion.

2 years agoIcc: turn error #597 into warning.
Arnaud Giersch [Fri, 16 Mar 2018 15:43:11 +0000 (16:43 +0100)]
Icc: turn error #597 into warning.

2 years agoCorrect comment.
Arnaud Giersch [Thu, 15 Mar 2018 20:16:40 +0000 (21:16 +0100)]
Correct comment.

2 years agoshorten and fix message
degomme [Fri, 16 Mar 2018 12:09:43 +0000 (13:09 +0100)]
shorten and fix message