Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoMerge pull request #181 from bcamus/master
Martin Quinson [Thu, 15 Jun 2017 08:43:11 +0000 (10:43 +0200)]
Merge pull request #181 from bcamus/master

Add tests for multi-core VM

3 years agofix the linkage declaration of a function
Martin Quinson [Thu, 15 Jun 2017 05:42:42 +0000 (07:42 +0200)]
fix the linkage declaration of a function

3 years agofix clang build
Martin Quinson [Thu, 15 Jun 2017 01:58:51 +0000 (03:58 +0200)]
fix clang build

3 years agoDon't use the C linkage when we use C++ datatypes
Martin Quinson [Thu, 15 Jun 2017 01:36:57 +0000 (03:36 +0200)]
Don't use the C linkage when we use C++ datatypes

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 15 Jun 2017 01:14:16 +0000 (03:14 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agocorrectly use clumsy xbt_dynar interface
Martin Quinson [Thu, 15 Jun 2017 01:13:35 +0000 (03:13 +0200)]
correctly use clumsy xbt_dynar interface

How can I be so stupid?

3 years agowe manipulate CommPtr and not Comm* nowadays
Martin Quinson [Thu, 15 Jun 2017 00:42:54 +0000 (02:42 +0200)]
we manipulate CommPtr and not Comm* nowadays

don't trust the automatic conversions

3 years agoNow this test may pass
Martin Quinson [Thu, 15 Jun 2017 00:41:07 +0000 (02:41 +0200)]
Now this test may pass

3 years agothese static casts are useless
Martin Quinson [Thu, 15 Jun 2017 00:31:21 +0000 (02:31 +0200)]
these static casts are useless

3 years agoMerge branch 'ActivityPtr' of github.com:simgrid/simgrid into ActivityPtr
Martin Quinson [Wed, 14 Jun 2017 21:46:30 +0000 (23:46 +0200)]
Merge branch 'ActivityPtr' of github.com:simgrid/simgrid into ActivityPtr

3 years agosimplify this test for the ongoing debugging
Martin Quinson [Wed, 14 Jun 2017 21:31:21 +0000 (23:31 +0200)]
simplify this test for the ongoing debugging

3 years agoFox broken CMakeLists.txt
Gabriel Corona [Wed, 14 Jun 2017 21:07:27 +0000 (23:07 +0200)]
Fox broken CMakeLists.txt

3 years agosimple test on waitany
Martin Quinson [Wed, 14 Jun 2017 20:44:14 +0000 (22:44 +0200)]
simple test on waitany

This is the MWE of #170. Thanks, Henri.

3 years agobummer
Martin Quinson [Wed, 14 Jun 2017 20:08:42 +0000 (22:08 +0200)]
bummer

3 years agotry to get the refcounting right on waitany simcalls
Martin Quinson [Wed, 14 Jun 2017 19:35:03 +0000 (21:35 +0200)]
try to get the refcounting right on waitany simcalls

3 years agoMC doesn'y like some of the explicit
Frederic Suter [Wed, 14 Jun 2017 07:33:18 +0000 (09:33 +0200)]
MC doesn'y like some of the explicit

3 years agofix the actor name; improve doc
Martin Quinson [Wed, 14 Jun 2017 07:30:53 +0000 (09:30 +0200)]
fix the actor name; improve doc

3 years agoplease both sonar and codacy
Frederic Suter [Wed, 14 Jun 2017 06:57:05 +0000 (08:57 +0200)]
please both sonar and codacy

3 years agoeradicate all remaining manual refcounting on ActivityImpl
Martin Quinson [Thu, 8 Jun 2017 05:08:24 +0000 (07:08 +0200)]
eradicate all remaining manual refcounting on ActivityImpl

3 years agorefcount should be automatic now, and initialized to 0
Martin Quinson [Thu, 8 Jun 2017 04:56:24 +0000 (06:56 +0200)]
refcount should be automatic now, and initialized to 0

3 years agoAH! there was a remaining manual refcount stain
Martin Quinson [Thu, 8 Jun 2017 00:22:52 +0000 (02:22 +0200)]
AH! there was a remaining manual refcount stain

3 years agocosmetics (+ sleep at the end of test to avoid problems)
Martin Quinson [Thu, 8 Jun 2017 00:06:54 +0000 (02:06 +0200)]
cosmetics (+ sleep at the end of test to avoid problems)

3 years agoimprove the debug messages of smx_network
Martin Quinson [Thu, 8 Jun 2017 00:00:38 +0000 (02:00 +0200)]
improve the debug messages of smx_network

3 years agoCorrectly deal with simcall returning a intrusive_ptr of nullptr
Martin Quinson [Wed, 7 Jun 2017 23:59:46 +0000 (01:59 +0200)]
Correctly deal with simcall returning a intrusive_ptr of nullptr

3 years agoMake sure that the user don't try a detached receive
Martin Quinson [Wed, 7 Jun 2017 23:54:44 +0000 (01:54 +0200)]
Make sure that the user don't try a detached receive

3 years agocorrect refcounting of ActorPtr
Martin Quinson [Wed, 7 Jun 2017 23:54:16 +0000 (01:54 +0200)]
correct refcounting of ActorPtr

3 years agoAdd an exhaustive test for point to point communications
Martin Quinson [Wed, 7 Jun 2017 22:29:34 +0000 (00:29 +0200)]
Add an exhaustive test for point to point communications

3 years agofurther WIP on the ActivityImplPtr feature. Now it compiles (but fails)
Martin Quinson [Wed, 7 Jun 2017 09:17:05 +0000 (11:17 +0200)]
further WIP on the ActivityImplPtr feature. Now it compiles (but fails)

ActivityImplPtr are all over the place, and the manual refcounting is
dead. Most tests still fail, for some reason that I don't understand
yet. That's a WIP...

Notable point:
MC wants to retrieve the pointers to the ActivityImpl in a remote
process, even if their type is ActivityImplPtr (that is,
intrusive_ptr<ActivityImpl>).

The good thing is that in this case, the raw pointer is stored in the
simcall parameters, and the *Ptr type is reconstructed by the marshal
function.

So I just have to generate the <simcall>__getraw__<param/res>()
functions that return the raw pointer without building a *Ptr type. It
compiles, but the MC is broken ATM so maybe it's not sufficient.

I'm committing anyway because I want to add simpler tests for the
communications that would make the debug of this feature easier to
achieve.

3 years agoDeclare and use ActorImplPtr
Martin Quinson [Wed, 7 Jun 2017 09:13:26 +0000 (11:13 +0200)]
Declare and use ActorImplPtr

3 years agoReduce the displayed backtrace
Martin Quinson [Wed, 7 Jun 2017 07:20:13 +0000 (09:20 +0200)]
Reduce the displayed backtrace

3 years agofirst attempt (ongoing WIP)
Martin Quinson [Tue, 6 Jun 2017 06:16:34 +0000 (08:16 +0200)]
first attempt (ongoing WIP)

3 years agokill all trailling whitespaces
Martin Quinson [Tue, 13 Jun 2017 20:15:05 +0000 (22:15 +0200)]
kill all trailling whitespaces

This commit could have been called "VI VI VI, the editor of the beast"
:)

