Logo AND Algorithmique Numérique Distribuée

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

3 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

3 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

3 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

3 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.

3 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

3 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

3 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

3 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

3 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

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

3 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.

3 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.

3 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.

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

3 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.

3 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).

3 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.

3 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.

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

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

3 years agono need for \n here
degomme [Fri, 16 Mar 2018 09:38:19 +0000 (10:38 +0100)]
no need for \n here

3 years agoSMPI - fail when unimplemented MPI calls are used.
degomme [Fri, 16 Mar 2018 09:38:08 +0000 (10:38 +0100)]
SMPI - fail when unimplemented MPI calls are used.
Protect some harmless calls against this.

3 years agoUse alternate spelling.
Arnaud Giersch [Thu, 15 Mar 2018 15:31:49 +0000 (16:31 +0100)]
Use alternate spelling.

3 years agoa017dbc05 accidentaly removed mpich and openmpi copyright information...
degomme [Thu, 15 Mar 2018 15:20:36 +0000 (16:20 +0100)]
a017dbc05 accidentaly removed mpich and openmpi copyright information...

3 years agoactivate tests for subarrays
degomme [Thu, 15 Mar 2018 14:51:31 +0000 (15:51 +0100)]
activate tests for subarrays

3 years agomove resized to its own method
degomme [Thu, 15 Mar 2018 14:51:19 +0000 (15:51 +0100)]
move resized to its own method

3 years agoSMPI : Implementation of MPI_Type_create_subarray
degomme [Thu, 15 Mar 2018 14:50:51 +0000 (15:50 +0100)]
SMPI : Implementation of MPI_Type_create_subarray
Mostly inspired from openMPI's one

3 years agotypo --
degomme [Thu, 15 Mar 2018 01:14:44 +0000 (02:14 +0100)]
typo --

3 years agoNo need to switch data segment when process is finished.
Arnaud Giersch [Thu, 15 Mar 2018 14:23:40 +0000 (15:23 +0100)]
No need to switch data segment when process is finished.

3 years agoSlightly move debug message.
Arnaud Giersch [Thu, 15 Mar 2018 14:17:24 +0000 (15:17 +0100)]
Slightly move debug message.

3 years agoRemove almost duplicated file.
Arnaud Giersch [Thu, 15 Mar 2018 08:59:51 +0000 (09:59 +0100)]
Remove almost duplicated file.

3 years ago[SMPI] Fix mmap bug
Christian Heinrich [Thu, 15 Mar 2018 09:49:58 +0000 (10:49 +0100)]
[SMPI] Fix mmap bug

The wrong actor was used (the +1 was from the transition to the
pid-based approach) and that one wasn't initialized yet

3 years agoReally test mmap privatization and not the default one.
Arnaud Giersch [Thu, 15 Mar 2018 08:41:40 +0000 (09:41 +0100)]
Really test mmap privatization and not the default one.

3 years agoAdd explicit specifier (codacy).
Arnaud Giersch [Wed, 14 Mar 2018 22:25:21 +0000 (23:25 +0100)]
Add explicit specifier (codacy).

3 years agoMake icc honor parentheses (fix lmm_usage).
Arnaud Giersch [Wed, 14 Mar 2018 21:50:59 +0000 (22:50 +0100)]
Make icc honor parentheses (fix lmm_usage).

Without that, the expression in lagrange.cpp:405
    sigma_i = (sigma_i - cnst.lambda) + lambda;

seems to be evaluated in a different order, leading to an assertion failure.

3 years agolet smpif90 work even with -c without -o
Martin Quinson [Wed, 14 Mar 2018 14:13:32 +0000 (15:13 +0100)]
let smpif90 work even with -c without -o

3 years agosmpirun: obey to SMPI_PRIVATIZATION environment variable.
Arnaud Giersch [Wed, 14 Mar 2018 08:27:57 +0000 (09:27 +0100)]
smpirun: obey to SMPI_PRIVATIZATION environment variable.

3 years agoTypo.
Arnaud Giersch [Wed, 14 Mar 2018 08:24:35 +0000 (09:24 +0100)]
Typo.

3 years agojenkins-tsan: use mmap by default, as using RTLD_DEEPBIND is not supported by TSan
Martin Quinson [Wed, 14 Mar 2018 07:15:33 +0000 (08:15 +0100)]
jenkins-tsan: use mmap by default, as using RTLD_DEEPBIND is not supported by TSan

