Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years agotest if I can write a little travis config file
Martin Quinson [Wed, 15 Oct 2014 13:43:33 +0000 (15:43 +0200)]
test if I can write a little travis config file

9 years agotry to simplify the way simcalls are generated
Martin Quinson [Sat, 11 Oct 2014 22:17:13 +0000 (00:17 +0200)]
try to simplify the way simcalls are generated

9 years agokill dead code
Martin Quinson [Sat, 11 Oct 2014 21:02:09 +0000 (23:02 +0200)]
kill dead code

9 years agoask swig to please doxygen. Tools will drive me nuts
Martin Quinson [Sat, 11 Oct 2014 20:59:04 +0000 (22:59 +0200)]
ask swig to please doxygen. Tools will drive me nuts

9 years agoignore more cruft
Martin Quinson [Sat, 11 Oct 2014 20:54:27 +0000 (22:54 +0200)]
ignore more cruft

9 years agorename SIMIX_simcall_{pre,post} to SIMIX_simcall_{enter,exit}
Martin Quinson [Sat, 11 Oct 2014 20:47:30 +0000 (22:47 +0200)]
rename SIMIX_simcall_{pre,post} to SIMIX_simcall_{enter,exit}

9 years agoensure that the generated files are autonomous and not included within another file
Martin Quinson [Sat, 11 Oct 2014 20:04:34 +0000 (22:04 +0200)]
ensure that the generated files are autonomous and not included within another file

9 years agoplease doxygen keep calm
Martin Quinson [Sat, 11 Oct 2014 20:02:34 +0000 (22:02 +0200)]
please doxygen keep calm

9 years agothat file was seriously outdated
Martin Quinson [Thu, 9 Oct 2014 23:15:32 +0000 (01:15 +0200)]
that file was seriously outdated

9 years agomake my previous commit also compile under MC (sorry)
Martin Quinson [Thu, 9 Oct 2014 23:08:53 +0000 (01:08 +0200)]
make my previous commit also compile under MC (sorry)

9 years agoour usage of doxygen is improvable
Martin Quinson [Thu, 9 Oct 2014 22:54:02 +0000 (00:54 +0200)]
our usage of doxygen is improvable

9 years agouse an automatic table of contents instead of a manual one
Martin Quinson [Thu, 9 Oct 2014 22:34:10 +0000 (00:34 +0200)]
use an automatic table of contents instead of a manual one

9 years agoMake it much easier to follow control flow through simix
Martin Quinson [Thu, 9 Oct 2014 22:30:45 +0000 (00:30 +0200)]
Make it much easier to follow control flow through simix

One of the main difficulty in navigating the source code when debuging
was to find your way from MSG to SURF, through SIMIX. The simcall
mechanism really breaks the flow.

The solution is to add a dummy call to the simcall body, such as:
    if (0) SIMIX_pre_host_off(&self->simcall, host);

With the "if (0)", it will be cut at compilation and have no impact on
the code behavior. But you can go to that function in eclipse, press
F3 and you are within the kernel now. No need to grep your way around.

9 years agook eclipse, change your config file yourself, you're big enough
Martin Quinson [Thu, 9 Oct 2014 22:27:41 +0000 (00:27 +0200)]
ok eclipse, change your config file yourself, you're big enough

9 years agoignore more cruft
Martin Quinson [Thu, 9 Oct 2014 22:27:13 +0000 (00:27 +0200)]
ignore more cruft

9 years agotry to have valid chunks in generated files to please eclipse
Martin Quinson [Thu, 9 Oct 2014 21:29:50 +0000 (23:29 +0200)]
try to have valid chunks in generated files to please eclipse

9 years agoAllow to recreate VMs in a better way (I guess)
Martin Quinson [Thu, 9 Oct 2014 21:07:29 +0000 (23:07 +0200)]
Allow to recreate VMs in a better way (I guess)

Instead of removing the VM from the host_lib (and potentially create
issues at the routing level), test whether it exists in the VM layer
before whining that we cannot redo it.

