Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoadd missing symbols to the refguide
Martin Quinson [Fri, 28 Jun 2019 23:12:26 +0000 (01:12 +0200)]
add missing symbols to the refguide

4 years agodoc: various formating fixups
Martin Quinson [Fri, 28 Jun 2019 23:05:36 +0000 (01:05 +0200)]
doc: various formating fixups

4 years agodoc: Move Java as a subtree of MSG
Martin Quinson [Fri, 28 Jun 2019 22:55:07 +0000 (00:55 +0200)]
doc: Move Java as a subtree of MSG

4 years agoembeed the javasphinx module
Martin Quinson [Fri, 28 Jun 2019 22:35:47 +0000 (00:35 +0200)]
embeed the javasphinx module

I don't feel very good embeeding a software that was deprecated by its
sole author, but I don't see no alternative module, and we need it to
compile the documentation. I would like to distribute the
documentation as a Debian package (or maybe re-add it to the
tarballs), and I don't see any other options to get it working.

4 years agoPut the documentation intro on the first page
Martin Quinson [Fri, 28 Jun 2019 21:54:25 +0000 (23:54 +0200)]
Put the documentation intro on the first page

That's a bit stupid to hide the introduction deep below.

4 years agotry to coin the minimal dependencies to build the pip package
Martin Quinson [Wed, 26 Jun 2019 09:53:34 +0000 (11:53 +0200)]
try to coin the minimal dependencies to build the pip package

4 years agoComplete activity-lifecycle with test cases from simgrid/simgrid#26.
Arnaud Giersch [Wed, 26 Jun 2019 21:31:19 +0000 (23:31 +0200)]
Complete activity-lifecycle with test cases from simgrid/simgrid#26.

(plus minor cosmetical changes).

4 years agoCorrectly terminate a Comm which is failing immediately.
Arnaud Giersch [Thu, 27 Jun 2019 08:08:42 +0000 (10:08 +0200)]
Correctly terminate a Comm which is failing immediately.

Address https://framagit.org/simgrid/simgrid/issues/26

4 years agocomment borken tests
Martin Quinson [Wed, 26 Jun 2019 09:13:26 +0000 (11:13 +0200)]
comment borken tests

4 years agoRemove features marked with DEPRECATED_v324.
Arnaud Giersch [Tue, 25 Jun 2019 14:25:13 +0000 (16:25 +0200)]
Remove features marked with DEPRECATED_v324.

4 years agoUpgrade XBT_ATTRIB_DEPRECATED_v326 -> v327.
Arnaud Giersch [Tue, 25 Jun 2019 14:40:49 +0000 (16:40 +0200)]
Upgrade XBT_ATTRIB_DEPRECATED_v326 -> v327.

4 years agocosmetics around the python packaging
Martin Quinson [Tue, 25 Jun 2019 23:26:49 +0000 (01:26 +0200)]
cosmetics around the python packaging

4 years agosecond attempt at pip@gitlab-ci
Martin Quinson [Tue, 25 Jun 2019 22:48:18 +0000 (00:48 +0200)]
second attempt at pip@gitlab-ci

4 years agogitlab-ci: add a job to test the pip building
Martin Quinson [Tue, 25 Jun 2019 22:38:31 +0000 (00:38 +0200)]
gitlab-ci: add a job to test the pip building

4 years agoCommit a file generated by cmake, so that pip finds it even when cmake is not there
Martin Quinson [Tue, 25 Jun 2019 22:37:06 +0000 (00:37 +0200)]
Commit a file generated by cmake, so that pip finds it even when cmake is not there

4 years agosetup.py: try to specify that we need pybind11
Martin Quinson [Tue, 25 Jun 2019 22:34:31 +0000 (00:34 +0200)]
setup.py: try to specify that we need pybind11

4 years agoDockerfile.stable: fix to align with recent framagit version (?)
Martin Quinson [Tue, 25 Jun 2019 20:55:59 +0000 (22:55 +0200)]
Dockerfile.stable: fix to align with recent framagit version (?)

