Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Julien Gossa [Fri, 4 Mar 2016 17:08:01 +0000 (18:08 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

I AM THE KING OF THE BINDINGS! FEAR MY POWER!
(and no test has been armed during these commits... Just some cleaning...)

4 years agoVM.setBound(int load) is now VM.setBound(double bound) to meet the MSG semantics...
Julien Gossa [Fri, 4 Mar 2016 17:01:55 +0000 (18:01 +0100)]
VM.setBound(int load) is now VM.setBound(double bound) to meet the MSG semantics. Use VM.getSpeed()*load/100 for the legacy behavior.

4 years ago[jmsg] deletion of Java_org_simgrid_msg_VM_get_pm: dead and dangerous code
Julien Gossa [Fri, 4 Mar 2016 16:08:48 +0000 (17:08 +0100)]
[jmsg] deletion of Java_org_simgrid_msg_VM_get_pm: dead and dangerous code

4 years agoConflicting declaration.
degomme [Fri, 4 Mar 2016 15:02:23 +0000 (16:02 +0100)]
Conflicting declaration.

4 years agooops
degomme [Fri, 4 Mar 2016 14:32:28 +0000 (15:32 +0100)]
oops

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 4 Mar 2016 14:11:59 +0000 (15:11 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agocmake refactoring in teshuite/smpi cont'd
Frederic Suter [Fri, 4 Mar 2016 14:06:39 +0000 (15:06 +0100)]
cmake refactoring in teshuite/smpi cont'd

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
degomme [Fri, 4 Mar 2016 13:22:38 +0000 (14:22 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

4 years agoDrop support for windows threads, as pthread seem to be working fine.
degomme [Fri, 4 Mar 2016 13:19:32 +0000 (14:19 +0100)]
Drop support for windows threads, as pthread seem to be working fine.

4 years agoWe actually want to try pthreads on windows, as the others are failing now.
degomme [Fri, 4 Mar 2016 13:14:46 +0000 (14:14 +0100)]
We actually want to try pthreads on windows, as the others are failing now.
If it works properly we may remove raw and win32_ucontext support.

4 years agoThis was not compiling when sizeof(unsigned long) != sizeof(void*)
degomme [Fri, 4 Mar 2016 13:10:28 +0000 (14:10 +0100)]
This was not compiling when sizeof(unsigned long) != sizeof(void*)

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Julien Gossa [Fri, 4 Mar 2016 11:37:58 +0000 (12:37 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

Only docs and output formatting work.

4 years agoSTFU you dawn VM - The lovingly handmade tests
Julien Gossa [Fri, 4 Mar 2016 11:28:09 +0000 (12:28 +0100)]
STFU you dawn VM - The lovingly handmade tests

4 years agofix out of tree builds
Martin Quinson [Fri, 4 Mar 2016 10:52:09 +0000 (11:52 +0100)]
fix out of tree builds

4 years ago[cmake] make distcheck: use 4 cores and disable LTO
Martin Quinson [Fri, 4 Mar 2016 10:46:24 +0000 (11:46 +0100)]
[cmake] make distcheck: use 4 cores and disable LTO

fast tests are run more often

4 years agorelocation of the generate_tesh script in the doc
Julien Gossa [Fri, 4 Mar 2016 10:43:10 +0000 (11:43 +0100)]
relocation of the generate_tesh script in the doc

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 4 Mar 2016 10:30:17 +0000 (11:30 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 4 Mar 2016 10:25:01 +0000 (11:25 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoupdate
Frederic Suter [Fri, 4 Mar 2016 10:24:39 +0000 (11:24 +0100)]
update

4 years agoextend the implementation note in comments
Martin Quinson [Fri, 4 Mar 2016 10:07:43 +0000 (11:07 +0100)]
extend the implementation note in comments

4 years agokill dead code
Martin Quinson [Fri, 4 Mar 2016 10:04:53 +0000 (11:04 +0100)]
kill dead code

4 years agokill the latency_bound experiment in our codebase
Martin Quinson [Fri, 4 Mar 2016 10:01:38 +0000 (11:01 +0100)]
kill the latency_bound experiment in our codebase

4 years ago[java] fix some small issues found by SonarQube
Martin Quinson [Fri, 4 Mar 2016 09:26:48 +0000 (10:26 +0100)]
[java] fix some small issues found by SonarQube

4 years agofactoring cmake for smpi tests
Frederic Suter [Fri, 4 Mar 2016 08:45:44 +0000 (09:45 +0100)]
factoring cmake for smpi tests

4 years ago[mc] Remove usage of boost::iterator_range
Gabriel Corona [Thu, 3 Mar 2016 17:15:10 +0000 (18:15 +0100)]
[mc] Remove usage of boost::iterator_range

Just use the container now that we use C++ containers.

4 years ago[mc] Remove the mc_smx_process_info typedefs
Gabriel Corona [Thu, 3 Mar 2016 17:05:34 +0000 (18:05 +0100)]
[mc] Remove the mc_smx_process_info typedefs

4 years ago[mc] Remove the horrid temporary MC_PROCESS_FOREACH() macro
Gabriel Corona [Thu, 3 Mar 2016 17:01:46 +0000 (18:01 +0100)]
[mc] Remove the horrid temporary MC_PROCESS_FOREACH() macro

4 years ago[mc] Make SimixProcessInformation a real C++ object
Gabriel Corona [Thu, 3 Mar 2016 16:54:06 +0000 (17:54 +0100)]
[mc] Make SimixProcessInformation a real C++ object

and use std::vector<> for storing it instead of xbt_dynar

4 years ago[mc] C++ style SimixProcessInformation
Gabriel Corona [Thu, 3 Mar 2016 16:20:21 +0000 (17:20 +0100)]
[mc] C++ style SimixProcessInformation

4 years agoSTFU you damn VM
Julien Gossa [Thu, 3 Mar 2016 17:21:03 +0000 (18:21 +0100)]
STFU you damn VM

4 years agofix a typo in documentatino
Martin Quinson [Thu, 3 Mar 2016 17:15:48 +0000 (18:15 +0100)]
fix a typo in documentatino

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 2 Mar 2016 20:59:42 +0000 (21:59 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agowip. revising cmake for smpi.
Frederic Suter [Wed, 2 Mar 2016 20:58:35 +0000 (21:58 +0100)]
wip. revising cmake for smpi.
  have to be discussed

4 years agocunit: make it work (again) with C++ test suites
Martin Quinson [Wed, 2 Mar 2016 12:44:36 +0000 (13:44 +0100)]
cunit: make it work (again) with C++ test suites

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 2 Mar 2016 12:00:55 +0000 (13:00 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agobindir to srcdir?
Frederic Suter [Wed, 2 Mar 2016 11:50:51 +0000 (12:50 +0100)]
bindir to srcdir?

4 years agodamn!
Frederic Suter [Wed, 2 Mar 2016 11:29:53 +0000 (12:29 +0100)]
damn!

4 years agoadd bindir there too
Frederic Suter [Wed, 2 Mar 2016 11:28:06 +0000 (12:28 +0100)]
add bindir there too

4 years agodamn!
Frederic Suter [Wed, 2 Mar 2016 11:22:55 +0000 (12:22 +0100)]
damn!

4 years agoadd bindir to platform_path
Frederic Suter [Wed, 2 Mar 2016 11:20:58 +0000 (12:20 +0100)]
add bindir to platform_path

4 years agomissing space
Frederic Suter [Wed, 2 Mar 2016 11:07:44 +0000 (12:07 +0100)]
missing space

4 years agotidying a bit xbt/cunit.c
Martin Quinson [Wed, 2 Mar 2016 10:54:16 +0000 (11:54 +0100)]
tidying a bit xbt/cunit.c

4 years agoSimplify the addition of unit tests to our framework
Martin Quinson [Wed, 2 Mar 2016 10:21:19 +0000 (11:21 +0100)]
Simplify the addition of unit tests to our framework

And document it.

4 years agoupdate this too
Frederic Suter [Wed, 2 Mar 2016 09:28:44 +0000 (10:28 +0100)]
update this too

4 years agostupid me. change binary, better change tesh
Frederic Suter [Wed, 2 Mar 2016 09:24:10 +0000 (10:24 +0100)]
stupid me. change binary, better change tesh

4 years agomedium not debug
Frederic Suter [Wed, 2 Mar 2016 09:00:12 +0000 (10:00 +0100)]
medium not debug

4 years agoimprove a bunch of CMake files
Frederic Suter [Wed, 2 Mar 2016 08:56:04 +0000 (09:56 +0100)]
improve a bunch of CMake files
also improve matching between test name and file name

4 years agokill MM
Frederic Suter [Wed, 2 Mar 2016 00:52:16 +0000 (01:52 +0100)]
kill MM
 + production codes are smpied ... smpified ... smpiruned ...
   simemulated without modification now

4 years agomissing files -- bummer
Martin Quinson [Wed, 2 Mar 2016 01:16:41 +0000 (02:16 +0100)]
missing files -- bummer

4 years agofix my previous commit, sorry
Martin Quinson [Wed, 2 Mar 2016 00:38:47 +0000 (01:38 +0100)]
fix my previous commit, sorry

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 1 Mar 2016 23:54:16 +0000 (00:54 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agomove surf::As to s4u::As
Martin Quinson [Tue, 1 Mar 2016 23:40:37 +0000 (00:40 +0100)]
move surf::As to s4u::As

- The AS are now usable by the user (retrieve the root AS from s4u::Engine)
- This allows to kill a bunch of C->C++ wrapper functions: surf_AS_*
- SimDag now needs a s4u::Engine, which initializes Simix. But beside
  the initialization cost, this should not harm the simdag performance.

The change is a bit brutal, and some more work will be needed to finish it.

- RoutingPlatf should be properly integrated to the s4u::Engine
- xbt containers should be changed into std:: ones
- we should do one header per class and stop all-in-one headers
- various improvements that I don't clearly see yet

But things are improving and getting a shape, I'm happy.

4 years agodistcheck doesn't like relative path
Frederic Suter [Tue, 1 Mar 2016 23:39:45 +0000 (00:39 +0100)]
distcheck doesn't like relative path

4 years agomake test pass with make distcheck too
Frederic Suter [Tue, 1 Mar 2016 23:18:23 +0000 (00:18 +0100)]
make test pass with make distcheck too
   + do not add bug-17132 is smpi is not enabled
   + use root + path in listen async (out-of-source?)

4 years agofix newly added tesh
Frederic Suter [Tue, 1 Mar 2016 23:04:42 +0000 (00:04 +0100)]
fix newly added tesh

4 years agodeclare test right in the CMakelists
Frederic Suter [Tue, 1 Mar 2016 22:49:11 +0000 (23:49 +0100)]
declare test right in the CMakelists
  + and use foreach loop when possible

4 years agomake this code a real test with a tesh
Frederic Suter [Tue, 1 Mar 2016 22:48:20 +0000 (23:48 +0100)]
make this code a real test with a tesh

4 years agodon't want to display storage info
Frederic Suter [Tue, 1 Mar 2016 21:29:19 +0000 (22:29 +0100)]
don't want to display storage info

4 years agoremove code that is already tested elsewhere
Frederic Suter [Tue, 1 Mar 2016 21:25:58 +0000 (22:25 +0100)]
remove code that is already tested elsewhere

4 years agothird try ...
Frederic Suter [Tue, 1 Mar 2016 20:49:12 +0000 (21:49 +0100)]
third try ...

4 years agosecond try w/o parent_scope
Frederic Suter [Tue, 1 Mar 2016 20:47:11 +0000 (21:47 +0100)]
second try w/o parent_scope

4 years agohave a try with foreach in CMakeLists
Frederic Suter [Tue, 1 Mar 2016 20:43:47 +0000 (21:43 +0100)]
have a try with foreach in CMakeLists
  + for sources, tesh, and ADD_TEST too

4 years agoreindent in src/include
Frederic Suter [Tue, 1 Mar 2016 19:54:26 +0000 (20:54 +0100)]
reindent in src/include

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 1 Mar 2016 19:37:37 +0000 (20:37 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agocreate a singleton for s4u::Engine
Martin Quinson [Tue, 1 Mar 2016 15:52:57 +0000 (16:52 +0100)]
create a singleton for s4u::Engine

4 years agoreindent include files
Frederic Suter [Tue, 1 Mar 2016 15:43:42 +0000 (16:43 +0100)]
reindent include files

4 years agovarious little cleanups
Martin Quinson [Tue, 1 Mar 2016 15:23:35 +0000 (16:23 +0100)]
various little cleanups

4 years agoblank lines and indent in instr
Frederic Suter [Tue, 1 Mar 2016 14:30:53 +0000 (15:30 +0100)]
blank lines and indent in instr

4 years agoput back some includes
Frederic Suter [Tue, 1 Mar 2016 14:30:26 +0000 (15:30 +0100)]
put back some includes

4 years agoa few blanks less + static
Frederic Suter [Tue, 1 Mar 2016 13:13:37 +0000 (14:13 +0100)]
a few blanks less + static

4 years ago[mc] Remove the horrible MC_EACH_SIMIX_PROCESS() macro
Gabriel Corona [Tue, 1 Mar 2016 12:18:08 +0000 (13:18 +0100)]
[mc] Remove the horrible MC_EACH_SIMIX_PROCESS() macro

Use a range for loop instead.

4 years ago[mc] Fix PID mismatch in snapshot
Gabriel Corona [Tue, 1 Mar 2016 10:25:29 +0000 (11:25 +0100)]
[mc] Fix PID mismatch in snapshot

I was passing the simulated process PID instead of the native process
PID when taking file descriptor snapshots. File descriptor snapshots
is currently not tested and not fully functional.

4 years agodamn
Martin Quinson [Tue, 1 Mar 2016 11:27:53 +0000 (12:27 +0100)]
damn

4 years agothe whole file should probably die of outofdate-ness, but anyway
Martin Quinson [Tue, 1 Mar 2016 11:26:25 +0000 (12:26 +0100)]
the whole file should probably die of outofdate-ness, but anyway

4 years agokill the gpu examples: not used, braindead
Martin Quinson [Tue, 1 Mar 2016 11:22:49 +0000 (12:22 +0100)]
kill the gpu examples: not used, braindead

4 years agoinline a function called once
Martin Quinson [Tue, 1 Mar 2016 11:08:53 +0000 (12:08 +0100)]
inline a function called once

4 years agoI'm glad this documentation is out of date. At least :)
Martin Quinson [Tue, 1 Mar 2016 10:51:53 +0000 (11:51 +0100)]
I'm glad this documentation is out of date. At least :)

4 years agono need to specify symmetrical=YES, that's by default
Martin Quinson [Tue, 1 Mar 2016 10:47:01 +0000 (11:47 +0100)]
no need to specify symmetrical=YES, that's by default

4 years agoCeterum censeo Applem delendam esse.
Martin Quinson [Tue, 1 Mar 2016 10:41:15 +0000 (11:41 +0100)]
Ceterum censeo Applem delendam esse.

4 years agorename smx_rdv_t into smx_mailbox_t. One day it will be C++
Martin Quinson [Tue, 1 Mar 2016 10:36:27 +0000 (11:36 +0100)]
rename smx_rdv_t into smx_mailbox_t. One day it will be C++

4 years agouse std::pair instead of bprintf(%s#%s)ing the keys
Martin Quinson [Tue, 1 Mar 2016 10:23:28 +0000 (11:23 +0100)]
use std::pair instead of bprintf(%s#%s)ing the keys

4 years agodie blank lines and dummy comments, die
Frederic Suter [Tue, 1 Mar 2016 10:15:16 +0000 (11:15 +0100)]
die blank lines and dummy comments, die

4 years agoCoding style: camel case RemotePtr
Gabriel Corona [Tue, 1 Mar 2016 09:19:23 +0000 (10:19 +0100)]
Coding style: camel case RemotePtr

4 years ago[mc] Don't expose the Type in Buffer
Gabriel Corona [Tue, 1 Mar 2016 09:16:23 +0000 (10:16 +0100)]
[mc] Don't expose the Type in Buffer

4 years agoCoding style: camel case Buffer
Gabriel Corona [Tue, 1 Mar 2016 09:08:55 +0000 (10:08 +0100)]
Coding style: camel case Buffer

4 years ago[smpi] Fix ENAMETOOLONG with shm_open in smpi_shared_malloc on MacOS X
Gabriel Corona [Tue, 1 Mar 2016 08:43:28 +0000 (09:43 +0100)]
[smpi] Fix ENAMETOOLONG with shm_open in smpi_shared_malloc on MacOS X

Max length is PSHMNAMLEN = 31.

4 years agoless XBT, more std:: (in routing)
Martin Quinson [Tue, 1 Mar 2016 08:36:24 +0000 (09:36 +0100)]
less XBT, more std:: (in routing)

4 years agocleanups in the routing code
Martin Quinson [Mon, 29 Feb 2016 21:47:09 +0000 (22:47 +0100)]
cleanups in the routing code

4 years agoTemporary : exclude liveness tests from dynamicanalysis
degomme [Tue, 1 Mar 2016 08:21:25 +0000 (09:21 +0100)]
Temporary : exclude liveness tests from dynamicanalysis
they crash the node, and prevent valgrind/coverage analysis

4 years agofix some mistakes
Frederic Suter [Mon, 29 Feb 2016 23:02:47 +0000 (00:02 +0100)]
fix some mistakes

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 29 Feb 2016 22:38:18 +0000 (23:38 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoa few more cosmetics
Frederic Suter [Mon, 29 Feb 2016 22:37:52 +0000 (23:37 +0100)]
a few more cosmetics

4 years ago[smpi] Fix shared memoy name for SMPI_SHARED_MALLOC
Gabriel Corona [Mon, 29 Feb 2016 19:41:29 +0000 (20:41 +0100)]
[smpi] Fix shared memoy name for SMPI_SHARED_MALLOC

The name is expected to start with a '/'. This should fix
SMPI_SHARED_MALLOC on MacOS X.

4 years agocosmetics
Frederic Suter [Mon, 29 Feb 2016 17:57:13 +0000 (18:57 +0100)]
cosmetics

4 years agocleanup in teshsuite/msg
Frederic Suter [Mon, 29 Feb 2016 17:26:44 +0000 (18:26 +0100)]
cleanup in teshsuite/msg

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 29 Feb 2016 16:30:27 +0000 (17:30 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agosome extra cleanups in simdag examples
Frederic Suter [Mon, 29 Feb 2016 16:30:00 +0000 (17:30 +0100)]
some extra cleanups in simdag examples

4 years agoRemove xbt_sha
Gabriel Corona [Mon, 29 Feb 2016 15:32:30 +0000 (16:32 +0100)]
Remove xbt_sha

4 years ago[smpi] Don't use SHA-1 in smpi_bench
Gabriel Corona [Mon, 29 Feb 2016 15:11:40 +0000 (16:11 +0100)]
[smpi] Don't use SHA-1 in smpi_bench

Use std::unordered_map.

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 29 Feb 2016 14:16:29 +0000 (15:16 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid