Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years ago[mc] Move some SIMIX inspection code in the Process class
Gabriel Corona [Thu, 10 Mar 2016 13:05:20 +0000 (14:05 +0100)]
[mc] Move some SIMIX inspection code in the Process class

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 10 Mar 2016 21:22:24 +0000 (22:22 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoimprove the s4u::Actor API (and mimick the one of rsg::Actor)
Martin Quinson [Thu, 10 Mar 2016 21:22:16 +0000 (22:22 +0100)]
improve the s4u::Actor API (and mimick the one of rsg::Actor)

3 years agomove a function to the right (xml) file
Martin Quinson [Thu, 10 Mar 2016 20:56:07 +0000 (21:56 +0100)]
move a function to the right (xml) file

3 years agouseless cleanups
Martin Quinson [Thu, 10 Mar 2016 20:37:36 +0000 (21:37 +0100)]
useless cleanups

3 years agoactually, this attribute is harmful on non-full links
Martin Quinson [Thu, 10 Mar 2016 20:35:28 +0000 (21:35 +0100)]
actually, this attribute is harmful on non-full links

3 years agouniformize one step of the link creation in Cste
Martin Quinson [Thu, 10 Mar 2016 20:08:44 +0000 (21:08 +0100)]
uniformize one step of the link creation in Cste

When netlink_parse_init() will be called by every model, it will be
inlined instead of being the exact same callback in any case

3 years agodeduplicate the code creating fullduplex links and regular ones
Martin Quinson [Thu, 10 Mar 2016 14:24:57 +0000 (15:24 +0100)]
deduplicate the code creating fullduplex links and regular ones

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 10 Mar 2016 14:12:40 +0000 (15:12 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agocomplete reorganisation of examples/smpi/NAS
Frederic Suter [Thu, 10 Mar 2016 14:10:09 +0000 (15:10 +0100)]
complete reorganisation of examples/smpi/NAS
  + use cmake and not the original yet ugly build chain
  + simplify code, but not the core
  + SMPIed version are in standby for now
  + still more work to be done to have proper testing

3 years agoresource creation: kill a really useless function
Martin Quinson [Thu, 10 Mar 2016 14:04:14 +0000 (15:04 +0100)]
resource creation: kill a really useless function

3 years agoPut back some quotes ...
degomme [Thu, 10 Mar 2016 13:54:13 +0000 (14:54 +0100)]
Put back some quotes ...

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
degomme [Thu, 10 Mar 2016 13:44:24 +0000 (14:44 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

3 years agoRemove unneeded quotes
degomme [Thu, 10 Mar 2016 13:44:19 +0000 (14:44 +0100)]
Remove unneeded quotes

3 years ago[mc] Fix memory leads after calls to xbt_basename()
Gabriel Corona [Thu, 10 Mar 2016 09:37:50 +0000 (10:37 +0100)]
[mc] Fix memory leads after calls to xbt_basename()

3 years ago[mc] ELF file list, stylistic change
Gabriel Corona [Thu, 10 Mar 2016 09:36:35 +0000 (10:36 +0100)]
[mc] ELF file list, stylistic change

3 years ago[mc] Move code in simgrid::mc
Gabriel Corona [Thu, 10 Mar 2016 09:31:29 +0000 (10:31 +0100)]
[mc] Move code in simgrid::mc

3 years agoreduce some overly verbose comments
Martin Quinson [Wed, 9 Mar 2016 21:55:39 +0000 (22:55 +0100)]
reduce some overly verbose comments

3 years agokill the portable header
Martin Quinson [Wed, 9 Mar 2016 20:52:55 +0000 (21:52 +0100)]
kill the portable header

such centralized header is not a good idea, as it tend to the
inflation of header inclusions. I prefer having each file specifying
precisely which header they need.

3 years agoload public config from internal config
Martin Quinson [Wed, 9 Mar 2016 20:52:14 +0000 (21:52 +0100)]
load public config from internal config

3 years agomissing #if (breaking build without smpi)
degomme [Wed, 9 Mar 2016 18:21:55 +0000 (19:21 +0100)]
missing #if (breaking build without smpi)

3 years agoThis seems to be useless since ... a long time, now (and it breaks on macos)
degomme [Wed, 9 Mar 2016 18:21:31 +0000 (19:21 +0100)]
This seems to be useless since ... a long time, now (and it breaks on macos)

3 years agoactivate -Wundef only in maintainer-mode
Martin Quinson [Wed, 9 Mar 2016 16:40:29 +0000 (17:40 +0100)]
activate -Wundef only in maintainer-mode

3 years agocmake: further improvements of the #if builds
Martin Quinson [Wed, 9 Mar 2016 16:15:50 +0000 (17:15 +0100)]
cmake: further improvements of the #if builds

- document this madness.
- move the postprocessing of variables values just before the file generation
- Add HAVE_POSIX_GETTIME to the post-processed values to please windows

3 years agocmake: fight against empty definitions
Martin Quinson [Wed, 9 Mar 2016 15:40:35 +0000 (16:40 +0100)]
cmake: fight against empty definitions

3 years ago[cmake] Fix foreach() loop for default values
Gabriel Corona [Wed, 9 Mar 2016 15:16:49 +0000 (16:16 +0100)]
[cmake] Fix foreach() loop for default values

3 years agoAdd missing #include
Gabriel Corona [Wed, 9 Mar 2016 15:16:30 +0000 (16:16 +0100)]
Add missing #include

3 years ago[mc] Move pseudo-MMU code in its own namespace
Gabriel Corona [Wed, 9 Mar 2016 11:51:18 +0000 (12:51 +0100)]
[mc] Move pseudo-MMU code in its own namespace

3 years ago[cmake] Default values for variables
Gabriel Corona [Wed, 9 Mar 2016 14:43:25 +0000 (15:43 +0100)]
[cmake] Default values for variables

foreach to the rescue.

3 years agofix #if HAVE_HEADACHE
Martin Quinson [Wed, 9 Mar 2016 14:49:36 +0000 (15:49 +0100)]
fix #if HAVE_HEADACHE

3 years agoguess what? Another attempt with teh #if builds
Martin Quinson [Wed, 9 Mar 2016 14:27:06 +0000 (15:27 +0100)]
guess what? Another attempt with teh #if builds

3 years agoanother attempt at fixing the #if build
Martin Quinson [Wed, 9 Mar 2016 13:13:58 +0000 (14:13 +0100)]
another attempt at fixing the #if build

3 years agofix build when symbols are not found
Martin Quinson [Wed, 9 Mar 2016 12:43:36 +0000 (13:43 +0100)]
fix build when symbols are not found

3 years agobetter load src/internal_config.h before testing on HAVE_UNISTD_H
Martin Quinson [Wed, 9 Mar 2016 12:30:29 +0000 (13:30 +0100)]
better load src/internal_config.h before testing on HAVE_UNISTD_H

3 years agofix build without valgrind
Martin Quinson [Wed, 9 Mar 2016 12:30:06 +0000 (13:30 +0100)]
fix build without valgrind

3 years ago[cmake] Fix PROCESSOR_ flags
Gabriel Corona [Wed, 9 Mar 2016 11:38:02 +0000 (12:38 +0100)]
[cmake] Fix PROCESSOR_ flags

3 years agoFix PROCESSOR_ flags
Gabriel Corona [Wed, 9 Mar 2016 11:22:51 +0000 (12:22 +0100)]
Fix PROCESSOR_ flags

3 years agoFix HAVE_FOOBAR flags handling
Gabriel Corona [Wed, 9 Mar 2016 10:14:02 +0000 (11:14 +0100)]
Fix HAVE_FOOBAR flags handling

* always #define them (to 0 or 1);

* check with FOO instead of defined(FOO);

This way we detect missing #includes with -Wundef.

3 years agoFix HAVE_GRAPHVIZ handling
Gabriel Corona [Wed, 9 Mar 2016 10:10:06 +0000 (11:10 +0100)]
Fix HAVE_GRAPHVIZ handling

3 years agoWarn on undefined #if, and enjoy that feature
Martin Quinson [Wed, 9 Mar 2016 09:28:15 +0000 (10:28 +0100)]
Warn on undefined #if, and enjoy that feature

- remove the #include <simgrid_config.h> from xbt/base.h now that it's safe
- Add the include where needed. Amusingly, xbt/string.hpp was unable
  of getting the definition of HAVE_MC alone. Fixing this leaves me with
  only 2 broken tests in MC mode where I had 17 of them before...

3 years agoempty portable.h and spread the include in files
Martin Quinson [Wed, 9 Mar 2016 08:55:35 +0000 (09:55 +0100)]
empty portable.h and spread the include in files

I did only what I can test to work on my machine so far (ie, all but
windows stuff)

3 years agoHAVE_STDDEF_H is never defined in our code
Martin Quinson [Wed, 9 Mar 2016 01:26:32 +0000 (02:26 +0100)]
HAVE_STDDEF_H is never defined in our code

3 years agokill windows backtraces. They were x86 only
Martin Quinson [Wed, 9 Mar 2016 01:19:45 +0000 (02:19 +0100)]
kill windows backtraces. They were x86 only

3 years agocosmetics
Martin Quinson [Wed, 9 Mar 2016 01:09:46 +0000 (02:09 +0100)]
cosmetics

3 years agoRevert "thread_local is C++11, remove the portability layer"
Martin Quinson [Wed, 9 Mar 2016 00:43:04 +0000 (01:43 +0100)]
Revert "thread_local is C++11, remove the portability layer"

This reverts commit 3893493151bcdbed55ef359cdfea4563ee8cddb8.

It fails on some platforms (clang 6, gcc 4.7.3), as if that part of
C++11 were not well implemented yet. In a few years maybe.

3 years agoKill <gpu>. Was not doing anything.
Martin Quinson [Wed, 9 Mar 2016 00:34:17 +0000 (01:34 +0100)]
Kill <gpu>. Was not doing anything.

3 years agouse C++ constants when possible
Martin Quinson [Wed, 9 Mar 2016 00:25:09 +0000 (01:25 +0100)]
use C++ constants when possible

3 years ago__func__ is C99 for __FUNCTION__. Kill portability layer
Martin Quinson [Wed, 9 Mar 2016 00:01:45 +0000 (01:01 +0100)]
__func__ is C99 for __FUNCTION__. Kill portability layer

3 years agogcc 2.4+ is not quite a recent version anymore
Martin Quinson [Tue, 8 Mar 2016 23:55:28 +0000 (00:55 +0100)]
gcc 2.4+ is not quite a recent version anymore

3 years agocreate the test before setting its properties
Martin Quinson [Tue, 8 Mar 2016 23:51:40 +0000 (00:51 +0100)]
create the test before setting its properties

otherwise it fails on travis and appveyor, even if it works pretty
well on my machine.

3 years agothread_local is C++11, remove the portability layer
Martin Quinson [Tue, 8 Mar 2016 23:40:50 +0000 (00:40 +0100)]
thread_local is C++11, remove the portability layer

3 years agouse #if instead if #ifdef for the things in the public config header
Martin Quinson [Tue, 8 Mar 2016 23:26:23 +0000 (00:26 +0100)]
use #if instead if #ifdef for the things in the public config header

3 years agoRename the fields of surf::Model
Martin Quinson [Tue, 8 Mar 2016 21:23:22 +0000 (22:23 +0100)]
Rename the fields of surf::Model

3 years agorename NS3 links
Martin Quinson [Tue, 8 Mar 2016 21:14:09 +0000 (22:14 +0100)]
rename NS3 links

3 years agoremove bw and lat traces from the Link constructor
Martin Quinson [Tue, 8 Mar 2016 21:11:15 +0000 (22:11 +0100)]
remove bw and lat traces from the Link constructor

3 years agoremove the state trace from the Link constructor
Martin Quinson [Tue, 8 Mar 2016 20:30:50 +0000 (21:30 +0100)]
remove the state trace from the Link constructor

use setStateTrace() after creation.

3 years agorouting: inline 2 functions
Martin Quinson [Tue, 8 Mar 2016 18:03:01 +0000 (19:03 +0100)]
routing: inline 2 functions

3 years agocmake: exec_program() is deprecated. Use execute_process() instead
Martin Quinson [Tue, 8 Mar 2016 16:38:02 +0000 (17:38 +0100)]
cmake: exec_program() is deprecated. Use execute_process() instead

3 years agoMove the surf::As* classes into their own files
Martin Quinson [Tue, 8 Mar 2016 15:47:47 +0000 (16:47 +0100)]
Move the surf::As* classes into their own files

3 years agorefactor AsImpl::RoutingMode after mc::ReductionMode
Martin Quinson [Tue, 8 Mar 2016 14:03:31 +0000 (15:03 +0100)]
refactor AsImpl::RoutingMode after mc::ReductionMode

Reviewing the code of Gabriel is often instructive about what you're
supposed to do in C++ ;)

3 years agofix da test
Martin Quinson [Tue, 8 Mar 2016 13:39:08 +0000 (14:39 +0100)]
fix da test

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 8 Mar 2016 13:27:22 +0000 (14:27 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 8 Mar 2016 13:26:45 +0000 (14:26 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoreindent
Martin Quinson [Tue, 8 Mar 2016 13:25:46 +0000 (14:25 +0100)]
reindent

3 years agomove implementation bits of s4u::As into surf::AsImpl
Martin Quinson [Tue, 8 Mar 2016 11:20:23 +0000 (12:20 +0100)]
move implementation bits of s4u::As into surf::AsImpl

3 years ago[mc] Fix typo in dommunications determinism
Gabriel Corona [Tue, 8 Mar 2016 13:25:27 +0000 (14:25 +0100)]
[mc] Fix typo in dommunications determinism

3 years ago[mc] Move mc_safety code in simgrid::mc
Gabriel Corona [Tue, 8 Mar 2016 13:07:14 +0000 (14:07 +0100)]
[mc] Move mc_safety code in simgrid::mc

3 years agoalways include mc sources
Frederic Suter [Tue, 8 Mar 2016 13:17:31 +0000 (14:17 +0100)]
always include mc sources

3 years ago[mc] Use C++ ctor/new/delete for VisitedPair
Gabriel Corona [Tue, 8 Mar 2016 12:10:41 +0000 (13:10 +0100)]
[mc] Use C++ ctor/new/delete for VisitedPair

3 years agounique_ptr for dynar, automaton, swag, etc.
Gabriel Corona [Tue, 8 Mar 2016 11:27:05 +0000 (12:27 +0100)]
unique_ptr for dynar, automaton, swag, etc.

3 years ago[mc] Use C++ ctor/new/delete for Pair
Gabriel Corona [Tue, 8 Mar 2016 10:59:09 +0000 (11:59 +0100)]
[mc] Use C++ ctor/new/delete for Pair

3 years agoset will fail property for stack overoflow on win and osx
Frederic Suter [Tue, 8 Mar 2016 12:27:09 +0000 (13:27 +0100)]
set will fail property for stack overoflow on win and osx

3 years ago[mc] Fix compilation in non-MC
Gabriel Corona [Tue, 8 Mar 2016 11:54:49 +0000 (12:54 +0100)]
[mc] Fix compilation in non-MC

3 years ago[mc] Remove commented out code (parallel code)
Gabriel Corona [Tue, 8 Mar 2016 10:42:09 +0000 (11:42 +0100)]
[mc] Remove commented out code (parallel code)

3 years ago[mc] Move mc_liveness code in simgrid::mc
Gabriel Corona [Tue, 8 Mar 2016 10:21:13 +0000 (11:21 +0100)]
[mc] Move mc_liveness code in simgrid::mc

3 years ago[mc] Remove extra extern "C" {}
Gabriel Corona [Tue, 8 Mar 2016 10:16:58 +0000 (11:16 +0100)]
[mc] Remove extra extern "C" {}

3 years ago[mc] Move things in simgrid::mc
Gabriel Corona [Tue, 8 Mar 2016 09:49:36 +0000 (10:49 +0100)]
[mc] Move things in simgrid::mc

3 years ago[mc] Remove the SNAPSHOT and COMPARE_SNAPSHOTS MC simcalls
Gabriel Corona [Tue, 8 Mar 2016 09:44:49 +0000 (10:44 +0100)]
[mc] Remove the SNAPSHOT and COMPARE_SNAPSHOTS MC simcalls

They were not used.

3 years ago[mc] Update tesh files (bugged1_liveness_visited)
Gabriel Corona [Tue, 8 Mar 2016 09:18:37 +0000 (10:18 +0100)]
[mc] Update tesh files (bugged1_liveness_visited)

3 years ago[mc] Horrid double braces for std::array
Gabriel Corona [Tue, 8 Mar 2016 09:02:20 +0000 (10:02 +0100)]
[mc] Horrid double braces for std::array

This is needed in C++11 (not in C++14).

3 years ago[mc] Move things in the MC namespace
Gabriel Corona [Mon, 7 Mar 2016 14:02:37 +0000 (15:02 +0100)]
[mc] Move things in the MC namespace

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 8 Mar 2016 08:37:25 +0000 (09:37 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agodon't trigger rebuilds when the config headers didnt really change
Martin Quinson [Tue, 8 Mar 2016 07:31:07 +0000 (08:31 +0100)]
don't trigger rebuilds when the config headers didnt really change

3 years agouseless cosmetics in internal config header
Martin Quinson [Tue, 8 Mar 2016 07:06:19 +0000 (08:06 +0100)]
useless cosmetics in internal config header

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 7 Mar 2016 21:53:02 +0000 (22:53 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoa couple of blank and space lines
Frederic Suter [Mon, 7 Mar 2016 21:50:01 +0000 (22:50 +0100)]
a couple of blank and space lines

3 years agomv ADD_TESH to the right CMakeLists.txt
Frederic Suter [Mon, 7 Mar 2016 21:45:07 +0000 (22:45 +0100)]
mv ADD_TESH to the right CMakeLists.txt

3 years agodisplay the content of simgrid_config.h at config time
Martin Quinson [Mon, 7 Mar 2016 21:27:32 +0000 (22:27 +0100)]
display the content of simgrid_config.h at config time

3 years agocleanups in public config header
Martin Quinson [Mon, 7 Mar 2016 21:21:33 +0000 (22:21 +0100)]
cleanups in public config header

3 years agosplit and simplify reduce and reduce-scatter
Frederic Suter [Mon, 7 Mar 2016 21:13:00 +0000 (22:13 +0100)]
split and simplify reduce and reduce-scatter

3 years agosimplify scatter and remove blanks
Frederic Suter [Mon, 7 Mar 2016 20:51:51 +0000 (21:51 +0100)]
simplify scatter and remove blanks

3 years agosimplify alltoall
Frederic Suter [Mon, 7 Mar 2016 20:34:16 +0000 (21:34 +0100)]
simplify alltoall

3 years agokill an obsolete script
Martin Quinson [Mon, 7 Mar 2016 20:28:09 +0000 (21:28 +0100)]
kill an obsolete script

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 7 Mar 2016 20:23:59 +0000 (21:23 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoremove internal definitions from public config header
Martin Quinson [Mon, 7 Mar 2016 19:42:40 +0000 (20:42 +0100)]
remove internal definitions from public config header

3 years agofix test
Frederic Suter [Mon, 7 Mar 2016 20:04:26 +0000 (21:04 +0100)]
fix test

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 7 Mar 2016 19:54:40 +0000 (20:54 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoalso check defaults for boost factory
Frederic Suter [Mon, 7 Mar 2016 19:48:50 +0000 (20:48 +0100)]
also check defaults for boost factory

3 years agofinally this is needed
Frederic Suter [Mon, 7 Mar 2016 19:35:08 +0000 (20:35 +0100)]
finally this is needed

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 7 Mar 2016 19:36:19 +0000 (20:36 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid