Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agoPrepare test suite for msg-storage "ctest -R msg-storage"
Pierre Veyre [Sat, 28 Sep 2013 07:29:51 +0000 (09:29 +0200)]
Prepare test suite for msg-storage "ctest -R msg-storage"

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Fri, 27 Sep 2013 15:33:43 +0000 (17:33 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agosame thing, forgot some
Augustin Degomme [Fri, 27 Sep 2013 14:38:39 +0000 (16:38 +0200)]
same thing, forgot some

6 years agofor one reason or another, Win hates forward declarations of main ..
Augustin Degomme [Fri, 27 Sep 2013 14:17:43 +0000 (16:17 +0200)]
for one reason or another, Win hates forward declarations of main ..

6 years agofix win java build
Augustin Degomme [Fri, 27 Sep 2013 10:28:34 +0000 (12:28 +0200)]
fix win java build

6 years agoenable java build on win
Augustin Degomme [Fri, 27 Sep 2013 09:06:59 +0000 (11:06 +0200)]
enable java build on win

6 years agoSet MPI_ADDRESS_KIND and MPI_OFFSET_KIND to 4 on 32 bits archs.
Arnaud Giersch [Thu, 26 Sep 2013 21:01:17 +0000 (23:01 +0200)]
Set MPI_ADDRESS_KIND and MPI_OFFSET_KIND to 4 on 32 bits archs.

This is consistent with the definition of MPI_Aint (ptrdiff_t).

6 years agoAdd -g to Fortran compilation flags.
Arnaud Giersch [Thu, 26 Sep 2013 16:12:32 +0000 (18:12 +0200)]
Add -g to Fortran compilation flags.

6 years agobetter OS detection
Augustin Degomme [Thu, 26 Sep 2013 17:19:13 +0000 (19:19 +0200)]
better OS detection

6 years agono more tesh target on win
Augustin Degomme [Thu, 26 Sep 2013 16:57:22 +0000 (18:57 +0200)]
no more tesh target on win

6 years agoupdate perl version of tesh with sorting, trimming ..
Augustin Degomme [Thu, 26 Sep 2013 16:42:25 +0000 (18:42 +0200)]
update perl version of tesh with sorting, trimming ..

6 years agoChange MSG_host_get_storage_list function + update simdag-io example
Pierre Veyre [Thu, 26 Sep 2013 14:50:09 +0000 (16:50 +0200)]
Change MSG_host_get_storage_list function + update simdag-io example

6 years agodocumentation improvement
Martin Quinson [Thu, 26 Sep 2013 14:35:51 +0000 (16:35 +0200)]
documentation improvement

6 years agoDetermine assembly flavor at a single place.
Arnaud Giersch [Thu, 26 Sep 2013 13:04:35 +0000 (15:04 +0200)]
Determine assembly flavor at a single place.

In smx_context_raw.c, check if variable exists *and* has a nonnull value
(and not only if it's defined).

6 years agoUnused variable.
Arnaud Giersch [Thu, 26 Sep 2013 12:52:26 +0000 (14:52 +0200)]
Unused variable.

6 years agoSetting the stack size works for threads too, since commit 3cdd0ac83adfa4f28b05b4c196...
Arnaud Giersch [Thu, 26 Sep 2013 09:49:34 +0000 (11:49 +0200)]
Setting the stack size works for threads too, since commit 3cdd0ac83adfa4f28b05b4c1961555e5203bc6a8.

6 years agoSimplify rules, and hopefully make them match with different variants of the library.
Arnaud Giersch [Thu, 26 Sep 2013 09:43:32 +0000 (11:43 +0200)]
Simplify rules, and hopefully make them match with different variants of the library.

6 years agoSMPI_DEP does not exist anymore.
Arnaud Giersch [Thu, 26 Sep 2013 07:47:26 +0000 (09:47 +0200)]
SMPI_DEP does not exist anymore.

6 years agoUse CMAKE_C_COMPILER_ID to determine if compiler is gcc or not.
Arnaud Giersch [Thu, 26 Sep 2013 07:44:40 +0000 (09:44 +0200)]
Use CMAKE_C_COMPILER_ID to determine if compiler is gcc or not.

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Thu, 26 Sep 2013 06:57:41 +0000 (08:57 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoFix MSG_storage_get_content function
Pierre Veyre [Thu, 26 Sep 2013 06:56:41 +0000 (08:56 +0200)]
Fix MSG_storage_get_content function

6 years agoQuick fix of doxygen comments.
Arnaud Giersch [Wed, 25 Sep 2013 21:32:35 +0000 (23:32 +0200)]
Quick fix of doxygen comments.

6 years agoRemove now unused parameter "default_value" for xbt_cfg_register.
Arnaud Giersch [Wed, 25 Sep 2013 21:32:35 +0000 (23:32 +0200)]
Remove now unused parameter "default_value" for xbt_cfg_register.

Its usage was too problematic:
* it required a pointer to a variable containing the default value
* strings needed to be duplicated
* booleans needed to be given as ints
* callbacks were not called

You should use xbt_cfg_setdefault_* instead.

6 years agoDig through git history, and update copyright lines.
Arnaud Giersch [Wed, 25 Sep 2013 19:59:16 +0000 (21:59 +0200)]
Dig through git history, and update copyright lines.

Note that:
* only existing lines are updated
* dates already written were kept
* missing dates were found with "git log --format=%ad"

Adding a copyright notice to files where it's missing is left as
an exercise to the reader.

6 years ago++Suppression.
Arnaud Giersch [Wed, 25 Sep 2013 15:13:43 +0000 (17:13 +0200)]
++Suppression.

6 years agofix distrib for win (and try not to break it for linux?)
Augustin Degomme [Wed, 25 Sep 2013 18:04:35 +0000 (20:04 +0200)]
fix distrib for win (and try not to break it for linux?)

6 years agofix build
Augustin Degomme [Wed, 25 Sep 2013 18:02:56 +0000 (20:02 +0200)]
fix build

6 years agoremoved file for win packaging
Augustin Degomme [Wed, 25 Sep 2013 17:33:04 +0000 (19:33 +0200)]
removed file for win packaging

6 years agofile not in the webcruft dir
Augustin Degomme [Wed, 25 Sep 2013 17:32:43 +0000 (19:32 +0200)]
file not in the webcruft dir

6 years agoempty struct means trouble, add a dummy field for now
suter [Wed, 25 Sep 2013 16:25:00 +0000 (18:25 +0200)]
empty struct means trouble, add a dummy field for now

6 years agomimic host behavior, works better this way
suter [Wed, 25 Sep 2013 16:23:29 +0000 (18:23 +0200)]
mimic host behavior, works better this way

6 years agoprevent using garbage in data field
suter [Wed, 25 Sep 2013 16:22:27 +0000 (18:22 +0200)]
prevent using garbage in data field

6 years agomove things to a righter place
suter [Wed, 25 Sep 2013 16:20:56 +0000 (18:20 +0200)]
move things to a righter place

6 years agomodel-checker : init var
Marion Guthmuller [Wed, 25 Sep 2013 14:32:28 +0000 (16:32 +0200)]
model-checker : init var

6 years agoRevert "remove some tests from memcheck tests. They purposely do not finish cleanly."
Augustin Degomme [Wed, 25 Sep 2013 09:55:08 +0000 (11:55 +0200)]
Revert "remove some tests from memcheck tests. They purposely do not finish cleanly."

This reverts commit ba1f3739923acc4b5b17d969ec1f28168d19d741.

6 years agoUncomment code to avoid warning
Pierre Veyre [Wed, 25 Sep 2013 14:19:32 +0000 (16:19 +0200)]
Uncomment code to avoid warning

6 years agoadd msg_storage_priv_t creation
Pierre Veyre [Wed, 25 Sep 2013 14:16:28 +0000 (16:16 +0200)]
add msg_storage_priv_t creation

6 years agoMore Valgrind suppressions, for libcgraph.
Arnaud Giersch [Wed, 25 Sep 2013 13:09:49 +0000 (15:09 +0200)]
More Valgrind suppressions, for libcgraph.

6 years agofound a hidden unsigned long
suter [Wed, 25 Sep 2013 12:56:31 +0000 (14:56 +0200)]
found a hidden unsigned long

6 years agohere was the leak ...
suter [Wed, 25 Sep 2013 12:54:58 +0000 (14:54 +0200)]
here was the leak ...

6 years agosome corrections while chasing leaks
suter [Wed, 25 Sep 2013 12:18:46 +0000 (14:18 +0200)]
some corrections while chasing leaks

6 years agoleak--
suter [Wed, 25 Sep 2013 10:34:11 +0000 (12:34 +0200)]
leak--

6 years agoUse new suppression file with Valgrind.
Arnaud Giersch [Wed, 25 Sep 2013 12:45:33 +0000 (14:45 +0200)]
Use new suppression file with Valgrind.

6 years agoAdd supression file for Valgrind.
Arnaud Giersch [Wed, 25 Sep 2013 12:43:11 +0000 (14:43 +0200)]
Add supression file for Valgrind.

6 years agomodel-checker : increase timeout
Marion Guthmuller [Wed, 25 Sep 2013 11:37:48 +0000 (13:37 +0200)]
model-checker : increase timeout

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Wed, 25 Sep 2013 09:50:05 +0000 (11:50 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoMSG_storage API improvements (or not)
Pierre Veyre [Wed, 25 Sep 2013 09:49:19 +0000 (11:49 +0200)]
MSG_storage API improvements (or not)

6 years agoremove some tests from memcheck tests. They purposely do not finish cleanly.
Augustin Degomme [Wed, 25 Sep 2013 08:31:04 +0000 (10:31 +0200)]
remove some tests from memcheck tests. They purposely do not finish cleanly.

6 years agoclose cleanly test for valgrind to be happier
Augustin Degomme [Wed, 25 Sep 2013 08:21:09 +0000 (10:21 +0200)]
close cleanly test for valgrind to be happier

6 years agoFix indentation.
Arnaud Giersch [Wed, 25 Sep 2013 07:31:29 +0000 (09:31 +0200)]
Fix indentation.

6 years agoRepair build.
Arnaud Giersch [Wed, 25 Sep 2013 07:29:42 +0000 (09:29 +0200)]
Repair build.

6 years agoRemove useless lines.
Arnaud Giersch [Wed, 25 Sep 2013 07:21:13 +0000 (09:21 +0200)]
Remove useless lines.

6 years agoAvoid to leave stale temporary files.
Arnaud Giersch [Wed, 25 Sep 2013 07:15:27 +0000 (09:15 +0200)]
Avoid to leave stale temporary files.

6 years agoshared allocations are disabled on windows, do not test them
Augustin Degomme [Tue, 24 Sep 2013 22:14:10 +0000 (00:14 +0200)]
shared allocations are disabled on windows, do not test them

6 years agodouble definition makes windows unhappy
Augustin Degomme [Tue, 24 Sep 2013 21:53:45 +0000 (23:53 +0200)]
double definition makes windows unhappy

6 years agointeracting with jenkins on a windows VM through git is a pure instant of joy
Martin Quinson [Tue, 24 Sep 2013 19:55:44 +0000 (21:55 +0200)]
interacting with jenkins on a windows VM through git is a pure instant of joy

6 years agotry to ensure that the tesh script is executable on windows
Martin Quinson [Tue, 24 Sep 2013 19:45:00 +0000 (21:45 +0200)]
try to ensure that the tesh script is executable on windows

6 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 24 Sep 2013 18:23:58 +0000 (20:23 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

6 years agomodel-checker : fix system state comparison (I hate dangling pointers ...)
Marion Guthmuller [Tue, 24 Sep 2013 16:41:31 +0000 (18:41 +0200)]
model-checker : fix system state comparison (I hate dangling pointers ...)

6 years agome stupid. Sorry
Martin Quinson [Tue, 24 Sep 2013 16:46:24 +0000 (18:46 +0200)]
me stupid. Sorry

6 years agoOther try to get lto working on windows
Martin Quinson [Tue, 24 Sep 2013 16:35:49 +0000 (18:35 +0200)]
Other try to get lto working on windows

6 years agoand now with the correct cmake syntax
Martin Quinson [Tue, 24 Sep 2013 16:19:59 +0000 (18:19 +0200)]
and now with the correct cmake syntax

6 years agotry to get the win build working despite gcc bugs
Martin Quinson [Tue, 24 Sep 2013 16:15:04 +0000 (18:15 +0200)]
try to get the win build working despite gcc bugs

6 years agoone more leak
Augustin Degomme [Tue, 24 Sep 2013 15:22:47 +0000 (17:22 +0200)]
one more leak

6 years agowindows doesn't provide/need this call
Augustin Degomme [Tue, 24 Sep 2013 15:18:59 +0000 (17:18 +0200)]
windows doesn't provide/need this call

6 years agofirst attempt to fix win build
Augustin Degomme [Tue, 24 Sep 2013 14:57:44 +0000 (16:57 +0200)]
first attempt to fix win build

6 years agoalso test allgatherv replay (in its new format)
suter [Tue, 24 Sep 2013 14:07:04 +0000 (16:07 +0200)]
also test allgatherv replay (in its new format)

6 years agofew more leaks
Augustin Degomme [Tue, 24 Sep 2013 13:19:18 +0000 (15:19 +0200)]
few more leaks

6 years agochange execution rights on build scripts
Augustin Degomme [Tue, 24 Sep 2013 13:13:05 +0000 (15:13 +0200)]
change execution rights on build scripts

6 years agomore leaks
Augustin Degomme [Tue, 24 Sep 2013 13:11:08 +0000 (15:11 +0200)]
more leaks

6 years agoupdate changelog
Augustin Degomme [Tue, 24 Sep 2013 12:56:09 +0000 (14:56 +0200)]
update changelog

6 years agotest leak --
Augustin Degomme [Tue, 24 Sep 2013 12:36:34 +0000 (14:36 +0200)]
test leak --

6 years agosmpi leak --
Augustin Degomme [Tue, 24 Sep 2013 12:36:26 +0000 (14:36 +0200)]
smpi leak --

6 years agomissing prototype
Augustin Degomme [Tue, 24 Sep 2013 11:41:18 +0000 (13:41 +0200)]
missing prototype

6 years agoPower state list was shared between hosts of a cabinet (but not for cluster)
Augustin Degomme [Tue, 24 Sep 2013 11:36:37 +0000 (13:36 +0200)]
Power state list was shared between hosts of a cabinet (but not for cluster)
This lead to issues when trying to free the memory at the end.
Either we had to implement a reference counter to dynars, or have one copy for each host.
As it was already done for clusters, let's do it the second way.

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Tue, 24 Sep 2013 09:35:01 +0000 (11:35 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoAdd MSG_storage_set_property_value function
Pierre Veyre [Tue, 24 Sep 2013 09:23:17 +0000 (11:23 +0200)]
Add MSG_storage_set_property_value function

6 years agosimplify way alltoallv and gatherv are described in the traces and
suter [Tue, 24 Sep 2013 08:59:10 +0000 (10:59 +0200)]
simplify way alltoallv and gatherv are described in the traces and
replayed. the disps arrays are useless from our point of view.

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Tue, 24 Sep 2013 08:45:30 +0000 (10:45 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoAdd MSG_storage_get_content function
Pierre Veyre [Tue, 24 Sep 2013 08:44:46 +0000 (10:44 +0200)]
Add MSG_storage_get_content function

6 years agoremove a leak on almost all simdag tests
suter [Tue, 24 Sep 2013 08:04:40 +0000 (10:04 +0200)]
remove a leak on almost all simdag tests

6 years agoMore memory leaks.
Arnaud Giersch [Mon, 23 Sep 2013 21:01:03 +0000 (23:01 +0200)]
More memory leaks.

6 years agoThe full dynar is not used here, delete it.
Arnaud Giersch [Mon, 23 Sep 2013 19:39:56 +0000 (21:39 +0200)]
The full dynar is not used here, delete it.

6 years agoAlso delete allocs_metadata.
Arnaud Giersch [Mon, 23 Sep 2013 19:39:56 +0000 (21:39 +0200)]
Also delete allocs_metadata.

6 years agoFree loc, which is unused in this path.
Arnaud Giersch [Mon, 23 Sep 2013 19:39:56 +0000 (21:39 +0200)]
Free loc, which is unused in this path.

6 years agoFix use after free (data is removed by the call to xbt_dict_remove()).
Arnaud Giersch [Mon, 23 Sep 2013 19:39:56 +0000 (21:39 +0200)]
Fix use after free (data is removed by the call to xbt_dict_remove()).

6 years agoleak --
Augustin Degomme [Mon, 23 Sep 2013 15:58:50 +0000 (17:58 +0200)]
leak --

6 years agoleak --
Augustin Degomme [Mon, 23 Sep 2013 15:58:36 +0000 (17:58 +0200)]
leak --

6 years agoleak --
Augustin Degomme [Mon, 23 Sep 2013 15:58:28 +0000 (17:58 +0200)]
leak --

6 years agoremove leaks from energy
Augustin Degomme [Mon, 23 Sep 2013 15:58:13 +0000 (17:58 +0200)]
remove leaks from energy

6 years agoadd a cleanup callback to surf_resource_t, useful to free data allocated in cpu models
Augustin Degomme [Mon, 23 Sep 2013 15:57:44 +0000 (17:57 +0200)]
add a cleanup callback to surf_resource_t, useful to free data allocated in cpu models
Removes a few leaks

6 years agoFix failing test
Augustin Degomme [Mon, 23 Sep 2013 13:06:49 +0000 (15:06 +0200)]
Fix failing test

6 years agoremove warnings
Augustin Degomme [Mon, 23 Sep 2013 12:55:44 +0000 (14:55 +0200)]
remove warnings

6 years agoMove endif() at proper place.
Arnaud Giersch [Mon, 23 Sep 2013 11:31:28 +0000 (13:31 +0200)]
Move endif() at proper place.

6 years agoCosmetics.
Arnaud Giersch [Mon, 23 Sep 2013 11:21:23 +0000 (13:21 +0200)]
Cosmetics.

6 years agoThere's no need to dup these strings (memleak--).
Arnaud Giersch [Mon, 23 Sep 2013 11:10:34 +0000 (13:10 +0200)]
There's no need to dup these strings (memleak--).

6 years agoFix error: ‘current_region’ may be used uninitialized in this function.
Arnaud Giersch [Mon, 23 Sep 2013 11:02:55 +0000 (13:02 +0200)]
Fix error: ‘current_region’ may be used uninitialized in this function.

6 years agohide the MPICH3 testsuite behind a compilation flag, to quicken compilation
Augustin Degomme [Mon, 23 Sep 2013 10:43:22 +0000 (12:43 +0200)]
hide the MPICH3 testsuite behind a compilation flag, to quicken compilation

6 years agofix build without tracing
Augustin Degomme [Mon, 23 Sep 2013 09:03:24 +0000 (11:03 +0200)]
fix build without tracing

6 years agoadd a check to ensure that async_small_thres is under send_is_detached..
Augustin Degomme [Mon, 23 Sep 2013 08:47:14 +0000 (10:47 +0200)]
add a check to ensure that async_small_thres is under send_is_detached..
We don't want not detached asynchronous sends