Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years ago[SMPI] smpi_process: Move instance_id_ from char* to std::string
Christian Heinrich [Wed, 17 Jan 2018 22:25:06 +0000 (23:25 +0100)]
[SMPI] smpi_process: Move instance_id_ from char* to std::string

6 years ago[SMPI] Remove comment
Christian Heinrich [Wed, 17 Jan 2018 22:21:07 +0000 (23:21 +0100)]
[SMPI] Remove comment

6 years ago[SMPI] Remove index_ and index() from smpi::Process
Christian Heinrich [Wed, 17 Jan 2018 20:38:10 +0000 (21:38 +0100)]
[SMPI] Remove index_ and index() from smpi::Process

6 years ago[SMPI] Rename parameters from index to process_id in helper function
Christian Heinrich [Wed, 17 Jan 2018 20:36:52 +0000 (21:36 +0100)]
[SMPI] Rename parameters from index to process_id in helper function

6 years ago[SMPI] smpi_process.cpp: Replace 'index' with 'Actor::getPid'
Christian Heinrich [Wed, 17 Jan 2018 20:20:30 +0000 (21:20 +0100)]
[SMPI] smpi_process.cpp: Replace 'index' with 'Actor::getPid'

6 years ago[SIMIX] Remove SMPI-specific segment_index notion from the Actor class
Christian Heinrich [Wed, 17 Jan 2018 20:16:05 +0000 (21:16 +0100)]
[SIMIX] Remove SMPI-specific segment_index notion from the Actor class

Privatization is now done via the process id and attached to the SMPI process.

6 years ago[SMPI/CHANGELOG] Deprecate smpi_process_index()
Christian Heinrich [Wed, 17 Jan 2018 20:03:38 +0000 (21:03 +0100)]
[SMPI/CHANGELOG] Deprecate smpi_process_index()

6 years ago[SMPI] smpi.h: Remove smpi_process_index() usage in macros
Christian Heinrich [Wed, 17 Jan 2018 20:02:50 +0000 (21:02 +0100)]
[SMPI] smpi.h: Remove smpi_process_index() usage in macros

6 years ago[SMPI] Search/Replace of smpi_process()->index() in src/smpi/
Christian Heinrich [Wed, 17 Jan 2018 19:20:19 +0000 (20:20 +0100)]
[SMPI] Search/Replace of smpi_process()->index() in src/smpi/

Via
sed -i -r -e 's@smpi_process\(\)\->index\(\)@simgrid::s4u::Actor::self\(\)\->getPid\(\)@' src/smpi/**/*.cpp

6 years ago[SMPI] smpi_replay.cpp: Cosmetics as proposed by clang-format
Christian Heinrich [Wed, 17 Jan 2018 18:58:47 +0000 (19:58 +0100)]
[SMPI] smpi_replay.cpp: Cosmetics as proposed by clang-format

6 years ago[SMPI] Rename variables from 'rank' to 'my_proc_id' in smpi_replay.cpp
Christian Heinrich [Wed, 17 Jan 2018 18:58:11 +0000 (19:58 +0100)]
[SMPI] Rename variables from 'rank' to 'my_proc_id' in smpi_replay.cpp

6 years ago[SMPI] smpi_replay.cpp: Replace smpi_process()->index() calls
Christian Heinrich [Wed, 17 Jan 2018 18:53:19 +0000 (19:53 +0100)]
[SMPI] smpi_replay.cpp: Replace smpi_process()->index() calls

6 years ago[CHANGELOG] Update changelog with SMPI's index + trace file changes
Christian Heinrich [Wed, 17 Jan 2018 18:14:13 +0000 (19:14 +0100)]
[CHANGELOG] Update changelog with SMPI's index + trace file changes

6 years ago[SMPI] Cosmetics for smpi_pmpi_win.cpp as suggested by clang-format
Christian Heinrich [Wed, 17 Jan 2018 18:27:49 +0000 (19:27 +0100)]
[SMPI] Cosmetics for smpi_pmpi_win.cpp as suggested by clang-format

