Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
15 months agoremove the argc/argv version of simcall_process_create
Martin Quinson [Sun, 11 Nov 2018 02:54:30 +0000 (03:54 +0100)]
remove the argc/argv version of simcall_process_create

15 months agoMSG: kill the MSG_process_create_from_stdfunc() pimple
Martin Quinson [Sun, 11 Nov 2018 01:49:31 +0000 (02:49 +0100)]
MSG: kill the MSG_process_create_from_stdfunc() pimple

15 months agojava: stop using MSG_process_create_from_stdfunc
Martin Quinson [Sun, 11 Nov 2018 00:31:57 +0000 (01:31 +0100)]
java: stop using MSG_process_create_from_stdfunc

Use simcall_process_create directly instead. This code would be better
if smx_actor were a real class.

15 months agojava process creation: this was already binded by java_main_jprocess()
Martin Quinson [Sat, 10 Nov 2018 23:54:05 +0000 (00:54 +0100)]
java process creation: this was already binded by java_main_jprocess()

15 months agoeclipse config file: there is some Java in this project
Martin Quinson [Sat, 10 Nov 2018 23:12:30 +0000 (00:12 +0100)]
eclipse config file: there is some Java in this project

15 months agodoc: say that set_receiver() adds a silly ref to the actor
Martin Quinson [Sat, 10 Nov 2018 21:33:19 +0000 (22:33 +0100)]
doc: say that set_receiver() adds a silly ref to the actor

I tried hard to fix it instead, but I don't manage for now.

15 months agoApple renamed all their OSes
Martin Quinson [Tue, 6 Nov 2018 06:19:42 +0000 (07:19 +0100)]
Apple renamed all their OSes

https://www.engadget.com/2016/06/13/os-x-is-now-macos/

15 months agoplease sonar: kill an unused type and reduce the visibility of another one
Martin Quinson [Sun, 4 Nov 2018 11:54:44 +0000 (12:54 +0100)]
please sonar: kill an unused type and reduce the visibility of another one

15 months agoFix distcheck.
Arnaud Giersch [Wed, 7 Nov 2018 21:11:04 +0000 (22:11 +0100)]
Fix distcheck.

15 months agoCosmetics.
Arnaud Giersch [Fri, 2 Nov 2018 20:21:47 +0000 (21:21 +0100)]
Cosmetics.

15 months agoMerge pull request #309 from mpoquet/generate-pkg-config
Martin Quinson [Wed, 7 Nov 2018 19:51:31 +0000 (20:51 +0100)]
Merge pull request #309 from mpoquet/generate-pkg-config

Provide a pkg-config file for SimGrid

15 months ago[cmake] generate/install a pkg-config simgrid.pc
Millian Poquet [Wed, 7 Nov 2018 18:09:02 +0000 (19:09 +0100)]
[cmake] generate/install a pkg-config simgrid.pc

15 months agofix gcc 9 warnings. Have to check if the std::move removal is harmful
Augustin Degomme [Tue, 6 Nov 2018 17:06:05 +0000 (18:06 +0100)]
fix gcc 9 warnings. Have to check if the std::move removal is harmful

15 months agothese archaic callbacks are not used anymore, so kill them
Martin Quinson [Sun, 4 Nov 2018 04:33:09 +0000 (05:33 +0100)]
these archaic callbacks are not used anymore, so kill them

15 months agosimplify MSG process creation/destruction
Martin Quinson [Sun, 4 Nov 2018 04:04:55 +0000 (05:04 +0100)]
simplify MSG process creation/destruction

Use a proper callback to cleanup things, and somehow, we don't need
anything special anymore when creating a MSG process, so stop making
things complicated for no reason.

15 months agoNote that this easy task is actually impssible as is
Martin Quinson [Sun, 4 Nov 2018 03:50:03 +0000 (04:50 +0100)]
Note that this easy task is actually impssible as is

15 months agoDeprecate the C API of parallel_execute
Martin Quinson [Sat, 27 Oct 2018 14:31:49 +0000 (16:31 +0200)]
Deprecate the C API of parallel_execute

