Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years ago[Lua] Removed orphaned comments
Christian Heinrich [Wed, 20 Jan 2016 17:14:30 +0000 (18:14 +0100)]
[Lua] Removed orphaned comments

8 years ago[Lua] Added new 'dump()' debug function for lua
Christian Heinrich [Wed, 20 Jan 2016 17:03:35 +0000 (18:03 +0100)]
[Lua] Added new 'dump()' debug function for lua

This function will help users to easily dump their tables
by calling 'simgrid.dump(table)' in Lua. This is not really
an elaborate solution (no recursion handling), but it's OK
for the moment

8 years ago[Lua] Removed lua_utils.c for lua_debug.c
Christian Heinrich [Wed, 20 Jan 2016 17:02:27 +0000 (18:02 +0100)]
[Lua] Removed lua_utils.c for lua_debug.c

8 years ago[Lua] Further removal of unnecessary lua glue code
Christian Heinrich [Tue, 19 Jan 2016 23:35:56 +0000 (00:35 +0100)]
[Lua] Further removal of unnecessary lua glue code

8 years ago[Tests][Lua] Fixed wrong Lua platforms test
Christian Heinrich [Tue, 19 Jan 2016 23:10:45 +0000 (00:10 +0100)]
[Tests][Lua] Fixed wrong Lua platforms test

8 years ago[Lua] Removed lua simulation support
Christian Heinrich [Tue, 19 Jan 2016 22:59:38 +0000 (23:59 +0100)]
[Lua] Removed lua simulation support

8 years ago[Lua] Renamed host 'power' to 'speed' for hosts
Christian Heinrich [Tue, 19 Jan 2016 21:22:25 +0000 (22:22 +0100)]
[Lua] Renamed host 'power' to 'speed' for hosts

8 years ago[Contrib] Deleted contrib/network_model
Christian Heinrich [Tue, 19 Jan 2016 16:50:00 +0000 (17:50 +0100)]
[Contrib] Deleted contrib/network_model

8 years ago[DOC] Added notes about SMPI_SAMPLE macros
Christian Heinrich [Tue, 19 Jan 2016 11:22:53 +0000 (12:22 +0100)]
[DOC] Added notes about SMPI_SAMPLE macros

8 years ago[Doc] Fixed wrong mandatory flag
Christian Heinrich [Mon, 18 Jan 2016 21:32:36 +0000 (22:32 +0100)]
[Doc] Fixed wrong mandatory flag

8 years agoAdd test for smpi tracing with only -trace, and no other option
degomme [Wed, 20 Jan 2016 17:13:06 +0000 (18:13 +0100)]
Add test for smpi tracing with only -trace, and no other option

8 years agofix potential segfault happening when only -trace is provided to smpi
degomme [Wed, 20 Jan 2016 17:09:48 +0000 (18:09 +0100)]
fix potential segfault happening when only -trace is provided to smpi

8 years agoMerge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid
Ad(rien) L [Wed, 20 Jan 2016 17:03:00 +0000 (18:03 +0100)]
Merge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid

8 years agoadd a naive vm energy example - Ad(rien)
Ad(rien) L [Wed, 20 Jan 2016 17:02:49 +0000 (18:02 +0100)]
add a naive vm energy example - Ad(rien)

8 years agoStarting the SimDag revolution: Easter trimming
Frederic Suter [Wed, 20 Jan 2016 15:05:35 +0000 (16:05 +0100)]
Starting the SimDag revolution: Easter trimming
  + Loose the SEQUENTIAL_ACCESS_MODE in the process

8 years agoExplicit instanciation of Extendable<simgrid::s4u::Host>
Gabriel Corona [Wed, 20 Jan 2016 15:11:01 +0000 (16:11 +0100)]
Explicit instanciation of Extendable<simgrid::s4u::Host>

It seems the `deleters_` static variable (of a template class) is not
uniquified on some systems (where the symbols are `STB_GLOBAL`) when
using Java loadLibrary leading to the JAVA_HOST_LEVEL being the same
as another level.

On some systems, the symbols are `STB_GNU_UNIQUE` which purpose is to
avoid this kind of behaviour and the bug does not happen.

By using explicit instanciation, the `deleters_` variable is not
allocated in each shared-object but only in `libsimgrid.so`.

