Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years ago[mc] Make Snapshot::stack_sizes a std::vector
Gabriel Corona [Mon, 8 Jun 2015 09:21:33 +0000 (11:21 +0200)]
[mc] Make Snapshot::stack_sizes a std::vector

5 years ago[mc] Make Snapshot::enabled_process a std::set
Gabriel Corona [Mon, 8 Jun 2015 09:17:28 +0000 (11:17 +0200)]
[mc] Make Snapshot::enabled_process a std::set

5 years ago[Cmake] Fixed typos in and restructured Options.cmake
Christian Heinrich [Mon, 1 Jun 2015 12:21:32 +0000 (14:21 +0200)]
[Cmake] Fixed typos in and restructured Options.cmake

5 years ago[Cmake] Fixed wrong set() syntax in cmake files
Christian Heinrich [Mon, 1 Jun 2015 12:06:40 +0000 (14:06 +0200)]
[Cmake] Fixed wrong set() syntax in cmake files

- Files CTestConfig.cmake and Options.cmake were affected

- The variable BUILDNAME is declared to be INTERNAL; this
  means that it should not be displayed in any GUI. However,
  as the "keyword" (note the quotation marks here) TYPE was
  given (this does not exist!), it was still displayed; however,
  the "docstring" property was missing, so I added it.

- Check out the documentation here:
  http://www.cmake.org/cmake/help/v2.8.7/cmake.html#section_Properties

5 years ago[mc] Do not clobber CMAKE_C_FLAGS and friends
Gabriel Corona [Mon, 1 Jun 2015 08:59:13 +0000 (10:59 +0200)]
[mc] Do not clobber CMAKE_C_FLAGS and friends

5 years ago[doc] Fix header
Gabriel Corona [Tue, 9 Jun 2015 07:59:05 +0000 (09:59 +0200)]
[doc] Fix header

5 years ago[Doc] Added references to the calibration scripts
Christian Heinrich [Wed, 27 May 2015 13:50:25 +0000 (15:50 +0200)]
[Doc] Added references to the calibration scripts

5 years ago[Doc] Corrected section reference
Christian Heinrich [Tue, 26 May 2015 18:07:55 +0000 (20:07 +0200)]
[Doc] Corrected section reference

5 years ago[Doc] Added section on smpi/use_shared_malloc
Christian Heinrich [Tue, 26 May 2015 17:32:57 +0000 (19:32 +0200)]
[Doc] Added section on smpi/use_shared_malloc

5 years ago[Doc] Removed misplaced \b from options.doc
Christian Heinrich [Tue, 26 May 2015 17:02:45 +0000 (19:02 +0200)]
[Doc] Removed misplaced \b from options.doc

5 years ago[Doc] Added description for smpi/os, smpi/ois, smpi/or
Christian Heinrich [Tue, 26 May 2015 16:59:38 +0000 (18:59 +0200)]
[Doc] Added description for smpi/os, smpi/ois, smpi/or

5 years ago[Doc] Added default value for smpi/display_timing
Christian Heinrich [Tue, 26 May 2015 14:17:25 +0000 (16:17 +0200)]
[Doc] Added default value for smpi/display_timing

5 years ago[Documentation] Added a note for smpi/cpu_threshold
Christian Heinrich [Tue, 26 May 2015 14:01:11 +0000 (16:01 +0200)]
[Documentation] Added a note for smpi/cpu_threshold

5 years ago[mc][doc] Fix MC links
Gabriel Corona [Tue, 26 May 2015 15:01:16 +0000 (17:01 +0200)]
[mc][doc] Fix MC links

5 years ago[mc][doc] Document the model-check/dot_output option
Gabriel Corona [Tue, 26 May 2015 14:58:52 +0000 (16:58 +0200)]
[mc][doc] Document the model-check/dot_output option

5 years ago[mc][doc] Document the model-check/terminate option
Gabriel Corona [Tue, 26 May 2015 14:53:49 +0000 (16:53 +0200)]
[mc][doc] Document the model-check/terminate option

5 years ago[mc][doc] Document the model-check/visited option
Gabriel Corona [Tue, 26 May 2015 14:33:28 +0000 (16:33 +0200)]
[mc][doc] Document the model-check/visited option