6 years ago[SMPI] Rename variable 'rank' to 'my_proc_id'
Christian Heinrich [Wed, 17 Jan 2018 18:26:57 +0000 (19:26 +0100)]
[SMPI] Rename variable 'rank' to 'my_proc_id'

Because it's not the rank.

6 years ago[SMPI] (LAST PATCH) Fix SMPI replay & smpi-replay tesh
Christian Heinrich [Wed, 17 Jan 2018 18:11:43 +0000 (19:11 +0100)]
[SMPI] (LAST PATCH) Fix SMPI replay & smpi-replay tesh

This patch is the last and SMPI should build and run correctly.

6 years ago[SMPI] (THIRD PATCH) Replace invalid uses of 'comm->rank()'
Christian Heinrich [Wed, 17 Jan 2018 18:07:38 +0000 (19:07 +0100)]
[SMPI] (THIRD PATCH) Replace invalid uses of 'comm->rank()'

This patch may not build or may have failing tests. It's part of a series and
contains logical changes.

6 years ago[SMPI] (SECOND PATCH) Fix destinations/origins for tracing *TIData objects
Christian Heinrich [Wed, 17 Jan 2018 17:45:27 +0000 (18:45 +0100)]
[SMPI] (SECOND PATCH) Fix destinations/origins for tracing *TIData objects

This patch will either not build or will have failing tests, as it belongs
to a series of patches.

6 years ago[SMPI] (FIRST PATCH) Remove 'getPid() - 1' arithmetic from SMPI.
Christian Heinrich [Wed, 17 Jan 2018 17:30:35 +0000 (18:30 +0100)]
[SMPI] (FIRST PATCH) Remove 'getPid() - 1' arithmetic from SMPI.

THIS COMMIT WILL NOT BUILD PROPERLY OR HAS FAILING TESTS. I decided to split up
a huge commit into several logical chunks in order to make things easier to read.

The 'getPid() - 1' expressions were the (temporary) replacement for smpi_process()->index() but it's better
to remove it completely: This is often confused for being an MPI rank
although it is not (ranks depend on the communicator in use).
Also, process id 0 is exclusively the maestro so we should not artificially
pretend we start counting from 0 when we're clearly not. So now we don't have to
say that 'process with id 1 has index 0'.

This patch substitutes almost exclusively 'getPid() - 1' computations with
just 'getPid()'. There are a few other replacements, especially in the smpi_win.cpp,
where former commits introduced logically wrong usage of 'comm_->rank()'.

The next few commits after this should also deal with a similar problematic.'

6 years ago[TESH] Replace 'smpi_process_index()' with call to 'MPI_Comm_rank()'
Christian Heinrich [Wed, 17 Jan 2018 15:59:43 +0000 (16:59 +0100)]
[TESH] Replace 'smpi_process_index()' with call to 'MPI_Comm_rank()'

6 years ago[SMPI] Remove outdated comment
Christian Heinrich [Tue, 16 Jan 2018 10:12:20 +0000 (11:12 +0100)]
[SMPI] Remove outdated comment

6 years ago[SMPI] Cosmetics of smpi_pmpi_request.cpp as suggested by clang-format
Christian Heinrich [Tue, 16 Jan 2018 10:28:39 +0000 (11:28 +0100)]
[SMPI] Cosmetics of smpi_pmpi_request.cpp as suggested by clang-format

6 years ago[SMPI] Replace index() in smpi_pmpi_requests.cpp
Christian Heinrich [Mon, 15 Jan 2018 23:44:53 +0000 (00:44 +0100)]
[SMPI] Replace index() in smpi_pmpi_requests.cpp

6 years ago[SMPI] Replace index() in smpi_requests.cpp
Christian Heinrich [Mon, 15 Jan 2018 23:28:44 +0000 (00:28 +0100)]
[SMPI] Replace index() in smpi_requests.cpp

6 years ago[SMPI] Remove index() from smpi_pmpi_win.cpp
Christian Heinrich [Mon, 15 Jan 2018 23:24:29 +0000 (00:24 +0100)]
[SMPI] Remove index() from smpi_pmpi_win.cpp

6 years ago[SMPI] Remove index() from smpi_win.cpp + cosmetics
Christian Heinrich [Mon, 15 Jan 2018 23:16:30 +0000 (00:16 +0100)]
[SMPI] Remove index() from smpi_win.cpp + cosmetics

Replace these calls with comm_->rank() instead.

The cosmetics were rather unwanted but it's just indentation.

6 years ago[SMPI] Win::~Win(): Use class member rank_ instead of a local var
Christian Heinrich [Mon, 15 Jan 2018 23:09:09 +0000 (00:09 +0100)]
[SMPI] Win::~Win(): Use class member rank_ instead of a local var

6 years ago[SMPI] Remove usage of index() in smpi_pmpi_coll.cpp
Christian Heinrich [Mon, 15 Jan 2018 22:56:54 +0000 (23:56 +0100)]
[SMPI] Remove usage of index() in smpi_pmpi_coll.cpp

We can just use comm->rank() instead. Note that usage of the index()
function was also incorrect: This would not have worked when the
communicator is not MPI_COMM_WORLD as the index() function always returned
Actor.pid-1 (as set in the Process::init() function)

6 years ago[SMPI] Make Comm::rank() use Actors
Christian Heinrich [Mon, 15 Jan 2018 22:51:32 +0000 (23:51 +0100)]
[SMPI] Make Comm::rank() use Actors

6 years ago[SMPI] Use actor.iface() instead of Actor::byId(actor.pid)
Christian Heinrich [Mon, 15 Jan 2018 15:21:49 +0000 (16:21 +0100)]
[SMPI] Use actor.iface() instead of Actor::byId(actor.pid)

6 years ago[SMPI] Move the pid calls to helper function that has more checks
Christian Heinrich [Mon, 15 Jan 2018 14:28:25 +0000 (15:28 +0100)]
[SMPI] Move the pid calls to helper function that has more checks

6 years ago[SMPI] Fix smpi-replay-multiple test
Christian Heinrich [Fri, 12 Jan 2018 13:46:02 +0000 (14:46 +0100)]
[SMPI] Fix smpi-replay-multiple test

I moved the SMPI_init() to the right location and
changed the tesh.

6 years ago[EXAMPLES] Update smpi_msg_masterslave -- move the SMPI_init()
Christian Heinrich [Thu, 11 Jan 2018 23:23:51 +0000 (00:23 +0100)]
[EXAMPLES] Update smpi_msg_masterslave -- move the SMPI_init()

The reason we moved this was that the processes were all set up before the hook
that sets up the smpi::Processes was even set up.

6 years ago[SMPI] Update smpi_deployment_register_process for actors
Christian Heinrich [Thu, 11 Jan 2018 23:22:01 +0000 (00:22 +0100)]
[SMPI] Update smpi_deployment_register_process for actors

6 years ago[SMPI] Rename 'index' to 'my_proc_id' in smpi::Process::init()
Christian Heinrich [Wed, 17 Jan 2018 14:37:51 +0000 (15:37 +0100)]
[SMPI] Rename 'index' to 'my_proc_id' in smpi::Process::init()

6 years ago[SMPI] Move process_data to map<Actor, smpi::Process>
Christian Heinrich [Thu, 11 Jan 2018 23:17:43 +0000 (00:17 +0100)]
[SMPI] Move process_data to map<Actor, smpi::Process>

6 years ago[SMPI] Remove index notion from smpi::Group
Christian Heinrich [Thu, 11 Jan 2018 23:11:26 +0000 (00:11 +0100)]
[SMPI] Remove index notion from smpi::Group

This is a huge commit and removes the index() function from
smpi::Group and replaces it with an actor() function.

The index was basically just Actor::getPid()-1 and doesn't need
to be saved. It was also often used for the privatization segment
(to know where it was stored) but that is no longer required.

6 years ago[SMPI] Program against s4u::Actor and not smx_actor_t
Christian Heinrich [Thu, 11 Jan 2018 16:19:47 +0000 (17:19 +0100)]
[SMPI] Program against s4u::Actor and not smx_actor_t

