Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agomake some C functions as such to please sonar
Martin Quinson [Wed, 15 Feb 2017 15:37:01 +0000 (16:37 +0100)]
make some C functions as such to please sonar

2 years agonew callback: s4u::onTimeAdvance
Martin Quinson [Wed, 15 Feb 2017 15:31:53 +0000 (16:31 +0100)]
new callback: s4u::onTimeAdvance

2 years agonew signal s4u::Host::onSpeedChange: when pstate is changed (or similar)
Martin Quinson [Wed, 15 Feb 2017 15:19:28 +0000 (16:19 +0100)]
new signal s4u::Host::onSpeedChange: when pstate is changed (or similar)

2 years agoput all of the host_energy plugin in one file only
Martin Quinson [Wed, 15 Feb 2017 14:51:36 +0000 (15:51 +0100)]
put all of the host_energy plugin in one file only

2 years agoMake room for the upcoming network energy plugin
Martin Quinson [Wed, 15 Feb 2017 14:33:21 +0000 (15:33 +0100)]
Make room for the upcoming network energy plugin

2 years agoadd NetworkAction::links(), similar to CpuAction::cpus() for Betsegaw
Martin Quinson [Wed, 15 Feb 2017 14:30:53 +0000 (15:30 +0100)]
add NetworkAction::links(), similar to CpuAction::cpus() for Betsegaw

2 years agokill dead code
Martin Quinson [Tue, 14 Feb 2017 15:54:00 +0000 (16:54 +0100)]
kill dead code

2 years agoRevert "Store this size in a fixed sized, as potentially this could overflow"
degomme [Wed, 15 Feb 2017 01:22:10 +0000 (02:22 +0100)]
Revert "Store this size in a fixed sized, as potentially this could overflow"
This is not the bug I was looking for, and printf is annoying, so let's postpone this one for tomorrow

This reverts commit a7eafe040faedcc0987b01b878672faec769d3f7.

2 years agoStore this size in a fixed sized, as potentially this could overflow
degomme [Wed, 15 Feb 2017 01:07:06 +0000 (02:07 +0100)]
Store this size in a fixed sized, as potentially this could overflow

