Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoIgnore pseudo-leaks when we use dlopen in smpi.
degomme [Wed, 17 May 2017 13:33:04 +0000 (15:33 +0200)]
Ignore pseudo-leaks when we use dlopen in smpi.
In a perfect world we should dlclose everything properly, but this leads to issues with some other atexit handles.
The xbt_postexit is always executed last, and closes the logs. If the SMPI code used XBT_LOG features, it is then needed until the last moment.
So we would need to store the handle at the XBT level instead of the SMPI one... And we don't really want that.
So we just hide these non-leaks from valgrind.

2 years agoplease sonar, less free in c++
Frederic Suter [Wed, 17 May 2017 10:55:47 +0000 (12:55 +0200)]
please sonar, less free in c++

2 years agoa bit of cleaning in chainsend
Frederic Suter [Wed, 17 May 2017 09:56:19 +0000 (11:56 +0200)]
a bit of cleaning in chainsend

2 years agodon't create dependencies if both root and end are not connected to any task
Frederic Suter [Wed, 17 May 2017 06:28:42 +0000 (08:28 +0200)]
don't create dependencies if both root and end are not connected to any task

This happens when none of the actual jobs described in the DAX file
consumes and produces any file. In that case, root has no successor
and a dependency to end is created but end has no predecessor and a
dependency from root is created ... that already exists.

2 years agocode simplification in CMake. Hopefully no functional change
Martin Quinson [Tue, 16 May 2017 21:04:53 +0000 (23:04 +0200)]
code simplification in CMake. Hopefully no functional change

2 years agoMore help to our fellow mac users
Martin Quinson [Tue, 16 May 2017 20:52:59 +0000 (22:52 +0200)]
More help to our fellow mac users

2 years agoplug some memleaks in the new unit test
Martin Quinson [Tue, 16 May 2017 18:19:26 +0000 (20:19 +0200)]
plug some memleaks in the new unit test