4 years agoimprove our 'how to release'
Martin Quinson [Tue, 25 Jun 2019 19:57:59 +0000 (21:57 +0200)]
improve our 'how to release'

4 years agospell checking, as per lintian
Martin Quinson [Tue, 25 Jun 2019 16:36:06 +0000 (18:36 +0200)]
spell checking, as per lintian

4 years agoAdded a teshsuite activity_life_cycle test that highlights the following
henricasanova [Tue, 25 Jun 2019 16:26:38 +0000 (18:26 +0200)]
Added a teshsuite activity_life_cycle test that highlights the following
problem: a receiver does a get(), then the link is turned off, and then
a sender does a put_init()->detach(). In this case the receiver does not
get a NetworkFailureException even though it should. (Otherwise
there is no way for anybody to tell the communication has failed.)

4 years agostart the dev of 3.23.1
Martin Quinson [Tue, 25 Jun 2019 13:22:37 +0000 (15:22 +0200)]
start the dev of 3.23.1

4 years agoci: fix jarfile generation on stable branch v3.23
Martin Quinson [Tue, 25 Jun 2019 12:49:58 +0000 (14:49 +0200)]
ci: fix jarfile generation on stable branch

4 years agoRelease v3.23.
Martin Quinson [Tue, 25 Jun 2019 09:56:00 +0000 (11:56 +0200)]
Release v3.23.

4 years agoalign COPYING with debian/copyright in package
Martin Quinson [Tue, 25 Jun 2019 08:07:27 +0000 (10:07 +0200)]
align COPYING with debian/copyright in package

4 years agocosmetics
Martin Quinson [Sun, 23 Jun 2019 21:34:06 +0000 (23:34 +0200)]
cosmetics

4 years agoAdd test for FG simgrid/simgrid#26.
Arnaud Giersch [Mon, 24 Jun 2019 15:02:29 +0000 (17:02 +0200)]
Add test for FG simgrid/simgrid#26.

4 years agoEngine should be destroyed through RAII here (fix invalid free).
Arnaud Giersch [Mon, 24 Jun 2019 14:40:22 +0000 (16:40 +0200)]
Engine should be destroyed through RAII here (fix invalid free).

4 years agoCorrectly cancel communications when a link is turned off.
Arnaud Giersch [Mon, 24 Jun 2019 14:16:15 +0000 (16:16 +0200)]
Correctly cancel communications when a link is turned off.

Fix https://framagit.org/simgrid/simgrid/issues/26

4 years agoproposal of a name + changelog for 3.23
Martin Quinson [Fri, 21 Jun 2019 20:33:38 +0000 (22:33 +0200)]
proposal of a name + changelog for 3.23

4 years agodoc: RST fixups
Martin Quinson [Tue, 18 Jun 2019 15:56:34 +0000 (17:56 +0200)]
doc: RST fixups

4 years agoLGPL-2.1.
Arnaud Giersch [Fri, 21 Jun 2019 12:33:14 +0000 (14:33 +0200)]
LGPL-2.1.

4 years agoFix tesh test and distcheck.
Arnaud Giersch [Fri, 21 Jun 2019 11:46:55 +0000 (13:46 +0200)]
Fix tesh test and distcheck.

4 years ago[sonar] Regexps are overkill here.
Arnaud Giersch [Fri, 21 Jun 2019 07:58:11 +0000 (09:58 +0200)]
[sonar] Regexps are overkill here.

4 years agoChangelog update for 3.23
Augustin Degomme [Fri, 21 Jun 2019 11:57:02 +0000 (13:57 +0200)]
Changelog update for 3.23
Some changes were mistakingly added to 3.22 as they are included in 3.22.x releases, fix this.

4 years agounused
Augustin Degomme [Fri, 21 Jun 2019 11:15:16 +0000 (13:15 +0200)]
unused