5 years ago[mc][doc] Document the model-check/max_depth option
Gabriel Corona [Tue, 26 May 2015 14:24:04 +0000 (16:24 +0200)]
[mc][doc] Document the model-check/max_depth option

5 years ago[mc] Marh the model-check/snapshot_fds option as disabled
Gabriel Corona [Tue, 26 May 2015 14:04:47 +0000 (16:04 +0200)]
[mc] Marh the model-check/snapshot_fds option as disabled

We need to bring it back in the new MC model.

5 years ago[mc][doc] Document the model-check/hash option
Gabriel Corona [Tue, 26 May 2015 13:58:12 +0000 (15:58 +0200)]
[mc][doc] Document the model-check/hash option

5 years ago[mc][doc] Add doc about model-checke/timeout
Gabriel Corona [Tue, 26 May 2015 13:43:25 +0000 (15:43 +0200)]
[mc][doc] Add doc about model-checke/timeout

5 years ago[mc][doc] Record/replay and sparse snapshots
Gabriel Corona [Tue, 26 May 2015 13:31:58 +0000 (15:31 +0200)]
[mc][doc] Record/replay and sparse snapshots

5 years ago[Documentation] Added descriptions for 3 more configuration directives.
Christian Heinrich [Tue, 26 May 2015 12:29:19 +0000 (14:29 +0200)]
[Documentation] Added descriptions for 3 more configuration directives.

- Added: smpi/test, smpi/wtime and smpi/iprobe

5 years ago[Documentation] Changed reference name
Christian Heinrich [Tue, 26 May 2015 12:27:53 +0000 (14:27 +0200)]
[Documentation] Changed reference name

5 years ago[Documentation] First batch of updates of configuration options
Christian Heinrich [Tue, 26 May 2015 10:39:29 +0000 (12:39 +0200)]
[Documentation] First batch of updates of configuration options

5 years ago[Documentation] Added reference to tracing options
Christian Heinrich [Thu, 21 May 2015 15:37:13 +0000 (17:37 +0200)]
[Documentation] Added reference to tracing options

- I didn't want to duplicate the options from the
  tracing doc page, so I just added a link to this
  page; technically it should be included there though,
  as these options are relevant for the index.

5 years ago[Documentation] Added ~40 missing configuration options
Christian Heinrich [Thu, 21 May 2015 15:02:15 +0000 (17:02 +0200)]
[Documentation] Added ~40 missing configuration options

These options were missing, but it's important to have
these documented.

5 years ago[Documentation] Updated MC config options
Christian Heinrich [Thu, 21 May 2015 12:38:18 +0000 (14:38 +0200)]
[Documentation] Updated MC config options

These are the options that I could find in src/

5 years ago[Documentation] Changed word 'config item' to 'config option'
Christian Heinrich [Thu, 21 May 2015 12:22:53 +0000 (14:22 +0200)]
[Documentation] Changed word 'config item' to 'config option'

5 years ago[Documentation] Sorted existing configuration options
Christian Heinrich [Thu, 21 May 2015 12:21:51 +0000 (14:21 +0200)]
[Documentation] Sorted existing configuration options

5 years ago[Doc] Beautification of a simple sentence
Christian Heinrich [Thu, 21 May 2015 11:48:23 +0000 (13:48 +0200)]
[Doc] Beautification of a simple sentence

- Also use %As instead of As - this prevents "As" becoming a link
  to the "Autonomous System".

5 years agoUpdated backbone-tag documentation
Christian Heinrich [Wed, 20 May 2015 10:18:17 +0000 (12:18 +0200)]
Updated backbone-tag documentation

5 years agoAdded further note for FATPIPE sharing policy.
Christian Heinrich [Wed, 20 May 2015 10:17:58 +0000 (12:17 +0200)]
Added further note for FATPIPE sharing policy.

5 years agoAdded anchors and references for link sharing policies.
Christian Heinrich [Wed, 20 May 2015 10:17:32 +0000 (12:17 +0200)]
Added anchors and references for link sharing policies.