2 years agoplease sonar: nothing before the includes
Martin Quinson [Mon, 15 May 2017 08:55:25 +0000 (10:55 +0200)]
please sonar: nothing before the includes

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 15 May 2017 15:01:17 +0000 (17:01 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agomostly cosmetics
Frederic Suter [Mon, 15 May 2017 14:53:23 +0000 (16:53 +0200)]
mostly cosmetics

2 years agoLOOPAFTER is a better name for profile periodicity
Martin Quinson [Mon, 15 May 2017 08:43:10 +0000 (10:43 +0200)]
LOOPAFTER is a better name for profile periodicity

2 years agoanother bunch of sonar treats
Frederic Suter [Mon, 15 May 2017 07:07:50 +0000 (09:07 +0200)]
another bunch of sonar treats

2 years agoplease sonar
Frederic Suter [Mon, 15 May 2017 06:43:41 +0000 (08:43 +0200)]
please sonar

2 years agotmgr: cosmetics
Martin Quinson [Sun, 14 May 2017 22:22:48 +0000 (00:22 +0200)]
tmgr: cosmetics

2 years agotmgr: kill a function that only calls the constructor
Martin Quinson [Sun, 14 May 2017 22:12:29 +0000 (00:12 +0200)]
tmgr: kill a function that only calls the constructor

2 years agotmgr: make a usefull datatype public
Martin Quinson [Sun, 14 May 2017 22:03:15 +0000 (00:03 +0200)]
tmgr: make a usefull datatype public

2 years agorename a type to better match its purpose
Martin Quinson [Sun, 14 May 2017 21:08:25 +0000 (23:08 +0200)]
rename a type to better match its purpose

2 years agotmgr: kill a parameter that nobody uses
Martin Quinson [Sun, 14 May 2017 20:57:04 +0000 (22:57 +0200)]
tmgr: kill a parameter that nobody uses

2 years agoRevert "try to help netbsd compiling the unit_tmgr test, which seems to have some...
Augustin Degomme [Sun, 14 May 2017 20:14:00 +0000 (22:14 +0200)]
Revert "try to help netbsd compiling the unit_tmgr test, which seems to have some ABI issues stackoverflow.com/questions/30668560/boost-unit-test-link-error-abi-mismatch"

This reverts commit 1ca39540818d47b2c93100d6b44dfd7a1d5ce3be.

2 years agotry to help netbsd compiling the unit_tmgr test, which seems to have some ABI issues...
Augustin Degomme [Sun, 14 May 2017 19:51:07 +0000 (21:51 +0200)]
try to help netbsd compiling the unit_tmgr test, which seems to have some ABI issues stackoverflow.com/questions/30668560/boost-unit-test-link-error-abi-mismatch

2 years agouse the Boost.test library where it was detected by cmake
Martin Quinson [Sun, 14 May 2017 15:07:44 +0000 (17:07 +0200)]
use the Boost.test library where it was detected by cmake

This should fix the case when it's installed in non-standard locations.

2 years agofix a typing issue around std::abs
Martin Quinson [Sun, 14 May 2017 09:31:52 +0000 (11:31 +0200)]
fix a typing issue around std::abs

It seems that C++11 systems want std::abs for doubles, and C++17 ones
want std::fabs for that. So let's stick to the C version.

2 years agotesh: ignore modern systems complaining about the lack of UTF
Martin Quinson [Sun, 14 May 2017 09:27:50 +0000 (11:27 +0200)]
tesh: ignore modern systems complaining about the lack of UTF

2 years agoRevert "jenkins: modern python mandate UTF8 locales"
Martin Quinson [Sun, 14 May 2017 09:25:07 +0000 (11:25 +0200)]
Revert "jenkins: modern python mandate UTF8 locales"

This reverts commit f91d1310084c2b2be3070f64297a48a3a9adcd9a.
Rational: It breaks badly on older systems that don't have UTF8 compiled in.

2 years agoimprove the documentation of churn in platform [no ci]
Martin Quinson [Sun, 14 May 2017 08:48:03 +0000 (10:48 +0200)]
improve the documentation of churn in platform [no ci]

2 years agojenkins: modern python mandate UTF8 locales
Martin Quinson [Sun, 14 May 2017 07:59:22 +0000 (09:59 +0200)]
jenkins: modern python mandate UTF8 locales

2 years agoignore the new test
Martin Quinson [Sun, 14 May 2017 07:56:37 +0000 (09:56 +0200)]
ignore the new test

2 years agoplease sonar
Martin Quinson [Sun, 14 May 2017 07:54:12 +0000 (09:54 +0200)]
please sonar

- kill an unused declaration
- dont test double equality

2 years agofix NetBSD build
Martin Quinson [Sun, 14 May 2017 07:00:39 +0000 (09:00 +0200)]
fix NetBSD build

2 years agoFix dist
Martin Quinson [Sun, 14 May 2017 06:22:00 +0000 (08:22 +0200)]
Fix dist

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 13 May 2017 21:39:22 +0000 (23:39 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agodocument last changes
Martin Quinson [Sat, 13 May 2017 21:39:12 +0000 (23:39 +0200)]
document last changes

2 years agoadd a unit test for tgmr (using boost tests)
Martin Quinson [Sat, 13 May 2017 21:37:08 +0000 (23:37 +0200)]
add a unit test for tgmr (using boost tests)

2 years agoL
Martin Quinson [Sat, 13 May 2017 21:35:53 +0000 (23:35 +0200)]
L

2 years agouse the new way of declaring the periodicity of state_file and avail_file
Martin Quinson [Sat, 13 May 2017 21:33:16 +0000 (23:33 +0200)]
use the new way of declaring the periodicity of state_file and avail_file

And remove a test that is hard to work with, soon replaced with
something better.

And revalidate the tesh output of tests that are hard to diagnose and
improve

2 years agofix the trace file parsing (state_file and avail_file)
Martin Quinson [Sat, 13 May 2017 20:24:31 +0000 (22:24 +0200)]
fix the trace file parsing (state_file and avail_file)

2 years agoAllow the unit tests to setup the logs
Martin Quinson [Fri, 12 May 2017 20:48:44 +0000 (22:48 +0200)]
Allow the unit tests to setup the logs

2 years agomissing public header
Martin Quinson [Fri, 12 May 2017 20:47:42 +0000 (22:47 +0200)]
missing public header

2 years agofix non-MC builds
Martin Quinson [Fri, 12 May 2017 16:20:45 +0000 (18:20 +0200)]
fix non-MC builds

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 12 May 2017 13:27:05 +0000 (15:27 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agothese models want to please Sonar
Frederic Suter [Thu, 11 May 2017 11:22:59 +0000 (13:22 +0200)]
these models want to please Sonar

2 years agorename constants
Frederic Suter [Thu, 11 May 2017 10:00:04 +0000 (12:00 +0200)]
rename constants

2 years agoremove unused constants
Frederic Suter [Thu, 11 May 2017 09:53:38 +0000 (11:53 +0200)]
remove unused constants

2 years agochasing minor smells
Frederic Suter [Thu, 11 May 2017 09:46:53 +0000 (11:46 +0200)]
chasing minor smells

2 years agouniformization
Frederic Suter [Wed, 10 May 2017 11:20:10 +0000 (13:20 +0200)]
uniformization

2 years agokill useless code
Frederic Suter [Wed, 10 May 2017 10:58:04 +0000 (12:58 +0200)]
kill useless code

2 years agono xbt_lib in java world + leak plug
Frederic Suter [Wed, 10 May 2017 09:03:08 +0000 (11:03 +0200)]
no xbt_lib in java world + leak plug

2 years agofurther fiddling with the platform documentation [no ci]
Martin Quinson [Tue, 9 May 2017 23:49:51 +0000 (01:49 +0200)]
further fiddling with the platform documentation [no ci]

2 years agodoc: rewrite the introductory example of platform
Martin Quinson [Tue, 9 May 2017 22:03:10 +0000 (00:03 +0200)]
doc: rewrite the introductory example of platform

2 years agodoc: rewrite the introductory example of platform
Martin Quinson [Tue, 9 May 2017 21:58:36 +0000 (23:58 +0200)]
doc: rewrite the introductory example of platform

2 years agodoc: rewrite the introductory example of platform
Martin Quinson [Tue, 9 May 2017 21:55:17 +0000 (23:55 +0200)]
doc: rewrite the introductory example of platform

2 years agoavoid division by 0 in ptask maxmin solve. Fix #165
Frederic Suter [Tue, 9 May 2017 12:04:22 +0000 (14:04 +0200)]
avoid division by 0 in ptask maxmin solve. Fix #165

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 9 May 2017 07:22:49 +0000 (09:22 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agodo not load internal_config.h from mc.h
Martin Quinson [Mon, 8 May 2017 21:45:48 +0000 (23:45 +0200)]
do not load internal_config.h from mc.h

2 years agogrmbl
Martin Quinson [Mon, 8 May 2017 21:17:57 +0000 (23:17 +0200)]
grmbl

2 years agostop forbidding semaphores and cond variables in model-checked code
Martin Quinson [Mon, 8 May 2017 21:07:31 +0000 (23:07 +0200)]
stop forbidding semaphores and cond variables in model-checked code

It may work, or it may deadlock the exploration when exploring a
branch where the synchronization cannot be acquired, not quite sure.
(fix #149)

2 years agoFurther cleanups in SMPI includes
Martin Quinson [Sun, 7 May 2017 20:58:40 +0000 (22:58 +0200)]
Further cleanups in SMPI includes

private.h is not loaded by any .h/.hpp anymore. Only by .cpp files

2 years agofurther empty smpi/private.h
Martin Quinson [Sun, 7 May 2017 20:27:31 +0000 (22:27 +0200)]
further empty smpi/private.h

2 years agoreduce the amount of includes
Martin Quinson [Sun, 7 May 2017 19:23:14 +0000 (21:23 +0200)]
reduce the amount of includes

2 years agofix jedule builds
Martin Quinson [Sun, 7 May 2017 06:35:33 +0000 (08:35 +0200)]
fix jedule builds

2 years agoAPI improvement in s4u
Martin Quinson [Sat, 6 May 2017 21:31:04 +0000 (23:31 +0200)]
API improvement in s4u

2 years agolet's use a sensible API for the MSG_zone functions
Martin Quinson [Sat, 6 May 2017 21:24:01 +0000 (23:24 +0200)]
let's use a sensible API for the MSG_zone functions

2 years agorename all MSG_zone_* functions (backward compatible)
Martin Quinson [Sat, 6 May 2017 21:08:02 +0000 (23:08 +0200)]
rename all MSG_zone_* functions (backward compatible)

2 years agofix a java test
Martin Quinson [Fri, 5 May 2017 20:58:55 +0000 (22:58 +0200)]
fix a java test

2 years agoupdate the deployment documentation after the XML update
Martin Quinson [Fri, 5 May 2017 20:42:15 +0000 (22:42 +0200)]
update the deployment documentation after the XML update

2 years agoNew functions: s4u::Actor::property() and s4u::Actor::setProperty()
Martin Quinson [Fri, 5 May 2017 20:40:50 +0000 (22:40 +0200)]
New functions: s4u::Actor::property() and s4u::Actor::setProperty()

2 years agoignore new binaries
Martin Quinson [Fri, 5 May 2017 20:21:14 +0000 (22:21 +0200)]
ignore new binaries

[skip ci]

2 years agodocument the XML change
Martin Quinson [Fri, 5 May 2017 20:18:36 +0000 (22:18 +0200)]
document the XML change

2 years agoUpdate all our XML files + next XML version will be 4.1, not 5
Martin Quinson [Fri, 5 May 2017 20:13:55 +0000 (22:13 +0200)]
Update all our XML files + next XML version will be 4.1, not 5

2 years agointroduce a few synonyms in XML to allow the use of the new names
Martin Quinson [Fri, 5 May 2017 15:19:41 +0000 (17:19 +0200)]
introduce a few synonyms in XML to allow the use of the new names

2 years agoI like sed, but sed does not like me
Martin Quinson [Fri, 5 May 2017 13:15:29 +0000 (15:15 +0200)]
I like sed, but sed does not like me

2 years agofinish the conversion of public MACRO names, in the cmake infrastructure
Martin Quinson [Fri, 5 May 2017 12:58:50 +0000 (14:58 +0200)]
finish the conversion of public MACRO names, in the cmake infrastructure

Sorry for being a bummer...

2 years agoprefix all macro defined in public simgrid_config.h with 'SIMGRID_'
Martin Quinson [Fri, 5 May 2017 10:07:59 +0000 (12:07 +0200)]
prefix all macro defined in public simgrid_config.h with 'SIMGRID_'

(fix #162)

2 years agohide a (grave) warning in the tests
Martin Quinson [Fri, 5 May 2017 09:21:22 +0000 (11:21 +0200)]
hide a (grave) warning in the tests

FYI, the hidden message is:
[simix_context/WARNING] mmap broken on FreeBSD, but dlopen+thread broken too. Switching to dlopen+raw contexts.

Removing the warning would help the tests, but could really harm some users.

2 years agoportability cheating: avoid the configurations that are known to be broken
Martin Quinson [Fri, 5 May 2017 06:31:03 +0000 (08:31 +0200)]
portability cheating: avoid the configurations that are known to be broken

2 years agoshell typo
Martin Quinson [Fri, 5 May 2017 06:30:09 +0000 (08:30 +0200)]
shell typo

2 years agoMore doc [skip ci]
Martin Quinson [Thu, 4 May 2017 10:40:28 +0000 (12:40 +0200)]
More doc [skip ci]

2 years agocircle: cosmetics
Martin Quinson [Thu, 4 May 2017 07:37:59 +0000 (09:37 +0200)]
circle: cosmetics

We cannot go in parallel because it must be on separate containers, so
make -j cannot be used.

2 years agogive circleci a spin
Martin Quinson [Wed, 3 May 2017 16:17:39 +0000 (18:17 +0200)]
give circleci a spin

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Wed, 3 May 2017 16:04:52 +0000 (18:04 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agotry to fix #161 on Mac OSX too
Martin Quinson [Wed, 3 May 2017 16:04:18 +0000 (18:04 +0200)]
try to fix #161 on Mac OSX too

2 years agoMerge pull request #164 from sthibaul/smpi_user_data
Martin Quinson [Wed, 3 May 2017 15:53:50 +0000 (17:53 +0200)]
Merge pull request #164 from sthibaul/smpi_user_data

restore smpi_process_get_user_data and smpi_process_set_user_data

2 years agorestore smpi_process_get_user_data and smpi_process_set_user_data
Samuel Thibault [Tue, 2 May 2017 14:35:14 +0000 (16:35 +0200)]
restore smpi_process_get_user_data and smpi_process_set_user_data

2 years agoRevert "kill useless code"
Samuel Thibault [Wed, 3 May 2017 13:17:49 +0000 (15:17 +0200)]
Revert "kill useless code"

This reverts commit 51b60f41f037171a411e084cc07f276a800800f5.

2 years agoAdd (too?) simple test for privatization.
degomme [Wed, 3 May 2017 08:14:34 +0000 (10:14 +0200)]
Add (too?) simple test for privatization.
Tests mmap if present, and dlopen every time (it should work on all systems)

2 years agoNew option: smpi/keep-temps to not cleanup temp files
Martin Quinson [Wed, 3 May 2017 00:10:34 +0000 (02:10 +0200)]
New option: smpi/keep-temps to not cleanup temp files

(fix #160)

2 years agosmpicc: fail on undefined symbols (fix #161)
Martin Quinson [Tue, 2 May 2017 23:39:54 +0000 (01:39 +0200)]
smpicc: fail on undefined symbols (fix #161)

2 years agoMake the logs more robust to user's stupidity
Martin Quinson [Tue, 2 May 2017 12:13:09 +0000 (14:13 +0200)]
Make the logs more robust to user's stupidity

2 years ago[SMPI] Remove include from smpi_deployment.cpp
Christian Heinrich [Tue, 2 May 2017 10:46:32 +0000 (12:46 +0200)]
[SMPI] Remove include from smpi_deployment.cpp

2 years ago[SMPI] Ported smpi_deployment.cpp to C++
Christian Heinrich [Tue, 2 May 2017 09:08:55 +0000 (11:08 +0200)]
[SMPI] Ported smpi_deployment.cpp to C++

2 years ago[SMPI] Alignment cosmetics
Christian Heinrich [Fri, 28 Apr 2017 12:01:50 +0000 (14:01 +0200)]
[SMPI] Alignment cosmetics

2 years ago[SMPI] Add errno and strerror to SMPI memory error msg
Christian Heinrich [Wed, 26 Apr 2017 11:27:56 +0000 (13:27 +0200)]
[SMPI] Add errno and strerror to SMPI memory error msg

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 2 May 2017 08:07:16 +0000 (10:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoFix the execution with NS3
Martin Quinson [Mon, 1 May 2017 20:54:36 +0000 (22:54 +0200)]
Fix the execution with NS3

2 years agofix NS3 and lua builds
Martin Quinson [Mon, 1 May 2017 14:25:58 +0000 (16:25 +0200)]
fix NS3 and lua builds

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 1 May 2017 12:19:09 +0000 (14:19 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agodoc: finish the deployment page (?)
Martin Quinson [Mon, 1 May 2017 09:28:26 +0000 (11:28 +0200)]
doc: finish the deployment page (?)

2 years agoFix java builds
Martin Quinson [Mon, 1 May 2017 07:42:56 +0000 (09:42 +0200)]
Fix java builds

2 years agofix make dist
Martin Quinson [Mon, 1 May 2017 06:54:57 +0000 (08:54 +0200)]
fix make dist

2 years agouppercase the s4u header files (+cleanups)
Martin Quinson [Sun, 30 Apr 2017 21:14:07 +0000 (23:14 +0200)]
uppercase the s4u header files (+cleanups)