Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoFix refcounting of smpi::Errhandler.
Arnaud Giersch [Thu, 12 Dec 2019 09:35:23 +0000 (10:35 +0100)]
Fix refcounting of smpi::Errhandler.

4 years agoFix refcounting of smpi::Info.
Arnaud Giersch [Wed, 11 Dec 2019 21:45:08 +0000 (22:45 +0100)]
Fix refcounting of smpi::Info.

4 years agoLink Topo and Comm in both directions, and fix memory leak.
Arnaud Giersch [Thu, 5 Dec 2019 15:54:08 +0000 (16:54 +0100)]
Link Topo and Comm in both directions, and fix memory leak.

4 years ago[sonar] Unused parameters.
Arnaud Giersch [Thu, 12 Dec 2019 10:35:21 +0000 (11:35 +0100)]
[sonar] Unused parameters.

4 years agoFix parameter when calling MC_assert.
Arnaud Giersch [Wed, 11 Dec 2019 21:20:41 +0000 (22:20 +0100)]
Fix parameter when calling MC_assert.

A cast to (int) is wrong with e.g. (0.2) or (1UL<<32).

4 years agoFree memory.
Arnaud Giersch [Tue, 10 Dec 2019 15:23:35 +0000 (16:23 +0100)]
Free memory.

4 years agoSimplify valgrind suppressions.
Arnaud Giersch [Tue, 10 Dec 2019 10:53:26 +0000 (11:53 +0100)]
Simplify valgrind suppressions.

4 years agoBe consistent on the number of indirections.
Arnaud Giersch [Tue, 10 Dec 2019 08:23:11 +0000 (09:23 +0100)]
Be consistent on the number of indirections.

4 years agoavoid warnings with SMPI + MC asserts
Augustin Degomme [Wed, 11 Dec 2019 07:23:08 +0000 (08:23 +0100)]
avoid warnings with SMPI + MC asserts

4 years agoactivate tests.
Augustin Degomme [Tue, 10 Dec 2019 23:24:56 +0000 (00:24 +0100)]
activate tests.

4 years agoget rid of CHECK_FLAGS which was not correct.
Augustin Degomme [Tue, 10 Dec 2019 23:24:26 +0000 (00:24 +0100)]
get rid of CHECK_FLAGS which was not correct.

4 years ago"Implement" MPI_File_set_view, MPI_File_get_view.
Augustin Degomme [Tue, 10 Dec 2019 23:23:58 +0000 (00:23 +0100)]
"Implement" MPI_File_set_view, MPI_File_get_view.

4 years agoagain with status
Augustin Degomme [Tue, 10 Dec 2019 19:16:20 +0000 (20:16 +0100)]
again with status

4 years agoappend / to mountpoint when generated
Augustin Degomme [Tue, 10 Dec 2019 19:11:45 +0000 (20:11 +0100)]
append / to mountpoint when generated
(fun fact, it works without it, /scratchtestfile is inside /scratch for us)

4 years agoMPI_STATUS_IGNORE = null, actually.
Augustin Degomme [Tue, 10 Dec 2019 18:50:24 +0000 (19:50 +0100)]
MPI_STATUS_IGNORE = null, actually.

4 years agoupdate manifest
Augustin Degomme [Tue, 10 Dec 2019 17:27:28 +0000 (18:27 +0100)]
update manifest

4 years agofix dist
Augustin Degomme [Tue, 10 Dec 2019 16:21:07 +0000 (17:21 +0100)]
fix dist

4 years agoAllow to use non absolute path in MPI IO.
Augustin Degomme [Tue, 10 Dec 2019 16:16:43 +0000 (17:16 +0100)]
Allow to use non absolute path in MPI IO.
If no / is found in the name, we just pick the first mountpoint we find.

4 years agoAdd io test in mpich testsuite.
Augustin Degomme [Tue, 10 Dec 2019 16:01:35 +0000 (17:01 +0100)]
Add io test in mpich testsuite.
Works, but as files are simulated, content-checking after a read has to be disabled.
Also files have to be opened with an absolute path for now.

