Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
17 months agojedule: obey our coding standards
Martin Quinson [Mon, 18 Jun 2018 13:20:14 +0000 (15:20 +0200)]
jedule: obey our coding standards

At least in surface

17 months agosnake_case jedule
Martin Quinson [Mon, 18 Jun 2018 13:16:31 +0000 (15:16 +0200)]
snake_case jedule

17 months agosimplification: if jedule headers are loaded, jedule is here and needed
Martin Quinson [Sat, 16 Jun 2018 23:14:21 +0000 (01:14 +0200)]
simplification: if jedule headers are loaded, jedule is here and needed

17 months agoFactorize duplicated declarations.
Arnaud Giersch [Mon, 18 Jun 2018 15:27:19 +0000 (17:27 +0200)]
Factorize duplicated declarations.

17 months agoMissing extern "C" in smpi_helpers.h.
Arnaud Giersch [Mon, 18 Jun 2018 15:16:46 +0000 (17:16 +0200)]
Missing extern "C" in smpi_helpers.h.

17 months agotry to find a portable way to print off_t
Augustin Degomme [Mon, 18 Jun 2018 18:46:57 +0000 (20:46 +0200)]
try to find a portable way to print off_t

17 months agoReplace smpi/privatize-lib by smpi/privatize-libs, as it now accepts multiple librari...
degomme [Mon, 18 Jun 2018 16:02:25 +0000 (18:02 +0200)]
Replace smpi/privatize-lib by smpi/privatize-libs, as it now accepts multiple libraries at once ..
For example --cfg=smpi/privatize-libs:"libgfortran.so.3;libblas.so.3;liblapack.so.3;libfftw3.so.3;libscalapack.so" should work

17 months agoCosmetics, there's no more MSG in those examples.
Arnaud Giersch [Mon, 18 Jun 2018 13:43:11 +0000 (15:43 +0200)]
Cosmetics, there's no more MSG in those examples.

17 months agoUpdate ChangeLog.
Arnaud Giersch [Mon, 18 Jun 2018 13:19:53 +0000 (15:19 +0200)]
Update ChangeLog.

17 months agoUpdate .mailmap.
Arnaud Giersch [Mon, 18 Jun 2018 13:15:37 +0000 (15:15 +0200)]
Update .mailmap.

17 months agoDisable unused field without smpi.
Arnaud Giersch [Mon, 18 Jun 2018 13:12:57 +0000 (15:12 +0200)]
Disable unused field without smpi.

17 months agofix missing include
degomme [Mon, 18 Jun 2018 13:57:47 +0000 (15:57 +0200)]
fix missing include

17 months agoAdd option smpi/privatize-lib to add extra library to privatization.
degomme [Mon, 18 Jun 2018 13:31:16 +0000 (15:31 +0200)]
Add option smpi/privatize-lib to add extra library to privatization.
This can be use for instance with libgfortran for fortran codes with I/O.
TODO :
- pass multiple libs (miniDFT may need this)
- find a better way to find the lib, for now we have to give the exact lib name or path
  (libgfortran.so.3, or /path/to/libgfortran.so.3 works, but not libgfortran or libgfortran.so)

17 months agowoops
Augustin DEGOMME AD254919 [Mon, 18 Jun 2018 13:07:31 +0000 (15:07 +0200)]
woops

17 months agoadd support fort getopt_long_only, as mpimemu uses it
Augustin DEGOMME AD254919 [Mon, 18 Jun 2018 12:42:01 +0000 (14:42 +0200)]
add support fort getopt_long_only, as mpimemu uses it

17 months agoUpdate check-dist-archive.exclude.
Arnaud Giersch [Sun, 17 Jun 2018 20:04:40 +0000 (22:04 +0200)]
Update check-dist-archive.exclude.

