Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agocmake: better error message
Martin Quinson [Mon, 31 Oct 2016 23:53:11 +0000 (00:53 +0100)]
cmake: better error message

3 years agocosmetics
Martin Quinson [Mon, 31 Oct 2016 23:50:01 +0000 (00:50 +0100)]
cosmetics

3 years agoanother try to fix Mac: don't guess the unwind component names so widely
Martin Quinson [Mon, 31 Oct 2016 23:45:22 +0000 (00:45 +0100)]
another try to fix Mac: don't guess the unwind component names so widely

3 years agotry to fix the windows build (+clang-format)
Martin Quinson [Mon, 31 Oct 2016 23:30:25 +0000 (00:30 +0100)]
try to fix the windows build (+clang-format)

3 years agofix mac build (another try)
Martin Quinson [Mon, 31 Oct 2016 23:20:03 +0000 (00:20 +0100)]
fix mac build (another try)

3 years agowoops, this code was not unused
Martin Quinson [Mon, 31 Oct 2016 23:11:26 +0000 (00:11 +0100)]
woops, this code was not unused

I must have mis-grepped :(

3 years agocosmetics
Martin Quinson [Mon, 31 Oct 2016 23:02:01 +0000 (00:02 +0100)]
cosmetics

3 years agokill an unused chunk of CMakeLists.txt
Martin Quinson [Mon, 31 Oct 2016 22:47:15 +0000 (23:47 +0100)]
kill an unused chunk of CMakeLists.txt

3 years agofix Mac OSX build
Martin Quinson [Mon, 31 Oct 2016 22:43:29 +0000 (23:43 +0100)]
fix Mac OSX build

3 years agothis is definitely a backtrace function
Martin Quinson [Mon, 31 Oct 2016 22:31:32 +0000 (23:31 +0100)]
this is definitely a backtrace function

3 years agokill empty functions
Martin Quinson [Mon, 31 Oct 2016 22:18:44 +0000 (23:18 +0100)]
kill empty functions

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 31 Oct 2016 22:08:42 +0000 (23:08 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agotest for libunwind even if not building MC
Martin Quinson [Mon, 31 Oct 2016 22:05:51 +0000 (23:05 +0100)]
test for libunwind even if not building MC

3 years agoplug a memleak
Martin Quinson [Mon, 31 Oct 2016 21:21:55 +0000 (22:21 +0100)]
plug a memleak

3 years agoAdd a FreeBSD backend for get_memory_map(), allow to enable smpi privatization.
degomme [Mon, 31 Oct 2016 13:39:09 +0000 (14:39 +0100)]
Add a FreeBSD backend for get_memory_map(), allow to enable smpi privatization.
Thanks to M. Volat !

3 years agoRework how model checking and mmap get enabled/disabled
degomme [Mon, 31 Oct 2016 13:35:33 +0000 (14:35 +0100)]
Rework how model checking and mmap get enabled/disabled

Simplify test: model checking relies on linux-only syscalls such as signalfd,
mremap, so it won't work on anything else.

But do not set HAVE_MMAP to 0 if MC cannot be built, other parts could use it
Courtesy of M. Volat

3 years agoTest for mremap function and store result in internal_config.h.
degomme [Mon, 31 Oct 2016 13:34:00 +0000 (14:34 +0100)]
Test for mremap function and store result in internal_config.h.
From M. Volat

3 years agoSetup and use a LD_LIBRARY variable in build.
degomme [Mon, 31 Oct 2016 13:33:02 +0000 (14:33 +0100)]
Setup and use a LD_LIBRARY variable in build.
libdl is linux-only, so set this variable as the result of a find_library
command here and let it empty on other systems. From M. Volat.

3 years agoFrom M. Volat : more portable way of opening shm buffers for privatization
degomme [Mon, 31 Oct 2016 09:18:20 +0000 (10:18 +0100)]
From M. Volat : more portable way of opening shm buffers for privatization

3 years agohandle MPI_IN_PLACE for this collective
degomme [Mon, 31 Oct 2016 08:31:20 +0000 (09:31 +0100)]
handle MPI_IN_PLACE for this collective

3 years agoa platform to test the AS bypass feature
Martin Quinson [Sun, 30 Oct 2016 15:55:47 +0000 (16:55 +0100)]
a platform to test the AS bypass feature

3 years agoSpell checking ;)
Martin Quinson [Sat, 29 Oct 2016 15:41:18 +0000 (17:41 +0200)]
Spell checking ;)

