Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agoloudly fail when asked to replay a non-existing file
Martin Quinson [Sun, 21 May 2017 14:58:11 +0000 (16:58 +0200)]
loudly fail when asked to replay a non-existing file

6 years agoinstr: merge the TI output in the converted code (WIP)
Martin Quinson [Fri, 19 May 2017 23:32:47 +0000 (01:32 +0200)]
instr: merge the TI output in the converted code (WIP)

The TI output is a pimple added at some point to trick the TRACING
infrastructure into generating a Time Independent trace of the
executed MPI application, so that this trace can later be replayed
with smpi_replay.

This was done in pure C, with a large amount of pointers to functions.
This cannot be cleanly ported to C++ without a large amount of
factories so that we can subclass each class of event and pick the
right one at runtime.

Instead, this was converted in a ugly way, with a global defining the
type of output that we want today, and each print() function checking
that global to adapt its code.

The bug that I'm chasing is still there, as the replay does not look
for the file that was actually generated, but it's getting better
already.

We will soon rewrite the whole tracing infrastructure with many signals
that are fired at the places that we want to observe. Then, both the
TRACING and the TI modules will register functions in these signals to
be informed of what's going on in the simulation. But they will not
share any code anymore.

Soon...

7 years agoget methods and theirs print methods together
Takishipp [Thu, 4 May 2017 10:21:33 +0000 (12:21 +0200)]
get methods and theirs print methods together

7 years agoReplace init_Stream by its content everywhere where it's been called
Takishipp [Wed, 3 May 2017 16:08:28 +0000 (18:08 +0200)]
Replace init_Stream by its content everywhere where it's been called

7 years agoMerge branch 'toufic' of github.com:Takishipp/simgrid
Takishipp [Wed, 3 May 2017 08:51:48 +0000 (10:51 +0200)]
Merge branch 'toufic' of github.com:Takishipp/simgrid

7 years agoNew option: smpi/keep-temps to not cleanup temp files
Martin Quinson [Wed, 3 May 2017 00:10:34 +0000 (02:10 +0200)]
New option: smpi/keep-temps to not cleanup temp files

