Logo AND Algorithmique Numérique Distribuée

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

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

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

22 months 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

22 months 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

22 months 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

22 months 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

22 months 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

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

22 months 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

22 months 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.

22 months 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.

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

22 months 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".

22 months 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.

22 months 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++.

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

22 months 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.

22 months 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.

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

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

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

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

22 months 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

22 months 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

22 months 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

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

22 months 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)

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

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

22 months 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

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

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

22 months 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

22 months 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

22 months 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.

22 months 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.

22 months 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

22 months 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.

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

22 months 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?)

22 months 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

22 months 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

22 months 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.

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

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

22 months 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.

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

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

22 months 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.

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

22 months 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

22 months 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

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

22 months 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.

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

22 months 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

22 months 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

22 months agoalso change the namespace of kernel/resource/{Action,Model}
Martin Quinson [Sun, 11 Mar 2018 20:30:33 +0000 (21:30 +0100)]
also change the namespace of kernel/resource/{Action,Model}

22 months agofurther split the kernel/resource module in separate files
Martin Quinson [Sun, 11 Mar 2018 18:43:24 +0000 (19:43 +0100)]
further split the kernel/resource module in separate files

22 months agomove files in k/resources/ accordingly to their namespace
Martin Quinson [Sun, 11 Mar 2018 17:47:27 +0000 (18:47 +0100)]
move files in k/resources/ accordingly to their namespace

22 months agorename simgrid::kernel::model into simgrid::kernel::resource
Martin Quinson [Sun, 11 Mar 2018 12:09:06 +0000 (13:09 +0100)]
rename simgrid::kernel::model into simgrid::kernel::resource

22 months agotuto makefile: typo
Martin Quinson [Sun, 11 Mar 2018 10:41:10 +0000 (11:41 +0100)]
tuto makefile: typo

22 months agoconsistency between Action::ActionLmmList and Action::ActionList
Martin Quinson [Sat, 10 Mar 2018 17:30:12 +0000 (18:30 +0100)]
consistency between Action::ActionLmmList and Action::ActionList

22 months agocosmetics: rename some fields and methods in surf::Action
Martin Quinson [Sat, 10 Mar 2018 17:11:03 +0000 (18:11 +0100)]
cosmetics: rename some fields and methods in surf::Action

22 months agomove the definition of resource's Metric as an inner class
Martin Quinson [Sat, 10 Mar 2018 16:57:37 +0000 (17:57 +0100)]
move the definition of resource's Metric as an inner class

22 months agofix make distcheck with documentation
Martin Quinson [Sat, 10 Mar 2018 16:39:03 +0000 (17:39 +0100)]
fix make distcheck with documentation

22 months agoCut k/m/Resource.[ch] to its own files
Martin Quinson [Sat, 10 Mar 2018 16:36:49 +0000 (17:36 +0100)]
Cut k/m/Resource.[ch] to its own files

22 months agospeed the tests a bit: no need to test MSG with all factories
Martin Quinson [Sat, 10 Mar 2018 13:46:03 +0000 (14:46 +0100)]
speed the tests a bit: no need to test MSG with all factories

22 months agochange simgrid::surf::Resource into simgrid::kernel::model::Resource
Martin Quinson [Sat, 10 Mar 2018 13:44:34 +0000 (14:44 +0100)]
change simgrid::surf::Resource into simgrid::kernel::model::Resource

22 months agoguess what? tuto-msg broke on linux when I fixed freebsd
Martin Quinson [Sat, 10 Mar 2018 12:33:36 +0000 (13:33 +0100)]
guess what? tuto-msg broke on linux when I fixed freebsd

22 months agotesting tuto: fix for freebsd make version
Martin Quinson [Sat, 10 Mar 2018 10:06:18 +0000 (11:06 +0100)]
testing tuto: fix for freebsd make version

22 months agokill some internal C type aliases
Martin Quinson [Sat, 10 Mar 2018 10:03:48 +0000 (11:03 +0100)]
kill some internal C type aliases

22 months agoforbid an incomplete and unused constructor
Martin Quinson [Sat, 10 Mar 2018 02:45:56 +0000 (03:45 +0100)]
forbid an incomplete and unused constructor

22 months agokill the useless simgrid::surf::surfExitCallbacks callback
Martin Quinson [Sat, 10 Mar 2018 02:37:49 +0000 (03:37 +0100)]
kill the useless simgrid::surf::surfExitCallbacks callback

22 months agouse an enum class for surf::Action type
Martin Quinson [Sat, 10 Mar 2018 02:23:09 +0000 (03:23 +0100)]
use an enum class for surf::Action type

22 months agoallow external models (eg, FMI) to also provide events
Martin Quinson [Sat, 10 Mar 2018 02:12:22 +0000 (03:12 +0100)]
allow external models (eg, FMI) to also provide events

22 months agotypo, bummer
Martin Quinson [Sat, 10 Mar 2018 01:51:59 +0000 (02:51 +0100)]
typo, bummer

22 months agotuto-test: fix out-of-tree linking
Martin Quinson [Sat, 10 Mar 2018 01:13:57 +0000 (02:13 +0100)]
tuto-test: fix out-of-tree linking

22 months agotuto-msg tests: fix out of tree builds
Martin Quinson [Fri, 9 Mar 2018 22:13:14 +0000 (23:13 +0100)]
tuto-msg tests: fix out of tree builds

22 months agostill trying to test the tuto
Martin Quinson [Fri, 9 Mar 2018 21:21:52 +0000 (22:21 +0100)]
still trying to test the tuto

This time, instead of trying to use the installed version of Jenkins,
I try to fix the provided Makefile so that it works without installing.

22 months agoyet another attempt at testing the tuto on jenkins
Martin Quinson [Fri, 9 Mar 2018 19:36:06 +0000 (20:36 +0100)]
yet another attempt at testing the tuto on jenkins

22 months agocosmetics: rename a function, deprecate old name
Martin Quinson [Fri, 9 Mar 2018 16:23:51 +0000 (17:23 +0100)]
cosmetics: rename a function, deprecate old name

22 months agotuto tests: fix out of tree, don't try to do when the compiler is not gcc
Martin Quinson [Fri, 9 Mar 2018 16:03:06 +0000 (17:03 +0100)]
tuto tests: fix out of tree, don't try to do when the compiler is not gcc

22 months agoAlso simplify the API of Engine::getLinkList
Martin Quinson [Fri, 9 Mar 2018 15:39:20 +0000 (16:39 +0100)]
Also simplify the API of Engine::getLinkList

22 months agoprovide a simpler API of Engine::getHostList (returning the structure) and use it
Martin Quinson [Fri, 9 Mar 2018 15:28:56 +0000 (16:28 +0100)]
provide a simpler API of Engine::getHostList (returning the structure) and use it

22 months agostop using sg_host_list() from C++, and improve its implementation
Martin Quinson [Fri, 9 Mar 2018 14:37:11 +0000 (15:37 +0100)]
stop using sg_host_list() from C++, and improve its implementation

22 months agofix the tests of tuto-msg
Martin Quinson [Fri, 9 Mar 2018 14:15:32 +0000 (15:15 +0100)]
fix the tests of tuto-msg

22 months agouse the C++ API in that example
Martin Quinson [Fri, 9 Mar 2018 13:30:56 +0000 (14:30 +0100)]
use the C++ API in that example

22 months agoRevert "Use C11's atomic_flag."
Arnaud Giersch [Thu, 8 Mar 2018 21:33:14 +0000 (22:33 +0100)]
Revert "Use C11's atomic_flag."

stdatomic.h is missing in gcc 4.8

This reverts commit ff4d8d0fbe1feb59a8799632af047771a78f1718.

22 months agotesh: use start_new_session and see how it behaves on Windows...
Arnaud Giersch [Thu, 8 Mar 2018 21:22:22 +0000 (22:22 +0100)]
tesh: use start_new_session and see how it behaves on Windows...

22 months agoUse XBT_PUBLIC_CLASS (for mingw).
Arnaud Giersch [Thu, 8 Mar 2018 21:09:05 +0000 (22:09 +0100)]
Use XBT_PUBLIC_CLASS (for mingw).

22 months agoBreak nested condinationalsi (sonar).
Arnaud Giersch [Thu, 8 Mar 2018 15:42:24 +0000 (16:42 +0100)]
Break nested condinationalsi (sonar).

22 months agoRemove useless forward declaration (sonar).
Arnaud Giersch [Thu, 8 Mar 2018 13:33:52 +0000 (14:33 +0100)]
Remove useless forward declaration (sonar).

22 months agoUnused parameter: task.
Arnaud Giersch [Thu, 8 Mar 2018 10:58:58 +0000 (11:58 +0100)]
Unused parameter: task.

22 months agoSD_task_dependency_add(): remove unused parameters 'name' and 'data'.
Arnaud Giersch [Thu, 8 Mar 2018 10:19:02 +0000 (11:19 +0100)]
SD_task_dependency_add(): remove unused parameters 'name' and 'data'.

22 months agoUse C11's atomic_flag.
Arnaud Giersch [Wed, 7 Mar 2018 17:17:23 +0000 (18:17 +0100)]
Use C11's atomic_flag.

22 months agotuto-msg: we need std=gnu99 to compile this on travis
Martin Quinson [Thu, 8 Mar 2018 20:34:47 +0000 (21:34 +0100)]
tuto-msg: we need std=gnu99 to compile this on travis

22 months agoproperly test the MSG tutorial (sorry for previous commit, wasn't supposed to be...
Martin Quinson [Thu, 8 Mar 2018 17:03:29 +0000 (18:03 +0100)]
properly test the MSG tutorial (sorry for previous commit, wasn't supposed to be pushed yet)

22 months agograin of salt in the msg tutorial (MSG is deprecated ya know)
Martin Quinson [Thu, 8 Mar 2018 17:03:05 +0000 (18:03 +0100)]
grain of salt in the msg tutorial (MSG is deprecated ya know)