15 months agoplug a memleak
Martin Quinson [Sun, 4 Nov 2018 00:45:07 +0000 (01:45 +0100)]
plug a memleak

15 months agotry to have mc work with freebsd 12 and flang
Augustin Degomme [Sat, 3 Nov 2018 14:57:58 +0000 (14:57 +0000)]
try to have mc work with freebsd 12 and flang

15 months agofinish objectifying the backtraces
Martin Quinson [Fri, 2 Nov 2018 21:49:24 +0000 (22:49 +0100)]
finish objectifying the backtraces

15 months agoUse $() instead of backticks and remove useless use of grep.
Arnaud Giersch [Fri, 2 Nov 2018 17:01:20 +0000 (18:01 +0100)]
Use $() instead of backticks and remove useless use of grep.

15 months agoCopy constructor and assignment operators are implicitely deleted anyway (dixit clang 8).
Arnaud Giersch [Fri, 2 Nov 2018 16:48:27 +0000 (17:48 +0100)]
Copy constructor and assignment operators are implicitely deleted anyway (dixit clang 8).

15 months agoUse libunwind-generic instead of specific libunwind-PLAT.
Arnaud Giersch [Thu, 1 Nov 2018 20:18:23 +0000 (21:18 +0100)]
Use libunwind-generic instead of specific libunwind-PLAT.

It's the way to go according to libunwind-ptrace(3), and libunwind-generic
seems to point to the correct libunwind-PLAT anyway.

15 months agoFix build without stacktrace_backtrace
Martin Quinson [Mon, 29 Oct 2018 20:01:15 +0000 (21:01 +0100)]
Fix build without stacktrace_backtrace

15 months agoreplace our own crude code with Boost.stacktrace
Martin Quinson [Mon, 29 Oct 2018 15:51:45 +0000 (16:51 +0100)]
replace our own crude code with Boost.stacktrace

15 months agoadd libboost_stacktrace_backtrace to excludes
Augustin Degomme [Mon, 29 Oct 2018 12:25:59 +0000 (13:25 +0100)]
add libboost_stacktrace_backtrace to excludes

15 months agoprovide a backtrace implementation that uses boost.stacktrace
Martin Quinson [Sun, 28 Oct 2018 23:13:08 +0000 (00:13 +0100)]
provide a backtrace implementation that uses boost.stacktrace

15 months agoHide the backtrace implementation in a private pimpl
Martin Quinson [Sun, 28 Oct 2018 21:30:38 +0000 (22:30 +0100)]
Hide the backtrace implementation in a private pimpl

This opens the path to an implementation with Boost.Stacktrace when found

15 months agoBuildSimGrid.sh: Try to install the lib if possible
Martin Quinson [Sun, 28 Oct 2018 20:58:57 +0000 (21:58 +0100)]
BuildSimGrid.sh: Try to install the lib if possible

15 months agocmake: rewrite the detection of boost optional components, look for stacktrace
Martin Quinson [Sun, 28 Oct 2018 16:40:51 +0000 (17:40 +0100)]
cmake: rewrite the detection of boost optional components, look for stacktrace

15 months agoWorkaround bug in Intel-C.cmake.
Arnaud Giersch [Sun, 28 Oct 2018 22:00:16 +0000 (23:00 +0100)]
Workaround bug in Intel-C.cmake.

See:
https://gitlab.kitware.com/cmake/cmake/issues/18166
https://gitlab.kitware.com/cmake/cmake/commit/735e69f4458850cc335710af36d1382b891cbb5e

15 months agoAvoid bleeding edge ‘for’ loop initial declarations.
Arnaud Giersch [Sun, 28 Oct 2018 20:20:04 +0000 (21:20 +0100)]
Avoid bleeding edge ‘for’ loop initial declarations.

I suspect Travis to fail because cmake doesn't use -std=c11 with try_run.