(fix #160)

7 years agosmpicc: fail on undefined symbols (fix #161)
Martin Quinson [Tue, 2 May 2017 23:39:54 +0000 (01:39 +0200)]
smpicc: fail on undefined symbols (fix #161)

7 years agoinline another useless function
Martin Quinson [Tue, 2 May 2017 15:54:34 +0000 (17:54 +0200)]
inline another useless function

7 years agoNow it works (if you don't look at the leaks)
Martin Quinson [Tue, 2 May 2017 15:28:57 +0000 (17:28 +0200)]
Now it works (if you don't look at the leaks)

7 years agoMake the logs more robust to user's stupidity
Martin Quinson [Tue, 2 May 2017 12:13:09 +0000 (14:13 +0200)]
Make the logs more robust to user's stupidity

7 years agolittle function to debug the buffer
Martin Quinson [Tue, 2 May 2017 13:05:10 +0000 (15:05 +0200)]
little function to debug the buffer

7 years agouse explicitely PajeEvent* instead of paje_event_t
Martin Quinson [Tue, 2 May 2017 12:40:28 +0000 (14:40 +0200)]
use explicitely PajeEvent* instead of paje_event_t

7 years agorename paje_event into PajeEvent (+cosmetics)
Martin Quinson [Tue, 2 May 2017 12:35:11 +0000 (14:35 +0200)]
rename paje_event into PajeEvent (+cosmetics)

7 years ago[SMPI] Remove include from smpi_deployment.cpp
Christian Heinrich [Tue, 2 May 2017 10:46:32 +0000 (12:46 +0200)]
[SMPI] Remove include from smpi_deployment.cpp

7 years agoAttempt to correct error tests
Takishipp [Tue, 2 May 2017 09:48:33 +0000 (11:48 +0200)]
Attempt to correct error tests

7 years ago[SMPI] Ported smpi_deployment.cpp to C++
Christian Heinrich [Tue, 2 May 2017 09:08:55 +0000 (11:08 +0200)]
[SMPI] Ported smpi_deployment.cpp to C++

7 years ago[SMPI] Alignment cosmetics
Christian Heinrich [Fri, 28 Apr 2017 12:01:50 +0000 (14:01 +0200)]
[SMPI] Alignment cosmetics

7 years ago[SMPI] Add errno and strerror to SMPI memory error msg
Christian Heinrich [Wed, 26 Apr 2017 11:27:56 +0000 (13:27 +0200)]
[SMPI] Add errno and strerror to SMPI memory error msg

7 years agoFix the execution with NS3
Martin Quinson [Mon, 1 May 2017 20:54:36 +0000 (22:54 +0200)]
Fix the execution with NS3

7 years agofix NS3 and lua builds
Martin Quinson [Mon, 1 May 2017 14:25:58 +0000 (16:25 +0200)]
fix NS3 and lua builds

7 years agodoc: finish the deployment page (?)
Martin Quinson [Mon, 1 May 2017 09:28:26 +0000 (11:28 +0200)]
doc: finish the deployment page (?)

7 years agoFix java builds
Martin Quinson [Mon, 1 May 2017 07:42:56 +0000 (09:42 +0200)]
Fix java builds

7 years agofix make dist
Martin Quinson [Mon, 1 May 2017 06:54:57 +0000 (08:54 +0200)]
fix make dist

7 years agouppercase the s4u header files (+cleanups)
Martin Quinson [Sun, 30 Apr 2017 21:14:07 +0000 (23:14 +0200)]
uppercase the s4u header files (+cleanups)

7 years agokill dead code
Martin Quinson [Sun, 30 Apr 2017 20:21:39 +0000 (22:21 +0200)]
kill dead code

7 years agoreduce the amount of static_cast in smx_network
Martin Quinson [Sun, 30 Apr 2017 20:14:50 +0000 (22:14 +0200)]
reduce the amount of static_cast in smx_network

7 years agofix some doxygen errors
Martin Quinson [Sat, 29 Apr 2017 22:00:21 +0000 (00:00 +0200)]
fix some doxygen errors

7 years agoHide a gcc attribute that drives doxygen nuts
Martin Quinson [Sat, 29 Apr 2017 21:42:06 +0000 (23:42 +0200)]
Hide a gcc attribute that drives doxygen nuts

7 years agodoc improvements: mainly intro of platf and deployment
Martin Quinson [Sat, 29 Apr 2017 21:38:38 +0000 (23:38 +0200)]
doc improvements: mainly intro of platf and deployment

7 years agocommit the script I use to compile simgrid
Martin Quinson [Fri, 28 Apr 2017 08:09:29 +0000 (10:09 +0200)]
commit the script I use to compile simgrid

7 years agoimprove a tiny bit the doc introduction
Martin Quinson [Thu, 27 Apr 2017 20:10:08 +0000 (22:10 +0200)]
improve a tiny bit the doc introduction

I wish I will find the time to improve it further soon.

7 years agosave final incorrect changes
Takishipp [Thu, 27 Apr 2017 07:37:07 +0000 (09:37 +0200)]
save final incorrect changes

7 years agoStrengthen the memory ordering order on that refcounting to work around a bug
Martin Quinson [Wed, 26 Apr 2017 14:50:57 +0000 (16:50 +0200)]
Strengthen the memory ordering order on that refcounting to work around a bug

7 years agocomment++ on that code that I barely understand but exhibits bugs
Martin Quinson [Wed, 26 Apr 2017 11:56:10 +0000 (13:56 +0200)]
comment++ on that code that I barely understand but exhibits bugs

7 years agosort logically the fields of ActorImpl
Martin Quinson [Mon, 24 Apr 2017 23:29:07 +0000 (01:29 +0200)]
sort logically the fields of ActorImpl

7 years agointroduce type aid_t for Actor's ID (ie, PID)
Martin Quinson [Mon, 24 Apr 2017 23:24:09 +0000 (01:24 +0200)]
introduce type aid_t for Actor's ID (ie, PID)

7 years agoone xbt_lib less in storage
Frederic Suter [Mon, 24 Apr 2017 20:07:38 +0000 (22:07 +0200)]
one xbt_lib less in storage
still clumsy

7 years agosimplify way files are handled by MSG
Frederic Suter [Mon, 24 Apr 2017 15:45:16 +0000 (17:45 +0200)]
simplify way files are handled by MSG

7 years agotry to use more standard, less obscure synchro for refcounting
Martin Quinson [Mon, 24 Apr 2017 13:43:33 +0000 (15:43 +0200)]
try to use  more standard, less obscure synchro for refcounting

7 years agoxbt_strbuff to std::string in cpp files
Frederic Suter [Mon, 24 Apr 2017 13:17:06 +0000 (15:17 +0200)]
xbt_strbuff to std::string in cpp files

7 years agoNew function xbt_replay_action_get(): Retrieve the function previously associated...
Martin Quinson [Mon, 24 Apr 2017 12:46:28 +0000 (14:46 +0200)]
New function xbt_replay_action_get(): Retrieve the function previously associated to an event type.

7 years agoupdate
Takishipp [Mon, 24 Apr 2017 08:25:57 +0000 (10:25 +0200)]
update

7 years agosomme corrections
Takishipp [Mon, 24 Apr 2017 07:24:30 +0000 (09:24 +0200)]
somme corrections

7 years agofix my late sunday commit
Martin Quinson [Mon, 24 Apr 2017 06:35:13 +0000 (08:35 +0200)]
fix my late sunday commit

7 years agoreduce the verbosity of that message
Martin Quinson [Sun, 23 Apr 2017 20:56:35 +0000 (22:56 +0200)]
reduce the verbosity of that message

7 years ago32bits I hate you.
Martin Quinson [Sat, 22 Apr 2017 19:25:06 +0000 (21:25 +0200)]
32bits I hate you.

7 years agodamn 32bits
Martin Quinson [Sat, 22 Apr 2017 13:25:00 +0000 (15:25 +0200)]
damn 32bits

7 years agotry to avoid that others fall into the trap where I was yesterday
Martin Quinson [Sat, 22 Apr 2017 07:32:32 +0000 (09:32 +0200)]
try to avoid that others fall into the trap where I was yesterday

not quite sucessfull: the failure occures before main :(

7 years agocheck that the sendfile worked correctly or die verbosely if not
Martin Quinson [Fri, 21 Apr 2017 16:20:24 +0000 (18:20 +0200)]
check that the sendfile worked correctly or die verbosely if not

7 years agosave work
Takishipp [Fri, 21 Apr 2017 15:19:42 +0000 (17:19 +0200)]
save work

7 years agohierarchical OOP tree
Takishipp [Fri, 21 Apr 2017 14:00:20 +0000 (16:00 +0200)]
hierarchical OOP tree

7 years agoinline a function (to please sonar)
Martin Quinson [Fri, 21 Apr 2017 13:20:50 +0000 (15:20 +0200)]
inline a function (to please sonar)

7 years agomore informative msg when the dlopen of mmap priv fails
Martin Quinson [Thu, 20 Apr 2017 22:34:58 +0000 (00:34 +0200)]
more informative msg when the dlopen of mmap priv fails

as it appears to be the case on freebsd

7 years agoplease sonar a tiny bit
Martin Quinson [Thu, 20 Apr 2017 14:45:41 +0000 (16:45 +0200)]
please sonar a tiny bit

7 years agodon't suppose anythin on privatization when threads/ucontextes are not found
Martin Quinson [Thu, 20 Apr 2017 14:44:29 +0000 (16:44 +0200)]
don't suppose anythin on privatization when threads/ucontextes are not found

7 years agofix a broken condition in the tests
Martin Quinson [Thu, 20 Apr 2017 13:45:29 +0000 (15:45 +0200)]
fix a broken condition in the tests

7 years agodlopen: give one fdin per thread to avoid stupid races resulting in empty copied...
Martin Quinson [Thu, 20 Apr 2017 13:43:58 +0000 (15:43 +0200)]
dlopen: give one fdin per thread to avoid stupid races resulting in empty copied files

7 years agodocument the dlopen thing in the changelog
Martin Quinson [Thu, 20 Apr 2017 13:43:01 +0000 (15:43 +0200)]
document the dlopen thing in the changelog

7 years agoI cannot even use xbt_die correctly anymore, bummer
Martin Quinson [Thu, 20 Apr 2017 12:52:59 +0000 (14:52 +0200)]
I cannot even use xbt_die correctly anymore, bummer

7 years agoEven more informative error messages when dlopen fails
Martin Quinson [Thu, 20 Apr 2017 12:40:27 +0000 (14:40 +0200)]
Even more informative error messages when dlopen fails

7 years agobe more verbose when dlopen fails
Martin Quinson [Thu, 20 Apr 2017 12:35:52 +0000 (14:35 +0200)]
be more verbose when dlopen fails

7 years agotypo --
degomme [Thu, 20 Apr 2017 12:30:32 +0000 (14:30 +0200)]
typo --

7 years agomissed these spots while renaming an option
Martin Quinson [Thu, 20 Apr 2017 11:01:47 +0000 (13:01 +0200)]
missed these spots while renaming an option

7 years agotest dlopen privatization too
Martin Quinson [Thu, 20 Apr 2017 11:00:04 +0000 (13:00 +0200)]
test dlopen privatization too

7 years agofix the dlopen privatization (fix #157)
Martin Quinson [Thu, 20 Apr 2017 10:57:46 +0000 (12:57 +0200)]
fix the dlopen privatization (fix #157)

Thanks to @Ezibenroc for the report and the patch

7 years agorename option smpi/privatize-global-variables to smpi/privatization
Martin Quinson [Thu, 20 Apr 2017 10:27:48 +0000 (12:27 +0200)]
rename option smpi/privatize-global-variables to smpi/privatization

7 years agofix typos in cmake, preventing include paths from being correctly added
degomme [Thu, 20 Apr 2017 08:54:34 +0000 (10:54 +0200)]
fix typos in cmake, preventing include paths from being correctly added

7 years agoimprove the documentation of smpi/privatize-global-variables
Martin Quinson [Wed, 19 Apr 2017 08:07:48 +0000 (10:07 +0200)]
improve the documentation of smpi/privatize-global-variables

7 years agoplease sonar a tiny bit
Martin Quinson [Tue, 18 Apr 2017 13:41:19 +0000 (15:41 +0200)]
please sonar a tiny bit

7 years agoSMPI cleanups: rename a symbol and remove unused parameters
Martin Quinson [Mon, 17 Apr 2017 07:27:33 +0000 (09:27 +0200)]
SMPI cleanups: rename a symbol and remove unused parameters

7 years agoignore newly activated mpich tests
Martin Quinson [Mon, 17 Apr 2017 07:27:06 +0000 (09:27 +0200)]
ignore newly activated mpich tests

7 years agosmall sonar-inspired cleanups
Martin Quinson [Mon, 17 Apr 2017 07:25:10 +0000 (09:25 +0200)]
small sonar-inspired cleanups

7 years agoplease sonar and cosmetics
Martin Quinson [Sun, 16 Apr 2017 20:33:33 +0000 (22:33 +0200)]
please sonar and cosmetics

7 years agomake the mpich3 tests compile with the warnings on my machine
Martin Quinson [Sun, 16 Apr 2017 20:16:00 +0000 (22:16 +0200)]
make the mpich3 tests compile with the warnings on my machine

7 years agoplease sonar: kill unused parameters
Martin Quinson [Sat, 15 Apr 2017 22:11:45 +0000 (00:11 +0200)]
please sonar: kill unused parameters

and also declare each variable on its own line, even if that smell is
more supurious

7 years agofix the copyright date on these files
Martin Quinson [Sat, 15 Apr 2017 21:55:47 +0000 (23:55 +0200)]
fix the copyright date on these files

7 years agoReduce the size of partial shared malloc tests.
Tom Cornebize [Sat, 15 Apr 2017 21:18:01 +0000 (23:18 +0200)]
Reduce the size of partial shared malloc tests.

7 years agodamn, there is more of these nasty %lx around there
Martin Quinson [Fri, 14 Apr 2017 17:13:06 +0000 (19:13 +0200)]
damn, there is more of these nasty %lx around there

7 years agotry to fix 32bits builds
Martin Quinson [Fri, 14 Apr 2017 16:34:20 +0000 (18:34 +0200)]
try to fix 32bits builds

7 years agofix 32 bits builds ... probably
Augustin Degomme [Fri, 14 Apr 2017 15:39:28 +0000 (17:39 +0200)]
fix 32 bits builds ... probably

7 years agofix dist
Augustin Degomme [Fri, 14 Apr 2017 14:57:09 +0000 (16:57 +0200)]
fix dist

7 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Fri, 14 Apr 2017 13:26:13 +0000 (15:26 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

7 years agothis static function is now useless
Martin Quinson [Fri, 14 Apr 2017 13:25:40 +0000 (15:25 +0200)]
this static function is now useless

7 years agocosmetics
Martin Quinson [Fri, 14 Apr 2017 13:25:07 +0000 (15:25 +0200)]
cosmetics

7 years agoMerge pull request #156 from simgrid/munmap_size
Martin Quinson [Fri, 14 Apr 2017 13:10:07 +0000 (15:10 +0200)]
Merge pull request #156 from simgrid/munmap_size

Call munmap with the size in smpi_shared_free

7 years agoCall munmap with the size in smpi_shared_free.
Tom Cornebize [Fri, 14 Apr 2017 09:23:49 +0000 (11:23 +0200)]
Call munmap with the size in smpi_shared_free.

7 years agoPatch up smpi process creation ...
degomme [Fri, 14 Apr 2017 08:18:44 +0000 (10:18 +0200)]
Patch up smpi process creation ...
Dirty, as this will call smpi_init_options twice, so add a return for the second call.

7 years agoMerge pull request #154 from simgrid/partial_shared_malloc
Martin Quinson [Thu, 13 Apr 2017 20:13:37 +0000 (22:13 +0200)]
Merge pull request #154 from simgrid/partial_shared_malloc

Partial shared malloc

7 years agoseems needed here.
degomme [Thu, 13 Apr 2017 07:34:23 +0000 (09:34 +0200)]
seems needed here.

7 years agoPortability fun with FreeBSD
Martin Quinson [Thu, 13 Apr 2017 06:00:48 +0000 (08:00 +0200)]
Portability fun with FreeBSD

Make sure that the lambda capture parameter is actually used when
sendfile(2) is not usable, to avoid a fatal warning: FreeBSD is both
super advanced (with clang being very uptodate) and somewhat
prehistorical.

And no, I do not plan to deal myself with the FreeBSD-specific
sendfile prototype to avoid this problem in a cleaner way. But patches
are welcome as usual.

7 years agoportable implementation of sendfile
Martin Quinson [Thu, 13 Apr 2017 01:17:35 +0000 (03:17 +0200)]
portable implementation of sendfile

7 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 12 Apr 2017 23:18:15 +0000 (01:18 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

7 years agodl_open priv: manually copy the file w/o using cp
Martin Quinson [Wed, 12 Apr 2017 23:12:03 +0000 (01:12 +0200)]
dl_open priv: manually copy the file w/o using cp

7 years agomake smpirun use SMPI_init to unify call paths
Martin Quinson [Wed, 12 Apr 2017 22:07:39 +0000 (00:07 +0200)]
make smpirun use SMPI_init to unify call paths

7 years agouse surf init/fini callbacks, no need for TRACE ones
Martin Quinson [Wed, 12 Apr 2017 21:52:12 +0000 (23:52 +0200)]
use surf init/fini callbacks, no need for TRACE ones

7 years agoFix tesh tests.
Tom Cornebize [Wed, 12 Apr 2017 21:39:23 +0000 (23:39 +0200)]
Fix tesh tests.

7 years agoIncrease a timeout to help TSan converging
Martin Quinson [Wed, 12 Apr 2017 21:22:03 +0000 (23:22 +0200)]
Increase a timeout to help TSan converging

7 years agoRemove useless code.
Tom Cornebize [Wed, 12 Apr 2017 21:19:41 +0000 (23:19 +0200)]
Remove useless code.

7 years agoMerge branch 'master' into partial_shared_malloc
Tom Cornebize [Wed, 12 Apr 2017 21:13:02 +0000 (23:13 +0200)]
Merge branch 'master' into partial_shared_malloc

7 years ago[SMPI] Updated the SmpiHost class
Christian Heinrich [Wed, 12 Apr 2017 09:48:31 +0000 (11:48 +0200)]
[SMPI] Updated the SmpiHost class

- Now supports oisend, osend, orecv values on a per-host basis
- Removed cruft