Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agoAdd a xbt wrapper for simcall_mutex_trylock (asked in [#17878])
Augustin Degomme [Thu, 28 Aug 2014 13:26:15 +0000 (15:26 +0200)]
Add a xbt wrapper for simcall_mutex_trylock (asked in [#17878])

7 years agoremove outdated paragraph in faq
Augustin Degomme [Thu, 28 Aug 2014 13:02:39 +0000 (15:02 +0200)]
remove outdated paragraph in faq

7 years agoadd mention of valgrind and gdb in documentation of context factories
Augustin Degomme [Thu, 28 Aug 2014 13:01:10 +0000 (15:01 +0200)]
add mention of valgrind and gdb in documentation of context factories

7 years agowarning --
Augustin Degomme [Thu, 28 Aug 2014 12:39:02 +0000 (14:39 +0200)]
warning --

7 years agobring back network model updateActionsStateFull function. network/optim:Full option...
Augustin Degomme [Thu, 28 Aug 2014 12:33:45 +0000 (14:33 +0200)]
bring back network model updateActionsStateFull function. network/optim:Full option should work again
It was previously returning an unimplemented exception

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Thu, 28 Aug 2014 10:17:08 +0000 (11:17 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoThrow a host failure exception instead of a jni one - adrien
Adrien Lebre [Thu, 28 Aug 2014 10:16:58 +0000 (11:16 +0100)]
Throw a host failure exception instead of a jni one - adrien

7 years ago[mc] Revert to previous heap scanning method
Gabriel Corona [Tue, 26 Aug 2014 11:27:22 +0000 (13:27 +0200)]
[mc] Revert to previous heap scanning method

There are issues with the current version.

7 years ago[mc] Fix bug in mmalloc_compare_heap() when a ungragmented block is handled as a...
Gabriel Corona [Tue, 26 Aug 2014 11:10:50 +0000 (13:10 +0200)]
[mc] Fix bug in mmalloc_compare_heap() when a ungragmented block is handled as a fragmented one

This bug was introduced by the commit of MMALLOC_TYPE_HEAPINFO.

7 years ago[mc] Better condition for switching privatized data segment in MC_restore_snapshot()
Gabriel Corona [Tue, 26 Aug 2014 10:28:34 +0000 (12:28 +0200)]
[mc] Better condition for switching privatized data segment in MC_restore_snapshot()

7 years ago[mc] Fix MC_snapshot_add_region() to forward correctly its arguments
Gabriel Corona [Tue, 26 Aug 2014 10:12:14 +0000 (12:12 +0200)]
[mc] Fix MC_snapshot_add_region() to forward correctly its arguments

As start_addr==permanent_addr for every call of
MC_snapshot_add_region() there is no impact on the current behaviour.

7 years ago[mc] Fix broken MC_region_destroy()
Gabriel Corona [Tue, 26 Aug 2014 09:29:46 +0000 (11:29 +0200)]
[mc] Fix broken MC_region_destroy()

The current implementation either segfaults or does nothing.

7 years ago[mc] ISP tests integration
Gabriel Corona [Fri, 25 Jul 2014 14:12:49 +0000 (16:12 +0200)]
[mc] ISP tests integration

7 years agoavoid warning by checking index in the right order
Augustin Degomme [Thu, 21 Aug 2014 07:55:20 +0000 (09:55 +0200)]
avoid warning by checking index in the right order

7 years agoAdd settings for Intel MPI with 2,4,8,16 processes/node on Stampede
Augustin Degomme [Wed, 20 Aug 2014 14:52:01 +0000 (16:52 +0200)]
Add settings for Intel MPI with 2,4,8,16 processes/node on Stampede

7 years agoswitch way old SMP aware algos work, to be closer to the ones from mvapich
Augustin Degomme [Wed, 20 Aug 2014 14:42:44 +0000 (16:42 +0200)]
switch way old SMP aware algos work, to be closer to the ones from mvapich

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Augustin Degomme [Tue, 19 Aug 2014 15:00:18 +0000 (17:00 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoget back cleanup erased in 4cebfd8
etortilopez [Mon, 18 Aug 2014 15:49:49 +0000 (17:49 +0200)]
get back cleanup erased in 4cebfd8

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Augustin Degomme [Mon, 18 Aug 2014 14:05:24 +0000 (16:05 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
etortilopez [Mon, 18 Aug 2014 13:27:55 +0000 (15:27 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoadded option to bind threads to physical cores
etortilopez [Mon, 18 Aug 2014 13:26:34 +0000 (15:26 +0200)]
added option to bind threads to physical cores

7 years agoLoopback was not correctly used in fat tree clusters.
Augustin Degomme [Mon, 18 Aug 2014 13:04:28 +0000 (15:04 +0200)]
Loopback was not correctly used in fat tree clusters.

7 years agoFix [#17799] : have mpi_group_range_incl and mpi_group_range_excl better test some...
Augustin Degomme [Mon, 18 Aug 2014 11:38:00 +0000 (13:38 +0200)]
Fix [#17799] : have mpi_group_range_incl and mpi_group_range_excl better test some corner cases.
Two tests added : that the rank is in the right range at all times, and that we don't go after the last one wanted.
Hopefully this will be enough to cover all cases.
Test commcreate1 from mpich 3 testsuite has been confirmed to pass with one process
The test with 1 process has been added to the test suite (it was with 8 processes before)

7 years agoAdd vm tesh
Paul Bédaride [Mon, 11 Aug 2014 13:18:50 +0000 (15:18 +0200)]
Add vm tesh

7 years agoAdd java teshsuite for sleep_host_off
Paul Bédaride [Tue, 29 Jul 2014 13:08:03 +0000 (15:08 +0200)]
Add java teshsuite for sleep_host_off

7 years agoleak --
Augustin Degomme [Fri, 8 Aug 2014 11:11:48 +0000 (13:11 +0200)]
leak --

7 years agoAttempt for a macos version of the threadtimer
Augustin Degomme [Fri, 8 Aug 2014 11:10:10 +0000 (13:10 +0200)]
Attempt for a macos version of the threadtimer

7 years agoDo not have cputime and threadtime return a no-op when only gettimeofday is available.
Augustin Degomme [Fri, 8 Aug 2014 11:09:29 +0000 (13:09 +0200)]
Do not have cputime and threadtime return a no-op when only gettimeofday is available.

Behavior may be different than expected, but still better than nothing

7 years agosilence (stupid) warnings from clang
Augustin Degomme [Thu, 7 Aug 2014 22:54:20 +0000 (00:54 +0200)]
silence (stupid) warnings from clang

didn't know hat having too many parenthesis around a test could trigger a warning ...

7 years agoAdd Bcast SMP Collectives from MVAPICH2
Augustin Degomme [Thu, 7 Aug 2014 22:31:40 +0000 (00:31 +0200)]
Add Bcast SMP Collectives from MVAPICH2

Still a few problems with pipelined algo from openmpi .. for now default to another one for these pipelined algos

7 years agofix build
degomme [Thu, 7 Aug 2014 15:17:23 +0000 (17:17 +0200)]
fix build

7 years agoDisable faulty mallocator test
degomme [Thu, 7 Aug 2014 14:55:56 +0000 (16:55 +0200)]
Disable faulty mallocator test
Checking relative addresses of newly allocated memory (one call to new per element) is not really possible.
All systems on ci answer differently to this test, that should be revamped

7 years agomove platform file
degomme [Thu, 7 Aug 2014 14:08:24 +0000 (16:08 +0200)]
move platform file

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Thu, 7 Aug 2014 12:39:26 +0000 (14:39 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoTemporary patch to handle host failure exception during live migration of VM (a clean...
Adrien Lebre [Thu, 7 Aug 2014 12:39:22 +0000 (14:39 +0200)]
Temporary patch to handle host failure exception during live migration of VM (a cleaner patch will be pushed in few days) - adrien

7 years agostupid old gcc. That's initialized.
Martin Quinson [Thu, 7 Aug 2014 11:05:02 +0000 (13:05 +0200)]
stupid old gcc. That's initialized.

7 years agoadd an example about the remote exception throwing (still not working entierely)
Martin Quinson [Thu, 7 Aug 2014 09:10:35 +0000 (11:10 +0200)]
add an example about the remote exception throwing (still not working entierely)

7 years agoNew: SIMIX_process_throw() allows to raise exceptions in remote processes
Martin Quinson [Thu, 7 Aug 2014 00:03:42 +0000 (02:03 +0200)]
New: SIMIX_process_throw() allows to raise exceptions in remote processes

7 years agocorrect initializer
Martin Quinson [Wed, 6 Aug 2014 23:59:59 +0000 (01:59 +0200)]
correct initializer

7 years agoreact correctly if an exception does not originates the current process
Martin Quinson [Wed, 6 Aug 2014 23:59:31 +0000 (01:59 +0200)]
react correctly if an exception does not originates the current process

7 years agoensure that the process initializer actually works by using it
Martin Quinson [Wed, 6 Aug 2014 22:54:03 +0000 (00:54 +0200)]
ensure that the process initializer actually works by using it

7 years agomake public the function that can display an exception
Martin Quinson [Wed, 6 Aug 2014 22:53:00 +0000 (00:53 +0200)]
make public the function that can display an exception

7 years agouseless cleanups
Martin Quinson [Wed, 6 Aug 2014 20:04:35 +0000 (22:04 +0200)]
useless cleanups

- one letter variables are harder to read
- remove a useless assert (the system will complain if it's null)
- improve some debug messages and comments

7 years agoignore more generated files
Martin Quinson [Wed, 6 Aug 2014 19:50:35 +0000 (21:50 +0200)]
ignore more generated files

7 years ago[mc] Remove useless code & comment in mc_region_restore_sparse()
Gabriel Corona [Fri, 1 Aug 2014 13:25:08 +0000 (15:25 +0200)]
[mc] Remove useless code & comment in mc_region_restore_sparse()

This is not supposed to happen.

7 years ago[mc] DRY in MC_replay_liveness()
Gabriel Corona [Fri, 1 Aug 2014 13:07:21 +0000 (15:07 +0200)]
[mc] DRY in MC_replay_liveness()

7 years agobegin to add bcast MVAPICH collectives selector..
Augustin Degomme [Fri, 1 Aug 2014 11:51:56 +0000 (13:51 +0200)]
begin to add bcast MVAPICH collectives selector..
still defaults to mpich one for now

7 years agowarning --
Augustin Degomme [Fri, 1 Aug 2014 11:38:56 +0000 (13:38 +0200)]
warning --

7 years agoremove uninitialized warning
Augustin Degomme [Fri, 1 Aug 2014 11:09:49 +0000 (13:09 +0200)]
remove uninitialized warning

7 years agoremove useless (as for now) code
Augustin Degomme [Fri, 1 Aug 2014 10:48:29 +0000 (12:48 +0200)]
remove useless (as for now) code

7 years agofix dist
Augustin Degomme [Fri, 1 Aug 2014 10:38:05 +0000 (12:38 +0200)]
fix dist

7 years agoAdd Scatter SMP collective from MVAPICH2
Augustin Degomme [Fri, 1 Aug 2014 10:35:18 +0000 (12:35 +0200)]
Add Scatter SMP collective from MVAPICH2

7 years agoAdd Reduce SMP collective from MVAPICH2
Augustin Degomme [Fri, 1 Aug 2014 08:50:47 +0000 (10:50 +0200)]
Add Reduce SMP collective from MVAPICH2

7 years agoadd Allreduce SMP collective from MVAPICH2
Augustin Degomme [Fri, 1 Aug 2014 08:50:02 +0000 (10:50 +0200)]
add Allreduce SMP collective from MVAPICH2

7 years agoAdd Allgather SMP collective from MVAPICH2
Augustin Degomme [Fri, 1 Aug 2014 08:49:19 +0000 (10:49 +0200)]
Add Allgather SMP collective from MVAPICH2

7 years agoAdd Gather SMP collective from MVAPICH2
Augustin Degomme [Fri, 1 Aug 2014 08:48:30 +0000 (10:48 +0200)]
Add Gather SMP collective from MVAPICH2

7 years agoprovide support for SMP in MPI communicators.
Augustin Degomme [Fri, 1 Aug 2014 08:45:52 +0000 (10:45 +0200)]
provide support for SMP in MPI communicators.
smpi_comm_init_smp(comm) will create subcommunicators for intra and inter ndoes communications.
This is based on what MVAPICH2 does

7 years agochange hostfile used for mpich testsuite.
Augustin Degomme [Fri, 1 Aug 2014 08:43:45 +0000 (10:43 +0200)]
change hostfile used for mpich testsuite.
Deactivate a fortran part of a test, that made very strong assertions on order of completing calls..

7 years agoMove group_incl code, to allow use by collective algos or internal calls
Augustin Degomme [Fri, 1 Aug 2014 07:36:29 +0000 (09:36 +0200)]
Move group_incl code, to allow use by collective algos or internal calls

7 years agochange SMPI collectives hostfile, to use 4 contiguous processes/node
Augustin Degomme [Thu, 31 Jul 2014 12:53:51 +0000 (14:53 +0200)]
change SMPI collectives hostfile, to use 4 contiguous processes/node

7 years agoFix annoying typo in help message.
Stéphane Castelli [Thu, 31 Jul 2014 09:19:36 +0000 (11:19 +0200)]
Fix annoying typo in help message.

7 years agoSR experiment now working
etortilopez [Wed, 30 Jul 2014 08:22:00 +0000 (10:22 +0200)]
SR experiment now working

7 years agoAdd ignored files to .gitignore
Gabriel Corona [Tue, 29 Jul 2014 09:28:47 +0000 (11:28 +0200)]
Add ignored files to .gitignore

7 years ago[mc] Renable the sparse snpashot tests (after fixing them)
Gabriel Corona [Tue, 29 Jul 2014 08:17:12 +0000 (10:17 +0200)]
[mc] Renable the sparse snpashot tests (after fixing them)

This reverts commit 331c666b6237387356618583cf6708f2f981ea45.

7 years agomissing spaces between flags
Augustin Degomme [Mon, 28 Jul 2014 17:07:05 +0000 (19:07 +0200)]
missing spaces between flags

7 years agoSome old compilers seem to emit bogus warnings on ci
Augustin Degomme [Mon, 28 Jul 2014 17:02:23 +0000 (19:02 +0200)]
Some old compilers seem to emit bogus warnings on ci
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45978 .
Avoid failing the build in this case

7 years agoremove warnings
Augustin Degomme [Mon, 28 Jul 2014 16:05:57 +0000 (18:05 +0200)]
remove warnings

7 years agomissing files - adrien
Adrien Lebre [Mon, 28 Jul 2014 16:02:23 +0000 (18:02 +0200)]
missing files - adrien

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Mon, 28 Jul 2014 15:53:58 +0000 (17:53 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoFound a bug/feature regarding the cancellation of a sleep (see comments directly...
Adrien Lebre [Mon, 28 Jul 2014 15:53:54 +0000 (17:53 +0200)]
Found a bug/feature regarding the cancellation of a sleep (see comments directly in the code) + add a temporary patch directly at the java level in order to force a hostFailureException - Adrien

7 years agofix dist
Augustin Degomme [Mon, 28 Jul 2014 15:17:11 +0000 (17:17 +0200)]
fix dist

7 years agothese assertions were a bit strong
Augustin Degomme [Mon, 28 Jul 2014 14:44:44 +0000 (16:44 +0200)]
these assertions were a bit strong

7 years agomake some algorithms return when using bad datatypes
Augustin Degomme [Mon, 28 Jul 2014 14:35:58 +0000 (16:35 +0200)]
make some algorithms return when using bad datatypes

7 years agoAdd Intel MPI (impi) selector.
Augustin Degomme [Mon, 28 Jul 2014 14:35:17 +0000 (16:35 +0200)]
Add Intel MPI (impi) selector.

Thresholds were obtained on Stampede cluster, by activating debug output for 1 process/node.
Algorithm list is available in the documentation of Intel MPI, available on their site

problems:
- doesn't take into account SMP for now (selection logic evolves, and thresholds change)
- some algorithms are unavailable (proprietary/undocumented) such as Shumilin's or Plum's. So others are used in these cases... And that's bad.

7 years agosome algos have bad behavior with some inputs, try to avoid that.
Augustin Degomme [Mon, 28 Jul 2014 14:30:35 +0000 (16:30 +0200)]
some algos have bad behavior with some inputs, try to avoid that.

7 years agoactivate a previously commented pairwise alltoall algo with rma comms
Augustin Degomme [Mon, 28 Jul 2014 11:16:22 +0000 (13:16 +0200)]
activate a previously commented pairwise alltoall algo with rma comms

7 years agoAdd Rabenseifner Reduce/Allreduce algorithms
Augustin Degomme [Fri, 25 Jul 2014 13:48:12 +0000 (15:48 +0200)]
Add Rabenseifner Reduce/Allreduce algorithms
See https://fs.hlrs.de/projects/par/mpi//myreduce.html for details

7 years agoFix host_on_off_process tesh
Paul Bédaride [Mon, 28 Jul 2014 14:27:56 +0000 (16:27 +0200)]
Fix host_on_off_process tesh

7 years agoFix tesh host_on_off_processes 4
Paul Bédaride [Mon, 28 Jul 2014 13:09:56 +0000 (15:09 +0200)]
Fix tesh host_on_off_processes 4

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Mon, 28 Jul 2014 12:43:54 +0000 (14:43 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agofix tesh (add the sleep test output) - adrien
Adrien Lebre [Mon, 28 Jul 2014 12:43:50 +0000 (14:43 +0200)]
fix tesh (add the sleep test output) - adrien

7 years agoShell script to generate a simple tesh file
Gabriel Corona [Mon, 28 Jul 2014 12:39:54 +0000 (14:39 +0200)]
Shell script to generate a simple tesh file

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Mon, 28 Jul 2014 12:19:04 +0000 (14:19 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoAdd test sleep for host_on_off + minor changes - Adrien
Adrien Lebre [Mon, 28 Jul 2014 12:18:57 +0000 (14:18 +0200)]
Add test sleep for host_on_off + minor changes - Adrien

7 years ago[mc] Disable sparse snpashot tests
Gabriel Corona [Mon, 28 Jul 2014 09:35:05 +0000 (11:35 +0200)]
[mc] Disable sparse snpashot tests

It seems sparse snapshots are not stable yet.

7 years ago[mc] Remove unused variables
Gabriel Corona [Mon, 28 Jul 2014 09:08:10 +0000 (11:08 +0200)]
[mc] Remove unused variables

Stop the continuous integration server from complaining.

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Mon, 28 Jul 2014 08:54:11 +0000 (10:54 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoRollback - the java code should make a THROWF call - adrien
Adrien Lebre [Mon, 28 Jul 2014 08:54:05 +0000 (10:54 +0200)]
Rollback - the java code should make a THROWF call - adrien

7 years ago[mc] Make state/snapshot comparison work with SMPI variable privatisation
Gabriel Corona [Mon, 30 Jun 2014 11:06:12 +0000 (13:06 +0200)]
[mc] Make state/snapshot comparison work with SMPI variable privatisation

Changes :

  * a snapshot region now has a standard address (address in the
    virtual process) and permanent address (address of the
    privatisation region, where the memory is always mapped event when
    another process is active);

  * handle privatised memory regions on snapshot and snapshot restore;

  * compare global vaiable separately for each simulated process;

  * the ID of the simulated must be passed everywhere;

  * mc_snapshot_read() and friends as well as DWARF expression can be
    evaluated in the context of a given simulated process and fetch
    the data in the corresponding privatisation region.

7 years agoMerge branch 'mc'
Gabriel Corona [Fri, 25 Jul 2014 11:28:50 +0000 (13:28 +0200)]
Merge branch 'mc'

Conflicts:
src/mc/mc_compare.cpp

7 years ago[mc] Change the signature of mc_restore_page_snapshot_region
Gabriel Corona [Fri, 25 Jul 2014 10:24:59 +0000 (12:24 +0200)]
[mc] Change the signature of mc_restore_page_snapshot_region

Better separation of the different snapshot layers.

7 years ago[mc] Split mc_region_new_dense out of MC_region_new
Gabriel Corona [Fri, 25 Jul 2014 10:24:22 +0000 (12:24 +0200)]
[mc] Split mc_region_new_dense out of MC_region_new

MC_region_new uses the global SimGrid setting.
mc_region_new_dense uses dense snapshot.

7 years ago[mc] Expand unit test of mc_snapshot.c
Gabriel Corona [Fri, 25 Jul 2014 10:23:00 +0000 (12:23 +0200)]
[mc] Expand unit test of mc_snapshot.c

7 years ago[mc] Remove page_store.tesh (has been changed into a unit test)
Gabriel Corona [Fri, 25 Jul 2014 10:42:42 +0000 (12:42 +0200)]
[mc] Remove page_store.tesh (has been changed into a unit test)

7 years ago(stupid) warning --
Augustin Degomme [Thu, 24 Jul 2014 16:36:52 +0000 (18:36 +0200)]
(stupid) warning --

7 years agoFix msg-host-on-off tesh
Paul Bédaride [Thu, 24 Jul 2014 15:47:19 +0000 (17:47 +0200)]
Fix msg-host-on-off tesh

7 years agoAdd and use knomial reduce algorithm from mvapich
Augustin Degomme [Thu, 24 Jul 2014 15:26:37 +0000 (17:26 +0200)]
Add and use knomial reduce algorithm from mvapich

7 years agoAdd and use mvapich's scatter_dest alltoall algorithm
Augustin Degomme [Thu, 24 Jul 2014 14:41:28 +0000 (16:41 +0200)]
Add and use mvapich's scatter_dest alltoall algorithm

7 years agoMerge remote-tracking branch 'origin/mc-fastsnapshot' into mc
Gabriel Corona [Thu, 24 Jul 2014 14:11:19 +0000 (16:11 +0200)]
Merge remote-tracking branch 'origin/mc-fastsnapshot' into mc

Conflicts:
buildtools/Cmake/Flags.cmake

7 years ago[mc] Remove irrelevant comment
Gabriel Corona [Thu, 24 Jul 2014 14:10:02 +0000 (16:10 +0200)]
[mc] Remove irrelevant comment