4 years agoremove spurious ;
Augustin Degomme [Mon, 3 Jun 2019 08:46:59 +0000 (10:46 +0200)]
remove spurious ;

4 years agoadd haiku support. Because why not.
Augustin Degomme [Mon, 3 Jun 2019 08:46:33 +0000 (10:46 +0200)]
add haiku support. Because why not.

4 years ago [noci] really fix licence version in badge
Frederic Suter [Thu, 20 Jun 2019 14:59:19 +0000 (16:59 +0200)]
 [noci] really fix licence version in badge

4 years agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Thu, 20 Jun 2019 14:57:34 +0000 (16:57 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

4 years ago[noci] fix licence version in badge
Frederic Suter [Thu, 20 Jun 2019 14:57:11 +0000 (16:57 +0200)]
[noci] fix licence version in badge

4 years agoMore dead links.
Arnaud Giersch [Thu, 20 Jun 2019 14:45:38 +0000 (16:45 +0200)]
More dead links.

4 years agoFix remaining links to pls_ns3.
Arnaud Giersch [Sat, 15 Jun 2019 21:09:43 +0000 (23:09 +0200)]
Fix remaining links to pls_ns3.

4 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Loic Guegan [Wed, 19 Jun 2019 14:37:18 +0000 (16:37 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

4 years agolmm tests:
Loic Guegan [Wed, 19 Jun 2019 14:36:32 +0000 (16:36 +0200)]
lmm tests:
    - Move unit tests to the right place
    - Simplify test cases
    - Improve documentation

4 years agoMerge branch 'tesh-keep-all-proc-output-on-unexpected-cmd-result'
Millian Poquet [Wed, 19 Jun 2019 12:53:36 +0000 (14:53 +0200)]
Merge branch 'tesh-keep-all-proc-output-on-unexpected-cmd-result'

- MR https://framagit.org/simgrid/simgrid/merge_requests/11
- Fixes https://framagit.org/simgrid/simgrid/issues/25

4 years ago[tesh] write cmd output with 1 print()
Millian Poquet [Mon, 17 Jun 2019 16:34:48 +0000 (18:34 +0200)]
[tesh] write cmd output with 1 print()

This is to prevent printing collisions between threads.

4 years ago[tesh] bad cmd result: abort -> store retcode
Millian Poquet [Mon, 17 Jun 2019 16:04:06 +0000 (18:04 +0200)]
[tesh] bad cmd result: abort -> store retcode

4 years agolmm_test: simplify the 2 first tests
Martin Quinson [Tue, 18 Jun 2019 12:03:53 +0000 (14:03 +0200)]
lmm_test: simplify the 2 first tests

4 years agodefaults values to lmm::System::variable_new
Martin Quinson [Tue, 18 Jun 2019 12:03:16 +0000 (14:03 +0200)]
defaults values to lmm::System::variable_new

4 years agoVarious doc fixups
Martin Quinson [Mon, 17 Jun 2019 13:18:35 +0000 (15:18 +0200)]
Various doc fixups

- fix a borken link
- further ns-3 cosmetics
- fix RST formating in javadoc
- Remove dead functions from MSG doc
- Some VM "functions" are implemented as preprocessor defines

Why fixing it now? Because I have other things to do, of course.

4 years agolmm testing: Add test expectations
Loic Guegan [Mon, 17 Jun 2019 08:08:17 +0000 (10:08 +0200)]
lmm testing: Add test expectations

4 years agoFix my cosmetics around ns-3
Martin Quinson [Sun, 16 Jun 2019 23:44:31 +0000 (01:44 +0200)]
Fix my cosmetics around ns-3

- cmake spits the string that project_description.sh is expecting
- Actually it works with v3.22 since that's what is installed on one
  of our slaves (which broke when I bumped the min version for no reason)

4 years ago[doc] various doc small improvements
Martin Quinson [Sun, 16 Jun 2019 11:53:41 +0000 (13:53 +0200)]
[doc] various doc small improvements

4 years agodoc: port a placeholder to the new doc to fix a borken link
Martin Quinson [Sat, 15 Jun 2019 22:42:20 +0000 (00:42 +0200)]
doc: port a placeholder to the new doc to fix a borken link

4 years agocut some content of the old doc that was converted
Martin Quinson [Sat, 15 Jun 2019 22:05:27 +0000 (00:05 +0200)]
cut some content of the old doc that was converted

And improve a bit the corresponding bits in the new doc.

4 years agoCosmetics around ns-3
Martin Quinson [Sat, 15 Jun 2019 21:13:41 +0000 (23:13 +0200)]
Cosmetics around ns-3

This is why I don't convert the rest of the doc. Each time I start an
easy task in this area, I get swamped in cleanups with no end.

4 years agosonar: ignore more issues, hide commented code, add 'explicit'
Martin Quinson [Sat, 15 Jun 2019 20:24:03 +0000 (22:24 +0200)]
sonar: ignore more issues, hide commented code, add 'explicit'

4 years agosanitize our detection of pybind11
Martin Quinson [Sat, 15 Jun 2019 19:26:03 +0000 (21:26 +0200)]
sanitize our detection of pybind11

For some reason, our modified version of pybind11Config.cmake was not
included in the archive. We use it to ensure that the error message is
human friendly when compiling on a machine where pybind is not
installed.

For some other reason, FindPythonLibsNew.cmake was still in our git. I
tried to pack it in simgrid at some point to achieve the above
objective, but it proved to be a bad idea. I removed the other cmake
helping file of pybind11 but it seems I forgot this one. Fixed now.

4 years agodont copy the old doc in the tarball, even if it still exists on disk
Martin Quinson [Sat, 15 Jun 2019 19:20:04 +0000 (21:20 +0200)]
dont copy the old doc in the tarball, even if it still exists on disk

4 years agoconvert the doc of ns-3 to the new formalism
Martin Quinson [Sat, 15 Jun 2019 19:17:56 +0000 (21:17 +0200)]
convert the doc of ns-3 to the new formalism

Fix https://framagit.org/simgrid/simgrid/issues/17

4 years agolittle tiny fix toward doc homogeneity
Martin Quinson [Fri, 14 Jun 2019 17:36:37 +0000 (19:36 +0200)]
little tiny fix toward doc homogeneity

4 years agoPlug memory leaks.
Arnaud Giersch [Fri, 14 Jun 2019 20:21:16 +0000 (22:21 +0200)]
Plug memory leaks.

4 years agoAdd method to free all variables at once.
Arnaud Giersch [Fri, 14 Jun 2019 20:21:00 +0000 (22:21 +0200)]
Add method to free all variables at once.

4 years agoThis void* for Constraint::id_ is a Resource*.
Arnaud Giersch [Fri, 14 Jun 2019 13:29:18 +0000 (15:29 +0200)]
This void* for Constraint::id_ is a Resource*.

4 years agoFix null pointer dereference.
Arnaud Giersch [Fri, 14 Jun 2019 13:24:22 +0000 (15:24 +0200)]
Fix null pointer dereference.

4 years agokill dead code
Martin Quinson [Fri, 14 Jun 2019 13:15:58 +0000 (15:15 +0200)]
kill dead code

4 years agotiny doc improvements
Martin Quinson [Thu, 13 Jun 2019 21:53:43 +0000 (23:53 +0200)]
tiny doc improvements

4 years agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Fri, 14 Jun 2019 09:04:43 +0000 (11:04 +0200)]
Merge remote-tracking branch 'github/master'

4 years agoMerge branch 'tesh-fix-background-kill' into 'master'
Martin Quinson [Thu, 13 Jun 2019 19:01:44 +0000 (21:01 +0200)]
Merge branch 'tesh-fix-background-kill' into 'master'

tesh: fix kill of background processes

Closes #24

See merge request simgrid/simgrid!10

4 years ago[tesh] global pgid: unique value -> list
Millian Poquet [Thu, 13 Jun 2019 18:03:15 +0000 (20:03 +0200)]
[tesh] global pgid: unique value -> list

This caused the unique value to be overridden for background processes,
leading to a future problem on timeout/signal caught by tesh.

4 years ago[tesh] setsid -> setpgid(0,0)
Millian Poquet [Thu, 13 Jun 2019 17:52:34 +0000 (19:52 +0200)]
[tesh] setsid -> setpgid(0,0)

As the cleanup function is based on process groups and not session ids,
creating a process group rather than a session seems more adequate.

Info: http://www.andy-pearce.com/blog/posts/2013/Aug/process-groups-and-sessions/

4 years agoMerge branch 'tesh-check-output-on-timeout' into 'master'
Augustin Degomme [Thu, 13 Jun 2019 17:44:53 +0000 (19:44 +0200)]
Merge branch 'tesh-check-output-on-timeout' into 'master'

[tesh] check output on timeout

Closes #23

See merge request simgrid/simgrid!9

4 years ago[tesh] check output on timeout
Millian Poquet [Thu, 13 Jun 2019 15:39:11 +0000 (17:39 +0200)]
[tesh] check output on timeout

Rationale: Help users debug why the process got a timeout.

Fixes https://framagit.org/simgrid/simgrid/issues/23

4 years agolmm testing:
Loic Guegan [Wed, 12 Jun 2019 14:29:18 +0000 (16:29 +0200)]
lmm testing:
    - Refactoring
    - Add tests for FATPIPE lmm systems

4 years agolmm testing: Clean code
Loic Guegan [Wed, 12 Jun 2019 13:02:57 +0000 (15:02 +0200)]
lmm testing: Clean code

4 years agocosmetics in cmake error messages
Martin Quinson [Tue, 11 Jun 2019 20:45:22 +0000 (22:45 +0200)]
cosmetics in cmake error messages

4 years agoMC: cosmetics
Martin Quinson [Tue, 11 Jun 2019 20:43:26 +0000 (22:43 +0200)]
MC: cosmetics

4 years agofurther simplify the MC initialization
Martin Quinson [Tue, 11 Jun 2019 20:18:45 +0000 (22:18 +0200)]
further simplify the MC initialization

4 years agomc: don't catch exceptions we cannot deal with
Martin Quinson [Tue, 11 Jun 2019 19:56:37 +0000 (21:56 +0200)]
mc: don't catch exceptions we cannot deal with

+ cosmetics using xbt_assert to improve coverage

4 years agobugfix++
Martin Quinson [Tue, 11 Jun 2019 13:17:31 +0000 (15:17 +0200)]
bugfix++

4 years agodoc: Fix Debian installation instruction
Martin Quinson [Tue, 11 Jun 2019 13:03:50 +0000 (15:03 +0200)]
doc: Fix Debian installation instruction

This fixes FG#22.

4 years agolmm testing: Correct maxmin precision
Loic Guegan [Tue, 11 Jun 2019 12:27:36 +0000 (14:27 +0200)]
lmm testing: Correct maxmin precision

4 years agoExtends lmm tests
Loic Guegan [Tue, 11 Jun 2019 10:24:08 +0000 (12:24 +0200)]
Extends lmm tests

4 years agoLMM Testing:
Loic Guegan [Fri, 7 Jun 2019 12:09:47 +0000 (14:09 +0200)]
LMM Testing:
    - Refactoring
    - Add lmm_basic.cpp to the compilation chain

4 years agoStart Testing LMM
Loic Guegan [Thu, 6 Jun 2019 14:24:24 +0000 (16:24 +0200)]
Start Testing LMM

4 years agotesh: do return 0 when calling with --help
Martin Quinson [Tue, 11 Jun 2019 06:12:21 +0000 (08:12 +0200)]
tesh: do return 0 when calling with --help

I'm not sure why we had the previous construct, but everything seems
to work nicely with this new form, that is both simpler and in line
with all tutorials on argparse.py

This fixes FG#20.

4 years agocode simplification in MC start sequence
Martin Quinson [Mon, 10 Jun 2019 20:54:41 +0000 (22:54 +0200)]
code simplification in MC start sequence

4 years agocleanups in the debug config items
Martin Quinson [Sun, 9 Jun 2019 21:43:48 +0000 (23:43 +0200)]
cleanups in the debug config items

4 years agosonar: overriding functions should not return a subclass
Martin Quinson [Sat, 8 Jun 2019 06:47:57 +0000 (08:47 +0200)]
sonar: overriding functions should not return a subclass

4 years agoRemove a useless FIXME
Martin Quinson [Sat, 8 Jun 2019 06:36:54 +0000 (08:36 +0200)]
Remove a useless FIXME

We will not improve the existing Java bindings to enforce separation
between submodules of these bindings. We may redo them completely
using an automated generator, but not fiddle with the manual version.

4 years agocmake: more informative error message
Martin Quinson [Fri, 7 Jun 2019 08:27:46 +0000 (10:27 +0200)]
cmake: more informative error message

4 years agowe need a recent version of pybind11
Martin Quinson [Fri, 7 Jun 2019 08:20:56 +0000 (10:20 +0200)]
we need a recent version of pybind11

4 years agocmake: Try harder to detect pybind11 when it's there and survive when not
Martin Quinson [Fri, 7 Jun 2019 06:06:18 +0000 (08:06 +0200)]
cmake: Try harder to detect pybind11 when it's there and survive when not

This removes some cmake files that are internal to pybind11, because
on ubuntu-lts, there were a mismatch where it was taking the
system pybind11Config but the version of pybind11Tools that we
provide. The (older) system file was using a cmake function that is
not provided anymore by our recent pybind11Tools.

After this change, our pybind11Config is the upstream-provided one to
the exception that it survives to the absence of pybind11Tools (that
we don't provide). So two cases remain:

- our modified pybind11Config finds a usable pybind11Tools. This must
  be a system-wide pybind11Tools, meaning that pybin11 is installed and
  usable.
- our modified pybind11Config does not find any pybind11Tools. Don't
  try to use pybind11, but keep compiling SimGrid.

4 years agoCosmetics
Martin Quinson [Thu, 6 Jun 2019 22:27:27 +0000 (00:27 +0200)]
Cosmetics

4 years agoUpdate sonar-project.properties to ignore MPI quirks
Augustin Degomme [Thu, 6 Jun 2019 22:39:29 +0000 (00:39 +0200)]
Update sonar-project.properties to ignore MPI quirks

4 years agoremove an old windows cruft
Martin Quinson [Thu, 6 Jun 2019 22:25:36 +0000 (00:25 +0200)]
remove an old windows cruft

4 years agoImprove how we search for pybind11
Martin Quinson [Thu, 6 Jun 2019 21:43:22 +0000 (23:43 +0200)]
Improve how we search for pybind11

Include the searching modules in our tree. I am not absolutely
convinced that this is the right approach (we are dupplicating their
code, we'll have to maintain it), but the error message is rather
brutal without it, and plus, the result of "pip install pybind11" is
not enough without it.

4 years agoback to unstable work
Martin Quinson [Thu, 6 Jun 2019 14:16:43 +0000 (16:16 +0200)]
back to unstable work

4 years agoMerge branch 'stable'
Martin Quinson [Thu, 6 Jun 2019 14:08:38 +0000 (16:08 +0200)]
Merge branch 'stable'

4 years agofixups in the releasing process
Martin Quinson [Thu, 6 Jun 2019 14:07:54 +0000 (16:07 +0200)]
fixups in the releasing process