Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years ago[mc] Remove declaration of mc_read_pagemap() in mc_page_store.cpp
Gabriel Corona [Tue, 24 Jun 2014 07:23:20 +0000 (09:23 +0200)]
[mc] Remove declaration of mc_read_pagemap() in mc_page_store.cpp

It is now in mc_page_snapshot.cpp.

9 years ago[mc] Optimise more files
Gabriel Corona [Tue, 24 Jun 2014 07:13:41 +0000 (09:13 +0200)]
[mc] Optimise more files

9 years agoSwitch to the right version of cmakefiles for mpich3 tests.
degomme [Mon, 23 Jun 2014 17:19:24 +0000 (19:19 +0200)]
Switch to the right version of cmakefiles for mpich3 tests.

9 years agoremove warning
Augustin Degomme [Mon, 23 Jun 2014 16:11:21 +0000 (18:11 +0200)]
remove warning

9 years agoremove now useless functions
Augustin Degomme [Mon, 23 Jun 2014 15:56:11 +0000 (17:56 +0200)]
remove now useless functions

9 years agoremove now useless comments
Augustin Degomme [Mon, 23 Jun 2014 15:50:26 +0000 (17:50 +0200)]
remove now useless comments

9 years agoadd MPICH3 rma tests (15 out of 88 should be passing now)
Augustin Degomme [Mon, 23 Jun 2014 15:39:40 +0000 (17:39 +0200)]
add MPICH3 rma tests (15 out of 88 should be passing now)

9 years agoFirst steps for implemtation of MPI Onesided Operations :
Augustin Degomme [Mon, 23 Jun 2014 15:30:01 +0000 (17:30 +0200)]
First steps for implemtation of MPI Onesided Operations :
Support for MPI_Win structures, MPI_Put, MPI_Get, MPI_Accumulate, MPI_Win_Fence

9 years ago[mc] Always inline mc_page_store_get_page (C version of page_store->get_page())
Gabriel Corona [Mon, 23 Jun 2014 10:02:49 +0000 (12:02 +0200)]
[mc] Always inline mc_page_store_get_page (C version of page_store->get_page())

9 years agomodel-checker : clarify comments
Marion Guthmuller [Wed, 4 Jun 2014 15:41:09 +0000 (17:41 +0200)]
model-checker : clarify comments

9 years ago[mc] Move method definition out of class declaratio and force inline
Gabriel Corona [Mon, 23 Jun 2014 08:30:57 +0000 (10:30 +0200)]
[mc] Move method definition out of class declaratio and force inline

9 years agoFix java tests : this dynar may be empty, don't try to iterate on it
degomme [Sat, 21 Jun 2014 11:41:51 +0000 (13:41 +0200)]
Fix java tests : this dynar may be empty, don't try to iterate on it

9 years agoRemove call to concurrent-rw test
Pierre Veyre [Fri, 20 Jun 2014 15:01:27 +0000 (17:01 +0200)]
Remove call to concurrent-rw test

9 years ago[mc] Reset the softdirty bits *before* restoring the ignored bytes (not after)
Gabriel Corona [Fri, 20 Jun 2014 14:09:12 +0000 (16:09 +0200)]
[mc] Reset the softdirty bits *before* restoring the ignored bytes (not after)

We want to know what has changed since the last per-page snapshot: we
have to reset the soft dirty bits just after the per-page restoration.

9 years agoRemove storage.xml example file
Pierre Veyre [Fri, 20 Jun 2014 13:37:29 +0000 (15:37 +0200)]
Remove storage.xml example file

9 years ago[mc] Try to use optimisation with some part of the MC
Gabriel Corona [Fri, 20 Jun 2014 13:31:04 +0000 (15:31 +0200)]
[mc] Try to use optimisation with some part of the MC

9 years agoInitiate java bindings for MSG storage API
Pierre Veyre [Fri, 20 Jun 2014 13:30:27 +0000 (15:30 +0200)]
Initiate java bindings for MSG storage API

9 years agoAdd new tesh suite for msg-storage
Pierre Veyre [Mon, 2 Jun 2014 07:34:10 +0000 (09:34 +0200)]
Add new tesh suite for msg-storage