9 years agoRemove VMs from the lib of existing hosts so that they can be recreated
Martin Quinson [Thu, 9 Oct 2014 19:59:19 +0000 (21:59 +0200)]
Remove VMs from the lib of existing hosts so that they can be recreated

9 years agoadd parenthesis to shut up a useless warning
Martin Quinson [Thu, 9 Oct 2014 19:26:07 +0000 (21:26 +0200)]
add parenthesis to shut up a useless warning

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Thu, 9 Oct 2014 16:31:29 +0000 (18:31 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agoone more test for the migration - adrien
Adrien Lebre [Thu, 9 Oct 2014 16:31:26 +0000 (18:31 +0200)]
one more test for the migration - adrien

9 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 9 Oct 2014 15:59:08 +0000 (17:59 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

Conflicts:
src/bindings/java/smx_context_java.c

9 years agofix msg_host_is_avai... in msg_host_is_on - adrien
Adrien Lebre [Thu, 9 Oct 2014 15:49:41 +0000 (17:49 +0200)]
fix msg_host_is_avai... in msg_host_is_on - adrien

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Adrien Lebre [Thu, 9 Oct 2014 15:45:00 +0000 (17:45 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agomake msg_vm_migrate robust (i.e. now SRC or DST can be turned off during the migratio...
Adrien Lebre [Thu, 9 Oct 2014 15:44:52 +0000 (17:44 +0200)]
make msg_vm_migrate robust (i.e. now SRC or DST can be turned off during the migration) - fix teshsuite slee_host_off in java (but did not fix the output as I don't know how to do it), discover a bug on VM destroy (it is impossible to recreate the same VM: you get /Users/alebre/DEVELOPMENTS/SIMGRID/simgrid.orig/src/msg/msg_vm.c:209: [msg_vm/ERROR] host vm0 already exits) - Adrien

9 years ago[mc] Fix segfault when a function does not have a name
Gabriel Corona [Thu, 9 Oct 2014 13:59:29 +0000 (15:59 +0200)]
[mc] Fix segfault when a function does not have a name

This happens when compiling with LLVM (clang/dragonegg).

9 years ago[mc] Give the real type of mc_heap/std_heap (xbt_mheap_t, not void*)
Gabriel Corona [Thu, 9 Oct 2014 12:21:52 +0000 (14:21 +0200)]
[mc] Give the real type of mc_heap/std_heap (xbt_mheap_t, not void*)

9 years ago[mc] Simplify tests specifications for mc-bugged1-liveness*
Gabriel Corona [Thu, 9 Oct 2014 08:54:59 +0000 (10:54 +0200)]
[mc] Simplify tests specifications for mc-bugged1-liveness*

9 years agobetter estimation of dynamic threshold
etortilopez [Wed, 8 Oct 2014 13:43:03 +0000 (15:43 +0200)]
better estimation of dynamic threshold

9 years agomore informative message when a process gets killed
Martin Quinson [Tue, 7 Oct 2014 20:06:56 +0000 (22:06 +0200)]
more informative message when a process gets killed

9 years agoplease a bit doxygen
Martin Quinson [Tue, 7 Oct 2014 19:47:50 +0000 (21:47 +0200)]
please a bit doxygen

9 years agomissing call to XBT_LOG_CONNECT
Martin Quinson [Tue, 7 Oct 2014 18:47:41 +0000 (20:47 +0200)]
missing call to XBT_LOG_CONNECT

9 years agodon't define obsolete doxygen variables that we don't use
Martin Quinson [Tue, 7 Oct 2014 18:46:02 +0000 (20:46 +0200)]
don't define obsolete doxygen variables that we don't use

9 years agorename MSG_host_is_avail() to MSG_host_is_on()
Martin Quinson [Tue, 7 Oct 2014 17:28:12 +0000 (19:28 +0200)]
rename MSG_host_is_avail() to MSG_host_is_on()

(and same in Java)

9 years agoFix bug in keyval delete
Augustin Degomme [Mon, 6 Oct 2014 12:41:37 +0000 (14:41 +0200)]
Fix bug in keyval delete

9 years agogive correct pointer when calling delete function
Augustin Degomme [Mon, 6 Oct 2014 12:28:00 +0000 (14:28 +0200)]
give correct pointer when calling delete function

9 years agoduplicated lines
Augustin Degomme [Mon, 6 Oct 2014 09:33:01 +0000 (11:33 +0200)]
duplicated lines

9 years agostore the int in a long-enough char array
Augustin Degomme [Mon, 6 Oct 2014 08:40:29 +0000 (10:40 +0200)]
store the int in a long-enough char array

9 years agocleanup, remove some useless functions
degomme [Sun, 5 Oct 2014 18:53:15 +0000 (20:53 +0200)]
cleanup, remove some useless functions

9 years agoAdd MPI_Type*keyval and MPI_Type*attr functions
degomme [Sun, 5 Oct 2014 18:17:05 +0000 (20:17 +0200)]
Add MPI_Type*keyval and MPI_Type*attr functions

9 years agoAdd MPI_Comm_*keyval and MPI_Comm*attr functions
degomme [Fri, 3 Oct 2014 23:12:39 +0000 (01:12 +0200)]
Add MPI_Comm_*keyval and MPI_Comm*attr functions
These are just aliases for MPI*keyval and MPI*attr deprecated functions

9 years agoactivate some more tests
Augustin Degomme [Fri, 3 Oct 2014 20:43:49 +0000 (22:43 +0200)]
activate some more tests

9 years agoFix compilation issue
Augustin Degomme [Fri, 3 Oct 2014 20:05:17 +0000 (22:05 +0200)]
Fix compilation issue

9 years agoImplement MPI_Keyval_create, MPI_Keyval_free, MPI_Attr_get, MPI_Attr_put, MPI_Attr_de...
Augustin Degomme [Fri, 3 Oct 2014 17:35:54 +0000 (19:35 +0200)]
Implement MPI_Keyval_create, MPI_Keyval_free, MPI_Attr_get, MPI_Attr_put, MPI_Attr_delete calls

9 years agoprovide new unimplemented signatures for RMA MPI calls
Augustin Degomme [Fri, 3 Oct 2014 08:29:34 +0000 (10:29 +0200)]
provide new unimplemented signatures for RMA MPI calls

9 years agodon't provide sync-gforge-doc* targets if doc is not enabled (cmake warning)
Augustin Degomme [Fri, 3 Oct 2014 08:29:06 +0000 (10:29 +0200)]
don't provide sync-gforge-doc* targets if doc is not enabled (cmake warning)

9 years agovarious fixes about replay and buffer usage
Augustin Degomme [Thu, 2 Oct 2014 12:57:31 +0000 (14:57 +0200)]
various fixes about replay and buffer usage

9 years agoWhen display timing is set, also display global simulation time and application times
Augustin Degomme [Thu, 2 Oct 2014 12:49:38 +0000 (14:49 +0200)]
When display timing is set, also display global simulation time and application times
This allows to check if most of the time is spent in the application, or in Simgrid
Add a hint if more than 75% of the time is spent inside the application's code (to use replay or sampling)

9 years agoChange way replay is handled, to allow cohabitation between replay and "classic"...
Augustin Degomme [Thu, 2 Oct 2014 12:18:08 +0000 (14:18 +0200)]
Change way replay is handled, to allow cohabitation between replay and "classic" SMPI

9 years agothis buffer was not meant to be shared
Augustin Degomme [Tue, 30 Sep 2014 12:50:16 +0000 (14:50 +0200)]
this buffer was not meant to be shared

9 years agouse correct free method for buffer
Augustin Degomme [Tue, 30 Sep 2014 09:37:50 +0000 (11:37 +0200)]
use correct free method for buffer

9 years agoadd MPI_Win_get_group, and activate some tests using *c2f and *f2c calls
Augustin Degomme [Tue, 30 Sep 2014 09:28:39 +0000 (11:28 +0200)]
add MPI_Win_get_group, and activate some tests using *c2f and *f2c calls

9 years agoavoid issues in fortran codes
Augustin Degomme [Mon, 29 Sep 2014 16:05:08 +0000 (18:05 +0200)]
avoid issues in fortran codes

9 years agoAdd forgotten MPI_Comm_f2c and MPI_Comm_c2f calls
Augustin Degomme [Mon, 29 Sep 2014 15:34:52 +0000 (17:34 +0200)]
Add forgotten MPI_Comm_f2c and MPI_Comm_c2f calls

9 years ago[smpi] Leave the underlying structure of MPI_File opaque
Gabriel Corona [Thu, 2 Oct 2014 09:09:14 +0000 (11:09 +0200)]
[smpi] Leave the underlying structure of MPI_File opaque

9 years ago[mc] Fix conversion from char 0 into char*
Gabriel Corona [Thu, 2 Oct 2014 09:05:50 +0000 (11:05 +0200)]
[mc] Fix conversion from char 0 into  char*

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
etortilopez [Wed, 1 Oct 2014 09:06:03 +0000 (11:06 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agoFixes in adaptive algorithm
etortilopez [Wed, 1 Oct 2014 09:05:29 +0000 (11:05 +0200)]
Fixes in adaptive algorithm

9 years ago31e0f216b4 was sending some other executables to the wrong directory
Augustin Degomme [Mon, 29 Sep 2014 14:25:28 +0000 (16:25 +0200)]
31e0f216b4 was sending some other executables to the wrong directory

9 years agohave last algos use also temporary buffers
Augustin Degomme [Mon, 29 Sep 2014 13:17:04 +0000 (15:17 +0200)]
have last algos use also temporary buffers

9 years agochange name of some targets for mc, to avoid warnings by recent cmake
Augustin Degomme [Mon, 29 Sep 2014 12:50:23 +0000 (14:50 +0200)]
change name of some targets for mc, to avoid warnings by recent cmake

9 years agoavoid the flag finline-functions with mc and clang, also
Augustin Degomme [Mon, 29 Sep 2014 12:22:33 +0000 (14:22 +0200)]
avoid the flag finline-functions with mc and clang, also

9 years agoadd some more calls to smpi temp buffers allocation functions
Augustin Degomme [Mon, 29 Sep 2014 12:01:07 +0000 (14:01 +0200)]
add some more calls to smpi temp buffers allocation functions

9 years agoDisable the multiple replay test with MC.
Augustin Degomme [Mon, 29 Sep 2014 08:58:58 +0000 (10:58 +0200)]
Disable the multiple replay test with MC.
It uses too much memory on ci slaves.

9 years agoremove unwanted !
Augustin Degomme [Mon, 29 Sep 2014 08:22:23 +0000 (10:22 +0200)]
remove unwanted !

9 years agoactivate this flag only for gcc, as it now generates a warning for clang > 3.4
Augustin Degomme [Mon, 29 Sep 2014 08:17:08 +0000 (10:17 +0200)]
activate this flag only for gcc, as it now generates a warning for clang > 3.4
The flag is not used by clang, which used to just ignore it.

9 years agointercept correctly calls with unitialized communicators
degomme [Sun, 28 Sep 2014 22:58:26 +0000 (00:58 +0200)]
intercept correctly calls with unitialized communicators

9 years agoHave replay always use shared buffers instead of allocating new ones, even inside...
degomme [Sat, 27 Sep 2014 00:11:17 +0000 (02:11 +0200)]
Have replay always use shared buffers instead of allocating new ones, even inside collective ops.

9 years agofor replay and collectives, only allocate buffers once (grow it if needed).
Augustin Degomme [Fri, 26 Sep 2014 13:57:53 +0000 (15:57 +0200)]
for replay and collectives, only allocate buffers once (grow it if needed).
As we don't have shared malloc on all platforms, this should be more ci-friendly

9 years agofix bug still happening with dash
Augustin Degomme [Fri, 26 Sep 2014 13:36:26 +0000 (15:36 +0200)]
fix bug still happening with dash

9 years agoFix replay files (alltoallv replay has changed since it was generated))
Augustin Degomme [Fri, 26 Sep 2014 12:57:35 +0000 (14:57 +0200)]
Fix replay files (alltoallv replay has changed since it was generated))

9 years agomake deployment script generation posix friendly (remove bashisms, and try to stay...
Augustin Degomme [Fri, 26 Sep 2014 12:00:39 +0000 (14:00 +0200)]
make deployment script generation posix friendly (remove bashisms, and try to stay efficient)

9 years agoAdd an example that shows how to replay multiple applications at the same time
Augustin Degomme [Thu, 25 Sep 2014 15:20:28 +0000 (17:20 +0200)]
Add an example that shows how to replay multiple applications at the same time
Check README for more details

9 years agoAdd an option to have a sleep time before the start of a replay instance
Augustin Degomme [Thu, 25 Sep 2014 15:16:07 +0000 (17:16 +0200)]
Add an option to have a sleep time before the start of a replay instance

9 years agosmall changes to make multiple replay easier
Augustin Degomme [Thu, 25 Sep 2014 15:15:32 +0000 (17:15 +0200)]
small changes to make multiple replay easier

9 years agoAdded adaptive algorithm to find optimal threshold over simulations
etortilopez [Wed, 24 Sep 2014 12:07:07 +0000 (14:07 +0200)]
Added adaptive algorithm to find optimal threshold over simulations

9 years agouse barrier from the active selector for replay
Augustin Degomme [Tue, 23 Sep 2014 13:33:41 +0000 (15:33 +0200)]
use barrier from the active selector for replay

9 years agosame issue with java bindings without NDEBUG
Augustin Degomme [Tue, 23 Sep 2014 12:33:22 +0000 (14:33 +0200)]
same issue with java bindings without NDEBUG

9 years agouse _XBT_GNUC_UNUSED instead of previous buggy fix.
Augustin Degomme [Tue, 23 Sep 2014 07:37:47 +0000 (09:37 +0200)]
use _XBT_GNUC_UNUSED instead of previous buggy fix.
Thanks agier for the report

9 years agoRevert "Don't use variables only for asserts."
Augustin Degomme [Tue, 23 Sep 2014 07:33:12 +0000 (09:33 +0200)]
Revert "Don't use variables only for asserts."

This reverts commit c63217359371b823ac279159633e66bc0ea8bb6f.

9 years agoDon't use variables only for asserts.
Augustin Degomme [Mon, 22 Sep 2014 13:22:24 +0000 (15:22 +0200)]
Don't use variables only for asserts.
When enable_debug is turned to off, they become unused and induce warnings/errors

9 years agoNDEBUG was not used on C++ files when enable_debug was set to 0
Augustin Degomme [Mon, 22 Sep 2014 13:17:05 +0000 (15:17 +0200)]
NDEBUG was not used on C++ files when enable_debug was set to 0

9 years agoFix failing tests when enable_debug is not activated.
Augustin Degomme [Mon, 22 Sep 2014 09:20:43 +0000 (11:20 +0200)]
Fix failing tests when enable_debug is not activated.
Adds an alternative tesh file for logs

9 years agoFix Cmake warnings/errors since Cmake versions > 2.8.12
Augustin Degomme [Mon, 22 Sep 2014 08:43:42 +0000 (10:43 +0200)]
Fix Cmake warnings/errors since Cmake versions > 2.8.12

9 years ago[xbt/surf] Change the costly heapremove+heapinsert used in share resource lazy algorithm.
Augustin Degomme [Fri, 19 Sep 2014 14:29:15 +0000 (16:29 +0200)]
[xbt/surf] Change the costly heapremove+heapinsert used in share resource lazy algorithm.
Add a xbt_heap_update function, to set a new value for a element in the heap

9 years agofix reduce_scatter ompi
Augustin Degomme [Fri, 19 Sep 2014 08:03:01 +0000 (10:03 +0200)]
fix reduce_scatter ompi

9 years agoWin build does not support mmap, or shared_malloc
Augustin Degomme [Wed, 17 Sep 2014 21:11:56 +0000 (23:11 +0200)]
Win build does not support mmap, or shared_malloc

9 years agoAlways build Fortran bindings..
Augustin Degomme [Wed, 17 Sep 2014 16:32:05 +0000 (18:32 +0200)]
Always build Fortran bindings..
They are in C, they don't need Fortran compiler, and if we release the built library, we want them.
And also it fixes the build, broken since my last commit ..

9 years agoImplement MPI_*_c2f MPI_*_f2c functions
Augustin Degomme [Wed, 17 Sep 2014 14:55:38 +0000 (16:55 +0200)]
Implement MPI_*_c2f MPI_*_f2c functions
Actually they were already implemented but with another name, make them public..

9 years agomissing include
Augustin Degomme [Wed, 17 Sep 2014 11:57:10 +0000 (13:57 +0200)]
missing include

9 years agoput back sleep time before actual send and recv.
Augustin Degomme [Wed, 17 Sep 2014 08:56:34 +0000 (10:56 +0200)]
put back sleep time before actual send and recv.

9 years agodoc update
Augustin Degomme [Tue, 16 Sep 2014 12:44:57 +0000 (14:44 +0200)]
doc update

9 years agodon't set knomial factor for reduce, have it be computed at runtime
Augustin Degomme [Tue, 16 Sep 2014 12:44:45 +0000 (14:44 +0200)]
don't set knomial factor for reduce, have it be computed at runtime

9 years agoadd one algo to the list
Augustin Degomme [Tue, 16 Sep 2014 12:44:12 +0000 (14:44 +0200)]
add one algo to the list

9 years ago[mc] Add a (compile time) option for content addressage page store
Gabriel Corona [Tue, 16 Sep 2014 07:44:29 +0000 (09:44 +0200)]
[mc] Add a (compile time) option for content addressage page store

With a simple hash, we expect collision to happen: when inserting a
new page in the store, each stored page with the same hash is compared
(memcmp-ed) with the current page.  If a page already present is
inserted, the content of the stored page is always pulled in the
cache: when inserting n pages, into the page store at least 2×n pages
are pulled in the cache.

With this option, a collision-free fingerprint of each page is
computed.  As there is no collision, we do not have to check the
content of the stored pages.  MD4 is used as we do not need security
against malicious users and it is much faster than more sescure
cryptographic hashes.

9 years agoFix bug in addtests macros.
Augustin Degomme [Mon, 15 Sep 2014 09:23:13 +0000 (11:23 +0200)]
Fix bug in addtests macros.
Variables are global in Cmake, and ARGR was used int two different macros, resulting in tests being executed will all factories activated..
In the end only Thread factory seems to have been tested in the last few months ...

9 years agoFix issue with precision in 394ea1fb (on 32 bits platforms mainly)
Augustin Degomme [Fri, 12 Sep 2014 08:36:50 +0000 (10:36 +0200)]
Fix issue with precision in 394ea1fb (on 32 bits platforms mainly)

9 years agorequalify tesh
Augustin Degomme [Thu, 11 Sep 2014 16:14:59 +0000 (18:14 +0200)]
requalify tesh

9 years agoFix order of mailbox checking
Augustin Degomme [Thu, 11 Sep 2014 16:08:58 +0000 (18:08 +0200)]
Fix order of mailbox checking
Some messages were not assigned correctly. This is still a mess.

9 years agono \n in debug messages
Augustin Degomme [Thu, 11 Sep 2014 15:01:04 +0000 (17:01 +0200)]
no \n in debug messages