5 years agoFixed typo in documentation of surf_routing.hpp
Christian Heinrich [Wed, 15 Apr 2015 13:59:40 +0000 (15:59 +0200)]
Fixed typo in documentation of surf_routing.hpp

5 years agoAdded small section on backbone.
Christian Heinrich [Thu, 9 Apr 2015 16:44:27 +0000 (18:44 +0200)]
Added small section on backbone.

5 years agoRemoved wrong endtags from documentation.
Christian Heinrich [Thu, 9 Apr 2015 16:43:56 +0000 (18:43 +0200)]
Removed wrong endtags from documentation.

- There is no such thing as endnote or endremark; just use indentation.

5 years agoUpdated section on network equipments (mostly cosmetics).
Christian Heinrich [Thu, 9 Apr 2015 16:42:21 +0000 (18:42 +0200)]
Updated section on network equipments (mostly cosmetics).

- Added the backbone tag, though

5 years agoUpdated description and presentation of available resources.
Christian Heinrich [Thu, 9 Apr 2015 16:40:55 +0000 (18:40 +0200)]
Updated description and presentation of available resources.

5 years agoUpdated the 'sharing policy' part for links.
Christian Heinrich [Thu, 9 Apr 2015 14:05:41 +0000 (16:05 +0200)]
Updated the 'sharing policy' part for links.

5 years agoUpdated platform.doc to explain the cluster tag more thoroughly.
Christian Heinrich [Tue, 7 Apr 2015 17:01:01 +0000 (19:01 +0200)]
Updated platform.doc to explain the cluster tag more thoroughly.

5 years agoRephrased cluster description
Christian Heinrich [Mon, 16 Feb 2015 13:59:44 +0000 (14:59 +0100)]
Rephrased cluster description

5 years agoDocumentation overhaul started.
Christian Heinrich [Wed, 4 Feb 2015 17:45:49 +0000 (18:45 +0100)]
Documentation overhaul started.

5 years agoBoost.Context context factory
Gabriel Corona [Thu, 4 Jun 2015 10:51:06 +0000 (12:51 +0200)]
Boost.Context context factory

 * This is a portable replacement for ucontext.h (makecontext,
   swapcontext, getcontext, setcontext) which is not in recent POSIX
   specs and was apparently removed from Mac OS X since 10.9. POSIX
   2008 still has ucontext_t however (moved into signal.h).

 * Currently works only for Boost <= 1.55 (the Boost.Context API
   changed slightly afterwards).

 * Does not work with MC because we currently depend on the contexts
   being ucontext_t (we'd have to convert fcontext into ucontext_t).

 * No support for parallel execution support (yet).

5 years agoFix previous commit
Gabriel Corona [Fri, 5 Jun 2015 10:50:28 +0000 (12:50 +0200)]
Fix previous commit

5 years agoTentatively fix the detection of ucontext.h in Darwin
Gabriel Corona [Fri, 5 Jun 2015 09:07:45 +0000 (11:07 +0200)]
Tentatively fix the detection of ucontext.h in Darwin

5 years agoAdded xbt_assert statement to smpi_mpi_dt.c
Christian Heinrich [Wed, 18 Mar 2015 17:32:10 +0000 (18:32 +0100)]
Added xbt_assert statement to smpi_mpi_dt.c

* This will help prevent a value <= 0

5 years agoFixed bug in SMPI datatypes, causing SG to segfault.
Christian Heinrich [Mon, 16 Mar 2015 16:28:22 +0000 (17:28 +0100)]
Fixed bug in SMPI datatypes, causing SG to segfault.

- For pre-defined datatypes such as MPI_INT, the 'in_use' counter of
  that datatype was able to obtain negative values in certain cases.

  This caused SimGrid to crash with a segfault, for instance when
  running fupermod.

This bug was reported by Tania Malik on
the 24th of February on the SG Mailing list.

5 years ago[SURF] Added comment for surf_share_resources
Christian Heinrich [Tue, 2 Jun 2015 18:20:07 +0000 (20:20 +0200)]
[SURF] Added comment for surf_share_resources

5 years ago[SURF] Added simple method comment for AsDijkstra::addLoopback()
Christian Heinrich [Wed, 27 May 2015 17:24:27 +0000 (19:24 +0200)]
[SURF] Added simple method comment for AsDijkstra::addLoopback()

5 years ago[mc] Fix realloc() in mc_process.cpp
Gabriel Corona [Tue, 2 Jun 2015 19:26:54 +0000 (21:26 +0200)]
[mc] Fix realloc() in mc_process.cpp

5 years ago[mc] Fix pointer dereference after free()
Gabriel Corona [Tue, 2 Jun 2015 19:11:30 +0000 (21:11 +0200)]
[mc] Fix pointer dereference after free()

5 years ago[mc] exit() instead of abort() in normal operation
Gabriel Corona [Tue, 2 Jun 2015 13:02:27 +0000 (15:02 +0200)]
[mc] exit() instead of abort() in normal operation

5 years ago[mc] Add a message to explain no property violation is found
Gabriel Corona [Tue, 2 Jun 2015 12:33:26 +0000 (14:33 +0200)]
[mc] Add a message to explain no property violation is found

5 years ago[mc] Remove mc_region_contain(), use the method instead
Gabriel Corona [Tue, 2 Jun 2015 11:55:29 +0000 (13:55 +0200)]
[mc] Remove mc_region_contain(), use the method instead

5 years ago[mc] C++ify RegionType, StorageType enums
Gabriel Corona [Tue, 2 Jun 2015 11:48:30 +0000 (13:48 +0200)]
[mc] C++ify RegionType, StorageType enums

Namespaced and strongly-typed.

5 years ago[mc] Fix compilation error on clang (and group all the region creation functions...
Gabriel Corona [Tue, 2 Jun 2015 11:28:09 +0000 (13:28 +0200)]
[mc] Fix compilation error on clang (and group all the region creation functions together)

error: 'MC_region_sparse' has C-linkage specified, but returns user-defined type 'simgrid::mc::RegionSnapshot' which is incompatible with C

5 years agotemp
Gabriel Corona [Tue, 2 Jun 2015 11:13:31 +0000 (13:13 +0200)]
temp

5 years ago[mc] Enable record in liveness mode
Gabriel Corona [Tue, 2 Jun 2015 08:25:21 +0000 (10:25 +0200)]
[mc] Enable record in liveness mode

5 years agostupid me
Martin Quinson [Mon, 1 Jun 2015 21:59:26 +0000 (23:59 +0200)]
stupid me

5 years ago[mc] Use vector<RegionSnapshot> instead of vector<unique_ptr<RegionSnapshot>> in...
Gabriel Corona [Fri, 29 May 2015 13:57:30 +0000 (15:57 +0200)]
[mc] Use vector<RegionSnapshot> instead of vector<unique_ptr<RegionSnapshot>> in RegionSnapshot

5 years ago[mc] Fix typo in e_mc_region_storage_type_t
Gabriel Corona [Fri, 29 May 2015 13:31:43 +0000 (15:31 +0200)]
[mc] Fix typo in e_mc_region_storage_type_t

5 years ago[mc] Remove deprecated MC_snapshot_read()
Gabriel Corona [Fri, 29 May 2015 12:53:59 +0000 (14:53 +0200)]
[mc] Remove deprecated MC_snapshot_read()

5 years ago[mc] RegionSnapshot, make all fields private
Gabriel Corona [Fri, 29 May 2015 12:46:40 +0000 (14:46 +0200)]
[mc] RegionSnapshot, make all fields private

5 years ago[mc] RegionSnapshot, make data private
Gabriel Corona [Fri, 29 May 2015 12:27:44 +0000 (14:27 +0200)]
[mc] RegionSnapshot, make data private

5 years ago[mc] RegionSnapshot class
Gabriel Corona [Fri, 29 May 2015 08:05:36 +0000 (10:05 +0200)]
[mc] RegionSnapshot class

5 years ago[mc] Remove broken test
Gabriel Corona [Fri, 29 May 2015 09:32:11 +0000 (11:32 +0200)]
[mc] Remove broken test

We don't handle NULL as a valid/special region anymore.

5 years ago[mc] Remove mc_translate_address()
Gabriel Corona [Fri, 29 May 2015 07:37:13 +0000 (09:37 +0200)]
[mc] Remove mc_translate_address()

Not used and probably not very useful/usable with chunked snapshots.

5 years agomore verbose error message on error
Martin Quinson [Sat, 30 May 2015 13:42:31 +0000 (15:42 +0200)]
more verbose error message on error

5 years ago[mc] Fix mc_translate_address() for MC_REGION_STORAGE_TYPE_PRIVATIZED:
Gabriel Corona [Thu, 28 May 2015 12:44:28 +0000 (14:44 +0200)]
[mc] Fix mc_translate_address() for MC_REGION_STORAGE_TYPE_PRIVATIZED:

It was incorrectly calling itself insteaf of translating the region in
the "sub-region".

5 years ago[mc] Make Process::socket_ private
Gabriel Corona [Thu, 28 May 2015 10:58:54 +0000 (12:58 +0200)]
[mc] Make Process::socket_ private

5 years ago[mc] Make Process::memory_map_ a std::vector
Gabriel Corona [Thu, 28 May 2015 10:31:04 +0000 (12:31 +0200)]
[mc] Make Process::memory_map_ a std::vector

5 years ago[mc] Mark some Process attributes as private
Gabriel Corona [Thu, 28 May 2015 09:11:02 +0000 (11:11 +0200)]
[mc] Mark some Process attributes as private

5 years ago[SMPI] Fixed portability issues with shm_open.
Christian Heinrich [Tue, 26 May 2015 18:19:15 +0000 (20:19 +0200)]
[SMPI] Fixed portability issues with shm_open.

- According to "man 3 shm_open", these handles should
  begin with a slash (/); this commit fixes that.

5 years ago[SMPI] Added several document blocks for ois, or and ois
Christian Heinrich [Tue, 26 May 2015 17:39:31 +0000 (19:39 +0200)]
[SMPI] Added several document blocks for ois, or and ois

- I hope this makes it easier to understand what is going
  on here!

5 years ago[SMPI] Just some cosmetics (indentation), no changes
Christian Heinrich [Tue, 26 May 2015 12:42:17 +0000 (14:42 +0200)]
[SMPI] Just some cosmetics (indentation), no changes

5 years ago[SMPI] Improved several comments in the code
Christian Heinrich [Tue, 26 May 2015 12:41:43 +0000 (14:41 +0200)]
[SMPI] Improved several comments in the code

5 years ago[SURF] Fixed config option network/weight_S_parameter
Christian Heinrich [Fri, 22 May 2015 11:30:10 +0000 (13:30 +0200)]
[SURF] Fixed config option network/weight_S_parameter

- This configuration option is actually called
  network/weight_S; I changed that. Note though that
  network/weight_S is stored in a variable called
  sg_weight_S_parameter, which adds to confusion.

5 years ago[mc] Fix cross-process access to simcall_comm_***any__get__comms
Gabriel Corona [Tue, 26 May 2015 12:22:42 +0000 (14:22 +0200)]
[mc] Fix cross-process access to simcall_comm_***any__get__comms

The array in an array of smx_synchro_t and not of s_smx_synchro_t.

5 years ago[mc] Fix remote_ptr
Gabriel Corona [Tue, 26 May 2015 10:18:57 +0000 (12:18 +0200)]
[mc] Fix remote_ptr

5 years ago[mc] Fix printf format
Gabriel Corona [Tue, 26 May 2015 07:27:49 +0000 (09:27 +0200)]
[mc] Fix printf format

5 years ago[mc] Replace the override word with MC_OVERRIDE
Gabriel Corona [Fri, 22 May 2015 13:53:35 +0000 (15:53 +0200)]
[mc] Replace the override word with MC_OVERRIDE

The compilers used by the CI infratrsucture do not handle this. In the
future, we might detect if the compiler grokes it and we might
conditionnaly use:

5 years ago[mc] Fix spurious call fo remote()
Gabriel Corona [Fri, 22 May 2015 13:46:31 +0000 (15:46 +0200)]
[mc] Fix spurious call fo remote()

5 years ago[mc] Remote deprecated functions MC_snapshot_read_pointer()
Gabriel Corona [Fri, 22 May 2015 12:38:29 +0000 (14:38 +0200)]
[mc] Remote deprecated functions MC_snapshot_read_pointer()

5 years ago[mc] Fix the translation of privatisation section in Process::read_bytes()
Gabriel Corona [Fri, 22 May 2015 11:12:27 +0000 (13:12 +0200)]
[mc] Fix the translation of privatisation section in Process::read_bytes()

5 years ago[mc] Private Process::pid
Gabriel Corona [Fri, 22 May 2015 08:20:03 +0000 (10:20 +0200)]
[mc] Private Process::pid

5 years ago[mc] Make a std::vector of Process::checkpoint_ignore
Gabriel Corona [Fri, 22 May 2015 07:41:06 +0000 (09:41 +0200)]
[mc] Make a std::vector of Process::checkpoint_ignore

5 years ago[mc] Move cross process reading support for SBT structure in a separate file
Gabriel Corona [Thu, 21 May 2015 14:15:17 +0000 (16:15 +0200)]
[mc] Move cross process reading support for SBT structure in a separate file

5 years ago[mc] Move methods in Process class
Gabriel Corona [Thu, 21 May 2015 10:47:01 +0000 (12:47 +0200)]
[mc] Move methods in Process class

5 years ago[mc] Add remote_ptr for marking pointers-to/addresses-in the remote process
Gabriel Corona [Tue, 19 May 2015 09:46:22 +0000 (11:46 +0200)]
[mc] Add remote_ptr for marking pointers-to/addresses-in the remote process

5 years ago[mc] Remove compatibility stuff
Gabriel Corona [Tue, 19 May 2015 07:55:35 +0000 (09:55 +0200)]
[mc] Remove compatibility stuff

5 years ago[mc] Fix bug in Snapshot::read_bytes
Gabriel Corona [Tue, 19 May 2015 08:23:31 +0000 (10:23 +0200)]
[mc] Fix bug in Snapshot::read_bytes

MC_region_read is allowed to return a pointer to another buffer containing the data.
We have to handle this case.

5 years ago[mc] Make C++ classes out of addres_space, process, snapshot
Gabriel Corona [Mon, 18 May 2015 13:55:28 +0000 (15:55 +0200)]
[mc] Make C++ classes out of addres_space, process, snapshot

5 years agoRemoved PIPOL documentation and added CI (Jenkins)
Christian Heinrich [Tue, 19 May 2015 14:06:07 +0000 (16:06 +0200)]
Removed PIPOL documentation and added CI (Jenkins)

- PIPOL seems to have been an old system used for that
  purpose; all references were removed or updated.

- Added a file called "inside_ci.doc". There are sometimes
  tricky things that one wants to do with Jenkins and it's
  good for us to have a starting point here.

5 years agoRemoved broken reference from FAQ
Christian Heinrich [Tue, 19 May 2015 13:17:21 +0000 (15:17 +0200)]
Removed broken reference from FAQ

- The reference to "faq_more_processes" did not exist.
  I removed it, as doxygen complained about it.

5 years agoFix the implicit declaration issue - Ad(rien)
Adrien Lebre [Tue, 19 May 2015 14:52:38 +0000 (16:52 +0200)]
Fix the implicit declaration issue - Ad(rien)

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Adrien Lebre [Tue, 19 May 2015 13:35:27 +0000 (15:35 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

5 years agoFix java cloud integration tesh files
Gabriel Corona [Tue, 19 May 2015 13:27:04 +0000 (15:27 +0200)]
Fix java cloud integration tesh files

5 years agoAdded dependency on FLEX 2.5.39 to MaintainerMode
Christian Heinrich [Tue, 19 May 2015 11:21:36 +0000 (13:21 +0200)]
Added dependency on FLEX 2.5.39 to MaintainerMode

With a minor version such as 2.5.35 (available in wheezy),
MaintainerMode will break: The generated files will contain
signatures that are incompatible with SimGrid. (Apparently
generated functions changed their signature during these versions,
from "int" to "yy_size_t")

5 years agoFix cloud integration tesh files
Gabriel Corona [Tue, 19 May 2015 10:53:22 +0000 (12:53 +0200)]
Fix cloud integration tesh files