3 years agofix MC builds
Martin Quinson [Fri, 28 Oct 2016 18:24:23 +0000 (20:24 +0200)]
fix MC builds

It seems that MC does not love when exceptions are raised.

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 28 Oct 2016 17:07:13 +0000 (19:07 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agofix the last test after the recent change in MSG_hosts_as_dynar order
Martin Quinson [Fri, 28 Oct 2016 17:05:46 +0000 (19:05 +0200)]
fix the last test after the recent change in MSG_hosts_as_dynar order

3 years agostill 2 tests to go before it works again
Martin Quinson [Fri, 28 Oct 2016 17:02:54 +0000 (19:02 +0200)]
still 2 tests to go before it works again

3 years agofix another example
Martin Quinson [Fri, 28 Oct 2016 16:58:23 +0000 (18:58 +0200)]
fix another example

3 years agofix another example after the recent change in msg_hosts_as_dynar
Martin Quinson [Fri, 28 Oct 2016 16:53:47 +0000 (18:53 +0200)]
fix another example after the recent change in msg_hosts_as_dynar

3 years agofix the tesh of many tests after the order change in hosts_as_dynar
Martin Quinson [Fri, 28 Oct 2016 16:47:27 +0000 (18:47 +0200)]
fix the tesh of many tests after the order change in hosts_as_dynar

3 years agofix an example after the recent change to hosts_as_dynar modifying its order
Martin Quinson [Fri, 28 Oct 2016 16:46:44 +0000 (18:46 +0200)]
fix an example after the recent change to hosts_as_dynar modifying its order

3 years agoDestroy all hosts by the end of the simulation.
Martin Quinson [Thu, 27 Oct 2016 08:09:28 +0000 (10:09 +0200)]
Destroy all hosts by the end of the simulation.

This plugs huge memleaks, and make sure that the dtor of the energy
plugin actually makes the expected output.

3 years agotesh: add an option to keep on disk the obtained output
Martin Quinson [Wed, 26 Oct 2016 17:02:12 +0000 (19:02 +0200)]
tesh: add an option to keep on disk the obtained output

This helps regenerating the tesh files.

4 years agotesh: show the full path to tesh file
Martin Quinson [Tue, 25 Oct 2016 18:40:46 +0000 (20:40 +0200)]
tesh: show the full path to tesh file

4 years agohost_list is now a std::map instead of xbt_dict
Martin Quinson [Tue, 25 Oct 2016 17:26:43 +0000 (19:26 +0200)]
host_list is now a std::map instead of xbt_dict

4 years agomove some content out of parsing to the classes
Martin Quinson [Mon, 24 Oct 2016 20:40:01 +0000 (22:40 +0200)]
move some content out of parsing to the classes

4 years agovacation commit
Frederic Suter [Mon, 24 Oct 2016 08:54:13 +0000 (10:54 +0200)]
vacation commit
chase some sonar minor smells

4 years agosmall cosmetics in the storage
Martin Quinson [Sun, 23 Oct 2016 19:49:57 +0000 (21:49 +0200)]
small cosmetics in the storage

4 years agoinline a function called only once
Martin Quinson [Sat, 22 Oct 2016 00:25:15 +0000 (02:25 +0200)]
inline a function called only once

4 years agocosmetics: use C++ type names
Martin Quinson [Sat, 22 Oct 2016 00:19:42 +0000 (02:19 +0200)]
cosmetics: use C++ type names

4 years agorename MSG_host_(get/set)_params into MSG_vm_(get/set)_params
Martin Quinson [Sat, 22 Oct 2016 00:14:15 +0000 (02:14 +0200)]
rename MSG_host_(get/set)_params into MSG_vm_(get/set)_params

4 years agoDo not throw an exception on assert, but display backtrace+abort
Martin Quinson [Fri, 21 Oct 2016 21:08:19 +0000 (23:08 +0200)]
Do not throw an exception on assert, but display backtrace+abort

4 years agoMerge branches 'master' and 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 21 Oct 2016 20:09:51 +0000 (22:09 +0200)]
Merge branches 'master' and 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoCreate a s4u::VirtualMachine to clean things out.
Martin Quinson [Fri, 21 Oct 2016 16:55:50 +0000 (18:55 +0200)]
Create a s4u::VirtualMachine to clean things out.