Reorder, remove obsolete lines, and add .circleci/*.

17 months agomv simgrid_config.h simgrid/config
Martin Quinson [Sat, 16 Jun 2018 23:01:14 +0000 (01:01 +0200)]
mv simgrid_config.h simgrid/config

It'd be great if this one could not break our user's compilation :FEAR:

17 months agocircle: don't mess with pushd
Martin Quinson [Sat, 16 Jun 2018 21:28:47 +0000 (23:28 +0200)]
circle: don't mess with pushd

I've no idea what pushd is, so stop pretending.

17 months agosnake_case simix/blocking_simcall.hpp
Martin Quinson [Sat, 16 Jun 2018 21:26:32 +0000 (23:26 +0200)]
snake_case simix/blocking_simcall.hpp

17 months agoignore a new s4u example
Martin Quinson [Sat, 16 Jun 2018 21:14:33 +0000 (23:14 +0200)]
ignore a new s4u example

17 months agokill simix::onDeadlock that was somewhat dupplicating s4u::on_deadlock
Martin Quinson [Sat, 16 Jun 2018 21:12:25 +0000 (23:12 +0200)]
kill simix::onDeadlock that was somewhat dupplicating s4u::on_deadlock

17 months agosnake_case xbt/future.hpp
Martin Quinson [Sat, 16 Jun 2018 20:50:51 +0000 (22:50 +0200)]
snake_case xbt/future.hpp

17 months agosnake_case s4u::Mutex
Martin Quinson [Sat, 16 Jun 2018 20:39:31 +0000 (22:39 +0200)]
snake_case s4u::Mutex

17 months agostart filling the NEWS file
Martin Quinson [Sat, 16 Jun 2018 13:28:51 +0000 (15:28 +0200)]
start filling the NEWS file

17 months agouseless cleanups to ease the tracking of stuff to snakecase
Martin Quinson [Sat, 16 Jun 2018 20:03:22 +0000 (22:03 +0200)]
useless cleanups to ease the tracking of stuff to snakecase

17 months agosnake_case xbt/exception.hpp
Martin Quinson [Sat, 16 Jun 2018 13:29:20 +0000 (15:29 +0200)]
snake_case xbt/exception.hpp

17 months agosnake_case xbt/backtrace.hpp
Martin Quinson [Sat, 16 Jun 2018 07:37:36 +0000 (09:37 +0200)]
snake_case xbt/backtrace.hpp

17 months agosnake_case xbt/future.hpp
Martin Quinson [Sat, 16 Jun 2018 07:13:27 +0000 (09:13 +0200)]
snake_case xbt/future.hpp

17 months agosnake case xbt/signal.hpp
Martin Quinson [Sat, 16 Jun 2018 07:03:09 +0000 (09:03 +0200)]
snake case xbt/signal.hpp

17 months agosnake_case include/xbt/log.hpp
Martin Quinson [Fri, 15 Jun 2018 07:41:32 +0000 (09:41 +0200)]
snake_case include/xbt/log.hpp

17 months agofinish snake_casing s4u::VirtualMachine
Martin Quinson [Fri, 15 Jun 2018 07:28:53 +0000 (09:28 +0200)]
finish snake_casing s4u::VirtualMachine

17 months agomake e_surf_vm_state_t an enum class
Martin Quinson [Fri, 15 Jun 2018 07:25:17 +0000 (09:25 +0200)]
make e_surf_vm_state_t an enum class

17 months agostart snake_casing VirtualMachine
Martin Quinson [Thu, 14 Jun 2018 20:50:44 +0000 (22:50 +0200)]
start snake_casing VirtualMachine

17 months agouseless reformating to ease my grepping for stuff to snake_case
Martin Quinson [Wed, 13 Jun 2018 21:46:17 +0000 (23:46 +0200)]
useless reformating to ease my grepping for stuff to snake_case

I'm using:
grep -n -E "\<([a-z]+([A-Z][a-z]+)+)\>" `find include -name '*.hpp'` | grep -v " \* " | grep -v DEPR | grep -v "/\*\*"

17 months agosnake_case xbt/functional.hpp
Martin Quinson [Wed, 13 Jun 2018 21:20:16 +0000 (23:20 +0200)]
snake_case xbt/functional.hpp

17 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 13 Jun 2018 20:46:48 +0000 (22:46 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

17 months agoMerge branch 'master' of ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Arnaud Giersch [Wed, 13 Jun 2018 13:48:33 +0000 (15:48 +0200)]
Merge branch 'master' of ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

17 months agosimplify tracing of MPI_Test. Add tracing for Testall and friends.
degomme [Wed, 13 Jun 2018 12:58:15 +0000 (14:58 +0200)]
simplify tracing of MPI_Test. Add tracing for Testall and friends.

17 months ago[SMPI] Move instr_find_color to C++
Christian Heinrich [Wed, 13 Jun 2018 11:51:16 +0000 (13:51 +0200)]
[SMPI] Move instr_find_color to C++

- Use a std::map instead of an ugly array with some semantics on it
- Make sure that exact matches are always preferred over substring matches
- Return a default color code ("0.5 0.5 0.5")

17 months ago[SMPI/TESH] Breaks tests: Fix colors for functions
Christian Heinrich [Wed, 13 Jun 2018 11:45:10 +0000 (13:45 +0200)]
[SMPI/TESH] Breaks tests: Fix colors for functions

The map with the colors used in instr_smpi.cpp was not correctly
checked because substrings were allowed too:

If irecv was passed, the map found recv first, checked whether
recv is a substring of irecv (= yes) and returned the color associated
with recv even though irecv was in the map as well.

The bugfix will be in the next commit.

17 months agocircleci: simplify the build file
Martin Quinson [Tue, 12 Jun 2018 15:43:43 +0000 (17:43 +0200)]
circleci: simplify the build file

halte au jeunisme.

17 months agocircleci: no need to apt-get now that we use a docker
Martin Quinson [Tue, 12 Jun 2018 15:29:39 +0000 (17:29 +0200)]
circleci: no need to apt-get now that we use a docker

17 months agotry to produce a circle2 file
Martin Quinson [Tue, 12 Jun 2018 14:35:09 +0000 (16:35 +0200)]
try to produce a circle2 file

17 months agotry to produce a circle2 file
Martin Quinson [Tue, 12 Jun 2018 14:35:09 +0000 (16:35 +0200)]
try to produce a circle2 file

17 months agoplease circle, go hide in that little bush and ..
Martin Quinson [Tue, 12 Jun 2018 14:22:17 +0000 (16:22 +0200)]
please circle, go hide in that little bush and ..

17 months agoComplete list of fixed bugs.
Arnaud Giersch [Mon, 11 Jun 2018 20:55:25 +0000 (22:55 +0200)]
Complete list of fixed bugs.

17 months agoFix jedule build.
Arnaud Giersch [Mon, 11 Jun 2018 12:30:01 +0000 (14:30 +0200)]
Fix jedule build.

17 months agofix lua and jedule builds (with paranoid compil flags)
Martin Quinson [Sun, 10 Jun 2018 22:43:46 +0000 (00:43 +0200)]
fix lua and jedule builds (with paranoid compil flags)

17 months agonaming consistency (+snake_casing)
Martin Quinson [Sun, 10 Jun 2018 21:49:20 +0000 (23:49 +0200)]
naming consistency (+snake_casing)

Christian recently added get_filtered_actors(), which is a nice name.

17 months agofurther snake_case NetZone
Martin Quinson [Sun, 10 Jun 2018 15:17:53 +0000 (17:17 +0200)]
further snake_case NetZone

17 months agoDeclare fake_stack only with ASan.
Arnaud Giersch [Sun, 10 Jun 2018 19:37:29 +0000 (21:37 +0200)]
Declare fake_stack only with ASan.

17 months agoRename ASAN_EVAL to ASAN_ONLY, and kill ASAN_ASSERT.
Arnaud Giersch [Sun, 10 Jun 2018 19:36:19 +0000 (21:36 +0200)]
Rename ASAN_EVAL to ASAN_ONLY, and kill ASAN_ASSERT.

17 months agoSkip harmless ASan warnings.
Arnaud Giersch [Sun, 10 Jun 2018 15:51:58 +0000 (17:51 +0200)]
Skip harmless ASan warnings.

17 months agoRaw contexts: add Asan instrumentation.
Arnaud Giersch [Sat, 9 Jun 2018 20:48:01 +0000 (22:48 +0200)]
Raw contexts: add Asan instrumentation.

17 months agoSysv contexts: add Asan instrumentation.
Arnaud Giersch [Sat, 9 Jun 2018 20:37:09 +0000 (22:37 +0200)]
Sysv contexts: add Asan instrumentation.

17 months agoSysv contexts: remove useless indirection.
Arnaud Giersch [Sat, 9 Jun 2018 21:35:13 +0000 (23:35 +0200)]
Sysv contexts: remove useless indirection.

17 months agoBoost contexts: add an assert checking that we don't mix up originating context.
Arnaud Giersch [Sun, 10 Jun 2018 15:31:15 +0000 (17:31 +0200)]
Boost contexts: add an assert checking that we don't mix up originating context.

17 months agoContexts: move asan support in separate header.
Arnaud Giersch [Sat, 9 Jun 2018 20:10:48 +0000 (22:10 +0200)]
Contexts: move asan support in separate header.

17 months agoClang-6.0 wants initialization.
Arnaud Giersch [Fri, 8 Jun 2018 20:35:45 +0000 (22:35 +0200)]
Clang-6.0 wants initialization.

17 months agoField is unused without smpi.
Arnaud Giersch [Sat, 9 Jun 2018 12:53:55 +0000 (14:53 +0200)]
Field is unused without smpi.

17 months agoUpdate .mailmap.
Arnaud Giersch [Fri, 8 Jun 2018 14:49:35 +0000 (16:49 +0200)]
Update .mailmap.

17 months agouse unordered_maps to store properties
Martin Quinson [Sun, 10 Jun 2018 14:55:37 +0000 (16:55 +0200)]
use unordered_maps to store properties

17 months agostart snake_casing NetZone. Many cleanups to come
Martin Quinson [Sat, 9 Jun 2018 20:16:38 +0000 (22:16 +0200)]
start snake_casing NetZone. Many cleanups to come

17 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 9 Jun 2018 15:49:13 +0000 (17:49 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

17 months agocosmetic snake casing
Frederic Suter [Fri, 8 Jun 2018 22:19:42 +0000 (00:19 +0200)]
cosmetic snake casing

17 months agoASan supposely works with swapcontext and ASM manual contexts
Martin Quinson [Tue, 5 Jun 2018 22:04:43 +0000 (00:04 +0200)]
ASan supposely works with swapcontext and ASM manual contexts

17 months agoFix OSX rpath issues by using real paths.
Matthieu Volat [Fri, 8 Jun 2018 14:11:53 +0000 (16:11 +0200)]
Fix OSX rpath issues by using real paths.

For this to works across all tests, tuto-msg must be supplied
-Wl,-rpath argument to CFLAGS, not elegant, but works...

17 months agoCompleted request was already nulled in Request::waitany. Use the right index.
Arnaud Giersch [Fri, 8 Jun 2018 11:55:43 +0000 (13:55 +0200)]
Completed request was already nulled in Request::waitany.  Use the right index.

This reverts commit b034798c622c83cdd6fc4f068ca6a86771f82014.

17 months agoMPI_Wait*: fix tracing related memory leaks.
Arnaud Giersch [Fri, 8 Jun 2018 09:49:46 +0000 (11:49 +0200)]
MPI_Wait*: fix tracing related memory leaks.

17 months agoMPI_Waitany: set completed request to null.
Arnaud Giersch [Fri, 8 Jun 2018 09:42:06 +0000 (11:42 +0200)]
MPI_Waitany: set completed request to null.

17 months agocosmetics: this is a bool
Frederic Suter [Fri, 8 Jun 2018 09:01:23 +0000 (11:01 +0200)]
cosmetics: this is a bool

17 months agosnake_case VirtualMachineImpl
Frederic Suter [Fri, 8 Jun 2018 08:36:15 +0000 (10:36 +0200)]
snake_case VirtualMachineImpl

17 months agoextra cleanups in Storage
Frederic Suter [Fri, 8 Jun 2018 07:33:33 +0000 (09:33 +0200)]
extra cleanups in Storage

17 months agoa few less verbose descriptions in instr
Frederic Suter [Fri, 8 Jun 2018 07:07:23 +0000 (09:07 +0200)]
a few less verbose descriptions in instr

17 months agoFix build for lua bindings.
Arnaud Giersch [Wed, 6 Jun 2018 14:37:03 +0000 (16:37 +0200)]
Fix build for lua bindings.

17 months agoyes another attempt
Augustin Degomme [Wed, 6 Jun 2018 22:34:10 +0000 (00:34 +0200)]
yes another attempt

17 months agosnake case storage
Frederic Suter [Wed, 6 Jun 2018 18:20:32 +0000 (20:20 +0200)]
snake case storage

17 months agonow useless, bummer
Frederic Suter [Wed, 6 Jun 2018 12:17:33 +0000 (14:17 +0200)]
now useless, bummer

17 months agofix build (and please valgrind)
Frederic Suter [Wed, 6 Jun 2018 12:15:47 +0000 (14:15 +0200)]
fix build (and please valgrind)

17 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 6 Jun 2018 12:15:28 +0000 (14:15 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

17 months agoremove trace-resource from trace comparison, as results are unreliable and too large...
Augustin Degomme [Wed, 6 Jun 2018 12:06:38 +0000 (14:06 +0200)]
remove trace-resource from trace comparison, as results are unreliable and too large. Need to test it elsewhere.

17 months agouseless private
Frederic Suter [Wed, 6 Jun 2018 10:58:00 +0000 (12:58 +0200)]
useless private

17 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 6 Jun 2018 10:16:54 +0000 (12:16 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

17 months agomv link map to the engine
Frederic Suter [Wed, 6 Jun 2018 10:16:37 +0000 (12:16 +0200)]
mv link map to the engine

17 months agoActually test SMPI tracing - high probability of failure
Augustin Degomme [Wed, 6 Jun 2018 09:47:05 +0000 (11:47 +0200)]
Actually test SMPI tracing - high probability of failure

17 months agoreduce time taken by a test (maybe for nothing)
Augustin Degomme [Wed, 6 Jun 2018 09:27:04 +0000 (11:27 +0200)]
reduce time taken by a test (maybe for nothing)

17 months agoadd back tracing of communications in wait/waitany/waitall, should fix #269
Augustin Degomme [Wed, 6 Jun 2018 09:26:42 +0000 (11:26 +0200)]
add back tracing of communications in wait/waitany/waitall, should fix #269

17 months agofactor attachment of state traces to resources
Frederic Suter [Wed, 6 Jun 2018 08:20:15 +0000 (10:20 +0200)]
factor attachment of state traces to resources

It also opens the way to state traces for other resources, such as
storage

17 months agosnake case for better consistency
Frederic Suter [Wed, 6 Jun 2018 08:05:02 +0000 (10:05 +0200)]
snake case for better consistency

17 months agosnake_case LinkImpl (but the part that should to the engine)
Frederic Suter [Wed, 6 Jun 2018 07:55:03 +0000 (09:55 +0200)]
snake_case LinkImpl (but the part that should to the engine)

17 months agoAvoid hard coded -lboost_unit_test_framework.
Arnaud Giersch [Tue, 5 Jun 2018 08:33:20 +0000 (10:33 +0200)]
Avoid hard coded -lboost_unit_test_framework.

17 months agoUpdate .mailmap file.
Arnaud Giersch [Fri, 1 Jun 2018 21:26:57 +0000 (23:26 +0200)]
Update .mailmap file.

17 months agotry to fix how we deal with rpath on binaries
Martin Quinson [Mon, 4 Jun 2018 20:43:50 +0000 (22:43 +0200)]
try to fix how we deal with rpath on binaries

17 months agotry to avoid a false positive on sonar saying that on_exit() is deprecated
Martin Quinson [Mon, 4 Jun 2018 07:02:33 +0000 (09:02 +0200)]
try to avoid a false positive on sonar saying that on_exit() is deprecated

17 months agohost-filtering example: improve doc, and add to documentation TOC
Martin Quinson [Sun, 3 Jun 2018 21:08:59 +0000 (23:08 +0200)]
host-filtering example: improve doc, and add to documentation TOC

17 months agosonar: Mark constructors as explicit
Martin Quinson [Sun, 3 Jun 2018 20:46:46 +0000 (22:46 +0200)]
sonar: Mark constructors as explicit

17 months agocmake: cosmetics around the detection of sem_init
Martin Quinson [Sun, 3 Jun 2018 19:53:33 +0000 (21:53 +0200)]
cmake: cosmetics around the detection of sem_init

17 months agoTry to fix the link to Boost_UNIT_TEST_FRAMEWORK
Martin Quinson [Sun, 3 Jun 2018 19:16:18 +0000 (21:16 +0200)]
Try to fix the link to Boost_UNIT_TEST_FRAMEWORK

Thanks to Olivier for the patch. It (fix: #267).

17 months agos4u::NetZone: move deprecation wrappers to the end
Martin Quinson [Thu, 31 May 2018 15:41:20 +0000 (17:41 +0200)]
s4u::NetZone: move deprecation wrappers to the end

17 months agosnake_case the s4u::NetZone signals
Martin Quinson [Thu, 31 May 2018 15:38:05 +0000 (17:38 +0200)]
snake_case the s4u::NetZone signals

Deprecation wrapper are impossible