15 months agoKill obsolete config test programs.
Arnaud Giersch [Sun, 28 Oct 2018 20:10:16 +0000 (21:10 +0100)]
Kill obsolete config test programs.

15 months agoRemove obsolete exclusions.
Arnaud Giersch [Sat, 27 Oct 2018 19:43:55 +0000 (21:43 +0200)]
Remove obsolete exclusions.

15 months agoUdpate .mailmap.
Arnaud Giersch [Fri, 26 Oct 2018 12:38:40 +0000 (14:38 +0200)]
Udpate .mailmap.

15 months agotravis: this format is hard to read and I'm stupid. The perfect match
Martin Quinson [Sun, 28 Oct 2018 08:34:44 +0000 (09:34 +0100)]
travis: this format is hard to read and I'm stupid. The perfect match

15 months agotravis: Display full cmake logs on error
Martin Quinson [Sun, 28 Oct 2018 08:25:49 +0000 (09:25 +0100)]
travis: Display full cmake logs on error

16 months agoHide the content of a simgrid::xbt::Backtrace and inline a function
Martin Quinson [Sat, 27 Oct 2018 20:22:21 +0000 (22:22 +0200)]
Hide the content of a simgrid::xbt::Backtrace and inline a function

16 months agoSimplify how we check for C++11 and friends
Martin Quinson [Sat, 27 Oct 2018 20:06:53 +0000 (22:06 +0200)]
Simplify how we check for C++11 and friends

16 months agoFindSimGrid: Make sure our headers are compiled with C++11 at least
Martin Quinson [Sat, 27 Oct 2018 20:03:16 +0000 (22:03 +0200)]
FindSimGrid: Make sure our headers are compiled with C++11 at least

16 months agotry to please sonar on this ugly code
Martin Quinson [Sat, 27 Oct 2018 20:02:36 +0000 (22:02 +0200)]
try to please sonar on this ugly code

16 months agobacktrace: factorize the function headers between the portability layers
Martin Quinson [Sat, 27 Oct 2018 19:18:38 +0000 (21:18 +0200)]
backtrace: factorize the function headers between the portability layers

16 months agodocs: fix all examples of git clone to use https
Martin Quinson [Sat, 27 Oct 2018 17:44:47 +0000 (19:44 +0200)]
docs: fix all examples of git clone to use https

16 months agobacktrace: fix various portability issues I just introduced
Martin Quinson [Sat, 27 Oct 2018 17:09:18 +0000 (19:09 +0200)]
backtrace: fix various portability issues I just introduced

I'm really a bummer

16 months agothese portability bits should be useless
Martin Quinson [Sat, 27 Oct 2018 16:55:53 +0000 (18:55 +0200)]
these portability bits should be useless

16 months agoinline two C files that were included (gosh)
Martin Quinson [Sat, 27 Oct 2018 16:47:04 +0000 (18:47 +0200)]
inline two C files that were included (gosh)

16 months agobacktrace: kill two unused functions
Martin Quinson [Sat, 27 Oct 2018 16:18:49 +0000 (18:18 +0200)]
backtrace: kill two unused functions

16 months agoinline an include file. Not used from C anymore
Martin Quinson [Sat, 27 Oct 2018 16:01:47 +0000 (18:01 +0200)]
inline an include file. Not used from C anymore

16 months agocosmetics around backtraces
Martin Quinson [Sat, 27 Oct 2018 15:20:25 +0000 (17:20 +0200)]
cosmetics around backtraces

- Use a type hiding the vector
- Remove a deprecated function that nobody uses

This is the first step toward the rewriting of the backtraces. My
motivation is that our ugly hack with addr2line is not working anymore
on my Debian while boost::stacktrace entered testing. I plan to
convert to that new system.

16 months agoremove an obsolete file
Martin Quinson [Sat, 27 Oct 2018 15:01:25 +0000 (17:01 +0200)]
remove an obsolete file

16 months agoRevert "[smpi] use maps on actor to use one buffer for each"
Martin Quinson [Sat, 27 Oct 2018 14:32:57 +0000 (16:32 +0200)]
Revert "[smpi] use maps on actor to use one buffer for each"

