Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years ago[CMAKE] Add new ampi files to cmake. This should build now
Christian Heinrich [Thu, 2 Aug 2018 15:32:17 +0000 (17:32 +0200)]
[CMAKE] Add new ampi files to cmake. This should build now

5 years ago[SAMPI] Move ampi signals to simgrid::smpi::plugin::ampi
Christian Heinrich [Thu, 2 Aug 2018 15:29:30 +0000 (17:29 +0200)]
[SAMPI] Move ampi signals to simgrid::smpi::plugin::ampi

This will still not build, but it is simpler to to see the changes with smaller commits

5 years ago[SAMPI] Move tracing functions definitions to instr_ampi.cpp
Christian Heinrich [Thu, 2 Aug 2018 15:28:47 +0000 (17:28 +0200)]
[SAMPI] Move tracing functions definitions to instr_ampi.cpp

This will still not build, but it is simpler to to see the changes with smaller commits

5 years ago[SAMPI] Move tracing functions to instr_ampi.hpp
Christian Heinrich [Thu, 2 Aug 2018 15:25:30 +0000 (17:25 +0200)]
[SAMPI] Move tracing functions to instr_ampi.hpp

This will not build, but it is simpler to to see where the functions went

5 years ago[SAMPI] Rename example from load_balancer to AMPI
Christian Heinrich [Thu, 2 Aug 2018 13:58:37 +0000 (15:58 +0200)]
[SAMPI] Rename example from load_balancer to AMPI

This has nothing to do with the LB, just with AMPI

5 years ago[SAMPI] Rename from sampi_pampi.cpp to ampi/ampi.cpp
Christian Heinrich [Thu, 2 Aug 2018 09:14:53 +0000 (11:14 +0200)]
[SAMPI] Rename from sampi_pampi.cpp to ampi/ampi.cpp

5 years ago[SMPI/LB] Add comment noting that an arg must not be 0
Christian Heinrich [Thu, 2 Aug 2018 15:32:53 +0000 (17:32 +0200)]
[SMPI/LB] Add comment noting that an arg must not be 0

5 years ago[SMPI/LB] Check migration counter before the LB execution
Christian Heinrich [Thu, 19 Jul 2018 09:03:46 +0000 (11:03 +0200)]
[SMPI/LB] Check migration counter before the LB execution

5 years ago[SMPI/LB] Implement GreedyLB with a Fibonacci Heap
Christian Heinrich [Tue, 17 Jul 2018 11:39:27 +0000 (13:39 +0200)]
[SMPI/LB] Implement GreedyLB with a Fibonacci Heap

5 years ago[SMPI/LB] Use mapping class within the LB
Christian Heinrich [Tue, 17 Jul 2018 11:38:39 +0000 (13:38 +0200)]
[SMPI/LB] Use mapping class within the LB

5 years ago[EXAMPLES/LB] Add a replay example for the LB plugin
Christian Heinrich [Thu, 14 Jun 2018 09:21:43 +0000 (11:21 +0200)]
[EXAMPLES/LB] Add a replay example for the LB plugin

5 years ago[CMAKE] Activate LB example
Christian Heinrich [Thu, 14 Jun 2018 08:39:34 +0000 (10:39 +0200)]
[CMAKE] Activate LB example

5 years ago[CMAKE] Add the LoadBalancer file to cmake
Christian Heinrich [Thu, 14 Jun 2018 08:39:16 +0000 (10:39 +0200)]
[CMAKE] Add the LoadBalancer file to cmake

5 years ago[Plugins/LB] Add LoadBalancer class
Christian Heinrich [Thu, 14 Jun 2018 09:23:09 +0000 (11:23 +0200)]
[Plugins/LB] Add LoadBalancer class

5 years ago[SAMPI] Update the sampi_loadbalancer code
Christian Heinrich [Wed, 16 May 2018 13:46:05 +0000 (15:46 +0200)]
[SAMPI] Update the sampi_loadbalancer code

This is a first version for our new load balancing
module. It's not yet ready, but we're getting there.

5 years ago[EXAMPLES] Added first example/test for SAMPI (load balancer)
Christian Heinrich [Wed, 16 May 2018 13:41:10 +0000 (15:41 +0200)]
[EXAMPLES] Added first example/test for SAMPI (load balancer)