4 years agoSMPI-io : check that files are not read when write-only is specified
Augustin Degomme [Tue, 10 Dec 2019 15:13:27 +0000 (16:13 +0100)]
SMPI-io : check that files are not read when write-only is specified

4 years agofix issue with file unlinking
Augustin Degomme [Tue, 10 Dec 2019 15:12:24 +0000 (16:12 +0100)]
fix issue with file unlinking

4 years agocosmetics and damn 32-bit fix
Frederic Suter [Tue, 10 Dec 2019 13:10:53 +0000 (14:10 +0100)]
cosmetics and damn 32-bit fix

4 years agoan enum class of size of 2 is a well named bool
Frederic Suter [Tue, 10 Dec 2019 09:23:31 +0000 (10:23 +0100)]
an enum class of size of 2 is a well named bool

4 years agoSIMIX_display_process_status becomes Global::display_all_actor_status
Frederic Suter [Tue, 10 Dec 2019 09:03:36 +0000 (10:03 +0100)]
SIMIX_display_process_status becomes Global::display_all_actor_status

4 years agoa few process to actor changes
Frederic Suter [Tue, 10 Dec 2019 08:36:34 +0000 (09:36 +0100)]
a few process to actor changes

4 years agonamespacing cleanups
Frederic Suter [Tue, 10 Dec 2019 08:10:42 +0000 (09:10 +0100)]
namespacing cleanups

4 years agoplease sonar and codefactor
Augustin Degomme [Tue, 10 Dec 2019 08:56:35 +0000 (09:56 +0100)]
please sonar and codefactor

4 years agoplease sonar
Augustin Degomme [Tue, 10 Dec 2019 07:54:36 +0000 (08:54 +0100)]
please sonar

4 years agoinput sanitization continued.
Augustin Degomme [Tue, 10 Dec 2019 01:10:08 +0000 (02:10 +0100)]
input sanitization continued.

4 years agoUnify input checking using shared macros. Avoid repeating code.
Augustin Degomme [Mon, 9 Dec 2019 17:43:42 +0000 (18:43 +0100)]
Unify input checking using shared macros. Avoid repeating code.

4 years agotidy up PropertyHolder
Frederic Suter [Mon, 9 Dec 2019 16:15:48 +0000 (17:15 +0100)]
tidy up PropertyHolder
+ change namespace
+ move files
+ use it for netzones too

4 years agodocument new feature for disks
Frederic Suter [Mon, 9 Dec 2019 16:15:32 +0000 (17:15 +0100)]
document new feature for disks

4 years agoplease codefactor
Augustin Degomme [Mon, 9 Dec 2019 14:19:26 +0000 (15:19 +0100)]
please codefactor

4 years agoAdd more macros for input validation for colls.
Augustin Degomme [Mon, 9 Dec 2019 10:24:21 +0000 (11:24 +0100)]
Add more macros for input validation for colls.
Much cleaner this way.

4 years agogive access to disk's read and write (nomimal) bandwidth values
Frederic Suter [Mon, 9 Dec 2019 10:52:58 +0000 (11:52 +0100)]
give access to disk's read and write (nomimal) bandwidth values

4 years agoanother bunch of codefactor style issues
Frederic Suter [Mon, 9 Dec 2019 09:39:05 +0000 (10:39 +0100)]
another bunch of codefactor style issues

4 years agoUse CHECK_ARGS for more collectives.
Augustin Degomme [Mon, 9 Dec 2019 00:41:41 +0000 (01:41 +0100)]
Use CHECK_ARGS for more collectives.
(absolutely not to hide complexity from analyzers)
Will finish another day.

4 years agoSimplify (and maybe correct) script.
Arnaud Giersch [Sun, 8 Dec 2019 21:14:30 +0000 (22:14 +0100)]
Simplify (and maybe correct) script.