This reverts commit 4b1773e713af47a4917278519ab87386d1de48c5.

I fail to understand the problem that this commit wants to solve, and
it introduces many issues. Amongst which, a memory exhaustion on 32bit.

16 months agoRevert "Fix multiple memleaks in the replay of multiple SMPI instances"
Martin Quinson [Sat, 27 Oct 2018 14:32:33 +0000 (16:32 +0200)]
Revert "Fix multiple memleaks in the replay of multiple SMPI instances"

This reverts commit cfa37467445963796bfdafdec9bad8ec8566a60a.

16 months agoignore more examples' binaries
Martin Quinson [Sat, 27 Oct 2018 14:32:17 +0000 (16:32 +0200)]
ignore more examples' binaries

16 months agocosmetics, sorry for the noise
Martin Quinson [Fri, 26 Oct 2018 16:31:00 +0000 (18:31 +0200)]
cosmetics, sorry for the noise

16 months agoTuto algo: say how to specify where SimGrid is installed
Martin Quinson [Fri, 26 Oct 2018 16:21:25 +0000 (18:21 +0200)]
Tuto algo: say how to specify where SimGrid is installed

16 months agoMPI tuto: use the https version of git repos
Martin Quinson [Fri, 26 Oct 2018 16:14:19 +0000 (18:14 +0200)]
MPI tuto: use the https version of git repos

16 months ago[examples] smpi-replay-mm: free -> xbt_free
Millian Poquet [Thu, 25 Oct 2018 17:59:44 +0000 (19:59 +0200)]
[examples] smpi-replay-mm: free -> xbt_free

16 months agoMerge branch 'smpi-replay-mm-robustness'
Millian Poquet [Thu, 25 Oct 2018 15:42:25 +0000 (17:42 +0200)]
Merge branch 'smpi-replay-mm-robustness'

16 months ago[examples] smpi-replay-mm: sleep(1) at job end
Millian Poquet [Thu, 25 Oct 2018 15:37:42 +0000 (17:37 +0200)]
[examples] smpi-replay-mm: sleep(1) at job end

This is done to check that the job ends after the ranks
without huge modifications to the output log analysis

16 months ago[examples] smpi-replay-mm: fix output sort
Millian Poquet [Thu, 25 Oct 2018 15:25:05 +0000 (17:25 +0200)]
[examples] smpi-replay-mm: fix output sort

16 months ago[examples] smpi-replay-mm: align actors' name
Millian Poquet [Thu, 25 Oct 2018 15:12:56 +0000 (17:12 +0200)]
[examples] smpi-replay-mm: align actors' name

16 months agodocs: Fix broken links, bummer
Martin Quinson [Wed, 24 Oct 2018 22:25:16 +0000 (00:25 +0200)]
docs: Fix broken links, bummer

16 months agoupdate the releasing procedure to align with the new website on framagit
Martin Quinson [Wed, 24 Oct 2018 22:11:30 +0000 (00:11 +0200)]
update the releasing procedure to align with the new website on framagit

16 months agodocker smpi tuto: we need libboost-all-dev for replay.cpp
Martin Quinson [Wed, 24 Oct 2018 22:11:01 +0000 (00:11 +0200)]
docker smpi tuto: we need libboost-all-dev for replay.cpp

16 months agodocs: user-friendly URLs
Martin Quinson [Wed, 24 Oct 2018 22:04:48 +0000 (00:04 +0200)]
docs: user-friendly URLs

16 months agoFix multiple memleaks in the replay of multiple SMPI instances
Martin Quinson [Wed, 24 Oct 2018 14:00:42 +0000 (16:00 +0200)]
Fix multiple memleaks in the replay of multiple SMPI instances

16 months agotravis: try to use the addon to install homebrew packages
Martin Quinson [Wed, 24 Oct 2018 08:21:14 +0000 (10:21 +0200)]
travis: try to use the addon to install homebrew packages