5 years ago[CMAKE] Add sampi_pampi.cpp and smpi/sampi.h to cmake
Christian Heinrich [Thu, 28 Jun 2018 12:09:22 +0000 (14:09 +0200)]
[CMAKE] Add sampi_pampi.cpp and smpi/sampi.h to cmake

5 years ago[SMPI/LB] Add files load_balancer.hpp and smpi/sampi.h
Christian Heinrich [Thu, 28 Jun 2018 12:08:22 +0000 (14:08 +0200)]
[SMPI/LB] Add files load_balancer.hpp and smpi/sampi.h

5 years ago[SAMPI] Add sampi_pampi.cpp
Christian Heinrich [Wed, 16 May 2018 13:43:02 +0000 (15:43 +0200)]
[SAMPI] Add sampi_pampi.cpp

This file contains the implementation for several PAMPI_* functions

5 years ago[SMPI] Add 3 tracing functions for SAMPI
Christian Heinrich [Wed, 16 May 2018 13:24:48 +0000 (15:24 +0200)]
[SMPI] Add 3 tracing functions for SAMPI

- TRACE_Iteration_in
- TRACE_Iteration_out
- TRACE_migration_call

5 years ago[SAMPI] Added AmpiMigrateTIData
Christian Heinrich [Wed, 16 May 2018 13:22:31 +0000 (15:22 +0200)]
[SAMPI] Added AmpiMigrateTIData

5 years ago[ENERGY] Add new hook to fix issue with communication calls
Christian Heinrich [Fri, 27 Jul 2018 15:34:44 +0000 (17:34 +0200)]
[ENERGY] Add new hook to fix issue with communication calls

See the comment in the commit

5 years ago[SMPI/INSTR] Replace ! with 'not' ...
Christian Heinrich [Thu, 2 Aug 2018 15:30:53 +0000 (17:30 +0200)]
[SMPI/INSTR] Replace ! with 'not' ...

5 years ago[CMAKE] Cosmetics (sort some smpi files)
Christian Heinrich [Thu, 2 Aug 2018 13:41:27 +0000 (15:41 +0200)]
[CMAKE] Cosmetics (sort some smpi files)

5 years agoreduce memory footprint of a test (640MB was a bit too much for some ci vms)
degomme [Thu, 2 Aug 2018 10:49:38 +0000 (12:49 +0200)]
reduce memory footprint of a test (640MB was a bit too much for some ci vms)

5 years agoFix double dashes.
Arnaud Giersch [Wed, 1 Aug 2018 20:06:04 +0000 (22:06 +0200)]
Fix double dashes.

5 years agoadd scripted description update for appveyor and travis
degomme [Wed, 1 Aug 2018 14:40:54 +0000 (16:40 +0200)]
add scripted description update for appveyor and travis

5 years agoadd the dumb script used to update project description on jenkins to the repo
Augustin Degomme [Tue, 31 Jul 2018 20:17:01 +0000 (22:17 +0200)]
add the dumb script used to update project description on jenkins to the repo

5 years agooops
degomme [Tue, 31 Jul 2018 15:52:56 +0000 (17:52 +0200)]
oops

5 years agoadd system detection for ci builds.
degomme [Tue, 31 Jul 2018 15:39:16 +0000 (17:39 +0200)]
add system detection for ci builds.
Not really possible with cmake, so done by hand with help from https://unix.stackexchange.com/questions/6345/how-can-i-get-distribution-name-and-version-number-in-a-simple-shell-script
This will help scripting the description of the slaves

5 years agowoops, revalidate this tesh too
Martin Quinson [Tue, 31 Jul 2018 08:19:04 +0000 (10:19 +0200)]
woops, revalidate this tesh too

5 years agoAutomatically rebuild the pages on git push on framagit
Martin Quinson [Tue, 31 Jul 2018 08:05:58 +0000 (10:05 +0200)]
Automatically rebuild the pages on git push on framagit

5 years agocosmetics in error message
Martin Quinson [Tue, 31 Jul 2018 00:35:47 +0000 (02:35 +0200)]
cosmetics in error message

5 years agosimplify this example
Martin Quinson [Tue, 31 Jul 2018 00:35:36 +0000 (02:35 +0200)]
simplify this example

5 years agocleanups in sphinx config file
Martin Quinson [Mon, 30 Jul 2018 21:22:24 +0000 (23:22 +0200)]
cleanups in sphinx config file