3 years agodoc: improve advices dealing with FindSimGrid
Martin Quinson [Wed, 14 Mar 2018 07:05:55 +0000 (08:05 +0100)]
doc: improve advices dealing with FindSimGrid

3 years agoInstall some kernel header files for the users' plugins and more
Martin Quinson [Wed, 14 Mar 2018 00:29:01 +0000 (01:29 +0100)]
Install some kernel header files for the users' plugins and more

3 years agopublic headers should include simgrid in a system-wide way, not a project-wide one
Martin Quinson [Tue, 13 Mar 2018 21:44:05 +0000 (22:44 +0100)]
public headers should include simgrid in a system-wide way, not a project-wide one

I'm not sure why stdio.h is not included by our public headers
anymore, but that's actually a feature, not a bug. The user knows
whether she wants to include stdio herself.

3 years agocosmetics in comments
Martin Quinson [Tue, 13 Mar 2018 20:21:26 +0000 (21:21 +0100)]
cosmetics in comments

3 years agodocument the right bug number
Martin Quinson [Tue, 13 Mar 2018 20:11:24 +0000 (21:11 +0100)]
document the right bug number

3 years agofix #257: Fix (ab)use of CMake install
Martin Quinson [Tue, 13 Mar 2018 19:54:41 +0000 (20:54 +0100)]
fix #257: Fix (ab)use of CMake install

3 years agoRe-add the hinting ability, and some documentation
Martin Quinson [Tue, 13 Mar 2018 19:38:24 +0000 (20:38 +0100)]
Re-add the hinting ability, and some documentation

3 years agostart installing some kernel (modern) header files in userland
Martin Quinson [Tue, 13 Mar 2018 14:58:23 +0000 (15:58 +0100)]
start installing some kernel (modern) header files in userland

3 years agomake it clear to our users how SIMGRID_VERSION is computed
Martin Quinson [Tue, 13 Mar 2018 14:26:41 +0000 (15:26 +0100)]
make it clear to our users how SIMGRID_VERSION is computed

3 years agoMerge pull request #256 from Flamefire/master
Martin Quinson [Tue, 13 Mar 2018 19:19:16 +0000 (20:19 +0100)]
Merge pull request #256 from Flamefire/master

Modernize FindSimGrid

3 years agoeven better handling ...
degomme [Tue, 13 Mar 2018 17:30:10 +0000 (18:30 +0100)]
even better handling ...

3 years agobetter handling of sendrecv when MPI_PROC_NULL is either src or dst
degomme [Tue, 13 Mar 2018 17:12:43 +0000 (18:12 +0100)]
better handling of sendrecv when MPI_PROC_NULL is either src or dst

3 years agoRemove parameter from XBT_EXPORT_NO_IMPORT/XBT_IMPORT_NO_EXPORT.
Arnaud Giersch [Tue, 13 Mar 2018 15:56:46 +0000 (16:56 +0100)]
Remove parameter from XBT_EXPORT_NO_IMPORT/XBT_IMPORT_NO_EXPORT.

3 years agoDefine XBT_PUBLIC_DATA without parameter too.
Arnaud Giersch [Tue, 13 Mar 2018 15:15:06 +0000 (16:15 +0100)]
Define XBT_PUBLIC_DATA without parameter too.

3 years agoUse "class" for a class.
Arnaud Giersch [Tue, 13 Mar 2018 15:12:23 +0000 (16:12 +0100)]
Use "class" for a class.

3 years agoReplace "XBT_PUBLIC_CLASS" with "class XBT_PUBLIC".
Arnaud Giersch [Tue, 13 Mar 2018 14:37:00 +0000 (15:37 +0100)]
Replace "XBT_PUBLIC_CLASS" with "class XBT_PUBLIC".

3 years agoDefine XBT_PUBLIC without parameter, just like XBT_PRIVATE.
Arnaud Giersch [Tue, 13 Mar 2018 14:30:12 +0000 (15:30 +0100)]
Define XBT_PUBLIC without parameter, just like XBT_PRIVATE.

Requested in commit 680abdb047c1a66d3ccc14cad518117773c3cc8c.

3 years agoRemove obsolete copyright notices.
Arnaud Giersch [Tue, 13 Mar 2018 13:45:39 +0000 (14:45 +0100)]
Remove obsolete copyright notices.