16 months agofix some doxygen errors
Martin Quinson [Tue, 23 Oct 2018 20:18:47 +0000 (22:18 +0200)]
fix some doxygen errors

16 months agodocs: Rewrite the intro of platform description
Martin Quinson [Mon, 22 Oct 2018 23:08:28 +0000 (01:08 +0200)]
docs: Rewrite the intro of platform description

16 months ago[examples] smpi-replay-mmd: hack--, memleak++
Millian Poquet [Tue, 23 Oct 2018 13:31:05 +0000 (15:31 +0200)]
[examples] smpi-replay-mmd: hack--, memleak++

This commit removes a memory hack in the smpi-replay-mmd example.
Ideally, user apps should not need to do such hacks so it has been
removed.

smpi_replay_run changes argc/argv but does not deallocate the lost
memory, which results in a memory leak.

16 months ago[examples] smpi-replay-mmd: (ugly) memory clean-up
Millian Poquet [Mon, 22 Oct 2018 13:51:20 +0000 (15:51 +0200)]
[examples] smpi-replay-mmd: (ugly) memory clean-up

16 months agoMerge branch 'fix-multi-smpi-buffer-double-free' into 'master'
Martin Quinson [Fri, 19 Oct 2018 05:55:48 +0000 (07:55 +0200)]
Merge branch 'fix-multi-smpi-buffer-double-free' into 'master'

Fix multi smpi buffer double free

See merge request simgrid/simgrid!3

16 months agoTODO--
Martin Quinson [Thu, 18 Oct 2018 21:04:22 +0000 (23:04 +0200)]
TODO--

16 months ago[smpi] use maps on actor to use one buffer for each
MERCIER Michael [Thu, 18 Oct 2018 15:55:15 +0000 (17:55 +0200)]
[smpi] use maps on actor to use one buffer for each

16 months agoSanitize the API of this_actor::parallel_execute()
Martin Quinson [Wed, 17 Oct 2018 16:11:12 +0000 (18:11 +0200)]
Sanitize the API of this_actor::parallel_execute()

- Use std::vector instead of C arrays (old API remains but is not
  documented -- it should be properly deprecated)
- The flop_amounts and comm_amounts arrays are not automatically freed
  by the internal functions, and should be properly cleaned by their
  creator.
  - EXCEPTION: in ptask model, sequential exec and regular comms don't
    have a real caller, so the internal function still has to free
    these arrays... Sick Sad World.
  - The proper solution would be to have the only copy of these arrays
    in the Action instead of having it in s4u.
  - But for now, Actions start as soon as created. So if you want to
    init them without starting, you have to have the data in s4u and
    only create the implementation side when you start the stuff.
  - That should obviously be fixed :) First step in that direction
    would be to have the constructor of each action NOT register the
    action in the LMM, but have an Action::start() in charge of this.
    For each subclass of Action.

16 months agoHide ugly things from the doc
Martin Quinson [Wed, 17 Oct 2018 16:09:14 +0000 (18:09 +0200)]
Hide ugly things from the doc

16 months agodocs: document <config>
Martin Quinson [Wed, 17 Oct 2018 08:56:42 +0000 (10:56 +0200)]
docs: document <config>

16 months agodocs: fix broken links
Martin Quinson [Tue, 16 Oct 2018 20:40:22 +0000 (22:40 +0200)]
docs: fix broken links

16 months agodocs: new section on M&S hints
Martin Quinson [Tue, 16 Oct 2018 20:11:43 +0000 (22:11 +0200)]
docs: new section on M&S hints

16 months agoremove my config files from the git. Not sure it ever helped anyone
Martin Quinson [Tue, 16 Oct 2018 09:29:43 +0000 (11:29 +0200)]
remove my config files from the git. Not sure it ever helped anyone

16 months agoanother thing that SMPI cannot do yet
Martin Quinson [Tue, 16 Oct 2018 09:28:15 +0000 (11:28 +0200)]
another thing that SMPI cannot do yet