5 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 30 Jul 2018 21:21:17 +0000 (23:21 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

5 years agodoc: convert another chapter to RST
Martin Quinson [Mon, 30 Jul 2018 21:12:19 +0000 (23:12 +0200)]
doc: convert another chapter to RST

5 years agoGet the documentation to build on RTD
Martin Quinson [Mon, 30 Jul 2018 20:07:48 +0000 (22:07 +0200)]
Get the documentation to build on RTD

5 years agodoc: 'installation' converted to RST
Martin Quinson [Mon, 30 Jul 2018 17:46:55 +0000 (19:46 +0200)]
doc: 'installation' converted to RST

5 years agodoc: Main concepts
Martin Quinson [Mon, 30 Jul 2018 17:46:25 +0000 (19:46 +0200)]
doc: Main concepts

5 years agobasic sphinx/breathe configuration for the documentation
Martin Quinson [Mon, 30 Jul 2018 17:44:13 +0000 (19:44 +0200)]
basic sphinx/breathe configuration for the documentation

5 years agoplug leaks... Still don't like what's done here, it will need a good rewrite.
Augustin Degomme [Mon, 30 Jul 2018 13:29:30 +0000 (15:29 +0200)]
plug leaks... Still don't like what's done here, it will need a good rewrite.

5 years agouniformity in Activity cancel()
Frederic Suter [Sat, 28 Jul 2018 23:13:04 +0000 (01:13 +0200)]
uniformity in Activity cancel()

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 28 Jul 2018 22:25:50 +0000 (00:25 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agotest exec->cancel() and simplify another test
Frederic Suter [Sat, 28 Jul 2018 22:24:54 +0000 (00:24 +0200)]
test exec->cancel() and simplify another test

5 years agoallow to cancel a s4u::Exec
Frederic Suter [Sat, 28 Jul 2018 22:23:50 +0000 (00:23 +0200)]
allow to cancel a s4u::Exec

5 years agoCannot use range-based for loop when container is modified.
Arnaud Giersch [Sat, 28 Jul 2018 21:48:03 +0000 (23:48 +0200)]
Cannot use range-based for loop when container is modified.

5 years agoOne more filtered lib.
Arnaud Giersch [Sat, 28 Jul 2018 15:52:02 +0000 (17:52 +0200)]
One more filtered lib.

Wonder if we should not use a white list instead.

5 years agofiltered_libraries++
Arnaud Giersch [Fri, 27 Jul 2018 22:05:41 +0000 (00:05 +0200)]
filtered_libraries++

5 years agoFix memory errors.
Arnaud Giersch [Fri, 27 Jul 2018 22:02:02 +0000 (00:02 +0200)]
Fix memory errors.

5 years agoSpurious 'n'.
Arnaud Giersch [Thu, 26 Jul 2018 09:48:11 +0000 (11:48 +0200)]
Spurious 'n'.

5 years agoKeep list of filtered libraries sorted.
Arnaud Giersch [Thu, 26 Jul 2018 08:28:50 +0000 (10:28 +0200)]
Keep list of filtered libraries sorted.

5 years agoRemove useless thread_local.
Arnaud Giersch [Thu, 19 Jul 2018 19:34:46 +0000 (21:34 +0200)]
Remove useless thread_local.

It doesn't make any difference if context/factory is not "thread".

5 years agoas the comment was saying, that was unsafe, and flang was doing something else
Augustin Degomme [Thu, 26 Jul 2018 17:08:05 +0000 (19:08 +0200)]
as the comment was saying, that was unsafe, and flang was doing something else

5 years agoDon't free there for intel compiler, it breaks.
Augustin Degomme [Thu, 26 Jul 2018 16:17:46 +0000 (18:17 +0200)]
Don't free there for intel compiler, it breaks.
Yes, that means leaking.

5 years ago[HostLoad] And lastly: Update the hooks used
Christian Heinrich [Thu, 26 Jul 2018 09:34:43 +0000 (11:34 +0200)]
[HostLoad] And lastly: Update the hooks used

5 years ago[HostLoad] Update the update() method to use ExecImplPtrs
Christian Heinrich [Thu, 26 Jul 2018 09:34:26 +0000 (11:34 +0200)]
[HostLoad] Update the update() method to use ExecImplPtrs

These ptrs are stored in the class, see the previous commit

5 years ago[HostLoad] Add method HostLoad::add_activity(ExecImplPtr)
Christian Heinrich [Thu, 26 Jul 2018 09:22:22 +0000 (11:22 +0200)]
[HostLoad] Add method HostLoad::add_activity(ExecImplPtr)

The HostLoad plugin keeps track of all the computations that are going on
and does no longer have to rely on calculations of the sort time_passed*speed.

Instead, we can now access the total cost of the computation and keep track
of how much is still remaining. Like this, we always account for exactly
the cost of that calculation.

5 years ago[HostLoad] Update when calling getters
Christian Heinrich [Thu, 26 Jul 2018 09:16:41 +0000 (11:16 +0200)]
[HostLoad] Update when calling getters

This will allow us to remove the CpuAction hook and replace it with
hooks that are only used after a calculation has completed.

If for instance a daemon (dvfs, load balancer, ...) wants to get
up-to-date information, this is now assured through the update call.

5 years ago[HostLoad] Update comments + add debug statement
Christian Heinrich [Thu, 26 Jul 2018 09:12:55 +0000 (11:12 +0200)]
[HostLoad] Update comments + add debug statement

5 years ago[HostLoad] Elaborate on comment
Christian Heinrich [Thu, 26 Jul 2018 07:48:37 +0000 (09:48 +0200)]
[HostLoad] Elaborate on comment

5 years ago[HostLoad] Remove wrong 'was_prev_idle' notion
Christian Heinrich [Mon, 23 Jul 2018 13:07:01 +0000 (15:07 +0200)]
[HostLoad] Remove wrong 'was_prev_idle' notion

The load is only updated after a call to LMM; this means, that
we get the real load the action caused by querying the constraint
and we don't need to have a variable for that state.

5 years ago[ENERGY] Remove HostLoad-plugin dependency
Christian Heinrich [Thu, 26 Jul 2018 14:38:26 +0000 (16:38 +0200)]
[ENERGY] Remove HostLoad-plugin dependency

5 years ago[SURF] Cosmetics for CpuAction
Christian Heinrich [Mon, 23 Jul 2018 09:40:44 +0000 (11:40 +0200)]
[SURF] Cosmetics for CpuAction

5 years agomissed one
Augustin Degomme [Thu, 26 Jul 2018 13:08:48 +0000 (15:08 +0200)]
missed one

5 years agomake a copy of args for each process
Augustin Degomme [Thu, 26 Jul 2018 12:52:17 +0000 (14:52 +0200)]
make a copy of args for each process
Not optimal as it's only for fortran (ifort) that it's useful.
Done this way to see if it helps flang as well

5 years agoadd another library to excludes to please mc
Augustin Degomme [Thu, 26 Jul 2018 09:18:43 +0000 (11:18 +0200)]
add another library to excludes to please mc

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 26 Jul 2018 08:22:49 +0000 (10:22 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agoadd libraries to excludes to please mc
Augustin Degomme [Thu, 26 Jul 2018 08:22:13 +0000 (10:22 +0200)]
add libraries to excludes to please mc

5 years agosonar
Frederic Suter [Thu, 26 Jul 2018 07:51:00 +0000 (09:51 +0200)]
sonar

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 26 Jul 2018 07:09:02 +0000 (09:09 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agoSometimes C and fortran compiler family differs...
Augustin Degomme [Wed, 25 Jul 2018 23:57:28 +0000 (01:57 +0200)]
Sometimes C and fortran compiler family differs...
Try to get around that.. Ugly for now.

5 years agoflang also does need some help
Augustin Degomme [Wed, 25 Jul 2018 23:52:29 +0000 (01:52 +0200)]
flang also does need some help

5 years agoforgot to change here
Augustin Degomme [Wed, 25 Jul 2018 23:14:07 +0000 (01:14 +0200)]
forgot to change here

5 years agointel somehow also matches __GNUC__
Augustin Degomme [Wed, 25 Jul 2018 22:57:34 +0000 (00:57 +0200)]
intel somehow also matches __GNUC__

5 years agoadd test for fortran params ... Not with MPI, but it should not change anything
Augustin Degomme [Wed, 25 Jul 2018 22:19:03 +0000 (00:19 +0200)]
add test for fortran params ... Not with MPI, but it should not change anything

5 years agothese were not used since ... well .. a long time
Augustin Degomme [Wed, 25 Jul 2018 22:17:55 +0000 (00:17 +0200)]
these were not used since ... well .. a long time

5 years agosend argv and argc to fortran runtimes, to allow using getarg
Augustin Degomme [Wed, 25 Jul 2018 22:09:08 +0000 (00:09 +0200)]
send argv and argc to fortran runtimes, to allow using getarg

5 years agosimplifications
Frederic Suter [Wed, 25 Jul 2018 14:48:43 +0000 (16:48 +0200)]
simplifications

5 years agoremove another call to simcall_execution_start
Frederic Suter [Wed, 25 Jul 2018 14:33:59 +0000 (16:33 +0200)]
remove another call to simcall_execution_start

5 years agochanging the way the tracing category is passed to ExecImpl
Frederic Suter [Wed, 25 Jul 2018 14:00:38 +0000 (16:00 +0200)]
changing the way the tracing category is passed to ExecImpl

the former version implied to set the category AFTER the start()
because the ExecImpl had to exist. It was against the idea of "do all
the sets and then starts". Now, the category is set at user level and
then passed to the Impl within the start simcall. Setting a category
after the start is now forbidden.

5 years agostart to snake_case NS3
Martin Quinson [Sun, 22 Jul 2018 21:10:46 +0000 (23:10 +0200)]
start to snake_case NS3

5 years agosnake_case k::r::NetworkConstant
Martin Quinson [Sat, 21 Jul 2018 21:06:04 +0000 (23:06 +0200)]
snake_case k::r::NetworkConstant

5 years agoreduce test size
Augustin Degomme [Tue, 24 Jul 2018 19:55:51 +0000 (21:55 +0200)]
reduce test size

5 years agoRework SMPI initialization to handle argc and argv earlier than in MPI_Init when...
Augustin Degomme [Tue, 24 Jul 2018 19:55:19 +0000 (21:55 +0200)]
Rework SMPI initialization to handle argc and argv earlier than in MPI_Init when possible.
Add support for MPI_Init(NULL,NULL).
Might break MC for now.

5 years agofix the (unoticed) mess I made
Frederic Suter [Tue, 24 Jul 2018 11:15:04 +0000 (13:15 +0200)]
fix the (unoticed) mess I made

5 years agoplease clang
Frederic Suter [Sat, 21 Jul 2018 15:19:34 +0000 (17:19 +0200)]
please clang

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 21 Jul 2018 15:05:41 +0000 (17:05 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agoremove direct call to simcall
Frederic Suter [Sat, 21 Jul 2018 15:03:49 +0000 (17:03 +0200)]
remove direct call to simcall
modify order in replay example
set the tracing category breaks examples/smpi/tracing but do not seem
to be needed so comment it for now. Further simplifications in tracing
may help to understand and/or fix.

5 years agodo not use simcall_execution_start directly
Frederic Suter [Sat, 21 Jul 2018 15:02:33 +0000 (17:02 +0200)]
do not use simcall_execution_start directly

5 years agoallow to set a tracing category for an Exec
Frederic Suter [Sat, 21 Jul 2018 13:25:17 +0000 (15:25 +0200)]
allow to set a tracing category for an Exec

5 years agostringify tracing category
Frederic Suter [Sat, 21 Jul 2018 12:34:27 +0000 (14:34 +0200)]
stringify tracing category

5 years ago[KERNEL] struct -> class to match it's declaration
Christian Heinrich [Fri, 20 Jul 2018 21:20:25 +0000 (23:20 +0200)]
[KERNEL] struct -> class to match it's declaration

This was previously declared as a class, so just
do the same here.

5 years agoboolification
Frederic Suter [Fri, 20 Jul 2018 19:58:42 +0000 (21:58 +0200)]
boolification

5 years agoallow to name an Exec
Frederic Suter [Fri, 20 Jul 2018 18:34:49 +0000 (20:34 +0200)]
allow to name an Exec

5 years agofix comment in example
Frederic Suter [Fri, 20 Jul 2018 18:29:57 +0000 (20:29 +0200)]
fix comment in example

5 years agoa bit more merging
Frederic Suter [Fri, 20 Jul 2018 17:36:22 +0000 (19:36 +0200)]
a bit more merging

5 years agowhen an activity is complete, nothing remains...
Frederic Suter [Fri, 20 Jul 2018 12:29:05 +0000 (14:29 +0200)]
when an activity is complete, nothing remains...

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 20 Jul 2018 11:51:11 +0000 (13:51 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agouse our new toys
Frederic Suter [Fri, 20 Jul 2018 11:48:14 +0000 (13:48 +0200)]
use our new toys