4 years agoAvoid looping over single, constant value (codefactor.io/ShellCheck).
Arnaud Giersch [Sun, 8 Dec 2019 20:32:34 +0000 (21:32 +0100)]
Avoid looping over single, constant value (codefactor.io/ShellCheck).

4 years agoFix portability issues in shellscripts (codefactor.io/ShellCheck).
Arnaud Giersch [Sat, 7 Dec 2019 22:16:13 +0000 (23:16 +0100)]
Fix portability issues in shellscripts (codefactor.io/ShellCheck).

4 years agocosmetics (codefactor+coding style)
Frederic Suter [Sun, 8 Dec 2019 14:19:55 +0000 (15:19 +0100)]
cosmetics (codefactor+coding style)

4 years agoinstall version.h (take 2)
Frederic Suter [Fri, 6 Dec 2019 16:09:10 +0000 (17:09 +0100)]
install version.h (take 2)

4 years agoinstall version.h
Frederic Suter [Fri, 6 Dec 2019 15:58:03 +0000 (16:58 +0100)]
install version.h

4 years agocodefactor: remove trailing newlines
Martin Quinson [Fri, 6 Dec 2019 14:48:52 +0000 (15:48 +0100)]
codefactor: remove trailing newlines

4 years agofix version detection after file change
Frederic Suter [Fri, 6 Dec 2019 14:41:31 +0000 (15:41 +0100)]
fix version detection after file change

4 years agostill some missing includes.
Augustin Degomme [Fri, 6 Dec 2019 13:39:24 +0000 (14:39 +0100)]
still some missing includes.

4 years agoinclude version.h for python bindings too
Frederic Suter [Fri, 6 Dec 2019 13:01:11 +0000 (14:01 +0100)]
include version.h for python bindings too

4 years agoadd missing include for smpi_options
Frederic Suter [Fri, 6 Dec 2019 12:21:56 +0000 (13:21 +0100)]
add missing include for smpi_options

