Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agofix non-MC builds
Martin Quinson [Tue, 4 Jul 2017 00:04:19 +0000 (02:04 +0200)]
fix non-MC builds

3 years agoplease clang
Martin Quinson [Tue, 4 Jul 2017 00:04:05 +0000 (02:04 +0200)]
please clang

3 years agofinish removing simix.h from C files, and avoid the use of Ptr when not needed
Martin Quinson [Mon, 3 Jul 2017 23:58:04 +0000 (01:58 +0200)]
finish removing simix.h from C files, and avoid the use of Ptr when not needed

3 years agotry to speed up the refcounting madness by using std::move
Martin Quinson [Mon, 3 Jul 2017 19:48:08 +0000 (21:48 +0200)]
try to speed up the refcounting madness by using std::move

3 years agoplease henri, add recv with timeout.
Frederic Suter [Mon, 3 Jul 2017 15:58:45 +0000 (17:58 +0200)]
please henri, add recv with timeout.

3 years agoplease sonar
Frederic Suter [Mon, 3 Jul 2017 08:13:52 +0000 (10:13 +0200)]
please sonar

3 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Sun, 2 Jul 2017 21:33:31 +0000 (23:33 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

3 years agoremove simix.h from one more C file
Martin Quinson [Sun, 2 Jul 2017 21:32:43 +0000 (23:32 +0200)]
remove simix.h from one more C file

3 years agoremove simix.h from two more C files
Martin Quinson [Sat, 1 Jul 2017 21:20:53 +0000 (23:20 +0200)]
remove simix.h from two more C files

3 years agorename SIMIX_host_self() into sg_host_self(), and make it public
Martin Quinson [Sat, 1 Jul 2017 21:12:27 +0000 (23:12 +0200)]
rename SIMIX_host_self() into sg_host_self(), and make it public

3 years agoonly take the public part of MC within the mallocators
Martin Quinson [Sat, 1 Jul 2017 08:27:46 +0000 (10:27 +0200)]
only take the public part of MC within the mallocators

I'm trying to not load simix.h from C code anymore, to ease the work
on ActivityImpl.

3 years agoregenerate the simcall code -- sorry for the noisy commit
Martin Quinson [Fri, 30 Jun 2017 23:40:38 +0000 (01:40 +0200)]
regenerate the simcall code -- sorry for the noisy commit

3 years agotry to reduce the amount of casts by using the right type for simcalls
Martin Quinson [Fri, 30 Jun 2017 23:39:28 +0000 (01:39 +0200)]
try to reduce the amount of casts by using the right type for simcalls

3 years agogenerate code that does not drive clang-format crazy
Martin Quinson [Fri, 30 Jun 2017 23:06:33 +0000 (01:06 +0200)]
generate code that does not drive clang-format crazy

3 years agoplease sonar
Martin Quinson [Fri, 30 Jun 2017 23:03:42 +0000 (01:03 +0200)]
please sonar

3 years agoMerge pull request #193 from Takishipp/signals
Martin Quinson [Fri, 30 Jun 2017 20:38:10 +0000 (22:38 +0200)]
Merge pull request #193 from Takishipp/signals

get sg_instr_new_router through a signal

3 years agowell, v3.8 was released a while ago, now :)
Martin Quinson [Fri, 30 Jun 2017 15:29:17 +0000 (17:29 +0200)]
well, v3.8 was released a while ago, now :)

This paragraph kept away from us
https://theses.ncl.ac.uk/dspace/bitstream/10443/2981/1/Alabdulhafez,%20A%202015.pdf

3 years agoget sg_instr_new_router through a signal
Takishipp [Fri, 30 Jun 2017 10:18:49 +0000 (12:18 +0200)]
get sg_instr_new_router through a signal

3 years agomake it possible to destroy the engine
Martin Quinson [Thu, 29 Jun 2017 20:56:31 +0000 (22:56 +0200)]
make it possible to destroy the engine