Exceptions were rewritten in C++.

3 years agoUpdate copyright year.
Arnaud Giersch [Tue, 13 Mar 2018 13:44:32 +0000 (14:44 +0100)]
Update copyright year.

3 years agoRevert "[tesh] read files in utf-8"
Millian Poquet [Tue, 13 Mar 2018 14:18:09 +0000 (15:18 +0100)]
Revert "[tesh] read files in utf-8"

This reverts commit 06dff582cdb609f521035d7a138c21aa46848220.

3 years ago[tesh] read files in utf-8
Millian Poquet [Tue, 13 Mar 2018 12:27:05 +0000 (13:27 +0100)]
[tesh] read files in utf-8

Previously, system's default encoding was used.

3 years agoMark function XBT_PUBLIC.
Arnaud Giersch [Tue, 13 Mar 2018 10:03:50 +0000 (11:03 +0100)]
Mark function XBT_PUBLIC.

3 years agoUpdate .gitignore.
Arnaud Giersch [Tue, 13 Mar 2018 09:59:18 +0000 (10:59 +0100)]
Update .gitignore.

3 years agoDon't leave field uninitialized.
Arnaud Giersch [Mon, 12 Mar 2018 14:53:27 +0000 (15:53 +0100)]
Don't leave field uninitialized.

3 years agopublic->protected
Frederic Suter [Tue, 13 Mar 2018 10:19:04 +0000 (11:19 +0100)]
public->protected

3 years agodo not use deprecated function in our examples/tests
Frederic Suter [Tue, 13 Mar 2018 09:25:31 +0000 (10:25 +0100)]
do not use deprecated function in our examples/tests