2 years agoThis computation was incorrect and actually prevented this case to happen.
degomme [Wed, 15 Feb 2017 01:05:35 +0000 (02:05 +0100)]
This computation was incorrect and actually prevented this case to happen.
This may fix the last bugs in privatization on some systems

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 14 Feb 2017 16:39:07 +0000 (17:39 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agotoying with this mess of a code
Frederic Suter [Tue, 14 Feb 2017 16:34:30 +0000 (17:34 +0100)]
toying with this mess of a code

2 years agobackport
Frederic Suter [Tue, 14 Feb 2017 16:34:14 +0000 (17:34 +0100)]
backport

2 years agodocument cruft
Martin Quinson [Tue, 14 Feb 2017 15:27:16 +0000 (16:27 +0100)]
document cruft

2 years agoDon't hide the cruft, even to please sonar. Document it instead.
Martin Quinson [Tue, 14 Feb 2017 15:18:19 +0000 (16:18 +0100)]
Don't hide the cruft, even to please sonar. Document it instead.

This would really make the code more ugly. Instead, add a comment
explaining why, and I'll make the issue as wontfix in sonar.

This reverts commit 33231edf2cf2a3615965d676f3d5c7f37a951569.

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 14 Feb 2017 13:08:58 +0000 (14:08 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agosteal a bunch of easy commits and please sonar
Frederic Suter [Tue, 14 Feb 2017 12:21:33 +0000 (13:21 +0100)]
steal a bunch of easy commits and please sonar

2 years agosonar: disable rule cpp:PPStringifyAndPastingUsage
Martin Quinson [Tue, 14 Feb 2017 13:06:22 +0000 (14:06 +0100)]
sonar: disable rule cpp:PPStringifyAndPastingUsage

2 years agoPlease sonar.
degomme [Tue, 14 Feb 2017 11:35:56 +0000 (12:35 +0100)]
Please sonar.
Is this really what we want ?

2 years agolet's not used global variables for the sake of it, here.
degomme [Tue, 14 Feb 2017 11:32:01 +0000 (12:32 +0100)]
let's not used global variables for the sake of it, here.

2 years agoManually privatization of mpich tests when needed - improved
degomme [Tue, 14 Feb 2017 11:31:46 +0000 (12:31 +0100)]
Manually privatization of mpich tests when needed - improved

2 years agoIf sonar doesn't like const_cast, then remove the const.
degomme [Tue, 14 Feb 2017 09:45:12 +0000 (10:45 +0100)]
If sonar doesn't like const_cast, then remove the const.

2 years agoget rid of sd_workstation.cpp
Frederic Suter [Tue, 14 Feb 2017 10:14:05 +0000 (11:14 +0100)]
get rid of sd_workstation.cpp
fix sg_host_route_bandwidth function

2 years agofix ns3 builds
Martin Quinson [Tue, 14 Feb 2017 08:39:15 +0000 (09:39 +0100)]
fix ns3 builds

2 years agotell sonar that we will never put our C wrappers in a C++ namespace
Martin Quinson [Tue, 14 Feb 2017 01:34:32 +0000 (02:34 +0100)]
tell sonar that we will never put our C wrappers in a C++ namespace

2 years agoimprove the changelog
Martin Quinson [Tue, 14 Feb 2017 00:45:25 +0000 (01:45 +0100)]
improve the changelog

2 years agocomplete a bit the C wrapper of s4u::Host
Martin Quinson [Tue, 14 Feb 2017 00:45:05 +0000 (01:45 +0100)]
complete a bit the C wrapper of s4u::Host

2 years agocosmetics
Martin Quinson [Tue, 14 Feb 2017 00:14:29 +0000 (01:14 +0100)]
cosmetics

2 years agoFactorize smpi*_f2c, smpi_*c2f and other f77 calls
degomme [Tue, 14 Feb 2017 00:41:22 +0000 (01:41 +0100)]
Factorize smpi*_f2c, smpi_*c2f and other f77 calls

2 years agogeneralize previous type patch
degomme [Mon, 13 Feb 2017 21:41:19 +0000 (22:41 +0100)]
generalize previous type patch

2 years agoThat was added at some point because we couldn't comply. We can, now.
degomme [Mon, 13 Feb 2017 17:10:37 +0000 (18:10 +0100)]
That was added at some point because we couldn't comply. We can, now.

2 years agoactivate some MPI 2.2 tests in fortran
degomme [Mon, 13 Feb 2017 17:10:12 +0000 (18:10 +0100)]
activate some MPI 2.2 tests in fortran

2 years agoAdd support in fortran for user added MPI operations
degomme [Mon, 13 Feb 2017 17:09:52 +0000 (18:09 +0100)]
Add support in fortran for user added MPI operations

2 years agoseparate c2f and type creation. That was a bug (and probably a leak).
degomme [Mon, 13 Feb 2017 17:09:17 +0000 (18:09 +0100)]
separate c2f and type creation. That was a bug (and probably a leak).
I will fix all of the other ones as well.

2 years agoplease sonar by removing 2 redundent forward declaration
Martin Quinson [Mon, 13 Feb 2017 23:05:26 +0000 (00:05 +0100)]
please sonar by removing 2 redundent forward declaration

2 years agomove MailboxImpl to kernel::activity where it belongs
Martin Quinson [Mon, 13 Feb 2017 22:49:10 +0000 (23:49 +0100)]
move MailboxImpl to kernel::activity where it belongs

2 years agocosmetics
Martin Quinson [Mon, 13 Feb 2017 22:28:34 +0000 (23:28 +0100)]
cosmetics

2 years agoalign the Link callbacks with the ones of Host
Martin Quinson [Mon, 13 Feb 2017 22:17:45 +0000 (23:17 +0100)]
align the Link callbacks with the ones of Host

2 years agomove the Link signals to s4u
Martin Quinson [Mon, 13 Feb 2017 22:01:28 +0000 (23:01 +0100)]
move the Link signals to s4u

2 years agoFix for [#136] on github.
degomme [Mon, 13 Feb 2017 14:07:00 +0000 (15:07 +0100)]
Fix for [#136] on github.
We say clearly "# Don't use wc -l to compute it to avoid issues with trailing \n at EOF"
But then we used it anyway...

2 years agosonar found these potential issues .. why not.
degomme [Mon, 13 Feb 2017 14:06:01 +0000 (15:06 +0100)]
sonar found these potential issues .. why not.

2 years agofinish the conversion C++ of simix::MailboxImpl
Martin Quinson [Sun, 12 Feb 2017 20:48:53 +0000 (21:48 +0100)]
finish the conversion C++ of simix::MailboxImpl

2 years agoHopefully the last vars to manually privatize here
degomme [Sun, 12 Feb 2017 20:29:58 +0000 (21:29 +0100)]
Hopefully the last vars to manually privatize here

2 years agomanually privatize one mpich test (just for netbsd, basically)
degomme [Sun, 12 Feb 2017 20:08:45 +0000 (21:08 +0100)]
manually privatize one mpich test (just for netbsd, basically)

2 years agojust forgot to change half of the values I needed to change in here ..
degomme [Sun, 12 Feb 2017 20:05:21 +0000 (21:05 +0100)]
just forgot to change half of the values I needed to change in here ..

2 years agoSeparate boolean from others, as gcc > 6 complains on some operations.
degomme [Sun, 12 Feb 2017 19:08:12 +0000 (20:08 +0100)]
Separate boolean from others, as gcc > 6 complains on some operations.
And actually, this follows the standard.

2 years agowe can stop lying here, we handle these
degomme [Sun, 12 Feb 2017 18:53:03 +0000 (19:53 +0100)]
we can stop lying here, we handle these

2 years agoAdd a few extra layers of macros, to save some lines, and handle more types
degomme [Sun, 12 Feb 2017 18:52:48 +0000 (19:52 +0100)]
Add a few extra layers of macros, to save some lines, and handle more types

2 years agoreduce size of some tests, to save some time
degomme [Sun, 12 Feb 2017 13:11:36 +0000 (14:11 +0100)]
reduce size of some tests, to save some time

2 years agoincrease a timeout that fires on me from time to time
Martin Quinson [Sun, 12 Feb 2017 11:52:29 +0000 (12:52 +0100)]
increase a timeout that fires on me from time to time

2 years ago(partially) convert simix::MailboxImpl to C++
Martin Quinson [Sat, 11 Feb 2017 15:00:37 +0000 (16:00 +0100)]
(partially) convert simix::MailboxImpl to C++

2 years ago...
degomme [Sun, 12 Feb 2017 02:07:39 +0000 (03:07 +0100)]
...

2 years agowarning --
degomme [Sun, 12 Feb 2017 02:01:28 +0000 (03:01 +0100)]
warning --

2 years agoTry to fix mpich tests on systems without privatization
degomme [Sun, 12 Feb 2017 01:57:28 +0000 (02:57 +0100)]
Try to fix mpich tests on systems without privatization

2 years agotry to please 32 bits systems
degomme [Sun, 12 Feb 2017 01:30:58 +0000 (02:30 +0100)]
try to please 32 bits systems

2 years agoplease clang
degomme [Sun, 12 Feb 2017 01:04:41 +0000 (02:04 +0100)]
please clang

2 years agofix dist n°37
degomme [Sun, 12 Feb 2017 00:40:24 +0000 (01:40 +0100)]
fix dist n°37

2 years agoUpdate topo
degomme [Sun, 12 Feb 2017 00:28:48 +0000 (01:28 +0100)]
Update topo

2 years agoAdd a way to ensure MPI_Accumulate are applied in order, as per the *** standard
degomme [Sun, 12 Feb 2017 00:21:11 +0000 (01:21 +0100)]
Add a way to ensure MPI_Accumulate are applied in order, as per the *** standard

2 years agoUpdate RMA tests
degomme [Sun, 12 Feb 2017 00:20:37 +0000 (01:20 +0100)]
Update RMA tests

2 years agoUpdate perf
degomme [Sat, 11 Feb 2017 20:48:07 +0000 (21:48 +0100)]
Update perf

2 years agoUpdate init
degomme [Sat, 11 Feb 2017 20:35:34 +0000 (21:35 +0100)]
Update init

2 years agoUpdate info
degomme [Sat, 11 Feb 2017 20:28:12 +0000 (21:28 +0100)]
Update info

2 years agoUpdate group
degomme [Sat, 11 Feb 2017 20:15:28 +0000 (21:15 +0100)]
Update group

2 years agoFix dist
degomme [Sat, 11 Feb 2017 20:07:54 +0000 (21:07 +0100)]
Fix dist

2 years agoUpdate datatype mpich tests
degomme [Sat, 11 Feb 2017 19:21:30 +0000 (20:21 +0100)]
Update datatype mpich tests

2 years agoUpdate attr tests
degomme [Sat, 11 Feb 2017 18:46:48 +0000 (19:46 +0100)]
Update attr tests

2 years agoActually tell the testsuite that we are claiming to support MPI 2.2.
degomme [Sat, 11 Feb 2017 18:32:02 +0000 (19:32 +0100)]
Actually tell the testsuite that we are claiming to support MPI 2.2.
.. And deactivate the tests that disprove that claim.

2 years agoadd MPI_Reduce_scatter_block support for MPI_IN_PLACE
degomme [Sat, 11 Feb 2017 18:31:09 +0000 (19:31 +0100)]
add MPI_Reduce_scatter_block support for MPI_IN_PLACE

2 years agoWe never supported this one, but it was doing nothing without MPI2.2
degomme [Sat, 11 Feb 2017 17:53:42 +0000 (18:53 +0100)]
We never supported this one, but it was doing nothing without MPI2.2

2 years agoLet's pretend we support MPI 2.2.
degomme [Sat, 11 Feb 2017 17:48:46 +0000 (18:48 +0100)]
Let's pretend we support MPI 2.2.
We don't have everything, but we really have enough support to handle most of the cases.
I hope.
This activates plenty of tests that were doing nothing before.

2 years agodon't go looking for something that does not exist.
degomme [Sat, 11 Feb 2017 17:41:07 +0000 (18:41 +0100)]
don't go looking for something that does not exist.

2 years agofix reduce_scatter in place
degomme [Sat, 11 Feb 2017 17:36:45 +0000 (18:36 +0100)]
fix reduce_scatter in place

2 years agoSupport MPI_IN_PLACE in MPI_Alltoall, MPI_Alltoallv and MPI_Exscan
degomme [Sat, 11 Feb 2017 17:12:58 +0000 (18:12 +0100)]
Support MPI_IN_PLACE in MPI_Alltoall, MPI_Alltoallv and MPI_Exscan
This was introduced in MPI 2.2

2 years agowarnings
degomme [Sat, 11 Feb 2017 16:59:18 +0000 (17:59 +0100)]
warnings

2 years agoAdd MPI_Comm_group_create ... which is basically MPI_Comm_create
degomme [Sat, 11 Feb 2017 13:31:12 +0000 (14:31 +0100)]
Add MPI_Comm_group_create ... which is basically MPI_Comm_create

2 years agoUpdate mpich comm tests
degomme [Sat, 11 Feb 2017 13:30:36 +0000 (14:30 +0100)]
Update mpich comm tests

2 years agoreplace failing algo with a new version from mpich
degomme [Sat, 11 Feb 2017 01:42:02 +0000 (02:42 +0100)]
replace failing algo with a new version from mpich

2 years agoUpgrade coll mpich testlist to new mpich
degomme [Sat, 11 Feb 2017 01:41:42 +0000 (02:41 +0100)]
Upgrade coll mpich testlist to new mpich

2 years agooops
degomme [Fri, 10 Feb 2017 23:30:58 +0000 (00:30 +0100)]
oops

2 years agoUpdate mpich pt2pt tests
degomme [Fri, 10 Feb 2017 23:29:25 +0000 (00:29 +0100)]
Update mpich pt2pt tests

2 years agoUpdate mpich test files.
degomme [Fri, 10 Feb 2017 23:28:21 +0000 (00:28 +0100)]
Update mpich test files.

2 years agofix some potential memory issues with _block MPI datatypes
degomme [Fri, 10 Feb 2017 23:27:03 +0000 (00:27 +0100)]
fix some potential memory issues with _block MPI datatypes

2 years agoAdd MPI_Type_size_x call
degomme [Fri, 10 Feb 2017 23:26:30 +0000 (00:26 +0100)]
Add MPI_Type_size_x call

2 years agoeasily please sonar
Martin Quinson [Fri, 10 Feb 2017 23:21:57 +0000 (00:21 +0100)]
easily please sonar

2 years agosplit simix::MailboxImpl to its own files
Martin Quinson [Fri, 10 Feb 2017 21:50:37 +0000 (22:50 +0100)]
split simix::MailboxImpl to its own files

2 years agorename simix::Mailbox to simix::MailboxImpl for sake of consistency
Martin Quinson [Fri, 10 Feb 2017 21:25:35 +0000 (22:25 +0100)]
rename simix::Mailbox to simix::MailboxImpl for sake of consistency

2 years agorename a header file now that it's clean
Martin Quinson [Fri, 10 Feb 2017 21:20:10 +0000 (22:20 +0100)]
rename a header file now that it's clean

2 years agoobey our naming conventions
Martin Quinson [Fri, 10 Feb 2017 20:59:42 +0000 (21:59 +0100)]
obey our naming conventions

2 years agocosmetics
Martin Quinson [Fri, 10 Feb 2017 14:33:02 +0000 (15:33 +0100)]
cosmetics

2 years agoignore new lib for freebsd (used by libevent)
degomme [Fri, 10 Feb 2017 11:03:10 +0000 (12:03 +0100)]
ignore new lib for freebsd (used by libevent)

2 years agosome captured params for llambda were unused, triggering new warning in clang 5
degomme [Fri, 10 Feb 2017 10:03:12 +0000 (11:03 +0100)]
some captured params for llambda were unused, triggering new warning in clang 5

2 years agoexplicitly capture some other callback's scopes
Martin Quinson [Fri, 10 Feb 2017 01:07:01 +0000 (02:07 +0100)]
explicitly capture some other callback's scopes

2 years agogosh, sonar still chokes on this single function. Better now?
Martin Quinson [Fri, 10 Feb 2017 00:09:18 +0000 (01:09 +0100)]
gosh, sonar still chokes on this single function. Better now?

2 years agosonar complains that these cases are redundant. Fair enough
Martin Quinson [Thu, 9 Feb 2017 23:40:32 +0000 (00:40 +0100)]
sonar complains that these cases are redundant. Fair enough

2 years agoexplicitly capture the variables to please sonar
Martin Quinson [Thu, 9 Feb 2017 22:31:51 +0000 (23:31 +0100)]
explicitly capture the variables to please sonar

2 years agosome cosmetics to please sonar
Martin Quinson [Thu, 9 Feb 2017 20:49:05 +0000 (21:49 +0100)]
some cosmetics to please sonar

2 years agocosmetics
Martin Quinson [Wed, 8 Feb 2017 22:26:04 +0000 (23:26 +0100)]
cosmetics

2 years agomore info to the user.
Martin Quinson [Tue, 7 Feb 2017 15:56:43 +0000 (16:56 +0100)]
more info to the user.

2 years agobe even more informative to the user
Martin Quinson [Tue, 7 Feb 2017 15:18:43 +0000 (16:18 +0100)]
be even more informative to the user