3 years agoplease codacy
Martin Quinson [Tue, 13 Jun 2017 20:06:10 +0000 (22:06 +0200)]
please codacy

3 years agoplease vera++: don't pass vectors by copy
Martin Quinson [Tue, 13 Jun 2017 19:58:34 +0000 (21:58 +0200)]
please vera++: don't pass vectors by copy

3 years agoUpdate changelog for SMPI before release, this time.
degomme [Tue, 13 Jun 2017 16:24:35 +0000 (18:24 +0200)]
Update changelog for SMPI before release, this time.

3 years agoplease sonar, damnit
Martin Quinson [Tue, 13 Jun 2017 16:03:57 +0000 (18:03 +0200)]
please sonar, damnit

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 13 Jun 2017 15:50:54 +0000 (17:50 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoplug leak
Frederic Suter [Tue, 13 Jun 2017 15:50:44 +0000 (17:50 +0200)]
plug leak

3 years agoEnergy: New function to update the consumption of all hosts at once
Martin Quinson [Tue, 13 Jun 2017 15:20:49 +0000 (17:20 +0200)]
Energy: New function to update the consumption of all hosts at once

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 13 Jun 2017 07:07:40 +0000 (09:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agotry to please sonar in a new and innovative way
Martin Quinson [Mon, 12 Jun 2017 20:33:05 +0000 (22:33 +0200)]
try to please sonar in a new and innovative way

it's not quite happy about all our callbacks that don't use all their
parameters. Will see if commenting their names better fits its taste.

It may well find this disgusting too. Will see.

3 years agouse the current syntax in this doc snippet
Martin Quinson [Mon, 12 Jun 2017 20:24:40 +0000 (22:24 +0200)]
use the current syntax in this doc snippet

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 12 Jun 2017 20:23:57 +0000 (22:23 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoa few smells less
Frederic Suter [Mon, 12 Jun 2017 12:35:36 +0000 (14:35 +0200)]
a few smells less

3 years agotry to reduce the ugliness of file management
Frederic Suter [Mon, 12 Jun 2017 11:27:13 +0000 (13:27 +0200)]
try to reduce the ugliness of file management
still a long way to go

3 years agothis is now useless
Frederic Suter [Mon, 12 Jun 2017 08:22:00 +0000 (10:22 +0200)]
this is now useless

3 years agoI'm at ns3.26 now
Martin Quinson [Sun, 11 Jun 2017 22:23:53 +0000 (00:23 +0200)]
I'm at ns3.26 now

3 years agoallow to declare an actor with parameter without going for a full class object
Martin Quinson [Sun, 11 Jun 2017 19:50:18 +0000 (21:50 +0200)]
allow to declare an actor with parameter without going for a full class object

3 years agoanother insider trick
Martin Quinson [Sun, 11 Jun 2017 09:45:42 +0000 (11:45 +0200)]
another insider trick

3 years agoNS3 probably don't like bandwidths in Bytes, so use bits
Martin Quinson [Sat, 10 Jun 2017 19:33:58 +0000 (21:33 +0200)]
NS3 probably don't like bandwidths in Bytes, so use bits

3 years agocosmetics
Martin Quinson [Fri, 9 Jun 2017 20:54:55 +0000 (22:54 +0200)]
cosmetics

3 years agomore doxygen fixes
Martin Quinson [Fri, 9 Jun 2017 13:17:08 +0000 (15:17 +0200)]
more doxygen fixes

3 years agofix a kind of parse error from doxygen
Martin Quinson [Fri, 9 Jun 2017 13:07:53 +0000 (15:07 +0200)]
fix a kind of parse error from doxygen

3 years agokill dead code and plug leak
Frederic Suter [Fri, 9 Jun 2017 04:31:32 +0000 (06:31 +0200)]
kill dead code and plug leak

3 years agowhy doesn't distcheck told me that !?!?
Frederic Suter [Thu, 8 Jun 2017 21:55:04 +0000 (23:55 +0200)]
why doesn't distcheck told me that !?!?

3 years agooops, another module was dropped
Frederic Suter [Thu, 8 Jun 2017 21:42:51 +0000 (23:42 +0200)]
oops, another module was dropped

3 years agoremove useless includes
Frederic Suter [Thu, 8 Jun 2017 21:33:33 +0000 (23:33 +0200)]
remove useless includes

3 years agofix by not using lib at all!
Frederic Suter [Thu, 8 Jun 2017 20:45:07 +0000 (22:45 +0200)]
fix by not using lib at all!

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 8 Jun 2017 20:00:13 +0000 (22:00 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agotry to fix build
Frederic Suter [Thu, 8 Jun 2017 19:59:52 +0000 (21:59 +0200)]
try to fix build
still need this include

3 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Thu, 8 Jun 2017 19:27:18 +0000 (21:27 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

3 years agodistcheck cannot be trusted
Frederic Suter [Thu, 8 Jun 2017 19:10:11 +0000 (21:10 +0200)]
distcheck cannot be trusted

3 years agogetting closer: no more MSG_STORAGE_LEVEL
Frederic Suter [Thu, 8 Jun 2017 19:00:52 +0000 (21:00 +0200)]
getting closer: no more MSG_STORAGE_LEVEL
next step, stop using storage_lib in surf at all, now that it's a mere
map

3 years agoredefine sg_storage_t
Frederic Suter [Thu, 8 Jun 2017 16:49:43 +0000 (18:49 +0200)]
redefine sg_storage_t

3 years agoMerge pull request #184 from Takishipp/signals
Martin Quinson [Thu, 8 Jun 2017 15:29:00 +0000 (17:29 +0200)]
Merge pull request #184 from Takishipp/signals

getting sg_instr_AS_end through a signal structure

3 years agogetting sg_instr_AS_end through a signal structure
Takishipp [Thu, 8 Jun 2017 14:41:29 +0000 (16:41 +0200)]
getting sg_instr_AS_end through a signal structure

3 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Thu, 8 Jun 2017 12:58:25 +0000 (14:58 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

3 years agoMerge pull request #183 from Takishipp/leak_memory
Martin Quinson [Thu, 8 Jun 2017 12:56:05 +0000 (14:56 +0200)]
Merge pull request #183 from Takishipp/leak_memory

Correct the leak of memory that correspond to EndLinEvent

3 years agocorrect the leak of memory that correspond to EndLinEvent
Takishipp [Thu, 8 Jun 2017 12:22:35 +0000 (14:22 +0200)]
correct the leak of memory that correspond to EndLinEvent

3 years agouse ordered map when order is needed
Frederic Suter [Thu, 8 Jun 2017 06:45:03 +0000 (08:45 +0200)]
use ordered map when order is needed

3 years agouse pimpl/piface combo for s4u storage
Frederic Suter [Thu, 8 Jun 2017 05:34:16 +0000 (07:34 +0200)]
use pimpl/piface combo for s4u storage
not perfect but one more towards killing storage_lib (and xbt_lib)

3 years agoreindent
Frederic Suter [Wed, 7 Jun 2017 23:06:08 +0000 (01:06 +0200)]
reindent

3 years agokill dicts and unused code
Frederic Suter [Wed, 7 Jun 2017 22:07:25 +0000 (00:07 +0200)]
kill dicts and unused code

3 years agofix a race condition spotted by TSan
Martin Quinson [Wed, 7 Jun 2017 15:52:26 +0000 (17:52 +0200)]
fix a race condition spotted by TSan

I was hopping that it will help the msg-dht-parallel test that is
broken since a few days, but it's not sufficient. Will see what TSan
has to say next night.

3 years agodoc: move the option index to the top of page to make it visible
Martin Quinson [Wed, 7 Jun 2017 15:52:04 +0000 (17:52 +0200)]
doc: move the option index to the top of page to make it visible

3 years agosmall doc improvement
Martin Quinson [Wed, 7 Jun 2017 15:39:30 +0000 (17:39 +0200)]
small doc improvement

3 years agocreate a NetZone::onCreation signal and use it from instr
Martin Quinson [Wed, 7 Jun 2017 15:30:36 +0000 (17:30 +0200)]
create a NetZone::onCreation signal and use it from instr

3 years agoplug a memleak around instr
Martin Quinson [Wed, 7 Jun 2017 14:51:39 +0000 (16:51 +0200)]
plug a memleak around instr

3 years agofixing codacy warnings on multi-core VM tests + using a dedicated platform file for...
bcamus [Wed, 7 Jun 2017 13:15:06 +0000 (15:15 +0200)]
fixing codacy warnings on multi-core VM tests + using a dedicated platform file for these tests (instead of cluster.xml)

3 years agoadd test for multicore vm
bcamus [Wed, 7 Jun 2017 09:56:35 +0000 (11:56 +0200)]
add test for multicore vm

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 6 Jun 2017 06:34:33 +0000 (08:34 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agotry to catch some leaks
Frederic Suter [Tue, 6 Jun 2017 06:30:31 +0000 (08:30 +0200)]
try to catch some leaks

3 years agofix S4U chord example \o/
Frederic Suter [Tue, 6 Jun 2017 01:46:51 +0000 (03:46 +0200)]
fix S4U chord example \o/

3 years agotiny stuff
Frederic Suter [Tue, 6 Jun 2017 01:02:02 +0000 (03:02 +0200)]
tiny stuff

3 years agoreindent
Martin Quinson [Mon, 5 Jun 2017 20:30:55 +0000 (22:30 +0200)]
reindent

3 years agomake it possible to return intrusive_ptr in simcalls
Martin Quinson [Sun, 4 Jun 2017 07:10:57 +0000 (09:10 +0200)]
make it possible to return intrusive_ptr in simcalls

3 years agoplease codacy a bit
Martin Quinson [Sat, 3 Jun 2017 20:09:37 +0000 (22:09 +0200)]
please codacy a bit

3 years agoMerge pull request #179 from Takishipp/signals
Martin Quinson [Fri, 2 Jun 2017 15:04:57 +0000 (17:04 +0200)]
Merge pull request #179 from Takishipp/signals

call sg_instr_new_host via signal call

3 years agorename a method
Martin Quinson [Fri, 2 Jun 2017 14:51:49 +0000 (16:51 +0200)]
rename a method

3 years agoremove the useless prototype of sg_instr_new_host
Takishipp [Fri, 2 Jun 2017 12:32:04 +0000 (14:32 +0200)]
remove the useless prototype of sg_instr_new_host

3 years agons3 routes are always symmetrical, don't dupplicate them
Martin Quinson [Fri, 2 Jun 2017 09:32:39 +0000 (11:32 +0200)]
ns3 routes are always symmetrical, don't dupplicate them

3 years agocleanups after PR #177
Martin Quinson [Fri, 2 Jun 2017 09:00:33 +0000 (11:00 +0200)]
cleanups after PR #177

3 years agocosmetics and reindent
Martin Quinson [Fri, 2 Jun 2017 08:47:05 +0000 (10:47 +0200)]
cosmetics and reindent

3 years agofurther cut the sorted diff to not overflow travis
Martin Quinson [Fri, 2 Jun 2017 08:16:56 +0000 (10:16 +0200)]
further cut the sorted diff to not overflow travis

3 years agoplease sonar a tiny bit
Martin Quinson [Fri, 2 Jun 2017 08:15:25 +0000 (10:15 +0200)]
please sonar a tiny bit

3 years agogit-format: don't fail if there is nothing to do
Martin Quinson [Fri, 2 Jun 2017 05:40:39 +0000 (07:40 +0200)]
git-format: don't fail if there is nothing to do

3 years agoDon't try to assist the eclipse parser here: it hurts the feeling of clang
Martin Quinson [Fri, 2 Jun 2017 05:38:49 +0000 (07:38 +0200)]
Don't try to assist the eclipse parser here: it hurts the feeling of clang

3 years agoMerge pull request #177 from Takishipp/sd_exit
Martin Quinson [Fri, 2 Jun 2017 08:56:33 +0000 (10:56 +0200)]
Merge pull request #177 from Takishipp/sd_exit

Use automated call to sd_exit

3 years agoadd nochecking for sd initialization
Takishipp [Fri, 2 Jun 2017 08:51:55 +0000 (10:51 +0200)]
add nochecking for sd initialization

3 years agoadd clean-atexit test
Takishipp [Fri, 2 Jun 2017 08:41:53 +0000 (10:41 +0200)]
add clean-atexit test