16 months agoCOPYING: move our homepage to framagit
Martin Quinson [Mon, 15 Oct 2018 19:42:48 +0000 (21:42 +0200)]
COPYING: move our homepage to framagit

16 months ago[examples] smpi-replay-mmd: static + cleanup
Millian Poquet [Tue, 16 Oct 2018 16:34:16 +0000 (18:34 +0200)]
[examples] smpi-replay-mmd: static + cleanup

16 months ago[doc] SMPI_app_instance_register: improve doxygen
Millian Poquet [Tue, 16 Oct 2018 15:35:52 +0000 (17:35 +0200)]
[doc] SMPI_app_instance_register: improve doxygen

16 months ago[examples] smpi-replay-mmd: sayonara MSG
Millian Poquet [Tue, 16 Oct 2018 15:26:53 +0000 (17:26 +0200)]
[examples] smpi-replay-mmd: sayonara MSG

16 months agoDisable mmap on kFreeBSD too.
Arnaud Giersch [Tue, 16 Oct 2018 14:17:46 +0000 (16:17 +0200)]
Disable mmap on kFreeBSD too.

16 months agoSendfile may be unimplemented. Try again when it returns with ENOSYS.
Arnaud Giersch [Tue, 16 Oct 2018 13:50:40 +0000 (15:50 +0200)]
Sendfile may be unimplemented.  Try again when it returns with ENOSYS.

16 months agoFix build on Debian/kFreeBSD.
Arnaud Giersch [Tue, 16 Oct 2018 11:48:40 +0000 (13:48 +0200)]
Fix build on Debian/kFreeBSD.

16 months agohave description use current build and not latest one (which may have been cancelled...
Augustin Degomme [Mon, 15 Oct 2018 13:42:13 +0000 (15:42 +0200)]
have description use current build and not latest one (which may have been cancelled before the current one finished)

16 months agoforbid cabinet in inner zones
Martin Quinson [Mon, 15 Oct 2018 12:26:29 +0000 (14:26 +0200)]
forbid cabinet in inner zones

16 months agoautomatically regenerate these files
Martin Quinson [Mon, 15 Oct 2018 11:10:14 +0000 (13:10 +0200)]
automatically regenerate these files

16 months agoFurther hack the XML parser to accept the old DTD location
Martin Quinson [Mon, 15 Oct 2018 11:09:19 +0000 (13:09 +0200)]
Further hack the XML parser to accept the old DTD location

16 months agodocker tuto-s4u: Add an empty makefile advising to run cmake before make
Martin Quinson [Mon, 15 Oct 2018 09:31:50 +0000 (11:31 +0200)]
docker tuto-s4u: Add an empty makefile advising to run cmake before make

16 months agotuto s4u: adapt text to the actual docker content
Martin Quinson [Mon, 15 Oct 2018 09:09:17 +0000 (11:09 +0200)]
tuto s4u: adapt text to the actual docker content

16 months agos4u tuto: make it clear that you have to run cmake and make on docker content
Martin Quinson [Mon, 15 Oct 2018 09:00:30 +0000 (11:00 +0200)]
s4u tuto: make it clear that you have to run cmake and make on docker content

16 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 14 Oct 2018 23:10:33 +0000 (01:10 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

16 months agoRegenerate with the lastest Flex
Martin Quinson [Sun, 14 Oct 2018 23:09:16 +0000 (01:09 +0200)]
Regenerate with the lastest Flex

16 months agostart rewriting the platform documentation
Martin Quinson [Sun, 14 Oct 2018 23:08:21 +0000 (01:08 +0200)]
start rewriting the platform documentation

16 months agomove the DTD file from gforge to our own homepage
Martin Quinson [Sat, 13 Oct 2018 19:51:57 +0000 (21:51 +0200)]
move the DTD file from gforge to our own homepage

16 months agocosmetic so that it can be displayed in doc
Martin Quinson [Sat, 13 Oct 2018 19:43:31 +0000 (21:43 +0200)]
cosmetic so that it can be displayed in doc