This is still to be populated, with the content of the msg_vm module.

4 years agorename surf::VirtualMachine to surf::VirtualMachineImpl
Martin Quinson [Fri, 21 Oct 2016 16:44:10 +0000 (18:44 +0200)]
rename surf::VirtualMachine to surf::VirtualMachineImpl

This makes room for a s4u::VirtualMachine class that should arrive soon.

4 years agotiny simplification
Martin Quinson [Thu, 20 Oct 2016 22:11:25 +0000 (00:11 +0200)]
tiny simplification

4 years agocontinue removing content from HostImpl
Martin Quinson [Thu, 20 Oct 2016 15:59:15 +0000 (17:59 +0200)]
continue removing content from HostImpl

4 years agoReally fix the issue.
degomme [Thu, 20 Oct 2016 13:43:13 +0000 (15:43 +0200)]
Really fix the issue.

4 years agoFix bug in SMPI tracing, where messages were sometimes badly matched.
degomme [Thu, 20 Oct 2016 13:09:23 +0000 (15:09 +0200)]
Fix bug in SMPI tracing, where messages were sometimes badly matched.
This eparates sent and received messages when trying to match a new one to avoid matching a send with another send.

4 years agosmpi replayed waitall was not working, as request vector is destroyed inside the...
degomme [Thu, 20 Oct 2016 12:33:05 +0000 (14:33 +0200)]
smpi replayed waitall was not working, as request vector is destroyed inside the waitall called.
Store information before the call to trace them properly at the end of the wait

4 years agoadd some debug messages for smpi tracing
degomme [Thu, 20 Oct 2016 12:32:02 +0000 (14:32 +0200)]
add some debug messages for smpi tracing

4 years agoremove now useless file
degomme [Wed, 19 Oct 2016 13:24:29 +0000 (15:24 +0200)]
remove now useless file

4 years agocosmetics
Martin Quinson [Wed, 19 Oct 2016 20:39:53 +0000 (22:39 +0200)]
cosmetics

4 years agoremove a redundent forward declaration
Martin Quinson [Tue, 18 Oct 2016 17:36:49 +0000 (19:36 +0200)]
remove a redundent forward declaration

4 years agofix case when no fortran compiler is found
degomme [Wed, 19 Oct 2016 10:14:16 +0000 (12:14 +0200)]
fix case when no fortran compiler is found

4 years agocleanup handling of Fortran compiler in cmake (Patch from M. Volat)
degomme [Wed, 19 Oct 2016 09:50:48 +0000 (11:50 +0200)]
cleanup handling of Fortran compiler in cmake (Patch from M. Volat)

4 years agoadd a few fortran (unimplemented) declarations
degomme [Wed, 19 Oct 2016 08:58:37 +0000 (10:58 +0200)]
add a few fortran (unimplemented) declarations
Yes I know at some point I should add all of them.

4 years agoadd some defines in fortran
degomme [Tue, 18 Oct 2016 15:19:33 +0000 (17:19 +0200)]
add some defines in fortran

4 years agoAdd a check so that process_init exits cleanly when improperly called.
degomme [Tue, 18 Oct 2016 15:19:21 +0000 (17:19 +0200)]
Add a check so that process_init exits cleanly when improperly called.

4 years agokill a useless constructor
Martin Quinson [Tue, 18 Oct 2016 06:17:43 +0000 (08:17 +0200)]
kill a useless constructor

4 years agoHOSTIMPL IS NO LONGER A RESOURCE! At least! \o/
Martin Quinson [Mon, 17 Oct 2016 20:10:41 +0000 (22:10 +0200)]
HOSTIMPL IS NO LONGER A RESOURCE! At least! \o/