6 years ago[SMPI] Move SMPI_init() call to other location
Christian Heinrich [Thu, 11 Jan 2018 21:25:40 +0000 (22:25 +0100)]
[SMPI] Move SMPI_init() call to other location

6 years ago[SMPI] Next step for dynamic privatization
Christian Heinrich [Wed, 6 Dec 2017 13:24:07 +0000 (14:24 +0100)]
[SMPI] Next step for dynamic privatization

This commit breaks the following tests:
The following tests FAILED:
        181 - smpi-msg-masterslave-thread (Failed)
        182 - smpi-msg-masterslave-ucontext (Failed)
        183 - smpi-msg-masterslave-raw (Failed)

To fix this, many more changes will be required. This will be done in
the next commit. This commit is just there to make sure changes
remain easily understandable (by having small, easy-to-read commits).

I changed the following:

- Remove variable index_to_process_data
- Make process_data a map instead of an array.
- Remove the "index" variable for SMPI instances (no longer needed)

And cleanup the mess that comes with these changes (delete/free, ...)

6 years ago[SMPI] Added XBT_DEBUG statements to smpi_win.cpp
Christian Heinrich [Mon, 22 Jan 2018 23:39:16 +0000 (00:39 +0100)]
[SMPI] Added XBT_DEBUG statements to smpi_win.cpp

They can help a lot to figure out what goes wrong and where...

6 years agodistinguish shutdown and destroy in Java VMs
Frederic Suter [Wed, 24 Jan 2018 09:30:15 +0000 (10:30 +0100)]
distinguish shutdown and destroy in Java VMs

6 years agoMake MSG fade away (part 2)
Frederic Suter [Tue, 23 Jan 2018 14:14:54 +0000 (15:14 +0100)]
Make MSG fade away (part 2)

move more function to sg_host_* and add the MSG macros
fix dumb 32-bit tests too

6 years agoMaking MSG fade away (part 1)
Frederic Suter [Tue, 23 Jan 2018 11:24:37 +0000 (12:24 +0100)]
Making MSG fade away (part 1)

most of the MSG_host functions already have a sg_host equivalent.
Don't duplicate the code or multiply the layer and use #define in
include/simgrid/host.h to guarantee backward compatibility

6 years agoplease clang
Frederic Suter [Tue, 23 Jan 2018 09:56:29 +0000 (10:56 +0100)]
please clang

6 years agomessing around MSG
Frederic Suter [Tue, 23 Jan 2018 08:45:19 +0000 (09:45 +0100)]
messing around MSG

6 years agoget rid of vm->isMigrating()
Frederic Suter [Mon, 22 Jan 2018 10:39:38 +0000 (11:39 +0100)]
get rid of vm->isMigrating()

There already was an equivalent in the live migration plugin. This
method was only used internally to detect if a VM was destroyed while
it was migrating. This is now useless.

6 years agoClose #105
Frederic Suter [Mon, 22 Jan 2018 10:09:30 +0000 (11:09 +0100)]
Close #105

When a VM is shutdown, a signal is triggered which is captured in the VM
live migration plugin. If the VM was currently migrating, it kills the
RX and TX actors and the actor that was used to call sg_vm_migrate in
an asynchronous way. Smart pointers on these three actors are stored
in a new extension of the VM which is created when started a migration.

A test for this feature has been added in
teshsuite/s4u/cloud-interrupt-migration which corresponds to the
scenario described in the issue

6 years agoKeep deprecated functions for three versions as usual.
Arnaud Giersch [Wed, 17 Jan 2018 17:08:38 +0000 (18:08 +0100)]
Keep deprecated functions for three versions as usual.

6 years agoDefine XBT_ATTRIB_DEPRECATED_v322 for next deprecated features.
Arnaud Giersch [Wed, 17 Jan 2018 16:42:23 +0000 (17:42 +0100)]
Define XBT_ATTRIB_DEPRECATED_v322 for next deprecated features.

6 years ago[TESH] Use platfdir and bindir for coll-alltoall test
Christian Heinrich [Wed, 17 Jan 2018 00:39:17 +0000 (01:39 +0100)]
[TESH] Use platfdir and bindir for coll-alltoall test