8 years agoAdd a test for smpi+different kinds of clusters (torus/fat_tree/flat/two clusters)
degomme [Wed, 20 Jan 2016 15:49:04 +0000 (16:49 +0100)]
Add a test for smpi+different kinds of clusters (torus/fat_tree/flat/two clusters)

8 years agoHmm, that was a lie.
degomme [Wed, 20 Jan 2016 11:26:55 +0000 (12:26 +0100)]
Hmm, that was a lie.
I can't remember why we needed that.

8 years agomore argument checking
Martin Quinson [Wed, 20 Jan 2016 09:47:45 +0000 (10:47 +0100)]
more argument checking

8 years agoTry to activate coverity for simgrid
Martin Quinson [Tue, 19 Jan 2016 17:16:28 +0000 (18:16 +0100)]
Try to activate coverity for simgrid

8 years agomv private function header to the right place
Frederic Suter [Wed, 20 Jan 2016 08:49:41 +0000 (09:49 +0100)]
mv private function header to the right place

8 years agoSD_link_get_list -> sd_link_list
Frederic Suter [Tue, 19 Jan 2016 16:33:05 +0000 (17:33 +0100)]
SD_link_get_list -> sd_link_list

8 years agoyes, why?
Frederic Suter [Tue, 19 Jan 2016 15:05:06 +0000 (16:05 +0100)]
yes, why?

8 years agobe careful never to change the case of the extension in fortran ...
degomme [Wed, 20 Jan 2016 00:27:06 +0000 (01:27 +0100)]
be careful never to change the case of the extension in fortran ...
Yes, it matters because one forces the C preprocessor to pass, and not the other.

8 years agoDon't tell the user to use an option his simgrid soes not support (but tease him).
degomme [Tue, 19 Jan 2016 23:34:21 +0000 (00:34 +0100)]
Don't tell the user to use an option his simgrid soes not support (but tease him).

Signed-off-by: degomme <augustin.degomme@unibas.ch>
8 years agoMake all predefined MPI_Datatype const
degomme [Tue, 19 Jan 2016 22:49:58 +0000 (23:49 +0100)]
Make all predefined MPI_Datatype const
We encountered one MPI application that was using them as such and thus failing to build with SMPI.

8 years agoOops
degomme [Tue, 19 Jan 2016 17:15:31 +0000 (18:15 +0100)]
Oops

8 years agoWarn at build, and die painfully at execution time when trying to use smpi privatizat...
degomme [Tue, 19 Jan 2016 16:58:54 +0000 (17:58 +0100)]
Warn at build, and die painfully at execution time when trying to use smpi privatization on a system that does not handle it.

8 years agosecond attempt at fixing make distcheck
Martin Quinson [Tue, 19 Jan 2016 16:09:03 +0000 (17:09 +0100)]
second attempt at fixing make distcheck

8 years agofix make dist
Martin Quinson [Tue, 19 Jan 2016 15:49:59 +0000 (16:49 +0100)]
fix make dist