4 years agokill dead code
Martin Quinson [Mon, 17 Oct 2016 19:57:00 +0000 (21:57 +0200)]
kill dead code

4 years agoKill HostImpl::cpu_. Use the one of the s4u::Host
Martin Quinson [Mon, 17 Oct 2016 19:53:36 +0000 (21:53 +0200)]
Kill HostImpl::cpu_. Use the one of the s4u::Host

4 years agoreindent after previous changes
Martin Quinson [Mon, 17 Oct 2016 18:55:17 +0000 (20:55 +0200)]
reindent after previous changes

4 years agoput the HostImpl as s4u::Host->pimpl instead of as an extension
Martin Quinson [Mon, 17 Oct 2016 18:54:54 +0000 (20:54 +0200)]
put the HostImpl as s4u::Host->pimpl instead of as an extension

4 years agohello clang, that's another ForEach macro of ours
Martin Quinson [Mon, 17 Oct 2016 15:36:38 +0000 (17:36 +0200)]
hello clang, that's another ForEach macro of ours

4 years agokill a bunch of empty ctor/dtor
Martin Quinson [Mon, 17 Oct 2016 07:33:54 +0000 (09:33 +0200)]
kill a bunch of empty ctor/dtor

4 years agosimplification: inline a virtual function that is never derivated
Martin Quinson [Mon, 17 Oct 2016 07:10:44 +0000 (09:10 +0200)]
simplification: inline a virtual function that is never derivated

4 years agofurther ignorable cleanups
Martin Quinson [Sun, 16 Oct 2016 15:17:56 +0000 (17:17 +0200)]
further ignorable cleanups

4 years agocode simplifications around host construction
Martin Quinson [Sun, 16 Oct 2016 14:54:47 +0000 (16:54 +0200)]
code simplifications around host construction

Storage list is passed as a parameter, not through a global dict of
storages.

4 years agocode simplifications in VMs
Martin Quinson [Sun, 16 Oct 2016 14:14:06 +0000 (16:14 +0200)]
code simplifications in VMs

4 years agouse static_cast to please sonar + reindent
Martin Quinson [Sun, 16 Oct 2016 13:37:21 +0000 (15:37 +0200)]
use static_cast to please sonar + reindent

4 years agodo standard C++
Martin Quinson [Sun, 16 Oct 2016 09:57:34 +0000 (11:57 +0200)]
do standard C++

Destroy the elements explicitly instead of having them destroyed when
they are removed from the dict container.

4 years agokill a stupid function. Let's do regular C++
Martin Quinson [Sun, 16 Oct 2016 00:01:22 +0000 (02:01 +0200)]
kill a stupid function. Let's do regular C++

4 years agocleanup in the Link field names
Martin Quinson [Sat, 15 Oct 2016 20:25:09 +0000 (22:25 +0200)]
cleanup in the Link field names

4 years agocleanups in NS3: it's on my way
Martin Quinson [Sat, 15 Oct 2016 19:59:39 +0000 (21:59 +0200)]
cleanups in NS3: it's on my way

I need to clean the platform creation stuff. This is blocking for more
interesting changes such as the fact that each cluster has its own
network model.

4 years agoNS3.25 is out now
Martin Quinson [Sat, 15 Oct 2016 19:52:59 +0000 (21:52 +0200)]
NS3.25 is out now

4 years agocleanups in the model initialization
Martin Quinson [Sat, 15 Oct 2016 19:03:05 +0000 (21:03 +0200)]
cleanups in the model initialization

4 years agofactorize some code between NS3 cluster creation and other clusters
Martin Quinson [Sat, 15 Oct 2016 18:50:07 +0000 (20:50 +0200)]
factorize some code between NS3 cluster creation and other clusters

4 years agocosmetics in the creation of NS3 clusters
Martin Quinson [Sat, 15 Oct 2016 15:41:17 +0000 (17:41 +0200)]
cosmetics in the creation of NS3 clusters