6 years ago[CMAKE] Copy also hostfile_coll for smpi tests
Christian Heinrich [Wed, 17 Jan 2018 00:38:50 +0000 (01:38 +0100)]
[CMAKE] Copy also hostfile_coll for smpi tests

6 years ago[SMPI] Added 2 FIXME's for PMPI_Is_thread_main()
Christian Heinrich [Tue, 16 Jan 2018 18:02:04 +0000 (19:02 +0100)]
[SMPI] Added 2 FIXME's for PMPI_Is_thread_main()

6 years ago[SMPI] Change comment in smpi_global.cpp
Christian Heinrich [Mon, 15 Jan 2018 22:49:35 +0000 (23:49 +0100)]
[SMPI] Change comment in smpi_global.cpp

6 years ago[SIMIX] Fix comment grammar
Christian Heinrich [Tue, 16 Jan 2018 12:11:55 +0000 (13:11 +0100)]
[SIMIX] Fix comment grammar

6 years agoimprove doc of how to release
Martin Quinson [Wed, 17 Jan 2018 11:19:55 +0000 (12:19 +0100)]
improve doc of how to release

6 years agofix sg_host_get_current_consumption() to do the same as C++
Martin Quinson [Wed, 17 Jan 2018 11:19:30 +0000 (12:19 +0100)]
fix sg_host_get_current_consumption() to do the same as C++

6 years ago[SIMIX] Fix the ActorImpl signal
Christian Heinrich [Fri, 12 Jan 2018 13:48:11 +0000 (14:48 +0100)]
[SIMIX] Fix the ActorImpl signal

The signal was fired too early, so I moved it to
another position.

6 years ago[TESH] Update pt2pt-dsend.tesh file with bindir, platfdir, ...
Christian Heinrich [Mon, 15 Jan 2018 14:15:21 +0000 (15:15 +0100)]
[TESH] Update pt2pt-dsend.tesh file with bindir, platfdir, ...

6 years ago[TESH] Fix smpi-trace tesh file
Christian Heinrich [Mon, 15 Jan 2018 14:14:39 +0000 (15:14 +0100)]
[TESH] Fix smpi-trace tesh file

This just fixes the ./smpi_trace path: It should be
using the  variable as well.

6 years ago[SMPI] Move even more redundant code to helper function
Christian Heinrich [Mon, 15 Jan 2018 14:06:07 +0000 (15:06 +0100)]
[SMPI] Move even more redundant code to helper function

6 years ago[SMPI] Added FIXME comment...
Christian Heinrich [Mon, 15 Jan 2018 14:05:17 +0000 (15:05 +0100)]
[SMPI] Added FIXME comment...

6 years ago[SMPI] Pass the request as pointer and fix tracing
Christian Heinrich [Mon, 15 Jan 2018 13:58:12 +0000 (14:58 +0100)]
[SMPI] Pass the request as pointer and fix tracing

6 years ago[SMPI] PMPI_Waitany/all: Move redundant code to helper function
Christian Heinrich [Mon, 15 Jan 2018 13:43:42 +0000 (14:43 +0100)]
[SMPI] PMPI_Waitany/all: Move redundant code to helper function

6 years ago[SMPI] Remove local variables
Christian Heinrich [Mon, 15 Jan 2018 13:32:49 +0000 (14:32 +0100)]
[SMPI] Remove local variables

6 years ago[SMPI] Remove now unused datastructure in PMPI_Waitall
Christian Heinrich [Mon, 15 Jan 2018 13:13:30 +0000 (14:13 +0100)]
[SMPI] Remove now unused datastructure in PMPI_Waitall

This is the same as two commits ago, just for another function.

6 years ago[SMPI] Don't use local structure in PMPI_Waitall
Christian Heinrich [Mon, 15 Jan 2018 13:11:49 +0000 (14:11 +0100)]
[SMPI] Don't use local structure in PMPI_Waitall

This is the same thing as two commits ago, but for
another function.