3 years agoVM migration: do not precompute dp_rate
Martin Quinson [Wed, 28 Jun 2017 11:57:36 +0000 (13:57 +0200)]
VM migration: do not precompute dp_rate

Before, the rate was computed at VM creation, which would have lead to
wrong results if the host_speed changes between the time at with the
VM is created and the migration time.

(fix #191)

3 years agoinclude build path before source path to ease out of source builds
Martin Quinson [Wed, 28 Jun 2017 11:20:30 +0000 (13:20 +0200)]
include build path before source path to ease out of source builds

3 years agocmake/java: don't rebuild the libs before building the jar if we won't pack them
Martin Quinson [Wed, 28 Jun 2017 11:19:39 +0000 (13:19 +0200)]
cmake/java: don't rebuild the libs before building the jar if we won't pack them

3 years agohardlinks target now recreate the links
Martin Quinson [Wed, 28 Jun 2017 09:34:13 +0000 (11:34 +0200)]
hardlinks target now recreate the links

A file got desynch'ed on my disk. Maybe git did remove and recreate it?

3 years agouse a msg_barrier instead of smx synchro in this example
Martin Quinson [Wed, 28 Jun 2017 09:25:27 +0000 (11:25 +0200)]
use a msg_barrier instead of smx synchro in this example

3 years agouse MSG_bar instead of xbt_mutex in this example
Martin Quinson [Tue, 27 Jun 2017 21:23:22 +0000 (23:23 +0200)]
use MSG_bar instead of xbt_mutex in this example

3 years agocosmetics
Martin Quinson [Tue, 27 Jun 2017 20:57:06 +0000 (22:57 +0200)]
cosmetics

3 years agoMC: compute if a COMM_WAIT is enabled with the activity only, w/o the request
Martin Quinson [Tue, 27 Jun 2017 20:44:07 +0000 (22:44 +0200)]
MC: compute if a COMM_WAIT is enabled with the activity only, w/o the request

3 years agoplease sonar and simplify simcalls (before killing them)
Frederic Suter [Wed, 28 Jun 2017 08:51:54 +0000 (10:51 +0200)]
please sonar and simplify simcalls (before killing them)

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 28 Jun 2017 08:28:15 +0000 (10:28 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 27 Jun 2017 17:45:36 +0000 (19:45 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agomake it easier to see the problem in this (failing) test
Martin Quinson [Tue, 27 Jun 2017 17:44:42 +0000 (19:44 +0200)]
make it easier to see the problem in this (failing) test

3 years agomore cruft removed
Frederic Suter [Tue, 27 Jun 2017 15:55:01 +0000 (17:55 +0200)]
more cruft removed

3 years agoclean up that mess of layers
Frederic Suter [Tue, 27 Jun 2017 15:22:07 +0000 (17:22 +0200)]
clean up that mess of layers

3 years agoadd missing includes
Frederic Suter [Tue, 27 Jun 2017 10:42:43 +0000 (12:42 +0200)]
add missing includes

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 27 Jun 2017 10:18:22 +0000 (12:18 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agodestroy all hosts before destroying the engine (fix #185)
Martin Quinson [Mon, 26 Jun 2017 15:31:17 +0000 (17:31 +0200)]
destroy all hosts before destroying the engine (fix #185)

3 years agono need for a backtrace if the file does not exist
Martin Quinson [Mon, 26 Jun 2017 15:30:38 +0000 (17:30 +0200)]
no need for a backtrace if the file does not exist

3 years agoWIP. crude surf_file_t to FileImpl conversion
Frederic Suter [Mon, 26 Jun 2017 14:50:01 +0000 (16:50 +0200)]
WIP. crude surf_file_t to FileImpl conversion

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 26 Jun 2017 09:25:15 +0000 (11:25 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoplug leak of file unlink
Frederic Suter [Mon, 26 Jun 2017 09:22:46 +0000 (11:22 +0200)]
plug leak of file unlink

3 years agojust a couple of smells
Frederic Suter [Mon, 26 Jun 2017 09:07:11 +0000 (11:07 +0200)]
just a couple of smells

3 years agoplease codacy
Martin Quinson [Sun, 25 Jun 2017 13:08:03 +0000 (15:08 +0200)]
please codacy

3 years agoplease codacy
Martin Quinson [Sat, 24 Jun 2017 17:29:35 +0000 (19:29 +0200)]
please codacy

3 years agostart the v3.17 development cycle
Martin Quinson [Fri, 23 Jun 2017 07:43:36 +0000 (09:43 +0200)]
start the v3.17 development cycle

3 years agorelease v3.16 v3.16
Martin Quinson [Thu, 22 Jun 2017 20:55:16 +0000 (22:55 +0200)]
release v3.16

3 years agoimprove an error message
Martin Quinson [Thu, 22 Jun 2017 20:39:21 +0000 (22:39 +0200)]
improve an error message

This seems to occur on FreeBSD when killing an actor within a Java
simulation. But who does this?

3 years agoimprove the Changelog and NEWS file
Martin Quinson [Thu, 22 Jun 2017 19:56:33 +0000 (21:56 +0200)]
improve the Changelog and NEWS file

no ci

3 years agoFIX THE LAST BORKEN TEST \o/
Martin Quinson [Thu, 22 Jun 2017 18:37:30 +0000 (20:37 +0200)]
FIX THE LAST BORKEN TEST \o/

3 years agoliveness tests are working, when I'm not adding a memleak on the critical path
Martin Quinson [Thu, 22 Jun 2017 05:30:37 +0000 (07:30 +0200)]
liveness tests are working, when I'm not adding a memleak on the critical path

3 years agovCPU overcommit will not be fixed before the release
Martin Quinson [Thu, 22 Jun 2017 05:23:53 +0000 (07:23 +0200)]
vCPU overcommit will not be fixed before the release

3 years agoproposal for a NEWS file
Martin Quinson [Wed, 21 Jun 2017 21:23:05 +0000 (23:23 +0200)]
proposal for a NEWS file

3 years agofurther handle my sonar backlog
Martin Quinson [Wed, 21 Jun 2017 09:30:55 +0000 (11:30 +0200)]
further handle my sonar backlog

3 years agoreduce redudancy
Martin Quinson [Wed, 21 Jun 2017 09:23:39 +0000 (11:23 +0200)]
reduce redudancy

3 years agocreate the VMs with the right coreAmount
Martin Quinson [Wed, 21 Jun 2017 08:30:11 +0000 (10:30 +0200)]
create the VMs with the right coreAmount

3 years agoeclipse: search internal_config where it is, even if it's ignored
Martin Quinson [Wed, 21 Jun 2017 08:28:44 +0000 (10:28 +0200)]
eclipse: search internal_config where it is, even if it's ignored

3 years agotesh: TODO--
Martin Quinson [Wed, 21 Jun 2017 08:27:08 +0000 (10:27 +0200)]
tesh: TODO--

3 years agomore codacy treats to start the day
Martin Quinson [Wed, 21 Jun 2017 07:31:54 +0000 (09:31 +0200)]
more codacy treats to start the day

3 years agotesh: codacy treats
Martin Quinson [Wed, 21 Jun 2017 06:46:51 +0000 (08:46 +0200)]
tesh: codacy treats

3 years agodoc improvement [no ci]
Martin Quinson [Wed, 21 Jun 2017 06:11:03 +0000 (08:11 +0200)]
doc improvement [no ci]

3 years agomake it possible to free the storage content from the C code
Martin Quinson [Wed, 21 Jun 2017 05:34:49 +0000 (07:34 +0200)]
make it possible to free the storage content from the C code

3 years agofix insider trick
Martin Quinson [Tue, 20 Jun 2017 20:50:14 +0000 (22:50 +0200)]
fix insider trick

3 years agoeclipse: ignore the build directory
Martin Quinson [Tue, 20 Jun 2017 20:49:50 +0000 (22:49 +0200)]
eclipse: ignore the build directory

3 years agowoops, fix the refcounting of activityImpl
Martin Quinson [Tue, 20 Jun 2017 20:49:20 +0000 (22:49 +0200)]
woops, fix the refcounting of activityImpl

3 years agodisable liveness tests again
Martin Quinson [Tue, 20 Jun 2017 13:25:35 +0000 (15:25 +0200)]
disable liveness tests again

3 years agoSimplify intrusive_ptr_release to speed it up and fix a race condition
Martin Quinson [Tue, 20 Jun 2017 12:31:23 +0000 (14:31 +0200)]
Simplify intrusive_ptr_release to speed it up and fix a race condition

3 years agoa word about the energy model accuracy
Martin Quinson [Tue, 20 Jun 2017 09:22:20 +0000 (11:22 +0200)]
a word about the energy model accuracy

3 years agoseparate the energy plugin from surf in the doc + improvements
Martin Quinson [Tue, 20 Jun 2017 06:50:31 +0000 (08:50 +0200)]
separate the energy plugin from surf in the doc + improvements

3 years agooops
Frederic Suter [Tue, 20 Jun 2017 08:32:14 +0000 (10:32 +0200)]
oops

3 years agoa few codacy treats
Frederic Suter [Tue, 20 Jun 2017 08:12:10 +0000 (10:12 +0200)]
a few codacy treats

3 years agostill improving my workflow with my new outoftree toy
Martin Quinson [Tue, 20 Jun 2017 05:55:55 +0000 (07:55 +0200)]
still improving my workflow with my new outoftree toy

3 years agofix NS3 builds
Martin Quinson [Tue, 20 Jun 2017 05:55:34 +0000 (07:55 +0200)]
fix NS3 builds

3 years agofix some more MC examples
Martin Quinson [Mon, 19 Jun 2017 21:48:52 +0000 (23:48 +0200)]
fix some more MC examples

3 years agouse only 2 hosts; usefull when called on two_hosts.xml
Martin Quinson [Mon, 19 Jun 2017 21:34:11 +0000 (23:34 +0200)]
use only 2 hosts; usefull when called on two_hosts.xml

3 years agosome insider tricks
Martin Quinson [Mon, 19 Jun 2017 21:21:11 +0000 (23:21 +0200)]
some insider tricks

3 years agoadd a hardlinks target to ease working with out-of-tree builds
Martin Quinson [Mon, 19 Jun 2017 21:20:52 +0000 (23:20 +0200)]
add a hardlinks target to ease working with out-of-tree builds

3 years agorevalidate the tesh files
Martin Quinson [Mon, 19 Jun 2017 20:10:43 +0000 (22:10 +0200)]
revalidate the tesh files

3 years agoadapt these tests to the fact that the hosts are now multicores
Martin Quinson [Mon, 19 Jun 2017 20:10:32 +0000 (22:10 +0200)]
adapt these tests to the fact that the hosts are now multicores

3 years agoadapt the platform examples to the new energy model checks
Martin Quinson [Mon, 19 Jun 2017 20:09:38 +0000 (22:09 +0200)]
adapt the platform examples to the new energy model checks

3 years agoenergy: improve the documentation, and have a sensible assert when cores=1
Martin Quinson [Mon, 19 Jun 2017 18:41:33 +0000 (20:41 +0200)]
energy: improve the documentation, and have a sensible assert when cores=1

3 years agoRevert "platform change impacts java too"
Martin Quinson [Mon, 19 Jun 2017 14:10:40 +0000 (16:10 +0200)]
Revert "platform change impacts java too"

This reverts commit db53dd2fb0c95b25eebb7da2bccab7a4359c3441.

3 years agoRevert "[ENERGY] Assert that 1-core systems are correctly configured."
Martin Quinson [Mon, 19 Jun 2017 14:10:34 +0000 (16:10 +0200)]
Revert "[ENERGY] Assert that 1-core systems are correctly configured."

This reverts commit 7cb96467cddc465b7b0f8f819755bc9c850198c5.

3 years agoplatform change impacts java too
Frederic Suter [Mon, 19 Jun 2017 13:03:12 +0000 (15:03 +0200)]
platform change impacts java too

3 years agodict/32-bit combo from hell!
Frederic Suter [Mon, 19 Jun 2017 13:00:00 +0000 (15:00 +0200)]
dict/32-bit combo from hell!

3 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Mon, 19 Jun 2017 12:20:49 +0000 (14:20 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

3 years agocosmetics
Martin Quinson [Mon, 19 Jun 2017 12:20:29 +0000 (14:20 +0200)]
cosmetics

3 years agoplug a memleak
Martin Quinson [Mon, 19 Jun 2017 12:13:22 +0000 (14:13 +0200)]
plug a memleak

3 years agoMerge pull request #190 from Takishipp/clean_events
Martin Quinson [Mon, 19 Jun 2017 12:20:00 +0000 (14:20 +0200)]
Merge pull request #190 from Takishipp/clean_events

fix leak of memory caused by DefineEventTypeEvent call

3 years agobummer
Frederic Suter [Mon, 19 Jun 2017 11:44:14 +0000 (13:44 +0200)]
bummer

3 years agofix test (hate dict) and please sonar
Frederic Suter [Mon, 19 Jun 2017 11:12:19 +0000 (13:12 +0200)]
fix test (hate dict) and please sonar

3 years agofix leak of memory caused by DefineEventTypeEvent call
Takishipp [Mon, 19 Jun 2017 09:59:25 +0000 (11:59 +0200)]
fix leak of memory caused by DefineEventTypeEvent call

3 years agofix clang (try #2)
Frederic Suter [Mon, 19 Jun 2017 09:11:30 +0000 (11:11 +0200)]
fix clang (try #2)

3 years agotry to please clang
Frederic Suter [Mon, 19 Jun 2017 09:05:53 +0000 (11:05 +0200)]
try to please clang

3 years agotry to fix build by adding back some includes
Frederic Suter [Mon, 19 Jun 2017 08:40:47 +0000 (10:40 +0200)]
try to fix build by adding back some includes

3 years agomassive cleanups in the storage world.
Frederic Suter [Mon, 19 Jun 2017 08:26:18 +0000 (10:26 +0200)]
massive cleanups in the storage world.
Next step will be to improve the file management

3 years agoActivityImplPtr are not part of any C struct, only C++ classes
Martin Quinson [Mon, 19 Jun 2017 07:16:42 +0000 (09:16 +0200)]
ActivityImplPtr are not part of any C struct, only C++ classes

the refcounting fails on malloc/free. We need new/delete for that.

3 years agomove the C++ data of MSG into a namespace
Martin Quinson [Mon, 19 Jun 2017 07:01:24 +0000 (09:01 +0200)]
move the C++ data of MSG into a namespace

3 years agotypo
Martin Quinson [Mon, 19 Jun 2017 06:26:48 +0000 (08:26 +0200)]
typo

3 years agoand now, a correct implementation of this_actor::isMaestro()
Martin Quinson [Sun, 18 Jun 2017 20:42:52 +0000 (22:42 +0200)]
and now, a correct implementation of this_actor::isMaestro()

3 years agoNew: this_actor::isMaestro() returns whether we are in kernel mode
Martin Quinson [Sun, 18 Jun 2017 20:14:08 +0000 (22:14 +0200)]
New: this_actor::isMaestro() returns whether we are in kernel mode

3 years agomake it possible to run this test with any platform
Martin Quinson [Sat, 17 Jun 2017 22:27:10 +0000 (00:27 +0200)]
make it possible to run this test with any platform