Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agocornercases handling
degomme [Wed, 5 Apr 2017 22:28:10 +0000 (00:28 +0200)]
cornercases handling

7 years ago[mc] Install simgrid-mc
Gabriel Corona [Wed, 5 Apr 2017 22:06:49 +0000 (00:06 +0200)]
[mc] Install simgrid-mc

7 years agotry to please MC
Frederic Suter [Wed, 5 Apr 2017 18:25:53 +0000 (20:25 +0200)]
try to please MC

7 years agonew s4u example: chord
Frederic Suter [Wed, 5 Apr 2017 16:56:53 +0000 (18:56 +0200)]
new s4u example: chord
leaking a lot, not perfect, but hopefully better than the C version

7 years agoSuper lazily avoid globals in this test.
degomme [Wed, 5 Apr 2017 16:24:20 +0000 (18:24 +0200)]
Super lazily avoid globals in this test.

7 years agoActivate some more tests.
degomme [Wed, 5 Apr 2017 15:06:25 +0000 (17:06 +0200)]
Activate some more tests.
We almost have everything in MPI3 RMAs, now.
I will try to activate more tests soon.

7 years agoPotential crash --
degomme [Wed, 5 Apr 2017 15:05:22 +0000 (17:05 +0200)]
Potential crash --

7 years agoHave lock and unlock actually behave like they should (terminating both remote and...
degomme [Wed, 5 Apr 2017 15:05:08 +0000 (17:05 +0200)]
Have lock and unlock actually behave like they should (terminating both remote and local requests)

7 years agoPotential crash --
degomme [Wed, 5 Apr 2017 15:04:19 +0000 (17:04 +0200)]
Potential crash --

7 years agoActually we can have locks and fences (erk) in the same program.
degomme [Wed, 5 Apr 2017 15:04:05 +0000 (17:04 +0200)]
Actually we can have locks and fences (erk) in the same program.

7 years agoAdd MPI_Rput, Rget, Raccumulate and Rget_accumulate calls.
degomme [Wed, 5 Apr 2017 15:03:26 +0000 (17:03 +0200)]
Add MPI_Rput, Rget, Raccumulate and Rget_accumulate calls.
They return the request for separate termination instead of putting it in the queue.

7 years agoAdd MPI_Compare_and_swap (normally atomic) call
degomme [Wed, 5 Apr 2017 15:01:59 +0000 (17:01 +0200)]
Add MPI_Compare_and_swap (normally atomic) call

7 years agoWe need this order of parameters, as the user may want to override the default privat...
degomme [Wed, 5 Apr 2017 13:11:14 +0000 (15:11 +0200)]
We need this order of parameters, as the user may want to override the default privatization command.

7 years ago[FIX] Fix broken commit 770f1cc88b3b35c90e505470753b70b95a326b91
Christian Heinrich [Wed, 5 Apr 2017 12:50:44 +0000 (14:50 +0200)]
[FIX] Fix broken commit 770f1cc88b3b35c90e505470753b70b95a326b91

7 years ago[PLUGINS] Added HostLoad::getAverageLoad() to the HostLoad plugin
Christian Heinrich [Wed, 5 Apr 2017 12:32:55 +0000 (14:32 +0200)]
[PLUGINS] Added HostLoad::getAverageLoad() to the HostLoad plugin

This functions returns the average load since the last reset

7 years agoactivate tests
degomme [Tue, 4 Apr 2017 08:06:04 +0000 (10:06 +0200)]
activate tests

7 years agoAdd MPI_Win_lock_all MPI_Win_unlock_all MPI_Win_flush MPI_Win_flush_local MPI_Win_flu...
degomme [Tue, 4 Apr 2017 08:05:58 +0000 (10:05 +0200)]
Add MPI_Win_lock_all MPI_Win_unlock_all MPI_Win_flush MPI_Win_flush_local MPI_Win_flush_all MPI_Win_flush_local_all calls

7 years agoOops, this has to be secured by the mutex
degomme [Tue, 4 Apr 2017 00:27:50 +0000 (02:27 +0200)]
Oops, this has to be secured by the mutex

7 years agoAdd MPI_Fetch_and_op call, which is just a get_accumulate with specific params
degomme [Mon, 3 Apr 2017 12:42:22 +0000 (14:42 +0200)]
Add MPI_Fetch_and_op call, which is just a get_accumulate with specific params

7 years agoOops, we need to store a pointer to the simix process in the smpi process now.
degomme [Mon, 3 Apr 2017 12:41:23 +0000 (14:41 +0200)]
Oops, we need to store a pointer to the simix process in the smpi process now.

7 years agoNo_op has a specific effect, actually, and turns the get_accumulate in a get.
degomme [Mon, 3 Apr 2017 12:38:20 +0000 (14:38 +0200)]
No_op has a specific effect, actually, and turns the get_accumulate in a get.
The standard says it may differ a bit internally.. Or not.

7 years agoWe can start the recv requests directly now, and don't have to wait for a synchro.
degomme [Mon, 3 Apr 2017 12:37:19 +0000 (14:37 +0200)]
We can start the recv requests directly now, and don't have to wait for a synchro.
Doesn't change much as they were async anyway, but it's simpler.

7 years agocleanup, and allow an external process to start a MPI request.
degomme [Mon, 3 Apr 2017 12:36:13 +0000 (14:36 +0200)]
cleanup, and allow an external process to start a MPI request.

7 years agoclose the window if we explicitely tell it's closed
degomme [Mon, 3 Apr 2017 12:35:19 +0000 (14:35 +0200)]
close the window if we explicitely tell it's closed

7 years agono fun if you don't break evertyhing 'cos you're dumb...
Frederic Suter [Tue, 4 Apr 2017 07:45:28 +0000 (09:45 +0200)]
no fun if you don't break evertyhing 'cos you're dumb...

7 years agoadd send with timeout and irecv to this_actor API
Frederic Suter [Tue, 4 Apr 2017 07:30:18 +0000 (09:30 +0200)]
add send with timeout and irecv to this_actor API

7 years agofix bug in asynchronous receive
Frederic Suter [Tue, 4 Apr 2017 07:03:53 +0000 (09:03 +0200)]
fix bug in asynchronous receive
(https://github.com/simgrid/simgrid/issues/144)

7 years agoReally don't do anything in the copy callback if we are in a shared zone.
degomme [Fri, 31 Mar 2017 13:03:39 +0000 (15:03 +0200)]
Really don't do anything in the copy callback if we are in a shared zone.
Attempt to fix https://github.com/simgrid/simgrid/issues/147

7 years agoIncrease our max limit for tag.. because 1M was low, indeed.
degomme [Fri, 31 Mar 2017 12:01:59 +0000 (14:01 +0200)]
Increase our max limit for tag.. because 1M was low, indeed.

7 years agoHide xbt_cfg cruft from smpi tesh files.
degomme [Fri, 31 Mar 2017 09:45:08 +0000 (11:45 +0200)]
Hide xbt_cfg cruft from smpi tesh files.
We need this as privatization may not be activated on some systems, thus outputting a different thing.

7 years agoStop lying. Really activate privatization by default (when supported)
degomme [Fri, 31 Mar 2017 09:44:05 +0000 (11:44 +0200)]
Stop lying. Really activate privatization by default (when supported)

7 years agokill dead code
Frederic Suter [Fri, 31 Mar 2017 07:19:00 +0000 (09:19 +0200)]
kill dead code
heterogenous dicts disappeared a while ago

7 years agofix a bunch of recently introduced smells
Frederic Suter [Fri, 31 Mar 2017 07:08:08 +0000 (09:08 +0200)]
fix a bunch of recently introduced smells

7 years agoanother leak plugged
Frederic Suter [Thu, 30 Mar 2017 14:48:48 +0000 (16:48 +0200)]
another leak plugged

7 years agoleak plug
Frederic Suter [Thu, 30 Mar 2017 14:46:32 +0000 (16:46 +0200)]
leak plug

7 years agodo not initialize surf for nothing
Frederic Suter [Thu, 30 Mar 2017 14:06:53 +0000 (16:06 +0200)]
do not initialize surf for nothing

7 years agoattempt to plug all leaks for simdag.
Frederic Suter [Thu, 30 Mar 2017 12:17:10 +0000 (14:17 +0200)]
attempt to plug all leaks for simdag.
only fill a dynar if you need it, and in this case allocate and free
it yourself

7 years agoremove dead code
Frederic Suter [Thu, 30 Mar 2017 11:19:56 +0000 (13:19 +0200)]
remove dead code

7 years agomodernize two simcalls
Frederic Suter [Thu, 30 Mar 2017 10:49:54 +0000 (12:49 +0200)]
modernize two simcalls
and use a third in msg_io

7 years agoRevert "Revert "cast once for all at surf level and not in the APIs""
Frederic Suter [Thu, 30 Mar 2017 10:37:10 +0000 (12:37 +0200)]
Revert "Revert "cast once for all at surf level and not in the APIs""

This reverts commit fa900b346af7c55195fd90c3345cc4107c2afc6d.

7 years agoRevert "cast once for all at surf level and not in the APIs"
Frederic Suter [Thu, 30 Mar 2017 10:35:31 +0000 (12:35 +0200)]
Revert "cast once for all at surf level and not in the APIs"

This reverts commit 14696475e1a6145501ae0f9d6104a82ab2ffa64d.

7 years agocast once for all at surf level and not in the APIs
Frederic Suter [Thu, 30 Mar 2017 10:15:59 +0000 (12:15 +0200)]
cast once for all at surf level and not in the APIs

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 30 Mar 2017 08:56:31 +0000 (10:56 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agocomplete s4u::Storage interface, what a mess...
Frederic Suter [Thu, 30 Mar 2017 08:53:03 +0000 (10:53 +0200)]
complete s4u::Storage interface, what a mess...
not all storages are put in the static storages_ map

7 years agoReplace linear search by a faster one.
degomme [Wed, 29 Mar 2017 20:17:17 +0000 (22:17 +0200)]
Replace linear search by a faster one.

7 years agooops
degomme [Wed, 29 Mar 2017 11:08:35 +0000 (13:08 +0200)]
oops

7 years agoAdd a smpi/shared-malloc-blocksize option. This is relevant only when global shared...
degomme [Wed, 29 Mar 2017 10:51:38 +0000 (12:51 +0200)]
Add a smpi/shared-malloc-blocksize option. This is relevant only when global shared mallocs mode is used.
This allows to change the size of the fake file used (default 1MB), to potentially limit the number of mappings for large runs.

7 years agotiny optim
degomme [Wed, 29 Mar 2017 10:49:37 +0000 (12:49 +0200)]
tiny optim

7 years agoignore some more memcpys/serialization when a buffer is detected as shared
degomme [Wed, 29 Mar 2017 10:30:51 +0000 (12:30 +0200)]
ignore some more memcpys/serialization when a buffer is detected as shared

7 years agoconnect logs
degomme [Wed, 29 Mar 2017 10:30:10 +0000 (12:30 +0200)]
connect logs

7 years agonothing to see here.
degomme [Tue, 28 Mar 2017 16:59:52 +0000 (18:59 +0200)]
nothing to see here.

7 years agook, let's mess up the includes a bit more.
degomme [Tue, 28 Mar 2017 16:51:01 +0000 (18:51 +0200)]
ok, let's mess up the includes a bit more.

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

7 years agosome compilers don't like unused variables
Frederic Suter [Tue, 28 Mar 2017 15:36:44 +0000 (17:36 +0200)]
some compilers don't like unused variables

7 years agoSplit up smpi_bench.cpp .
degomme [Tue, 28 Mar 2017 11:55:37 +0000 (13:55 +0200)]
Split up smpi_bench.cpp .
Privatization is sent to smpi_memory.cpp (will be renamed later).
smpi_shared* functions are sent to smpi_shared.cpp.
I don't know what to do with trace_call_location yet. bench should only be timing related functions, smpi_sample* and sleep stuff.

7 years agoI think I just killed a simcall
Frederic Suter [Tue, 28 Mar 2017 15:28:40 +0000 (17:28 +0200)]
I think I just killed a simcall

7 years agoleak-- smell++ (C cast to avoid const_cast)
Frederic Suter [Tue, 28 Mar 2017 15:26:33 +0000 (17:26 +0200)]
leak-- smell++ (C cast to avoid const_cast)

7 years agopleasing sonar was a bad idea there
Frederic Suter [Tue, 28 Mar 2017 15:12:28 +0000 (17:12 +0200)]
pleasing sonar was a bad idea there

7 years agotest conversion
Frederic Suter [Tue, 28 Mar 2017 11:56:06 +0000 (13:56 +0200)]
test conversion
not completely satisfying, but storage is a bit messy

7 years agoleak plug and test AS properties
Frederic Suter [Tue, 28 Mar 2017 08:48:22 +0000 (10:48 +0200)]
leak plug and test AS properties

7 years agotypos and leak
Frederic Suter [Tue, 28 Mar 2017 08:01:56 +0000 (10:01 +0200)]
typos and leak

7 years agotracing TODO marks
Lucas M. Schnorr [Tue, 28 Mar 2017 07:39:28 +0000 (09:39 +0200)]
tracing TODO marks

7 years agoplease sonar: this datatype is not used anymore
Martin Quinson [Tue, 28 Mar 2017 07:04:45 +0000 (09:04 +0200)]
please sonar: this datatype is not used anymore

7 years agos4u: fix documentation
Martin Quinson [Sun, 26 Mar 2017 02:03:08 +0000 (04:03 +0200)]
s4u: fix documentation

7 years ago2 a.m. commits are always a good way to fail.
degomme [Tue, 28 Mar 2017 06:25:46 +0000 (08:25 +0200)]
2 a.m. commits are always a good way to fail.

7 years agoMainly on 32 bits systems, target_disp can be seen as negative in one case.
degomme [Tue, 28 Mar 2017 00:05:53 +0000 (02:05 +0200)]
Mainly on 32 bits systems, target_disp can be seen as negative in one case.
This is due to the fact that in this case, the disp is actually an address, which is stored in a signed type.
We can't do much about that, and all MPI libraries I checked have this particular check disabled for this case.

7 years agoAdd an smpi_is_shared call, and ignore memcpys in SMPI copy callback when buffers...
degomme [Mon, 27 Mar 2017 21:19:51 +0000 (23:19 +0200)]
Add an smpi_is_shared call, and ignore memcpys in SMPI copy callback when buffers seem to be in shared memory.
For the global case this means we need to store the metadata as it was done in the local case

7 years agosupport MPI_Op_commutative call, as it was already implemented internally
degomme [Sun, 26 Mar 2017 20:48:14 +0000 (22:48 +0200)]
support MPI_Op_commutative call, as it was already implemented internally

7 years agoactivate some more tests
degomme [Sun, 26 Mar 2017 20:47:41 +0000 (22:47 +0200)]
activate some more tests

7 years agoAdd MPI_Win_allocate, MPI_Win_create_dynamic, MPI_Win_attach, MPI_Win_detach, MPI_Win...
degomme [Fri, 24 Mar 2017 14:52:34 +0000 (15:52 +0100)]
Add MPI_Win_allocate, MPI_Win_create_dynamic, MPI_Win_attach, MPI_Win_detach, MPI_Win_set_info, MPI_Win_get_info.

7 years agoplug leaks
Frederic Suter [Mon, 27 Mar 2017 18:27:59 +0000 (20:27 +0200)]
plug leaks

7 years agofinish to plug ptaskL07 leak
Frederic Suter [Mon, 27 Mar 2017 14:36:08 +0000 (16:36 +0200)]
finish to plug ptaskL07 leak

network and cpu models share the same lmm as the host model. the host
model frees the lmm, but both sub models have to set their local
reference to nullptr before the parent destructors are called to
prevent double free/delete.

7 years agothis test has been converted
Frederic Suter [Mon, 27 Mar 2017 14:17:27 +0000 (16:17 +0200)]
this test has been converted

7 years agodumb me
Frederic Suter [Mon, 27 Mar 2017 12:16:05 +0000 (14:16 +0200)]
dumb me

7 years agoone more conversion
Frederic Suter [Mon, 27 Mar 2017 12:11:51 +0000 (14:11 +0200)]
one more conversion

7 years agomake isend return a ref on the created Comm
Frederic Suter [Mon, 27 Mar 2017 08:57:16 +0000 (10:57 +0200)]
make isend return a ref on the created Comm

7 years agotesh conversion
Frederic Suter [Mon, 27 Mar 2017 08:16:07 +0000 (10:16 +0200)]
tesh conversion
add Mailbox::listen() and this_actor::isend() in the process

7 years agosunday bug chase
Frederic Suter [Sun, 26 Mar 2017 14:36:17 +0000 (16:36 +0200)]
sunday bug chase

7 years agomostly cosmetics
Frederic Suter [Sun, 26 Mar 2017 14:03:54 +0000 (16:03 +0200)]
mostly cosmetics

7 years agodict to map for storage model properties
Frederic Suter [Sun, 26 Mar 2017 13:31:59 +0000 (15:31 +0200)]
dict to map for storage model properties

7 years agofix build?
Frederic Suter [Sun, 26 Mar 2017 13:01:22 +0000 (15:01 +0200)]
fix build?

7 years agosunday smell chase
Frederic Suter [Sun, 26 Mar 2017 12:47:35 +0000 (14:47 +0200)]
sunday smell chase

7 years agoconversion++
Frederic Suter [Sun, 26 Mar 2017 11:11:21 +0000 (13:11 +0200)]
conversion++

7 years agoone more teshsuite convertion
Frederic Suter [Sun, 26 Mar 2017 10:28:12 +0000 (12:28 +0200)]
one more teshsuite convertion
a couple extra s4u methods were needed

7 years agobetter with that file ...
Frederic Suter [Fri, 24 Mar 2017 16:25:15 +0000 (17:25 +0100)]
better with that file ...

7 years agoTESH: msg to s4u - act 1
Frederic Suter [Fri, 24 Mar 2017 16:23:33 +0000 (17:23 +0100)]
TESH: msg to s4u - act 1

7 years agobug-- and a bit less brain overload
Frederic Suter [Fri, 24 Mar 2017 12:29:24 +0000 (13:29 +0100)]
bug-- and a bit less brain overload

7 years agomatch new with delete in fact
Frederic Suter [Fri, 24 Mar 2017 12:28:35 +0000 (13:28 +0100)]
match new with delete in fact

7 years agorestore a check ensuring that this example is not used on an inadapted platform
Martin Quinson [Fri, 24 Mar 2017 12:14:45 +0000 (13:14 +0100)]
restore a check ensuring that  this example is not used on an inadapted platform

7 years agomatch free with mallocs
Martin Quinson [Fri, 24 Mar 2017 10:25:29 +0000 (11:25 +0100)]
match free with mallocs

That's weird to put a free here, but having a new sg_size_t would be
even worse, wouldn't it?

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 24 Mar 2017 10:44:52 +0000 (11:44 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoplug leak
Frederic Suter [Fri, 24 Mar 2017 10:44:43 +0000 (11:44 +0100)]
plug leak

7 years agoimprove that mess a bit
Frederic Suter [Fri, 24 Mar 2017 10:44:16 +0000 (11:44 +0100)]
improve that mess a bit

7 years agono need to test if hard coded value is in a range
Frederic Suter [Fri, 24 Mar 2017 07:44:30 +0000 (08:44 +0100)]
no need to test if hard coded value is in a range

7 years agopet sonar: kill a 'using namespace'
Martin Quinson [Thu, 23 Mar 2017 23:30:43 +0000 (00:30 +0100)]
pet sonar: kill a 'using namespace'

7 years agosonar: ignore missing namespaces in examples
Martin Quinson [Thu, 23 Mar 2017 23:15:34 +0000 (00:15 +0100)]
sonar: ignore missing namespaces in examples

7 years agopetting sonar as every night before bed
Martin Quinson [Thu, 23 Mar 2017 22:28:16 +0000 (23:28 +0100)]
petting sonar as every night before bed

7 years agofix case of a header file
Martin Quinson [Thu, 23 Mar 2017 15:58:59 +0000 (16:58 +0100)]
fix case of a header file

7 years agoAdd s4u::Mutex to the doc
Martin Quinson [Thu, 23 Mar 2017 15:58:30 +0000 (16:58 +0100)]
Add s4u::Mutex to the doc

7 years agono need to call cimix everytime for that
Frederic Suter [Thu, 23 Mar 2017 12:39:36 +0000 (13:39 +0100)]
no need to call cimix everytime for that