6 years ago[SMPI] Remove now unused datastructure in PMPI_Waitany
Christian Heinrich [Mon, 15 Jan 2018 12:49:00 +0000 (13:49 +0100)]
[SMPI] Remove now unused datastructure in PMPI_Waitany

The previous commit made changes that rendered the
structure savedvalstype unused. This commit
removes it completely.

6 years ago[SMPI] Don't use local structure in PMPI_Waitany
Christian Heinrich [Mon, 15 Jan 2018 12:47:45 +0000 (13:47 +0100)]
[SMPI] Don't use local structure in PMPI_Waitany

The datastructure savedvalstype serves no real purpose
and can be removed.

6 years ago[TESTS] Use platfdir, srcdir and bindir for more smpi tests
Christian Heinrich [Mon, 15 Jan 2018 12:10:53 +0000 (13:10 +0100)]
[TESTS] Use platfdir, srcdir and bindir for more smpi tests

6 years agoFix lua build.
Arnaud Giersch [Sat, 13 Jan 2018 09:50:05 +0000 (10:50 +0100)]
Fix lua build.

6 years agoUpdate .mailmap file.
Arnaud Giersch [Tue, 9 Jan 2018 15:01:51 +0000 (16:01 +0100)]
Update .mailmap file.

6 years ago[S4U] Add onCreation signal to the actor API
Christian Heinrich [Thu, 11 Jan 2018 15:19:07 +0000 (16:19 +0100)]
[S4U] Add onCreation signal to the actor API

6 years ago[TESH] Use platfdir variable in coll-alltoall/clusters.tesh
Christian Heinrich [Thu, 11 Jan 2018 23:22:42 +0000 (00:22 +0100)]
[TESH] Use platfdir variable in coll-alltoall/clusters.tesh

6 years ago[SMPI] Replace SIMIX_process_from_PID with S4U equivalent
Christian Heinrich [Thu, 11 Jan 2018 23:03:20 +0000 (00:03 +0100)]
[SMPI] Replace SIMIX_process_from_PID with S4U equivalent

6 years agouse enum class for cluster topology
Frederic Suter [Fri, 12 Jan 2018 09:18:55 +0000 (10:18 +0100)]
use enum class for cluster topology

6 years agoone more class in platform creation
Frederic Suter [Fri, 12 Jan 2018 09:05:37 +0000 (10:05 +0100)]
one more class in platform creation

6 years agokill dead code
Frederic Suter [Fri, 12 Jan 2018 08:29:46 +0000 (09:29 +0100)]
kill dead code

6 years agoplease Sonar
Frederic Suter [Fri, 12 Jan 2018 08:19:35 +0000 (09:19 +0100)]
please Sonar

6 years ago[SMPI] Spelling.
Christian Heinrich [Tue, 19 Dec 2017 14:28:45 +0000 (15:28 +0100)]
[SMPI] Spelling.

6 years ago[SMPI] Declare loop variable within the loop.
Christian Heinrich [Tue, 19 Dec 2017 14:20:28 +0000 (15:20 +0100)]
[SMPI] Declare loop variable within the loop.

Compilers will get this.

6 years ago[SMPI] Remove local variable sz in smpi_group.cpp
Christian Heinrich [Fri, 15 Dec 2017 13:47:55 +0000 (14:47 +0100)]
[SMPI] Remove local variable sz in smpi_group.cpp

We already tested before if size_ != group2->size() -- and since
sz = group2->size(), we have here size_ == sz. So just use size_.

6 years ago[SMPI] Rename variable bar -> barrier
Christian Heinrich [Thu, 7 Dec 2017 09:26:12 +0000 (10:26 +0100)]
[SMPI] Rename variable bar -> barrier

bar sounds more like foo/bar

6 years ago[SMPI] Use variable instead of 3 calls to the same function
Christian Heinrich [Thu, 7 Dec 2017 09:24:37 +0000 (10:24 +0100)]
[SMPI] Use variable instead of 3 calls to the same function

6 years ago[SMPI] Remove wrong comments on functions
Christian Heinrich [Wed, 6 Dec 2017 13:35:46 +0000 (14:35 +0100)]
[SMPI] Remove wrong comments on functions