8 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Tue, 19 Jan 2016 15:08:01 +0000 (16:08 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

8 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 19 Jan 2016 15:07:42 +0000 (16:07 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

8 years agoexport the energy plugin to the java world
Martin Quinson [Tue, 19 Jan 2016 15:07:30 +0000 (16:07 +0100)]
export the energy plugin to the java world

8 years agoThx green guy! power is speed.
Frederic Suter [Tue, 19 Jan 2016 14:53:56 +0000 (15:53 +0100)]
Thx green guy! power is speed.

8 years agoFix #include
Gabriel Corona [Tue, 19 Jan 2016 14:07:18 +0000 (15:07 +0100)]
Fix #include

8 years agorevert modification
Frederic Suter [Tue, 19 Jan 2016 14:04:35 +0000 (15:04 +0100)]
revert modification

8 years agoset latency to 0 before calling getRouteAndLatency
Frederic Suter [Tue, 19 Jan 2016 14:00:21 +0000 (15:00 +0100)]
set latency to 0 before calling getRouteAndLatency

8 years ago Start the SimDag revolution: function factoring
Frederic Suter [Tue, 19 Jan 2016 13:56:15 +0000 (14:56 +0100)]
 Start the SimDag revolution: function factoring
    + SD_link_get_ -> sg_link_
       for count/bandwidth/latency/name/data
    + SD_link_set_data -> sg_link_data_set
    + SD_link_is_shared -> sg_link_is_shared

8 years agoStart the SimDag revolution: function renaming
Frederic Suter [Tue, 19 Jan 2016 13:19:24 +0000 (14:19 +0100)]
Start the SimDag revolution: function renaming
  + number -> count (workstation/link lists)
  + remove 'current' in bandwidth/latency getters

8 years agocp is cp, but sh may be sh.exe
Martin Quinson [Tue, 19 Jan 2016 13:17:36 +0000 (14:17 +0100)]
cp is cp, but sh may be sh.exe

8 years ago[s4u] Do not need to check for NULL before delet
Gabriel Corona [Tue, 19 Jan 2016 11:54:11 +0000 (12:54 +0100)]
[s4u] Do not need to check for NULL before delet

This is already included.

8 years agoDelete the CPU (fix a mem leak)
Gabriel Corona [Tue, 19 Jan 2016 11:53:31 +0000 (12:53 +0100)]
Delete the CPU (fix a mem leak)

8 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 19 Jan 2016 11:40:28 +0000 (12:40 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

8 years agoMerge pull request #51 from mpoquet/master
Martin Quinson [Tue, 19 Jan 2016 11:23:30 +0000 (12:23 +0100)]
Merge pull request #51 from mpoquet/master

Removes the pid hack introduced in the patch proposal of issue 15

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Lucas Mello Schnorr [Tue, 19 Jan 2016 11:20:18 +0000 (09:20 -0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

8 years agoMerge branch 'master' of https://github.com/mquinson/simgrid
Millian Poquet [Tue, 19 Jan 2016 11:06:44 +0000 (12:06 +0100)]
Merge branch 'master' of https://github.com/mquinson/simgrid

8 years agoReplace manual latency computation by call to proper
Frederic Suter [Tue, 19 Jan 2016 11:00:37 +0000 (12:00 +0100)]
Replace manual latency computation by call to proper
function.
Revalidate tesh

8 years agoCleaner patch for issue 15.
Millian Poquet [Tue, 19 Jan 2016 10:58:35 +0000 (11:58 +0100)]
Cleaner patch for issue 15.

Instead of using a pid hack to generate the process creation trace in
MSG_process_create_with_environment, this is now done in the function that
handles the pids: SIMIX_process_create.

8 years ago[action replay] verify optional parameters at the same time in alltoall
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:56:20 +0000 (08:56 -0200)]
[action replay] verify optional parameters at the same time in alltoall

8 years ago[action replay] check second optional parameter before parsing datatype in gatherv
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:55:03 +0000 (08:55 -0200)]
[action replay] check second optional parameter before parsing datatype in gatherv

8 years ago[action replay] fix allgather optional parameter parsing
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:54:34 +0000 (08:54 -0200)]
[action replay] fix allgather optional parameter parsing

8 years ago[action replay] verify both optional parameters in allgatherv
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:54:04 +0000 (08:54 -0200)]
[action replay] verify both optional parameters in allgatherv

8 years ago[action replay] verify both optional parameters at the same time in alltoallv
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:53:34 +0000 (08:53 -0200)]
[action replay] verify both optional parameters at the same time in alltoallv

8 years ago[action replay] independent parsing for two optional parameters
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:37:44 +0000 (08:37 -0200)]
[action replay] independent parsing for two optional parameters

8 years ago[action replay] check parameters for all to all operation
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:30:38 +0000 (08:30 -0200)]
[action replay] check parameters for all to all operation

8 years agoremove these broken examples that may be misleading for newcomers as
Frederic Suter [Tue, 19 Jan 2016 10:22:16 +0000 (11:22 +0100)]
remove these broken examples that may be misleading for newcomers as
they have nothing to do with master-worker. The future of platform
generation is lua anyway.