4 years agoone step further to sort out the spagetti plate of AS creation
Martin Quinson [Sat, 15 Oct 2016 15:31:43 +0000 (17:31 +0200)]
one step further to sort out the spagetti plate of AS creation

4 years agoreindent, no real change
Martin Quinson [Sat, 15 Oct 2016 15:21:04 +0000 (17:21 +0200)]
reindent, no real change

4 years agomove content from the sg_platf to the object hierarchy
Martin Quinson [Sat, 15 Oct 2016 15:18:35 +0000 (17:18 +0200)]
move content from the sg_platf to the object hierarchy

4 years agoremove one malloc
Martin Quinson [Sat, 15 Oct 2016 14:47:44 +0000 (16:47 +0200)]
remove one malloc

4 years agofix NS3 build
Martin Quinson [Sat, 15 Oct 2016 11:19:55 +0000 (13:19 +0200)]
fix NS3 build

4 years agomake some field private, to please sonar
Martin Quinson [Sat, 15 Oct 2016 08:52:20 +0000 (10:52 +0200)]
make some field private, to please sonar

Sonar rational is that protected fields are the sign of a logic that
spreads over all sub-classes. I tend to strongly agree with this point.

4 years agocosmetics in clang-format
Martin Quinson [Fri, 14 Oct 2016 22:21:32 +0000 (00:21 +0200)]
cosmetics in clang-format

4 years agomake As->father_ protected
Martin Quinson [Fri, 14 Oct 2016 22:20:12 +0000 (00:20 +0200)]
make As->father_ protected

4 years agocosmetics: kill some C type instances
Martin Quinson [Fri, 14 Oct 2016 21:32:55 +0000 (23:32 +0200)]
cosmetics: kill some C type instances

4 years agoSanitize the network_model->communicate() API
Martin Quinson [Fri, 14 Oct 2016 21:23:57 +0000 (23:23 +0200)]
Sanitize the network_model->communicate() API

- use s4u::Host instead of netcards in the API
- kill remaining C bits
- (+ clang-format in action)

4 years agokill commented code
Martin Quinson [Fri, 14 Oct 2016 20:35:52 +0000 (22:35 +0200)]
kill commented code

4 years agoplease sonar
Martin Quinson [Fri, 14 Oct 2016 20:32:07 +0000 (22:32 +0200)]
please sonar

4 years agoReduce the layering madness a bit
Martin Quinson [Fri, 14 Oct 2016 15:45:14 +0000 (17:45 +0200)]
Reduce the layering madness a bit

+ the changes requested by the clang-format hook

4 years agopoint to the MSG doc, not the XBT one on synchro. It's less awfull
Martin Quinson [Fri, 14 Oct 2016 10:39:27 +0000 (12:39 +0200)]
point to the MSG doc, not the XBT one on synchro. It's less awfull

4 years agorewrite a FAQ entry
Martin Quinson [Thu, 13 Oct 2016 21:41:17 +0000 (23:41 +0200)]
rewrite a FAQ entry

4 years agoAppVeyor: don't build the doc, it's windows
Martin Quinson [Wed, 12 Oct 2016 23:26:36 +0000 (01:26 +0200)]
AppVeyor: don't build the doc, it's windows

4 years agofix a Java tesh after Christian recent changes
Martin Quinson [Wed, 12 Oct 2016 23:02:18 +0000 (01:02 +0200)]
fix a Java tesh after Christian recent changes

4 years agomissing file
Martin Quinson [Wed, 12 Oct 2016 21:31:09 +0000 (23:31 +0200)]
missing file

4 years agoMake it easier to have clang-format as a git hook
Martin Quinson [Tue, 11 Oct 2016 14:47:56 +0000 (16:47 +0200)]
Make it easier to have clang-format as a git hook

Plus, document it.

4 years agolittle doc reorg: split a page in two
Martin Quinson [Mon, 10 Oct 2016 21:01:20 +0000 (23:01 +0200)]
little doc reorg: split a page in two

4 years agoRe-activate the compilation of the doc. When did it break??
Martin Quinson [Mon, 10 Oct 2016 21:00:15 +0000 (23:00 +0200)]
Re-activate the compilation of the doc. When did it break??