6 years ago[SMPI] Fixed grammar in comment
Christian Heinrich [Wed, 6 Dec 2017 12:46:58 +0000 (13:46 +0100)]
[SMPI] Fixed grammar in comment

6 years ago[SMPI] Added doc block for smpi_backup_global_memory_segment()
Christian Heinrich [Wed, 6 Dec 2017 12:43:22 +0000 (13:43 +0100)]
[SMPI] Added doc block for smpi_backup_global_memory_segment()

6 years ago[SMPI] Use xbt_die() instead of printf & exit
Christian Heinrich [Wed, 6 Dec 2017 12:16:13 +0000 (13:16 +0100)]
[SMPI] Use xbt_die() instead of printf & exit

6 years ago[CMAKE] Copy the file hostfile_cluster to build-dir.
Christian Heinrich [Wed, 10 Jan 2018 16:08:24 +0000 (17:08 +0100)]
[CMAKE] Copy the file hostfile_cluster to build-dir.

6 years ago[CMAKE] Add srcdir, bindir and platfdir variables for more smpi tests
Christian Heinrich [Thu, 11 Jan 2018 21:19:47 +0000 (22:19 +0100)]
[CMAKE] Add srcdir, bindir and platfdir variables for more smpi tests

6 years ago[CMAKE/TESH] Make the platfdir variable available to all SMPI tests
Christian Heinrich [Wed, 10 Jan 2018 16:01:10 +0000 (17:01 +0100)]
[CMAKE/TESH] Make the platfdir variable available to all SMPI tests

This has been long overdue. Tests still need to be adapted
but platforms can be referred to as, e.g., /cluster.xml

6 years agorefactoring and cosmetics
Frederic Suter [Thu, 11 Jan 2018 14:48:46 +0000 (15:48 +0100)]
refactoring and cosmetics

6 years agouse class and enum class in Actor parsing
Frederic Suter [Thu, 11 Jan 2018 14:14:33 +0000 (15:14 +0100)]
use class and enum class in Actor parsing

6 years agouse enum class for trace connect kind
Frederic Suter [Thu, 11 Jan 2018 13:55:06 +0000 (14:55 +0100)]
use enum class for trace connect kind

6 years agoMessing up with VM
Frederic Suter [Thu, 11 Jan 2018 12:40:24 +0000 (13:40 +0100)]
Messing up with VM
 - move VM tracing to S4U
 - move last functions related to migration to the plugin
    - MSG_vm_create is now MSG_vm_create_migratable and tagged
      as DEPRECATED (will be removed in 3.21)
    - Assume that the live migration plugin is always loaded in JAVA
      (because all VMs are create with MSG_vm_create there)
 - add a proper destroy function to S4U VMs (shutdown first, then
   destroy)
 - pimpl_vm_ is now private (with getImpl() as accessor)
    - and use the user level interface as much as possible

Conclusion: The MSG_vm interface is now just a dummy wrapper on the
S4U interface and live migration is fully isolated in a plugin. Only
the is_migrating bool remains in VirtualMachineImpl, but is not (and
should not be) accessed or modified from outside the plugin. We can live
with that.

6 years agoconvert cloud-migration example
Frederic Suter [Thu, 11 Jan 2018 09:07:55 +0000 (10:07 +0100)]
convert cloud-migration example

6 years agofix 32bit
Frederic Suter [Wed, 10 Jan 2018 11:33:01 +0000 (12:33 +0100)]
fix 32bit

6 years agoconvert kademlia example to s4u
Frederic Suter [Wed, 10 Jan 2018 11:07:33 +0000 (12:07 +0100)]
convert kademlia example to s4u

6 years agoSlight cleanup after removal of xbt_dict_new().
Arnaud Giersch [Tue, 9 Jan 2018 12:40:49 +0000 (13:40 +0100)]
Slight cleanup after removal of xbt_dict_new().

6 years agoKill features marked deprecated until v3.19.
Arnaud Giersch [Tue, 9 Jan 2018 12:25:34 +0000 (13:25 +0100)]
Kill features marked deprecated until v3.19.