4 years agoadd missing include for smpi_options
Frederic Suter [Fri, 6 Dec 2019 12:21:56 +0000 (13:21 +0100)]
add missing include for smpi_options

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Fri, 6 Dec 2019 11:50:14 +0000 (12:50 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agosmpi_init_options needs to be public
Augustin Degomme [Fri, 6 Dec 2019 11:23:17 +0000 (12:23 +0100)]
smpi_init_options needs to be public

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Fri, 6 Dec 2019 08:33:57 +0000 (09:33 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agoHAVE_SMPI is always defined (maybe to 0).
Arnaud Giersch [Fri, 6 Dec 2019 08:18:11 +0000 (09:18 +0100)]
HAVE_SMPI is always defined (maybe to 0).

4 years agoReplace non-breaking spaces.
Arnaud Giersch [Thu, 5 Dec 2019 21:06:21 +0000 (22:06 +0100)]
Replace non-breaking spaces.

4 years ago[cpplint] Omit template arguments for make_pair.
Arnaud Giersch [Thu, 5 Dec 2019 20:28:48 +0000 (21:28 +0100)]
[cpplint] Omit template arguments for make_pair.

4 years agoQualifier "virtual" is redundant with "override".
Arnaud Giersch [Thu, 5 Dec 2019 20:22:44 +0000 (21:22 +0100)]
Qualifier "virtual" is redundant with "override".

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Thu, 5 Dec 2019 16:03:47 +0000 (17:03 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agoAvoid division by zero.
Arnaud Giersch [Thu, 5 Dec 2019 14:26:23 +0000 (15:26 +0100)]
Avoid division by zero.

Problem seen on manjaro with mc-bugged1-liveness-ucontext and mc-bugged1-liveness-visited-ucontext.

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Thu, 5 Dec 2019 13:07:45 +0000 (14:07 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agoDeclare variables and allocate memory when needed (plug a memory leak).
Arnaud Giersch [Thu, 5 Dec 2019 12:40:33 +0000 (13:40 +0100)]
Declare variables and allocate memory when needed (plug a memory leak).

4 years agoReindent.
Arnaud Giersch [Thu, 5 Dec 2019 12:36:39 +0000 (13:36 +0100)]
Reindent.

4 years agoFix memory leak.
Arnaud Giersch [Thu, 5 Dec 2019 12:33:30 +0000 (13:33 +0100)]
Fix memory leak.

4 years agoFree dynamically allocated memory.
Arnaud Giersch [Thu, 5 Dec 2019 12:32:53 +0000 (13:32 +0100)]
Free dynamically allocated memory.

4 years agoFree communicators.
Arnaud Giersch [Thu, 5 Dec 2019 09:32:33 +0000 (10:32 +0100)]
Free communicators.

4 years agoReindent + minor stylistic issues.
Arnaud Giersch [Thu, 5 Dec 2019 09:32:33 +0000 (10:32 +0100)]
Reindent + minor stylistic issues.

4 years agoFactor code to get and resize temporary shared mem regions in smpi.
Arnaud Giersch [Thu, 5 Dec 2019 09:32:33 +0000 (10:32 +0100)]
Factor code to get and resize temporary shared mem regions in smpi.

4 years agoAvoid non-standard statement expressions.
Arnaud Giersch [Thu, 5 Dec 2019 09:32:33 +0000 (10:32 +0100)]
Avoid non-standard statement expressions.

4 years agoUnused variables.
Arnaud Giersch [Thu, 5 Dec 2019 09:32:33 +0000 (10:32 +0100)]
Unused variables.

4 years agoMissing include.
Arnaud Giersch [Thu, 5 Dec 2019 09:32:33 +0000 (10:32 +0100)]
Missing include.

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Thu, 5 Dec 2019 08:14:40 +0000 (09:14 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agofix build with MC + no SMPI
Augustin Degomme [Thu, 5 Dec 2019 06:41:46 +0000 (07:41 +0100)]
fix build with MC + no SMPI

4 years agoMerge branch 'doc' into 'master'
Martin Quinson [Wed, 4 Dec 2019 23:57:10 +0000 (00:57 +0100)]
Merge branch 'doc' into 'master'

Fix link in Mutex doc

See merge request simgrid/simgrid!25

4 years agoremove debug stuff added by mistake...
Augustin Degomme [Wed, 4 Dec 2019 21:47:01 +0000 (22:47 +0100)]
remove debug stuff added by mistake...

4 years ago...
Augustin Degomme [Wed, 4 Dec 2019 21:18:23 +0000 (22:18 +0100)]
...

4 years agomanifest update
Augustin Degomme [Wed, 4 Dec 2019 21:09:25 +0000 (22:09 +0100)]
manifest update

4 years agoneed to initialize here also for osx and co.
Augustin Degomme [Wed, 4 Dec 2019 21:04:00 +0000 (22:04 +0100)]
need to initialize here also for osx and co.

4 years agoSomehow OSX "lost" aligned_alloc recently ?
Augustin Degomme [Wed, 4 Dec 2019 20:16:28 +0000 (21:16 +0100)]
Somehow OSX "lost" aligned_alloc recently ?
But it's quite useless here anyway, so don't bother.

4 years agohelp mc initialize smpi options.
Augustin Degomme [Wed, 4 Dec 2019 20:05:52 +0000 (21:05 +0100)]
help mc initialize smpi options.

4 years agofix MC build
Augustin Degomme [Wed, 4 Dec 2019 18:04:51 +0000 (19:04 +0100)]
fix MC build

4 years agoleak--
Augustin Degomme [Wed, 4 Dec 2019 17:56:51 +0000 (18:56 +0100)]
leak--

4 years agorequalify tesh as one message changed category
Augustin Degomme [Wed, 4 Dec 2019 17:56:46 +0000 (18:56 +0100)]
requalify tesh as one message changed category

4 years agoMove SMPI config to smpi_config.cpp file.
Augustin Degomme [Wed, 4 Dec 2019 17:55:45 +0000 (18:55 +0100)]
Move SMPI config to smpi_config.cpp file.
Store values for most used values, which can be used millions of times.
In some tests I saw up to 5% of the time spent reading them.

4 years agoFix link in Mutex doc
Julien EMMANUEL [Wed, 4 Dec 2019 16:26:17 +0000 (17:26 +0100)]
Fix link in Mutex doc

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Tue, 3 Dec 2019 08:52:31 +0000 (09:52 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agoFix issue with copy avoidance, which was merely working by accident in most cases.
Augustin Degomme [Mon, 2 Dec 2019 15:05:21 +0000 (16:05 +0100)]
Fix issue with copy avoidance, which was merely working by accident in most cases.
That was causing HPL to loop.

4 years agomore precise OS description for OpenIndiana.
Augustin Degomme [Thu, 28 Nov 2019 11:40:55 +0000 (12:40 +0100)]
more precise OS description for OpenIndiana.

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Mon, 2 Dec 2019 13:03:47 +0000 (14:03 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agoMerge branch 'master' into 'master'
Augustin Degomme [Mon, 2 Dec 2019 12:39:45 +0000 (13:39 +0100)]
Merge branch 'master' into 'master'

Master

See merge request simgrid/simgrid!23

4 years agoClean up and use of vector for cleaner allocation
Fabien Chaix [Mon, 2 Dec 2019 12:18:44 +0000 (14:18 +0200)]
Clean up and use of vector for cleaner allocation

4 years agomv version related things from config.h.in to version.h.in
Frederic Suter [Mon, 2 Dec 2019 09:45:12 +0000 (10:45 +0100)]
mv version related things from config.h.in to version.h.in

4 years agomove version.h from src/simgrid to include/simgrid
Frederic Suter [Mon, 2 Dec 2019 09:41:47 +0000 (10:41 +0100)]
move version.h from src/simgrid to include/simgrid

4 years agomove version related content to a dedicated file
Frederic Suter [Mon, 2 Dec 2019 09:33:02 +0000 (10:33 +0100)]
move version related content to a dedicated file

4 years agocosmetics
Frederic Suter [Mon, 2 Dec 2019 08:26:42 +0000 (09:26 +0100)]
cosmetics

4 years agooops, this bit wasn't meant to be reverted.
Augustin Degomme [Sun, 1 Dec 2019 21:22:27 +0000 (22:22 +0100)]
oops, this bit wasn't meant to be reverted.

4 years agorename this macro.
Augustin Degomme [Sun, 1 Dec 2019 17:22:40 +0000 (18:22 +0100)]
rename this macro.
It's actually useful outside of sampi, to disable malloc override when it conflicts with other codes and is not needed.
Fors instance FFTW uses FFTW(malloc(x)) to actually call fftw_malloc, and our macro was then breaking compilation.

4 years agopartial revert of e16e0233
Augustin Degomme [Sun, 1 Dec 2019 14:28:28 +0000 (15:28 +0100)]
partial revert of e16e0233
These parenthesis are useful for use in macros, such as in HPL

4 years agoAvoid allocation inside lmm_solve
Fabien Chaix [Fri, 29 Nov 2019 12:53:37 +0000 (14:53 +0200)]
Avoid allocation inside lmm_solve

4 years agoAdd missing constant definitions for Fortran
Fabien Chaix [Fri, 29 Nov 2019 12:52:35 +0000 (14:52 +0200)]
Add missing constant definitions for Fortran

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Fri, 29 Nov 2019 11:09:19 +0000 (12:09 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years agomaestro_process -> maestro_
Frederic Suter [Fri, 29 Nov 2019 10:18:28 +0000 (11:18 +0100)]
maestro_process -> maestro_