8 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Tue, 19 Jan 2016 00:09:29 +0000 (01:09 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

8 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 19 Jan 2016 00:09:06 +0000 (01:09 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

8 years agotypo in comment
Frederic Suter [Tue, 19 Jan 2016 00:06:31 +0000 (01:06 +0100)]
typo in comment

8 years agoonly test 5th field if 4th exists
Frederic Suter [Tue, 19 Jan 2016 00:06:00 +0000 (01:06 +0100)]
only test 5th field if 4th exists

8 years agoMerge pull request #50 from mpoquet/master
Martin Quinson [Mon, 18 Jan 2016 23:31:35 +0000 (00:31 +0100)]
Merge pull request #50 from mpoquet/master

Warning removal with clang 3.7.0-6

8 years agoCosmetics: removal of a useless comment I wrote in the previous commits
Millian Poquet [Mon, 18 Jan 2016 23:06:26 +0000 (00:06 +0100)]
Cosmetics: removal of a useless comment I wrote in the previous commits

8 years agoMerge branch 'master' of https://github.com/mquinson/simgrid
Millian Poquet [Mon, 18 Jan 2016 23:01:08 +0000 (00:01 +0100)]
Merge branch 'master' of https://github.com/mquinson/simgrid

8 years agoWarning fix: remove old and weird __foo__ function that generated a warning on clang...
Millian Poquet [Mon, 18 Jan 2016 22:59:31 +0000 (23:59 +0100)]
Warning fix: remove old and weird __foo__ function that generated a warning on clang 3.7.0

8 years agocp is called cp.exe on windows...
Martin Quinson [Mon, 18 Jan 2016 22:58:49 +0000 (23:58 +0100)]
cp is called cp.exe on windows...

8 years agoreturn the allocated buffer not that of the previous function
Frederic Suter [Mon, 18 Jan 2016 22:28:14 +0000 (23:28 +0100)]
return the allocated buffer not that of the previous function

8 years ago[cmake] fix the copy of the native libs into the jarfile
Martin Quinson [Mon, 18 Jan 2016 22:14:07 +0000 (23:14 +0100)]
[cmake] fix the copy of the native libs into the jarfile

I REALLY hate cmake. I do.

8 years agofix my borken english
Martin Quinson [Mon, 18 Jan 2016 20:13:20 +0000 (21:13 +0100)]
fix my borken english

8 years agoreadd the MSG interface to energy thingy
Martin Quinson [Mon, 18 Jan 2016 20:05:15 +0000 (21:05 +0100)]
readd the MSG interface to energy thingy

8 years agoWarning and pessimization fix in get_memory_map: a std::copy of a local variable...
Millian Poquet [Mon, 18 Jan 2016 17:58:04 +0000 (18:58 +0100)]
Warning and pessimization fix in get_memory_map: a std::copy of a local variable was returned, which inhibited return value optimization

8 years agoWarning fix: addition of the override specifier for all methods that needed it
Millian Poquet [Mon, 18 Jan 2016 17:46:52 +0000 (18:46 +0100)]
Warning fix: addition of the override specifier for all methods that needed it

8 years agorecompile the dtd, just to check that I can do so
Martin Quinson [Mon, 18 Jan 2016 17:34:34 +0000 (18:34 +0100)]
recompile the dtd, just to check that I can do so

8 years agoreindent
Martin Quinson [Mon, 18 Jan 2016 11:35:05 +0000 (12:35 +0100)]
reindent

8 years agoone step to make VM usable with any Cpu model
Martin Quinson [Sun, 17 Jan 2016 11:21:37 +0000 (12:21 +0100)]
one step to make VM usable with any Cpu model

8 years agoinline a static function
Martin Quinson [Sun, 17 Jan 2016 10:53:46 +0000 (11:53 +0100)]
inline a static function

8 years agoreindent
Martin Quinson [Sat, 16 Jan 2016 14:36:12 +0000 (15:36 +0100)]
reindent

8 years agomove the vanilla def of executeParallelTask in HostModel
Martin Quinson [Sat, 16 Jan 2016 14:23:07 +0000 (15:23 +0100)]
move the vanilla def of executeParallelTask in HostModel

Two of the three subclasses were redefining this method to the same
content.

8 years agosimplify the prototype of CpuAction::onStateChange
Martin Quinson [Sat, 16 Jan 2016 14:18:46 +0000 (15:18 +0100)]
simplify the prototype of CpuAction::onStateChange

I'm not sure of how to export it to the user.

8 years agowoopsy, adapt MC to the previous change
Martin Quinson [Sat, 16 Jan 2016 10:01:01 +0000 (11:01 +0100)]
woopsy, adapt MC to the previous change

8 years agoKill a deprecated function, deprecate another one, and inline a simcall
Martin Quinson [Sat, 16 Jan 2016 08:55:08 +0000 (09:55 +0100)]
Kill a deprecated function, deprecate another one, and inline a simcall

- SIMIX_host_get_name is replaced by sg_host_get_name
- One day, MSG_host_get_name will die
- the host_off simcall now use the closure simcall

8 years agokill (inline) useless functions
Martin Quinson [Fri, 15 Jan 2016 16:31:02 +0000 (17:31 +0100)]
kill (inline) useless functions

The whole addTraces() madness should be reworked and factorized.

8 years agotry again to find this lib.. and don't crash if not found
degomme [Fri, 15 Jan 2016 15:46:32 +0000 (16:46 +0100)]
try again to find this lib.. and don't crash if not found

8 years ago...
degomme [Fri, 15 Jan 2016 15:24:16 +0000 (16:24 +0100)]
...

8 years agooops
degomme [Fri, 15 Jan 2016 15:22:32 +0000 (16:22 +0100)]
oops

8 years agoAdd folders to search for libwinpthreads when using msys.
degomme [Fri, 15 Jan 2016 15:10:28 +0000 (16:10 +0100)]
Add folders to search for libwinpthreads when using msys.

8 years agoanother attempt
degomme [Fri, 15 Jan 2016 15:05:23 +0000 (16:05 +0100)]
another attempt

8 years agoBuild out of source on windows also (but don't do the make dist/unpack) part
degomme [Fri, 15 Jan 2016 14:54:40 +0000 (15:54 +0100)]
Build out of source on windows also (but don't do the make dist/unpack) part

8 years ago[s4u] Use const& references in Host::mounted_storages()
Gabriel Corona [Fri, 15 Jan 2016 15:05:52 +0000 (16:05 +0100)]
[s4u] Use const& references in Host::mounted_storages()

8 years ago[s4u] Host snake_case
Gabriel Corona [Fri, 15 Jan 2016 14:26:45 +0000 (15:26 +0100)]
[s4u] Host snake_case

8 years agoanother attempt to fix make -j with java.
degomme [Fri, 15 Jan 2016 14:38:57 +0000 (15:38 +0100)]
another attempt to fix make -j with java.

8 years ago[mc] Fix the hash computation
Gabriel Corona [Fri, 15 Jan 2016 13:54:52 +0000 (14:54 +0100)]
[mc] Fix the hash computation

8 years agonot for windows' eyes
degomme [Fri, 15 Jan 2016 14:00:48 +0000 (15:00 +0100)]
not for windows' eyes

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
degomme [Fri, 15 Jan 2016 13:47:42 +0000 (14:47 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

8 years agodeactivate Werror and co for windows ci build
degomme [Fri, 15 Jan 2016 13:47:33 +0000 (14:47 +0100)]
deactivate Werror and co for windows ci build

8 years ago[s4u] Use forward.hpp for forward declarations
Gabriel Corona [Fri, 15 Jan 2016 12:47:21 +0000 (13:47 +0100)]
[s4u] Use forward.hpp for forward declarations

8 years ago[s4u] s/ByName/by_name/
Gabriel Corona [Fri, 15 Jan 2016 12:46:42 +0000 (13:46 +0100)]
[s4u] s/ByName/by_name/

8 years agoremove free of return set in user code for these tests too.
Frederic Suter [Fri, 15 Jan 2016 12:45:04 +0000 (13:45 +0100)]
remove free of return set in user code for these tests too.

8 years ago[s4u] Remove Host::.set_userdata()
Gabriel Corona [Fri, 15 Jan 2016 12:25:55 +0000 (13:25 +0100)]
[s4u] Remove Host::.set_userdata()

8 years agoRemove the TODO done in the previous commit
Gabriel Corona [Fri, 15 Jan 2016 11:25:17 +0000 (12:25 +0100)]
Remove the TODO done in the previous commit

8 years ago[s4u] Do not use containers of references
Gabriel Corona [Fri, 15 Jan 2016 11:07:38 +0000 (12:07 +0100)]
[s4u] Do not use containers of references

Containers are not allowes to hold references.