Gabriel Corona [Fri, 20 May 2016 15:15:21 +0000 (17:15 +0200)]
[simix] Use the closure-based timer API
Gabriel Corona [Fri, 20 May 2016 15:06:57 +0000 (17:06 +0200)]
[simix] Use std::function in timer and add overloads
Gabriel Corona [Fri, 20 May 2016 13:50:14 +0000 (15:50 +0200)]
[s4u] Use the std::function simcall_process_create() to create the actor
It is not clear what should happen when autorestarting a
process. Currently, the new Actor receive a reinitalized state which
is different from what was happening before this sequence of commits.
Gabriel Corona [Fri, 20 May 2016 13:37:26 +0000 (15:37 +0200)]
[simix] Wrap (xbt_main_func_t, argc, argv) in a std::function everywhere
SIMIX_process_get_code() is a casuality of this refactoring: it does
not make sens in this design.
Gabriel Corona [Fri, 20 May 2016 11:50:17 +0000 (13:50 +0200)]
[simix] Create a (fake) simcall for creating a process directly from a simgrid::simix::args
Gabriel Corona [Fri, 20 May 2016 11:39:33 +0000 (13:39 +0200)]
[simix] Use simgrid::simix::args in MSG
The main missing bit is the simcall.
Gabriel Corona [Fri, 20 May 2016 10:23:15 +0000 (12:23 +0200)]
[simix] C++-based ownership of process name and arguments
* Process and ProcessArg now use a std::string instead of a a char*. A
consequence it that there now no difference bewteen the "" name and
the nullptr process name (only the former is possible).
* simix::simgrid::args now always copy the arguments.
* simix::simgrid::args now as a .to_argv() method used to copy its
argv.
Gabriel Corona [Fri, 20 May 2016 08:16:49 +0000 (10:16 +0200)]
[simix] Rename s_smx_process_arg to simgrid::simix::ProcessArg
Gabriel Corona [Fri, 20 May 2016 08:13:39 +0000 (10:13 +0200)]
[simix] Use std::string for s_smx_process_arg
Gabriel Corona [Fri, 20 May 2016 08:00:19 +0000 (10:00 +0200)]
[simix] Remove SIMIX_process_create_from_wrapper()
Gabriel Corona [Fri, 20 May 2016 07:53:05 +0000 (09:53 +0200)]
Use new/delete for smx_process_arg_t
Gabriel Corona [Thu, 19 May 2016 14:20:06 +0000 (16:20 +0200)]
Make SIMIX_context_new() accept std::function
Gabriel Corona [Wed, 18 May 2016 15:08:06 +0000 (17:08 +0200)]
Make s_smx_process_t a C++ class (constructor, new, delete)
Gabriel Corona [Wed, 18 May 2016 11:33:41 +0000 (13:33 +0200)]
[s4u] Move the actor logic out of the Actor class
Martin Quinson [Sun, 22 May 2016 20:14:44 +0000 (22:14 +0200)]
Reorganize the documentation
The skeleton now has to be fleshed
Martin Quinson [Sat, 21 May 2016 19:02:51 +0000 (21:02 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 21 May 2016 05:21:41 +0000 (07:21 +0200)]
shuffle a bit the MSG and SimDag documentation
Martin Quinson [Sat, 21 May 2016 04:36:48 +0000 (06:36 +0200)]
remove some cruft from doxygen
Martin Quinson [Sat, 21 May 2016 04:08:18 +0000 (06:08 +0200)]
MSG doc tweakings
Christian Heinrich [Fri, 20 May 2016 22:40:19 +0000 (00:40 +0200)]
[CMAKE] Remove index_create.pl from CMakeLists.txt
This file was deleted in
a01a7e62056a8ca98b42a0c5c91d0eb84c28c2ef
but was still erroneously listed.
Martin Quinson [Fri, 20 May 2016 18:26:39 +0000 (20:26 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Christian Heinrich [Fri, 20 May 2016 17:26:54 +0000 (19:26 +0200)]
[CMAKE] Install header files for call-location tracing.
Christian Heinrich [Fri, 20 May 2016 17:22:17 +0000 (19:22 +0200)]
[TOOLS] Modified generated header to include the path.
Christian Heinrich [Fri, 20 May 2016 17:21:43 +0000 (19:21 +0200)]
[SMPI] Update header files for call-location tracing.
Christian Heinrich [Fri, 20 May 2016 16:54:32 +0000 (18:54 +0200)]
[SMPI] Fix segfaults introduced by
772f8dd3b48f0c9dff20f67a4c2ea1cbbe673f8d
This changeset fixes tests such as msg-trace-masterworker.
Martin Quinson [Fri, 20 May 2016 13:48:08 +0000 (15:48 +0200)]
various doc cleanups
Martin Quinson [Fri, 20 May 2016 13:47:46 +0000 (15:47 +0200)]
Only run doxygen once
Martin Quinson [Fri, 20 May 2016 13:42:08 +0000 (15:42 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 19 May 2016 18:23:01 +0000 (20:23 +0200)]
FAQ: kill a painfully outdated Q&A
Christian Heinrich [Thu, 19 May 2016 18:13:44 +0000 (20:13 +0200)]
[CMAKE] Add src/instr/instr_smpi.h to package
Christian Heinrich [Thu, 19 May 2016 18:05:23 +0000 (20:05 +0200)]
Revert "[SMPI] Fix #include in smpi.h"
This reverts commit
37a6e2ae6b4a2f84d9819ecff7dc45aad582a29b.
Christian Heinrich [Thu, 19 May 2016 18:01:59 +0000 (20:01 +0200)]
[SMPI] Fix #include in smpi.h
Martin Quinson [Thu, 19 May 2016 17:34:02 +0000 (19:34 +0200)]
doc: don't build the full index as doxygen now provides a 'search' box
Christian Heinrich [Thu, 19 May 2016 17:18:06 +0000 (19:18 +0200)]
[DOC] Add doc for call-location aware simulation.
Christian Heinrich [Fri, 22 Apr 2016 17:33:47 +0000 (19:33 +0200)]
[SMPI] Call location: Cleanups.
Christian Heinrich [Wed, 20 Apr 2016 17:18:44 +0000 (19:18 +0200)]
[SMPI] Introduce variable computation speeds.
This commit introduces the possibility to use a csv file that
contains sections of the code that should be sped up or slowed down
according to the second column in that specific file.
One line could look like this:
exchange_1.f:30:exchange_1.f:130,1.
18244559422142
This means that computation time between line numbers 30 and 130 offile exchange_1.f
should be slowed down by a factor of 1.18.
Of course, this only makes sense if computation time is calculated.
Activation via the newly introduced smpi/comp-adjustment-file CLI cfg param:
--cfg=smpi/comp-adjustment-file:/path/to/file.csv
Christian Heinrich [Mon, 11 Apr 2016 15:32:09 +0000 (17:32 +0200)]
[SMPI] Introduce smpi/trace-call-location cfg-switch
This switch enables/disables call locations for MPI calls in
traces.
Christian Heinrich [Mon, 11 Apr 2016 15:34:16 +0000 (17:34 +0200)]
[SMPICC] Make call location conditional
This commit introduces the -enable-call-location compile-time
switch for smpicc.
Christian Heinrich [Mon, 11 Apr 2016 13:18:28 +0000 (15:18 +0200)]
[SMPIFF] Make call location conditional.
This commit introduces the -enable-call-location
compile-time switch for smpiff.
Christian Heinrich [Mon, 4 Apr 2016 14:00:19 +0000 (16:00 +0200)]
[SMPI/INSTR] Wrap filenames in traces in quot. marks
Christian Heinrich [Fri, 1 Apr 2016 14:35:16 +0000 (16:35 +0200)]
[SMPI] Modified smpiff.in to enable caller location
This injects pre-processor directives that are then used
to replace MPI calls within the user code.
Christian Heinrich [Fri, 1 Apr 2016 13:18:14 +0000 (15:18 +0200)]
[SMPI] Add caller location to tracefiles
Please note that we can't use stack unwinding because that
would make the simulation less faithful, as it introduces
non-neglegible overhead.
This implementation is still subject to change.
Christian Heinrich [Thu, 10 Mar 2016 12:27:24 +0000 (13:27 +0100)]
[SMPI] Added #include private.hpp statements
Christian Heinrich [Mon, 29 Feb 2016 11:50:25 +0000 (12:50 +0100)]
[SMPI] Make smpi_container() available via private.h
Christian Heinrich [Mon, 29 Feb 2016 11:40:30 +0000 (12:40 +0100)]
[SMPI] Add private.hpp for C++ functionality
Christian Heinrich [Wed, 20 Apr 2016 16:29:03 +0000 (18:29 +0200)]
[SMPI] Introduce smpi/papi_events option
Christian Heinrich [Mon, 29 Feb 2016 09:24:48 +0000 (10:24 +0100)]
[SMPI/PAPI] Added cmake switch for SMPI+PAPI
This commit includes:
- Enable/disable PAPI bindings via ccmake
- The FindPAPI.cmake file
- The #define for C/C++
Martin Quinson [Thu, 19 May 2016 11:55:23 +0000 (13:55 +0200)]
fix some doxygen formating problems
Martin Quinson [Thu, 19 May 2016 11:33:21 +0000 (13:33 +0200)]
documentation shuffeling
Martin Quinson [Thu, 19 May 2016 07:29:33 +0000 (09:29 +0200)]
outline a page on high-level concepts to describe your platform
Martin Quinson [Thu, 19 May 2016 07:28:58 +0000 (09:28 +0200)]
doc: move the 'find an XML example' part into the platform page
Martin Quinson [Thu, 19 May 2016 07:14:45 +0000 (09:14 +0200)]
completely rewrite the 'Getting Started' page
Martin Quinson [Thu, 19 May 2016 04:57:42 +0000 (06:57 +0200)]
doc: kill a useless and unused file
Martin Quinson [Thu, 19 May 2016 04:54:25 +0000 (06:54 +0200)]
Sharpen the install documentation
Nobody likes reading the doc, so get straight to the point.
Frederic Suter [Tue, 17 May 2016 04:39:25 +0000 (06:39 +0200)]
improve I/O Java examples
Frederic Suter [Tue, 17 May 2016 04:38:47 +0000 (06:38 +0200)]
add File.seek to Java API
Frederic Suter [Mon, 16 May 2016 17:57:14 +0000 (19:57 +0200)]
trace-simple is now process-create
... that needs a platform at least ;)
Martin Quinson [Mon, 16 May 2016 16:46:22 +0000 (18:46 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
degomme [Mon, 16 May 2016 14:50:40 +0000 (16:50 +0200)]
don't run some mpich3 fortran tests when there is no privatization
We don't provide manual way of privatizing global variables in Fortran anymore.
So on some (BSD) systems, these tests would fail.
degomme [Mon, 16 May 2016 10:33:41 +0000 (12:33 +0200)]
merge
Martin Quinson [Mon, 16 May 2016 06:13:36 +0000 (08:13 +0200)]
cosmetics
In the code, in the comments, in doxygen... Messy code go away!
Martin Quinson [Mon, 16 May 2016 06:04:03 +0000 (08:04 +0200)]
doxygen fixups
Martin Quinson [Mon, 16 May 2016 05:55:59 +0000 (07:55 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 16 May 2016 05:54:17 +0000 (07:54 +0200)]
xbt::config: fix doxygen
Martin Quinson [Mon, 16 May 2016 05:33:58 +0000 (07:33 +0200)]
doc example: change trace-simple into process-create
trace-simple was really brain dead, and we were missing an explicit
process-create example
Frederic Suter [Mon, 16 May 2016 05:33:40 +0000 (07:33 +0200)]
fix one, rename another
Frederic Suter [Mon, 16 May 2016 05:27:30 +0000 (07:27 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 16 May 2016 05:27:03 +0000 (07:27 +0200)]
rename tracing example
Martin Quinson [Mon, 16 May 2016 05:25:11 +0000 (07:25 +0200)]
woops, I commited a local test
Martin Quinson [Mon, 16 May 2016 05:19:44 +0000 (07:19 +0200)]
done reformating the doc of MSG examples. Many examples remain undocumented
Martin Quinson [Mon, 16 May 2016 05:07:37 +0000 (07:07 +0200)]
doc example: actions and apps
Martin Quinson [Mon, 16 May 2016 04:30:30 +0000 (06:30 +0200)]
Doc example: model-based ones + add many TODO
Martin Quinson [Mon, 16 May 2016 03:46:54 +0000 (05:46 +0200)]
Rework the presentation of MSG tracing examples
Martin Quinson [Sun, 15 May 2016 21:47:10 +0000 (23:47 +0200)]
kebab case
Martin Quinson [Sun, 15 May 2016 08:55:29 +0000 (10:55 +0200)]
Further reorganize the MSG examples' documentation
degomme [Sun, 15 May 2016 13:31:45 +0000 (15:31 +0200)]
fix mistakes in script
degomme [Sat, 14 May 2016 00:29:38 +0000 (02:29 +0200)]
tar xzf fails randomly on netbsd for now, try another method
Martin Quinson [Sat, 14 May 2016 00:03:32 +0000 (02:03 +0200)]
better presentation of the examples in the doc
Martin Quinson [Fri, 13 May 2016 22:25:08 +0000 (00:25 +0200)]
doxygen: Fix 3 out of
23235235235 small formating issues
Martin Quinson [Fri, 13 May 2016 22:06:21 +0000 (00:06 +0200)]
Doc: Kill formating pragma that are unused since 10 years
Frederic Suter [Sat, 14 May 2016 00:03:00 +0000 (02:03 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 14 May 2016 00:02:11 +0000 (02:02 +0200)]
cosmetics
Frederic Suter [Sat, 14 May 2016 00:01:46 +0000 (02:01 +0200)]
revise CMake doc
degomme [Fri, 13 May 2016 21:50:26 +0000 (23:50 +0200)]
silence warnings from boost (only on netbsd..
this happens when we use boost::intrusive::constant_time_size<false> for virtual machines
If anyone has any idea on how to remove this one... It does not pop on other systems
Frederic Suter [Fri, 13 May 2016 21:43:17 +0000 (23:43 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Martin Quinson [Fri, 13 May 2016 21:39:58 +0000 (23:39 +0200)]
some more forgotten override markers
Frederic Suter [Fri, 13 May 2016 21:10:11 +0000 (23:10 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Martin Quinson [Fri, 13 May 2016 09:48:19 +0000 (11:48 +0200)]
tweak the documentation rendering
Frederic Suter [Fri, 13 May 2016 19:33:50 +0000 (21:33 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 13 May 2016 19:33:16 +0000 (21:33 +0200)]
move text and add all cmake options
+ a few are not explained though
Martin Quinson [Fri, 13 May 2016 04:44:50 +0000 (06:44 +0200)]
Doc improvment
Martin Quinson [Fri, 13 May 2016 04:29:34 +0000 (06:29 +0200)]
reword the doc of the switch feature
Martin Quinson [Fri, 13 May 2016 04:10:39 +0000 (06:10 +0200)]
doc: improve section titles
Martin Quinson [Fri, 13 May 2016 01:48:18 +0000 (03:48 +0200)]
Use only the C++ dtor for Synchro::Raw
Martin Quinson [Thu, 12 May 2016 21:59:53 +0000 (23:59 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 12 May 2016 18:18:30 +0000 (20:18 +0200)]
move some content to the SynchroRaw dtor
Martin Quinson [Wed, 11 May 2016 18:13:54 +0000 (20:13 +0200)]
teshfile: dont sort output
degomme [Thu, 12 May 2016 12:56:38 +0000 (14:56 +0200)]
Try to avoid leaking detached comms.
Martin Quinson [Wed, 11 May 2016 17:23:31 +0000 (19:23 +0200)]
kill useless code
Martin Quinson [Wed, 11 May 2016 16:34:47 +0000 (18:34 +0200)]
make overring methods as so to please clang