9 years ago[mc] Always inline 'inline' functions
Gabriel Corona [Fri, 20 Jun 2014 12:02:05 +0000 (14:02 +0200)]
[mc] Always inline 'inline' functions

The MC is usually compiled without optimisation as they tend to
confuse the state comparison. But we *really* want to inline functions
declared 'inline'.

9 years agoremove documentation of non-existing date parameter
suter [Fri, 20 Jun 2014 09:05:07 +0000 (11:05 +0200)]
remove documentation of non-existing date parameter

9 years agoprevent warining for undocumented (because internal) enum members when
suter [Fri, 20 Jun 2014 09:04:20 +0000 (11:04 +0200)]
prevent warining for undocumented (because internal) enum members when
making doc

9 years agodoc is whining +indent
suter [Fri, 20 Jun 2014 08:24:59 +0000 (10:24 +0200)]
doc is whining +indent

9 years agodon't do the call if an error is caught before
Augustin Degomme [Fri, 20 Jun 2014 09:04:42 +0000 (11:04 +0200)]
don't do the call if an error is caught before

9 years agoRemove benchmarking calls from cart_create
Augustin Degomme [Fri, 20 Jun 2014 08:58:43 +0000 (10:58 +0200)]
Remove benchmarking calls from cart_create

9 years agoSmall fixes to the documentation
Stéphane Castelli [Fri, 20 Jun 2014 08:32:44 +0000 (10:32 +0200)]
Small fixes to the documentation

9 years agoRemove some unbreakable spaces breaking the pdf generation
Stéphane Castelli [Thu, 19 Jun 2014 07:49:14 +0000 (09:49 +0200)]
Remove some unbreakable spaces breaking the pdf generation

9 years ago[mc] Fix compilation warnings/errors when optimizing
Gabriel Corona [Fri, 20 Jun 2014 08:33:27 +0000 (10:33 +0200)]
[mc] Fix compilation warnings/errors when optimizing

9 years ago[mc] Documentation of mc_page_snapshot
Gabriel Corona [Thu, 19 Jun 2014 14:07:55 +0000 (16:07 +0200)]
[mc] Documentation of mc_page_snapshot

9 years ago[mc] Config to disable soft-dirty page tracking --cfg=model-check/soft-dirty:yes
Gabriel Corona [Thu, 19 Jun 2014 13:49:21 +0000 (15:49 +0200)]
[mc] Config to disable soft-dirty page tracking --cfg=model-check/soft-dirty:yes

It is here mostly to test the effect on soft-dirty page tracking on
the performance of the simulator. It might be removed in the future
once we will be certain that soft-dirty page tracking does not have a
significant negative impact on some workloads.

9 years ago[mc] Avoid big alloca in mc_snapshot_region_memcp and mc_snapshot_memcp
Gabriel Corona [Thu, 19 Jun 2014 13:33:12 +0000 (15:33 +0200)]
[mc] Avoid big alloca in mc_snapshot_region_memcp and mc_snapshot_memcp

Be more stack friendly.

9 years ago[mc] Poor man's TCO in compare_heap_area_with_type()
Gabriel Corona [Thu, 19 Jun 2014 13:17:58 +0000 (15:17 +0200)]
[mc] Poor man's TCO in compare_heap_area_with_type()

This is slightly more friendly for the stack.

9 years ago[mc] Do not allocate pagemap buffer on the heap
Gabriel Corona [Thu, 19 Jun 2014 13:13:42 +0000 (15:13 +0200)]
[mc] Do not allocate pagemap buffer on the heap

This won't work very well with small stacks.

9 years ago[mc] pread_whole must restart in cas of EINTR, not EAGAIN
Gabriel Corona [Thu, 19 Jun 2014 12:47:41 +0000 (14:47 +0200)]
[mc] pread_whole must restart in cas of EINTR, not EAGAIN

This probably won't happen with this file anyway.

9 years ago[mc] Documentation about per-page snapshots
Gabriel Corona [Thu, 19 Jun 2014 12:46:16 +0000 (14:46 +0200)]
[mc] Documentation about per-page snapshots

