Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoReduce the amount of implicit include directories
Martin Quinson [Sun, 25 Oct 2015 19:16:38 +0000 (20:16 +0100)]
Reduce the amount of implicit include directories

This is intrusive to quite a lot of files, but I think that it helps
making the source code more explicit about what's public and what's not.

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 25 Oct 2015 19:10:00 +0000 (20:10 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agocleanups in cmake+perl interactions
Martin Quinson [Sun, 25 Oct 2015 15:08:10 +0000 (16:08 +0100)]
cleanups in cmake+perl interactions

4 years agoforgot this one
degomme [Sat, 24 Oct 2015 22:27:07 +0000 (00:27 +0200)]
forgot this one

4 years agotry to fix some compilation erros
degomme [Sat, 24 Oct 2015 21:52:26 +0000 (23:52 +0200)]
try to fix some compilation erros

4 years ago[cmake] tiny cleanup around smpi
Martin Quinson [Sat, 24 Oct 2015 20:50:53 +0000 (22:50 +0200)]
[cmake] tiny cleanup around smpi

4 years agodisable lua on CI for now
Martin Quinson [Sat, 24 Oct 2015 20:13:35 +0000 (22:13 +0200)]
disable lua on CI for now

4 years agowas too fast on merging the commits, sorry
Martin Quinson [Fri, 23 Oct 2015 19:51:22 +0000 (21:51 +0200)]
was too fast on merging the commits, sorry

4 years ago[cmake] mark two variables as advanced to hide them from ccmake
Martin Quinson [Fri, 23 Oct 2015 19:51:09 +0000 (21:51 +0200)]
[cmake] mark two variables as advanced to hide them from ccmake

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 23 Oct 2015 13:25:14 +0000 (15:25 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years ago[cmake] report the compiler version when we think it's too old
Martin Quinson [Fri, 23 Oct 2015 13:19:17 +0000 (15:19 +0200)]
[cmake] report the compiler version when we think it's too old

4 years agotry to do what distcheck says..
degomme [Fri, 23 Oct 2015 12:55:16 +0000 (14:55 +0200)]
try to do what distcheck says..

4 years agoahem :p (is this file even necessary?)
degomme [Fri, 23 Oct 2015 12:50:25 +0000 (14:50 +0200)]
ahem :p (is this file even necessary?)

4 years agoAdd CMakelists file
degomme [Fri, 23 Oct 2015 12:35:59 +0000 (14:35 +0200)]
Add CMakelists file

4 years agohandle MPI_WIN_NULL in fortran
degomme [Mon, 19 Oct 2015 14:55:52 +0000 (16:55 +0200)]
handle MPI_WIN_NULL in fortran

4 years agomake tracing work better with gatherv and scatterv
degomme [Mon, 24 Aug 2015 12:35:58 +0000 (14:35 +0200)]
make tracing work better with gatherv and scatterv

4 years ago[cmake] clean the gcc version detection and handling
Martin Quinson [Thu, 22 Oct 2015 06:39:42 +0000 (08:39 +0200)]
[cmake] clean the gcc version detection and handling

4 years agoAdd missing files -- sorry
Martin Quinson [Wed, 21 Oct 2015 23:00:23 +0000 (01:00 +0200)]
Add missing files -- sorry

4 years agorevalidate the tesh files after the modifications of the energy_platform.xml file
Martin Quinson [Wed, 21 Oct 2015 22:44:15 +0000 (00:44 +0200)]
revalidate the tesh files after the modifications of the energy_platform.xml file

4 years agochanging this line back, as it breaks half a dozen of tests
Martin Quinson [Wed, 21 Oct 2015 22:38:23 +0000 (00:38 +0200)]
changing this line back, as it breaks half a dozen of tests

4 years agointegrate an example/test for energy+VMs
Martin Quinson [Wed, 21 Oct 2015 16:56:43 +0000 (18:56 +0200)]
integrate an example/test for energy+VMs

4 years agoDon't segfault when energy is not turned on
Martin Quinson [Wed, 21 Oct 2015 16:55:49 +0000 (18:55 +0200)]
Don't segfault when energy is not turned on

4 years agoenergy_platform: Add a third machine
Martin Quinson [Tue, 20 Oct 2015 17:15:46 +0000 (19:15 +0200)]
energy_platform: Add a third machine

4 years agoreindent
Martin Quinson [Tue, 20 Oct 2015 16:52:15 +0000 (18:52 +0200)]
reindent

4 years agofix the example so that it compiles [with no warning/error]
Martin Quinson [Tue, 20 Oct 2015 16:43:55 +0000 (18:43 +0200)]
fix the example so that it compiles [with no warning/error]

4 years agoenergy_platform: add pstates to the second host too
Martin Quinson [Tue, 20 Oct 2015 16:36:33 +0000 (18:36 +0200)]
energy_platform: add pstates to the second host too

And remove the modified copy from the example/msg/vm directory

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 20 Oct 2015 15:44:22 +0000 (17:44 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years ago[Doc] Removed understanding_simgrid.doc from Doxyfile.in
Christian Heinrich [Tue, 20 Oct 2015 14:48:40 +0000 (16:48 +0200)]
[Doc] Removed understanding_simgrid.doc from Doxyfile.in

This file is not at all ready to be included in the documentation.

4 years agoclean a bit - Adrien
Ad(rien) L [Tue, 20 Oct 2015 13:02:12 +0000 (15:02 +0200)]
clean a bit - Adrien

4 years agoAdd energy VM example (simple but should be sufficient) - Adrien
Ad(rien) L [Tue, 20 Oct 2015 13:01:35 +0000 (15:01 +0200)]
Add energy VM example (simple but should be sufficient) - Adrien

4 years agoFix conflict - Adrien
Ad(rien) L [Tue, 20 Oct 2015 12:51:28 +0000 (14:51 +0200)]
Fix conflict - Adrien

4 years agoAdd VM energy extensions - Adrien
Ad(rien) L [Tue, 20 Oct 2015 10:41:54 +0000 (12:41 +0200)]
Add VM energy extensions - Adrien

4 years ago[S4U] declare the classes as public for Windows
Martin Quinson [Tue, 20 Oct 2015 06:35:22 +0000 (08:35 +0200)]
[S4U] declare the classes as public for Windows

4 years ago[cmake] kill useless endianess testing: we don't use it
Martin Quinson [Mon, 19 Oct 2015 23:35:16 +0000 (01:35 +0200)]
[cmake] kill useless endianess testing: we don't use it

4 years ago[cmake] cleanups
Martin Quinson [Mon, 19 Oct 2015 23:22:27 +0000 (01:22 +0200)]
[cmake] cleanups

4 years agoKill dead code in cmake and appveyor
Martin Quinson [Mon, 19 Oct 2015 23:04:14 +0000 (01:04 +0200)]
Kill dead code in cmake and appveyor

4 years agoDisable building static libs.
Martin Quinson [Mon, 19 Oct 2015 22:54:51 +0000 (00:54 +0200)]
Disable building static libs.

It was not tested at all, so I guess that it does not work anyway.

What's not tested does not exist and can be removed. If you need a
feature, write a test for it.

4 years ago[cmake] kill some unused declarations
Martin Quinson [Mon, 19 Oct 2015 22:50:54 +0000 (00:50 +0200)]
[cmake] kill some unused declarations

4 years ago[cmake] inline the nasty CompleteInFiles.cmake Cleanups needed
Martin Quinson [Mon, 19 Oct 2015 22:43:07 +0000 (00:43 +0200)]
[cmake] inline the nasty CompleteInFiles.cmake Cleanups needed

4 years ago[appveyor] switch back to regular boost libs (1_59 was mandatory for MSVC15)
Martin Quinson [Mon, 19 Oct 2015 22:03:30 +0000 (00:03 +0200)]
[appveyor] switch back to regular boost libs (1_59 was mandatory for MSVC15)

4 years ago[appveyor] disable lua for now
Martin Quinson [Mon, 19 Oct 2015 21:54:09 +0000 (23:54 +0200)]
[appveyor] disable lua for now

And comment a bit the appveyor file, killing some dead code on the way.

4 years ago[travis] don't install lua from the source as it does not produce the shared libs
Martin Quinson [Mon, 19 Oct 2015 16:00:48 +0000 (18:00 +0200)]
[travis] don't install lua from the source as it does not produce the shared libs

That's a sorry state, but upstream wants it so:
http://lua-users.org/lists/lua-l/2006-10/msg00098.html

4 years ago[appveyor] try to use a precompiled lua.
Martin Quinson [Mon, 19 Oct 2015 15:35:53 +0000 (17:35 +0200)]
[appveyor] try to use a precompiled lua.

Lua does not provide any easy way to compile dynamic libraries from
the tarball.

4 years agoenergy: less code dupplication
Martin Quinson [Mon, 19 Oct 2015 15:29:08 +0000 (17:29 +0200)]
energy: less code dupplication

4 years ago[doc] copy some VMs' doc from Java to C
Martin Quinson [Mon, 19 Oct 2015 15:28:14 +0000 (17:28 +0200)]
[doc] copy some VMs' doc from Java to C

4 years ago[cmake] try harder to find a dynamic lib for lua
Martin Quinson [Mon, 19 Oct 2015 10:06:50 +0000 (12:06 +0200)]
[cmake] try harder to find a dynamic lib for lua

The beauty of cmake :)

4 years ago[doxygen] fix a function comment
Martin Quinson [Mon, 19 Oct 2015 07:30:49 +0000 (09:30 +0200)]
[doxygen] fix a function comment

4 years ago[travis] look for lua where I put it, bummer
Martin Quinson [Mon, 19 Oct 2015 07:30:32 +0000 (09:30 +0200)]
[travis] look for lua where I put it, bummer

4 years ago[cmake] cleanups in the Lua detection
Martin Quinson [Sun, 18 Oct 2015 17:11:23 +0000 (19:11 +0200)]
[cmake] cleanups in the Lua detection

4 years ago[appveyor] fix (?) the lua compilation
Martin Quinson [Sun, 18 Oct 2015 16:27:35 +0000 (18:27 +0200)]
[appveyor] fix (?) the lua compilation

4 years ago[appveyor] use 'tar' instead of '7z' to open tarfiles
Martin Quinson [Sat, 17 Oct 2015 21:29:38 +0000 (23:29 +0200)]
[appveyor] use 'tar' instead of '7z' to open tarfiles

4 years ago[appveyor] temporary commit to see what's going on on the robot
Martin Quinson [Sat, 17 Oct 2015 21:22:01 +0000 (23:22 +0200)]
[appveyor] temporary commit to see what's going on on the robot

4 years ago[travis/appveyor]: use Lua 5.3.1 instead of 5.3.0
Martin Quinson [Sat, 17 Oct 2015 21:18:11 +0000 (23:18 +0200)]
[travis/appveyor]: use Lua 5.3.1 instead of 5.3.0

4 years ago[appveyor] 'make' is called 'mingw32-make' here
Martin Quinson [Sat, 17 Oct 2015 21:14:00 +0000 (23:14 +0200)]
[appveyor] 'make' is called 'mingw32-make' here

4 years ago[cmake] Put FindLua.cmake where we look for it
Martin Quinson [Sat, 17 Oct 2015 21:12:13 +0000 (23:12 +0200)]
[cmake] Put FindLua.cmake where we look for it

4 years ago[travis] cannot install to /opt (forbidden), so go for another place
Martin Quinson [Sat, 17 Oct 2015 20:46:07 +0000 (22:46 +0200)]
[travis] cannot install to /opt (forbidden), so go for another place

4 years ago[cmake] remove ghost files from the dist
Martin Quinson [Sat, 17 Oct 2015 20:15:06 +0000 (22:15 +0200)]
[cmake] remove ghost files from the dist

Many new files are still to be added to the dist

4 years agoremove 51 from the name of FindLua51Simgrid: we now need v5.3, not v5.1
Martin Quinson [Sat, 17 Oct 2015 20:09:49 +0000 (22:09 +0200)]
remove 51 from the name of FindLua51Simgrid: we now need v5.3, not v5.1

4 years ago[cmake] better error messages when lua is not detected
Martin Quinson [Sat, 17 Oct 2015 20:07:30 +0000 (22:07 +0200)]
[cmake] better error messages when lua is not detected

4 years ago[appveyor] try to correclty unpack the lua.tar.gz
Martin Quinson [Sat, 17 Oct 2015 20:07:00 +0000 (22:07 +0200)]
[appveyor] try to correclty unpack the lua.tar.gz

4 years ago[travis] install lua to /opt so that cmake finds it
Martin Quinson [Sat, 17 Oct 2015 19:56:17 +0000 (21:56 +0200)]
[travis] install lua to /opt so that cmake finds it

4 years ago[appveyor] try to install lua 5.3
Martin Quinson [Fri, 16 Oct 2015 19:58:34 +0000 (21:58 +0200)]
[appveyor] try to install lua 5.3

4 years ago[travis] fixups
Martin Quinson [Fri, 16 Oct 2015 19:50:44 +0000 (21:50 +0200)]
[travis] fixups

4 years ago[travis] install lua 5.3
Martin Quinson [Fri, 16 Oct 2015 19:45:02 +0000 (21:45 +0200)]
[travis] install lua 5.3

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 16 Oct 2015 19:14:17 +0000 (21:14 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoFix build without lua
Gabriel Corona [Fri, 16 Oct 2015 09:37:31 +0000 (11:37 +0200)]
Fix build without lua

4 years agodocument the simgrid internals
Martin Quinson [Fri, 16 Oct 2015 09:19:07 +0000 (11:19 +0200)]
document the simgrid internals

4 years ago[Lua] Amended comments in chord.lua
Christian Heinrich [Thu, 15 Oct 2015 14:54:55 +0000 (16:54 +0200)]
[Lua] Amended comments in chord.lua

4 years ago[Lua] Fixed compilation issue
Christian Heinrich [Wed, 14 Oct 2015 10:22:12 +0000 (12:22 +0200)]
[Lua] Fixed compilation issue

4 years ago[Lua] Commented chord.lua example
Christian Heinrich [Wed, 14 Oct 2015 10:21:09 +0000 (12:21 +0200)]
[Lua] Commented chord.lua example

4 years ago[Lua] Disabled chord.lua test - it is too broken.
Christian Heinrich [Wed, 14 Oct 2015 10:19:38 +0000 (12:19 +0200)]
[Lua] Disabled chord.lua test - it is too broken.

The code of this test is quite wrong and needs to
be rewritten (fixing it seems useless, I tried
that for too long).

4 years ago[Lua] Fixed a README.lua detail
Christian Heinrich [Fri, 24 Jul 2015 10:54:35 +0000 (12:54 +0200)]
[Lua] Fixed a README.lua detail

4 years ago[Lua] Added README.lua for Lua installation process details.
Christian Heinrich [Fri, 24 Jul 2015 09:31:43 +0000 (11:31 +0200)]
[Lua] Added README.lua for Lua installation process details.

- Also added a patch file for patching Lua to generate a .so file

4 years ago[Lua] Patched lua_platf.c for Lua 5.3.1
Christian Heinrich [Fri, 24 Jul 2015 09:16:14 +0000 (11:16 +0200)]
[Lua] Patched lua_platf.c for Lua 5.3.1

4 years ago[Lua] Added Lua Cmake support files.
Christian Heinrich [Fri, 24 Jul 2015 08:42:00 +0000 (10:42 +0200)]
[Lua] Added Lua Cmake support files.

- Changed required version to 5.3.x
- If not found, a FATAL_ERROR will be issued.

4 years ago[Lua] Chord.lua indentation
Christian Heinrich [Thu, 23 Jul 2015 17:53:42 +0000 (19:53 +0200)]
[Lua] Chord.lua indentation

4 years ago[Lua] Ported state_cloner code to Lua 5.3
Christian Heinrich [Thu, 23 Jul 2015 17:03:17 +0000 (19:03 +0200)]
[Lua] Ported state_cloner code to Lua 5.3

4 years ago[Lua] Fixed attribute in splay_sim platform
Christian Heinrich [Thu, 23 Jul 2015 17:02:37 +0000 (19:02 +0200)]
[Lua] Fixed attribute in splay_sim platform

4 years ago[Lua] Ported console code to Lua 5.3
Christian Heinrich [Thu, 23 Jul 2015 17:02:09 +0000 (19:02 +0200)]
[Lua] Ported console code to Lua 5.3

4 years ago[Lua] Ported multi_matrix code to Lua 5.3
Christian Heinrich [Thu, 23 Jul 2015 17:01:11 +0000 (19:01 +0200)]
[Lua] Ported multi_matrix code to Lua 5.3

4 years ago[Lua] Ported masterslave code to Lua 5.3
Christian Heinrich [Thu, 23 Jul 2015 17:00:14 +0000 (19:00 +0200)]
[Lua] Ported masterslave code to Lua 5.3

4 years ago[Lua] Fixed kademlia.lua test
Christian Heinrich [Thu, 23 Jul 2015 16:59:04 +0000 (18:59 +0200)]
[Lua] Fixed kademlia.lua test

- Index 0 was out of bounds
- Updated tesh file

4 years ago[Lua] Updated the bittorent.lua test
Christian Heinrich [Thu, 23 Jul 2015 16:27:46 +0000 (18:27 +0200)]
[Lua] Updated the bittorent.lua test

- Changed several simgrid.info to simgrid.debug calls
- Removed junk code; this is not needed any more
- Updated the test results; these changed because we fixed a
  bug with random numbers (the seed was only initialized for
  the tracker, not for peers).

4 years ago[Lua] Fixed garbage collection segfault
Christian Heinrich [Thu, 23 Jul 2015 13:19:16 +0000 (15:19 +0200)]
[Lua] Fixed garbage collection segfault

4 years ago[Lua] Fixed integer/double conversion problem
Christian Heinrich [Thu, 23 Jul 2015 13:17:30 +0000 (15:17 +0200)]
[Lua] Fixed integer/double conversion problem

  - This bug would change integers to doubles when lua was used
    to actually run the simulation

4 years ago[Lua5.3] Changed lua_tonumber to lua_tointeger where necessary
Christian Heinrich [Wed, 10 Jun 2015 14:05:56 +0000 (16:05 +0200)]
[Lua5.3] Changed lua_tonumber to lua_tointeger where necessary

4 years ago[Lua5.3] Added logging functions error and critical
Christian Heinrich [Mon, 8 Jun 2015 23:12:52 +0000 (01:12 +0200)]
[Lua5.3] Added logging functions error and critical

4 years ago[Lua5.3] Updated bittorent/peer.lua to Lua5.3
Christian Heinrich [Mon, 8 Jun 2015 22:47:03 +0000 (00:47 +0200)]
[Lua5.3] Updated bittorent/peer.lua to Lua5.3

4 years ago[Lua5.3] Updated lua_task.c to Lua5.3
Christian Heinrich [Mon, 8 Jun 2015 21:26:27 +0000 (23:26 +0200)]
[Lua5.3] Updated lua_task.c to Lua5.3

4 years ago[Lua5.3] Updated lua_state_cloner.c for Lua5.3
Christian Heinrich [Mon, 8 Jun 2015 21:21:41 +0000 (23:21 +0200)]
[Lua5.3] Updated lua_state_cloner.c for Lua5.3

- In Lua5.3, there is no setfenv() any more; it's considered unclean

4 years ago[Lua5.3] Added and modified comments in lua_task.c
Christian Heinrich [Mon, 8 Jun 2015 21:17:29 +0000 (23:17 +0200)]
[Lua5.3] Added and modified comments in lua_task.c

4 years ago[Lua5.3] Added checks for sane values in lua_platf.c
Christian Heinrich [Mon, 8 Jun 2015 21:11:18 +0000 (23:11 +0200)]
[Lua5.3] Added checks for sane values in lua_platf.c

4 years ago[Bugfix] Fixed wrong property in SimSplay test: latency<->lat
Christian Heinrich [Mon, 8 Jun 2015 21:07:48 +0000 (23:07 +0200)]
[Bugfix] Fixed wrong property in SimSplay test: latency<->lat

4 years ago[Lua5.3] Updated lua/bittorent test to reflect changes
Christian Heinrich [Mon, 8 Jun 2015 16:05:04 +0000 (18:05 +0200)]
[Lua5.3] Updated lua/bittorent test to reflect changes

4 years agoLua: Changed latency attribute to lat and others.
Christian Heinrich [Mon, 13 Apr 2015 12:22:17 +0000 (14:22 +0200)]
Lua: Changed latency attribute to lat and others.

- For instance, state_trace is now called state_file, latency_trace = latency_file etc.

4 years agoLua: Changed names for attribute 'policy' to 'sharing_policy'
Christian Heinrich [Mon, 13 Apr 2015 11:53:33 +0000 (13:53 +0200)]
Lua: Changed names for attribute 'policy' to 'sharing_policy'

4 years agoAdded new case to lua_state_cloner.c: LUA_TNONE
Christian Heinrich [Wed, 25 Mar 2015 16:08:26 +0000 (17:08 +0100)]
Added new case to lua_state_cloner.c: LUA_TNONE

- This should be called if the top value does not exist.

4 years agoSecond series of changes to lua-bindings in order to be capable of running Lua 5.3
Christian Heinrich [Wed, 11 Mar 2015 14:35:18 +0000 (15:35 +0100)]
Second series of changes to lua-bindings in order to be capable of running Lua 5.3

* Updated lua_*.c files to support again the simgrid.*.* syntax, like
  simgrid.host.at(i) -- this was broken before.

4 years agoFixed lua_host file for Lua 5.3
Christian Heinrich [Mon, 9 Mar 2015 16:05:04 +0000 (17:05 +0100)]
Fixed lua_host file for Lua 5.3

4 years agoFirst series of changes to lua-bindings in order to
Christian Heinrich [Fri, 6 Mar 2015 13:37:42 +0000 (14:37 +0100)]
First series of changes to lua-bindings in order to
be capable of running Lua 5.3