3 years agodon't put a specific timeout on pull requests
Martin Quinson [Tue, 13 Mar 2018 09:03:20 +0000 (10:03 +0100)]
don't put a specific timeout on pull requests

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 13 Mar 2018 07:13:01 +0000 (08:13 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoone last verbose
Augustin Degomme [Tue, 13 Mar 2018 07:11:31 +0000 (08:11 +0100)]
one last verbose

3 years agoI know that feeling, pal (fix the fixes)
Martin Quinson [Tue, 13 Mar 2018 06:38:49 +0000 (07:38 +0100)]
I know that feeling, pal (fix the fixes)

3 years agolaste batch tonight
Augustin Degomme [Tue, 13 Mar 2018 02:24:50 +0000 (03:24 +0100)]
laste batch tonight

3 years agomore bad fixes
Augustin Degomme [Tue, 13 Mar 2018 01:42:07 +0000 (02:42 +0100)]
more bad fixes

3 years agotry to stabilize gcc with previous fixes
Augustin Degomme [Tue, 13 Mar 2018 01:08:27 +0000 (02:08 +0100)]
try to stabilize gcc with previous fixes

3 years agointel compilers detected some mistakes
Augustin Degomme [Tue, 13 Mar 2018 00:45:16 +0000 (01:45 +0100)]
intel compilers detected some mistakes

3 years agoignore some warnings from intel
Augustin Degomme [Tue, 13 Mar 2018 00:44:25 +0000 (01:44 +0100)]
ignore some warnings from intel

3 years agoprovide implementations for virtual method in subclasses
Augustin Degomme [Tue, 13 Mar 2018 00:26:13 +0000 (01:26 +0100)]
provide implementations for virtual method in subclasses

3 years agofix java builds after recent API change
Martin Quinson [Tue, 13 Mar 2018 00:08:59 +0000 (01:08 +0100)]
fix java builds after recent API change

3 years agofactorize s4u-actor-kill and s4u-actor-kill-pid
Martin Quinson [Mon, 12 Mar 2018 23:46:31 +0000 (00:46 +0100)]
factorize s4u-actor-kill and s4u-actor-kill-pid

Add a kill by pid in s4u-actor-kill, and we're set.

3 years agoRemove feature: reset PID on killall()
Martin Quinson [Mon, 12 Mar 2018 23:13:08 +0000 (00:13 +0100)]
Remove feature: reset PID on killall()

reseting PID was a very bad idea since we don't check on creation
whether a PID is already given. This was resulting in several
actors having the same PID.

This, with the previous commit, (fix #254), that was actually a team of
2 different bugs working together.

3 years agoallow one actor to kill another actor by PID
Martin Quinson [Mon, 12 Mar 2018 23:10:44 +0000 (00:10 +0100)]
allow one actor to kill another actor by PID

3 years agoReduce the scope of a variable to please codacy
Martin Quinson [Mon, 12 Mar 2018 21:58:40 +0000 (22:58 +0100)]
Reduce the scope of a variable to please codacy

even if it's totally pointless in this case.

3 years agokill an unused internal function
Martin Quinson [Mon, 12 Mar 2018 21:56:39 +0000 (22:56 +0100)]
kill an unused internal function

3 years agotravis: clang does not fail on travis anymore (but do we need it?)
Martin Quinson [Mon, 12 Mar 2018 20:07:05 +0000 (21:07 +0100)]
travis: clang does not fail on travis anymore (but do we need it?)

3 years agomake sure that devel version is not mixed up with next stable version
Martin Quinson [Mon, 12 Mar 2018 13:07:51 +0000 (14:07 +0100)]
make sure that devel version is not mixed up with next stable version

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 12 Mar 2018 17:52:56 +0000 (18:52 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoMove the list of storages to the engine
Frederic Suter [Mon, 12 Mar 2018 10:30:37 +0000 (11:30 +0100)]
Move the list of storages to the engine

Not completely satisfied about how StorageImpl are freed but this
works and I spent too much time on finding a better solution today.

3 years agoModernize FindSimGrid
Flamefire [Mon, 12 Mar 2018 13:46:45 +0000 (14:46 +0100)]
Modernize FindSimGrid

3 years agotuto-msg: fix parallel execution.
Arnaud Giersch [Mon, 12 Mar 2018 11:09:44 +0000 (12:09 +0100)]
tuto-msg: fix parallel execution.

3 years agotuto-msg: build examples in build dir.
Arnaud Giersch [Mon, 12 Mar 2018 09:04:33 +0000 (10:04 +0100)]
tuto-msg: build examples in build dir.

3 years agoMake field private.
Arnaud Giersch [Mon, 12 Mar 2018 08:37:30 +0000 (09:37 +0100)]
Make field private.

3 years agoUpdate .gitignore.
Arnaud Giersch [Mon, 12 Mar 2018 07:29:27 +0000 (08:29 +0100)]
Update .gitignore.

3 years agoRevert "disable dlopen when under sanitizers"
Martin Quinson [Mon, 12 Mar 2018 07:36:36 +0000 (08:36 +0100)]
Revert "disable dlopen when under sanitizers"

This reverts commit 4e2035d7b4730d535ebd7619c4e85878f71f8cb2.

3 years agodisable dlopen when under sanitizers
Martin Quinson [Mon, 12 Mar 2018 01:46:26 +0000 (02:46 +0100)]
disable dlopen when under sanitizers

3 years agosmpi/privatization is not the concern of smx_context
Martin Quinson [Mon, 12 Mar 2018 01:27:15 +0000 (02:27 +0100)]
smpi/privatization is not the concern of smx_context

3 years agotuto-msg: don't test under memcheck or sanitizer
Martin Quinson [Mon, 12 Mar 2018 01:18:38 +0000 (02:18 +0100)]
tuto-msg: don't test under memcheck or sanitizer

3 years agos/\$^/$</
Arnaud Giersch [Sun, 11 Mar 2018 22:45:19 +0000 (23:45 +0100)]
s/\$^/$</

3 years agotuto-msg: use old-fashioned suffix rules in Makefile.
Arnaud Giersch [Sun, 11 Mar 2018 21:24:28 +0000 (22:24 +0100)]
tuto-msg: use old-fashioned suffix rules in Makefile.

Try to be compatible with freebsd's make.

3 years agoFix spurious const_cast.
Arnaud Giersch [Sun, 11 Mar 2018 20:58:53 +0000 (21:58 +0100)]
Fix spurious const_cast.

3 years agotuto-msg: fix compile options, and let sol4.c compile
Martin Quinson [Sun, 11 Mar 2018 21:31:04 +0000 (22:31 +0100)]
tuto-msg: fix compile options, and let sol4.c compile

3 years agotuto-msg: make clean before test
Martin Quinson [Sun, 11 Mar 2018 21:30:38 +0000 (22:30 +0100)]
tuto-msg: make clean before test