9 years ago[mc] Add some documentation
Gabriel Corona [Thu, 19 Jun 2014 12:06:15 +0000 (14:06 +0200)]
[mc] Add some documentation

9 years ago[mc] Avoid region lookup when we know we are in the heap
Gabriel Corona [Thu, 19 Jun 2014 11:09:09 +0000 (13:09 +0200)]
[mc] Avoid region lookup when we know we are in the heap

9 years ago[mc] Fix bug mc_snapshot_read_fragmented
Gabriel Corona [Thu, 19 Jun 2014 10:43:22 +0000 (12:43 +0200)]
[mc] Fix bug mc_snapshot_read_fragmented

Return the correct address.

9 years ago[mc] Replace test-and-die with assert
Gabriel Corona [Thu, 19 Jun 2014 10:27:31 +0000 (12:27 +0200)]
[mc] Replace test-and-die with assert

9 years ago[mc] Avoid looking up region in mc_diff (we are in the heap)
Gabriel Corona [Thu, 19 Jun 2014 10:24:09 +0000 (12:24 +0200)]
[mc] Avoid looking up region in mc_diff (we are in the heap)

9 years ago[mc] Fix mc_snapshot_read_fragmented
Gabriel Corona [Thu, 19 Jun 2014 10:03:34 +0000 (12:03 +0200)]
[mc] Fix mc_snapshot_read_fragmented

