Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Mon, 14 Mar 2016 21:10:15 +0000 (22:10 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

4 years agosurf::cpu: apply the latest naming convention of fields and methods
Martin Quinson [Mon, 14 Mar 2016 21:09:16 +0000 (22:09 +0100)]
surf::cpu: apply the latest naming convention of fields and methods

4 years agosurf/trace: kill dead code
Martin Quinson [Mon, 14 Mar 2016 20:58:37 +0000 (21:58 +0100)]
surf/trace: kill dead code

4 years agoreally put 'network/crosstraffic' to yes by default, and fix the teshes
Martin Quinson [Mon, 14 Mar 2016 20:42:56 +0000 (21:42 +0100)]
really put 'network/crosstraffic' to yes by default, and fix the teshes

4 years agosmall cleanups to appveyor
Martin Quinson [Mon, 14 Mar 2016 17:50:03 +0000 (18:50 +0100)]
small cleanups to appveyor

4 years agoappveyor: these tests don't exist anymore
Martin Quinson [Mon, 14 Mar 2016 16:40:11 +0000 (17:40 +0100)]
appveyor: these tests don't exist anymore

4 years agocmake/java: On windows, take the dll from the chocolatey location
Martin Quinson [Mon, 14 Mar 2016 16:09:51 +0000 (17:09 +0100)]
cmake/java: On windows, take the dll from the chocolatey location

4 years agoappveyor: flavor mingw over perl in the PATH
Martin Quinson [Mon, 14 Mar 2016 15:50:06 +0000 (16:50 +0100)]
appveyor: flavor mingw over perl in the PATH

4 years agoProviding our own copy of Win32API::File was a very bad idea
Martin Quinson [Mon, 14 Mar 2016 13:15:39 +0000 (14:15 +0100)]
Providing our own copy of Win32API::File was a very bad idea

4 years agoappveyor: full path to mingw32-make
Martin Quinson [Mon, 14 Mar 2016 13:07:37 +0000 (14:07 +0100)]
appveyor: full path to mingw32-make

4 years agoappveyor: these tests don't exist anymore
Martin Quinson [Mon, 14 Mar 2016 16:40:11 +0000 (17:40 +0100)]
appveyor: these tests don't exist anymore

4 years agocmake/java: On windows, take the dll from the chocolatey location
Martin Quinson [Mon, 14 Mar 2016 16:09:51 +0000 (17:09 +0100)]
cmake/java: On windows, take the dll from the chocolatey location

4 years agoreorg examples/simdag for better user experience
Frederic Suter [Mon, 14 Mar 2016 15:50:44 +0000 (16:50 +0100)]
reorg examples/simdag for better user experience

  + kill sd_test2 that brings nothing wrt the teshsuite

4 years agoappveyor: flavor mingw over perl in the PATH
Martin Quinson [Mon, 14 Mar 2016 15:50:06 +0000 (16:50 +0100)]
appveyor: flavor mingw over perl in the PATH

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 14 Mar 2016 15:16:24 +0000 (16:16 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoadd a (simple) test for storage actions
Frederic Suter [Mon, 14 Mar 2016 14:49:23 +0000 (15:49 +0100)]
add a (simple) test for storage actions

4 years agoProviding our own copy of Win32API::File was a very bad idea
Martin Quinson [Mon, 14 Mar 2016 13:15:39 +0000 (14:15 +0100)]
Providing our own copy of Win32API::File was a very bad idea

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 14 Mar 2016 13:12:35 +0000 (14:12 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoappveyor: full path to mingw32-make
Martin Quinson [Mon, 14 Mar 2016 13:07:37 +0000 (14:07 +0100)]
appveyor: full path to mingw32-make

4 years agofactor Cmake and clean files
Frederic Suter [Mon, 14 Mar 2016 12:51:18 +0000 (13:51 +0100)]
factor Cmake and clean files

4 years agotry to manually install mingw to get make
Martin Quinson [Mon, 14 Mar 2016 12:35:19 +0000 (13:35 +0100)]
try to manually install mingw to get make

4 years agoblank--
Frederic Suter [Mon, 14 Mar 2016 12:13:51 +0000 (13:13 +0100)]
blank--

4 years agomake dt runnable (fix argv accesses)
Frederic Suter [Mon, 14 Mar 2016 11:52:50 +0000 (12:52 +0100)]
make dt runnable (fix argv accesses)

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 14 Mar 2016 11:42:54 +0000 (12:42 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoappveyor: Switch to Strawberry Perl and use chocolatey
Martin Quinson [Mon, 14 Mar 2016 09:04:31 +0000 (10:04 +0100)]
appveyor: Switch to Strawberry Perl and use chocolatey

- Active Perl is good if you use MSVC
- choco install seems better than downloading the prebuilt
  dependencies of an other project (symengine) we know nothing about

4 years agofix make dist
Martin Quinson [Mon, 14 Mar 2016 08:57:10 +0000 (09:57 +0100)]
fix make dist

4 years agotry to use cpan on appveyor
Martin Quinson [Mon, 14 Mar 2016 08:56:37 +0000 (09:56 +0100)]
try to use cpan on appveyor

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 14 Mar 2016 08:42:29 +0000 (09:42 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years ago[Win32API::File] Use Carp::croak instead of bare croak
Martin Quinson [Mon, 14 Mar 2016 06:43:50 +0000 (07:43 +0100)]
[Win32API::File] Use Carp::croak instead of bare croak

Without this, I get the following message:

 String found where operator expected at C:/projects/simgrid/bin/IPC/Win32APIFile.pm line 278, near "croak 'Win32API::File Usage:  '"
            (Do you need to predeclare croak?)
 syntax error at C:/projects/simgrid/bin/IPC/Win32APIFile.pm line 278, near "croak 'Win32API::File Usage:  '"

4 years agoembeed our own fresh copy of Win32API::File
Martin Quinson [Mon, 14 Mar 2016 06:21:26 +0000 (07:21 +0100)]
embeed our own fresh copy of Win32API::File

4 years agotry to fix the windows build
Martin Quinson [Sun, 13 Mar 2016 21:28:52 +0000 (22:28 +0100)]
try to fix the windows build

4 years agoobsolete script: RuleBased routing was removed in v3.10
Martin Quinson [Sun, 13 Mar 2016 20:51:40 +0000 (21:51 +0100)]
obsolete script: RuleBased routing was removed in v3.10

4 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Sun, 13 Mar 2016 20:42:25 +0000 (21:42 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

4 years agotry to reactivate tesh on windows
Martin Quinson [Sun, 13 Mar 2016 20:42:10 +0000 (21:42 +0100)]
try to reactivate tesh on windows

4 years agoremove the git release from the config.h to reduce the amount of rebuilds
Martin Quinson [Sun, 13 Mar 2016 20:40:36 +0000 (21:40 +0100)]
remove the git release from the config.h to reduce the amount of rebuilds

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sun, 13 Mar 2016 20:08:20 +0000 (21:08 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agorework the doc of the include tag
Martin Quinson [Sat, 12 Mar 2016 20:21:16 +0000 (21:21 +0100)]
rework the doc of the include tag

4 years agotesh: Merge https://github.com/toddr/IPC-Run/pull/19 into our IPC
Martin Quinson [Sat, 12 Mar 2016 20:20:35 +0000 (21:20 +0100)]
tesh: Merge https://github.com/toddr/IPC-Run/pull/19 into our IPC

4 years ago[mc] Move client-side message processing in the Client class
Gabriel Corona [Fri, 11 Mar 2016 16:02:43 +0000 (17:02 +0100)]
[mc] Move client-side message processing in the Client class

4 years ago[mc] FIXME MC_cut()
Gabriel Corona [Fri, 11 Mar 2016 14:58:52 +0000 (15:58 +0100)]
[mc] FIXME MC_cut()

4 years agofor once, %zu->%lu
degomme [Fri, 11 Mar 2016 15:26:53 +0000 (16:26 +0100)]
for once, %zu->%lu

4 years agotry to fix that for 32 bits platforms
degomme [Fri, 11 Mar 2016 14:34:34 +0000 (15:34 +0100)]
try to fix that for 32 bits platforms

4 years agoDon't perform these tests without smpi compiled
degomme [Fri, 11 Mar 2016 14:30:35 +0000 (15:30 +0100)]
Don't perform these tests without smpi compiled

4 years agobuild this file in the build folder and not in the middle of the sources ...
degomme [Fri, 11 Mar 2016 14:20:11 +0000 (15:20 +0100)]
build this file in the build folder and not in the middle of the sources ...
We need to correct it anyway, as it is awfully incompatible with the new way of doing tests

4 years agoreplace some abs by fabs, to please freebsd
degomme [Fri, 11 Mar 2016 14:19:18 +0000 (15:19 +0100)]
replace some abs by fabs, to please freebsd

4 years ago[mc] Rename mc_client.{h,cpp} to Client.{hpp,cpp}
Gabriel Corona [Fri, 11 Mar 2016 14:12:48 +0000 (15:12 +0100)]
[mc] Rename mc_client.{h,cpp} to Client.{hpp,cpp}

4 years ago[mc] Encapsulate model-checker/model-checker communications classes
Gabriel Corona [Thu, 10 Mar 2016 14:36:54 +0000 (15:36 +0100)]
[mc] Encapsulate model-checker/model-checker communications classes

- Channel, for low-lewel message send/receive (currently a wrapper around a socket);

- Client, for the client-side logic.

4 years ago[mc] Remove useless extern "C" around logging categories
Gabriel Corona [Thu, 10 Mar 2016 13:42:12 +0000 (14:42 +0100)]
[mc] Remove useless extern "C" around logging categories

4 years ago[mc] Small changes to Variable
Gabriel Corona [Thu, 10 Mar 2016 13:30:06 +0000 (14:30 +0100)]
[mc] Small changes to Variable

4 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

4 years agorandom tag is gone
Martin Quinson [Fri, 11 Mar 2016 12:15:54 +0000 (13:15 +0100)]
random tag is gone

4 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

4 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)

4 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

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

4 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

4 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

4 years agoreindent and only one timer type
Frederic Suter [Thu, 10 Mar 2016 15:26:31 +0000 (16:26 +0100)]
reindent and only one timer type

4 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

4 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

4 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

4 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

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

4 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

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

4 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()

4 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

4 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

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

4 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.

4 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

4 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)

4 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)

4 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

4 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

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

4 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

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

4 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

4 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.

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

4 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

4 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

4 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

4 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

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

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

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

4 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.

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

4 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...

4 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)

4 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

4 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

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

4 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.

4 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.

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

4 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

4 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