9 years ago[mc] Remove heap{base,info}{1,2} field in struct s_mc_diff (not meaningful in per...
Gabriel Corona [Thu, 19 Jun 2014 09:51:00 +0000 (11:51 +0200)]
[mc] Remove heap{base,info}{1,2} field in struct s_mc_diff (not meaningful in per-page snapashots)

9 years ago[mc] Fix inverted test on page soft-dirtiness
Gabriel Corona [Thu, 19 Jun 2014 07:53:24 +0000 (09:53 +0200)]
[mc] Fix inverted test on page soft-dirtiness

9 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 18 Jun 2014 16:08:32 +0000 (18:08 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

9 years agoMerge branch 'v3_11_x'
Paul Bédaride [Wed, 18 Jun 2014 16:02:29 +0000 (18:02 +0200)]
Merge branch 'v3_11_x'

Conflicts:
examples/msg/properties/msg_prop.c
examples/simdag/properties/sd_prop.c

9 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 18 Jun 2014 15:29:41 +0000 (17:29 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

9 years agoadd rule to use gcc-ar and gcc-ranlib instead of ar and ranlib for gcc >=4.9
Augustin Degomme [Wed, 18 Jun 2014 15:28:28 +0000 (17:28 +0200)]
add rule to use gcc-ar and gcc-ranlib instead of ar and ranlib for gcc >=4.9
see https://gcc.gnu.org/gcc-4.9/changes.html for explanations

9 years agoRevert "try to have all these mpich temporary libs sent to the right folder while...
Augustin Degomme [Wed, 18 Jun 2014 15:26:10 +0000 (17:26 +0200)]
Revert "try to have all these mpich temporary libs sent to the right folder while building"

This reverts commit 3f8e8c0e3b6c8faab8c96a8875bff2eaebbe3e99.

9 years agoImprove Packet level simulation documentation v3_11_x
Paul Bédaride [Wed, 18 Jun 2014 15:05:33 +0000 (17:05 +0200)]
Improve Packet level simulation documentation

9 years agoFix bug with const in java bindings
Paul Bédaride [Wed, 18 Jun 2014 14:13:35 +0000 (16:13 +0200)]
Fix bug with const in java bindings

9 years agotry to have all these mpich temporary libs sent to the right folder while building
Augustin Degomme [Wed, 18 Jun 2014 15:00:41 +0000 (17:00 +0200)]
try to have all these mpich temporary libs sent to the right folder while building

9 years agoUpdate tesh files after commit 2c2afb4d73ea196ea97ca46bc89dd512451222db (untested).
Arnaud Giersch [Wed, 18 Jun 2014 10:30:19 +0000 (12:30 +0200)]
Update tesh files after commit 2c2afb4d73ea196ea97ca46bc89dd512451222db (untested).

9 years ago[mc] Do not use offsetof() in mc_snapshot_get_heap_end
Gabriel Corona [Tue, 17 Jun 2014 14:44:42 +0000 (16:44 +0200)]
[mc] Do not use offsetof() in mc_snapshot_get_heap_end

We don't need this. It's much clearer like this.

9 years ago[mc] Fix mc_snapshot_get_heap_end() for per-page snapshots
Gabriel Corona [Tue, 17 Jun 2014 14:40:25 +0000 (16:40 +0200)]
[mc] Fix mc_snapshot_get_heap_end() for per-page snapshots

9 years ago[mc] Fix mc_translate_address_region() for per-page snapshots
Gabriel Corona [Tue, 17 Jun 2014 14:19:28 +0000 (16:19 +0200)]
[mc] Fix mc_translate_address_region() for per-page snapshots

It was completely broken :/

9 years ago[mc] Remove mc_untranslate_address() and mc_member_snapshot_resolve()
Gabriel Corona [Tue, 17 Jun 2014 13:52:32 +0000 (15:52 +0200)]
[mc] Remove mc_untranslate_address() and mc_member_snapshot_resolve()

Those were working in the snapshot address space so we do not use them
anymore (it is not very useful to work in the snapshot space when the
snapshot space is broken in pages).

We work in the process address space instead (mc_member_resolve).

9 years ago[mc] Use mc_snapshot_read in snapshot_compare (compatibility with per-page snapshots)
Gabriel Corona [Tue, 17 Jun 2014 13:45:39 +0000 (15:45 +0200)]
[mc] Use mc_snapshot_read in snapshot_compare (compatibility with per-page snapshots)

9 years ago[mc] mremap does not like MAP_PRIVATE|MAP_ANONYMOUS regions
Gabriel Corona [Tue, 17 Jun 2014 13:29:24 +0000 (15:29 +0200)]
[mc] mremap does not like MAP_PRIVATE|MAP_ANONYMOUS regions

Use a MAP_PRIVATE one instead.

9 years ago[mc] Add option --cfg=model-check/sparse-checkpoint:yes to enable per page snapshot
Gabriel Corona [Tue, 17 Jun 2014 12:42:38 +0000 (14:42 +0200)]
[mc] Add option --cfg=model-check/sparse-checkpoint:yes to enable per page snapshot

9 years ago[mc] Fix bugs in mc_page_snapshot
Gabriel Corona [Tue, 17 Jun 2014 12:21:50 +0000 (14:21 +0200)]
[mc] Fix bugs in mc_page_snapshot

9 years ago[mc] Use mc_snapshot_read in mc_diff (compatibility with per-page snapshots)
Gabriel Corona [Tue, 17 Jun 2014 12:06:04 +0000 (14:06 +0200)]
[mc] Use mc_snapshot_read in mc_diff (compatibility with per-page snapshots)

9 years ago[mc] Use mc_snapshot_read in dwarf expression evaluation (compatibility with per...
Gabriel Corona [Tue, 17 Jun 2014 10:56:32 +0000 (12:56 +0200)]
[mc] Use mc_snapshot_read in dwarf expression evaluation (compatibility with per-page snapshots)

9 years ago[mc] Fix bug in mc_snapshot_read
Gabriel Corona [Tue, 17 Jun 2014 10:54:29 +0000 (12:54 +0200)]
[mc] Fix bug in mc_snapshot_read

It was broken when no snapshot was used.

9 years ago[mc] Remove useless bits
Gabriel Corona [Tue, 17 Jun 2014 10:12:57 +0000 (12:12 +0200)]
[mc] Remove useless bits

9 years agoAdd some informations/help for the user on SIGSEGV
Gabriel Corona [Tue, 17 Jun 2014 08:40:37 +0000 (10:40 +0200)]
Add some informations/help for the user on SIGSEGV

9 years agotiny doc update
Martin Quinson [Tue, 17 Jun 2014 07:26:43 +0000 (09:26 +0200)]
tiny doc update

9 years agocosmetics on some error messages
Martin Quinson [Tue, 17 Jun 2014 07:23:23 +0000 (09:23 +0200)]
cosmetics on some error messages

9 years agoThis should ease the future implementation of graphes in smpi
Stéphane Castelli [Fri, 13 Jun 2014 16:18:37 +0000 (18:18 +0200)]
This should ease the future implementation of graphes in smpi

9 years agoremove simgrid_documentation target from distcheck
Augustin Degomme [Mon, 16 Jun 2014 17:41:12 +0000 (19:41 +0200)]
remove simgrid_documentation target from distcheck

9 years agoadd missing file for distcheck
Augustin Degomme [Mon, 16 Jun 2014 17:40:24 +0000 (19:40 +0200)]
add missing file for distcheck

9 years agoignore sigpipes (as tesh.c used to do)
Augustin Degomme [Mon, 16 Jun 2014 14:39:28 +0000 (16:39 +0200)]
ignore sigpipes (as tesh.c used to do)

9 years ago[mc] Remove useless parameters in compare_local_variables
Gabriel Corona [Mon, 16 Jun 2014 14:10:26 +0000 (16:10 +0200)]
[mc] Remove useless parameters in compare_local_variables

9 years ago[mc] Group MC_ignore_global_variable("mc_diff_info"); its fiends
Gabriel Corona [Mon, 16 Jun 2014 13:59:34 +0000 (15:59 +0200)]
[mc] Group MC_ignore_global_variable("mc_diff_info"); its fiends

9 years ago[mc] Remove useless parts in mmalloc_compare_heap, MC_take_snapshot_stacks, snapshot_...
Gabriel Corona [Mon, 16 Jun 2014 13:29:26 +0000 (15:29 +0200)]
[mc] Remove useless parts in mmalloc_compare_heap, MC_take_snapshot_stacks, snapshot_compare

9 years ago[mc] Use process addresses in mc_compare
Gabriel Corona [Mon, 16 Jun 2014 12:50:42 +0000 (14:50 +0200)]
[mc] Use process addresses in mc_compare

This is necessary in order to work work with per-page snapshots.

9 years ago[mc] Partial integration of per-page snapshot address translation (wip)
Gabriel Corona [Fri, 13 Jun 2014 14:03:58 +0000 (16:03 +0200)]
[mc] Partial integration of per-page snapshot address translation (wip)

9 years ago[mc] Simplify s_mc_snapshot_stack
Gabriel Corona [Mon, 16 Jun 2014 11:00:15 +0000 (13:00 +0200)]
[mc] Simplify s_mc_snapshot_stack

Some fields were not used and have been removed:

  * stack_pointer (SP in the snapshot)
  * real_address  (address of the stack)

The first one does not make sense with page-fragmented snapshot.

Simplify the computation of snapshot->stack_sizes[cursor].  The old
computation did not make sense with page fragmented snapshots.

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Mon, 16 Jun 2014 09:35:38 +0000 (11:35 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agoSome boilerplate around IB networking
Stéphane Castelli [Mon, 16 Jun 2014 09:22:37 +0000 (11:22 +0200)]
Some boilerplate around IB networking

9 years agochange symbol name to match one declared in mpif.h
Augustin Degomme [Mon, 16 Jun 2014 09:12:44 +0000 (11:12 +0200)]
change symbol name to match one declared in mpif.h

9 years agoUninstall recently added manpages
Stéphane Castelli [Mon, 16 Jun 2014 08:54:56 +0000 (10:54 +0200)]
Uninstall recently added manpages
Fix typos in documentation

9 years agoRequalify one more test
degomme [Fri, 13 Jun 2014 13:40:28 +0000 (15:40 +0200)]
Requalify one more test

9 years agoRevalidate tesh files
degomme [Fri, 13 Jun 2014 13:05:32 +0000 (15:05 +0200)]
Revalidate tesh files

9 years ago[mc] Update doc for page_store
Gabriel Corona [Fri, 13 Jun 2014 09:17:52 +0000 (11:17 +0200)]
[mc] Update doc for page_store

9 years ago[mc] Page-level sparse snapshot: work-in-progress, working page_store
Gabriel Corona [Tue, 27 May 2014 10:27:47 +0000 (12:27 +0200)]
[mc] Page-level sparse snapshot: work-in-progress, working page_store

Implement page_store which stores immutables/shared/refcounted copies
of memory pages.

9 years ago[mc] In MC_ignore, keep the zeroed data out of the main snapshot
Gabriel Corona [Fri, 13 Jun 2014 12:07:46 +0000 (14:07 +0200)]
[mc] In MC_ignore, keep the zeroed data out of the main snapshot

The previous implementation was zeroing out the snapshot data

   * so that it will be automatically ignored by the state comparator;

   * but not for the first snapshot in order to be able to backtrack
     to the initial state;

In preparation for the per-page snapshoting code, we

  1. zero out on the main memory;
  2. keep the zero-ed bytes out of the main snapshot regions;
  3. restore the zero-ed bytes.

This way the state comparison code and the per-page snapshoting code
do not have to worry about this. Moreover by normalizing, the
"ignored" bytes, we increase the possibility of sharing memory pages
in per-page snapshots.

9 years agoexample simplification and cosmetics
Martin Quinson [Fri, 13 Jun 2014 00:21:40 +0000 (02:21 +0200)]
example simplification and cosmetics

9 years agoIn tesh.pl, with "output display", print contents of array, and not a reference to it.
Arnaud Giersch [Thu, 12 Jun 2014 10:55:10 +0000 (12:55 +0200)]
In tesh.pl, with "output display", print contents of array, and not a reference to it.

9 years agoIncrease size of junk area to 32 KiB in mm_legacy.c.
Arnaud Giersch [Thu, 12 Jun 2014 09:30:31 +0000 (11:30 +0200)]
Increase size of junk area to 32 KiB in mm_legacy.c.

It is apparently needed when running Fortran tests through tesh.pl.

9 years agoMore updates to smpi* manpages.
Arnaud Giersch [Fri, 6 Jun 2014 11:42:36 +0000 (13:42 +0200)]
More updates to smpi* manpages.

9 years agoRpath active for make install on osX
Paul Bédaride [Thu, 12 Jun 2014 13:47:07 +0000 (15:47 +0200)]
Rpath active for make install on osX

9 years agoDoc to install libboost on osX
Paul Bédaride [Thu, 12 Jun 2014 09:28:00 +0000 (11:28 +0200)]
Doc to install libboost on osX

9 years agoadd option to output the right name in smpiff
degomme [Wed, 11 Jun 2014 21:10:05 +0000 (23:10 +0200)]
add option to output the right name in smpiff
it used to compile with the temporary name instead, for example with some NAS

9 years agoNo rpath in libsimgird-java and libsurf-java
Paul Bédaride [Wed, 11 Jun 2014 15:14:36 +0000 (17:14 +0200)]
No rpath in libsimgird-java and libsurf-java

9 years agoNetwork::shareResourcesFull revival
Paul Bédaride [Wed, 11 Jun 2014 13:26:45 +0000 (15:26 +0200)]
Network::shareResourcesFull revival

9 years agoactivate tests using resized and handle some corner cases
degomme [Wed, 11 Jun 2014 13:09:17 +0000 (15:09 +0200)]
activate tests using resized and handle some corner cases

9 years agoImplementation of MPI_Type_create_resized
scastelli [Wed, 11 Jun 2014 06:56:57 +0000 (08:56 +0200)]
Implementation of MPI_Type_create_resized

9 years agoadd missing prototype
degomme [Tue, 10 Jun 2014 23:13:22 +0000 (01:13 +0200)]
add missing prototype

9 years agoWe should'nt allow the use of uncommited datatypes in communications.
scastelli [Tue, 10 Jun 2014 22:44:15 +0000 (00:44 +0200)]
We should'nt allow the use of uncommited datatypes in communications.
Small fix to follow more closely the specs in mpi_type_free

9 years agotorus should provide better results if latency is taken into account ..
degomme [Tue, 10 Jun 2014 13:09:35 +0000 (15:09 +0200)]
torus should provide better results if latency is taken into account ..

9 years agoSmall correction in a manpage
scastelli [Fri, 6 Jun 2014 07:42:56 +0000 (09:42 +0200)]
Small correction in a manpage