Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agomodel-checker : unused variable
Marion Guthmuller [Thu, 23 Apr 2015 12:31:42 +0000 (14:31 +0200)]
model-checker : unused variable

8 years agomodel-checker : uninitialized variables
Marion Guthmuller [Thu, 23 Apr 2015 12:28:40 +0000 (14:28 +0200)]
model-checker : uninitialized variables

8 years agomodel-checker : missing header
Marion Guthmuller [Thu, 23 Apr 2015 12:23:24 +0000 (14:23 +0200)]
model-checker : missing header

8 years agomodel-checker : really fix mc dependancies with MC ON or OFF
Marion Guthmuller [Thu, 23 Apr 2015 11:44:17 +0000 (13:44 +0200)]
model-checker : really fix mc dependancies with MC ON or OFF

8 years agomodel-checker : fix dependancies without MC
Marion Guthmuller [Thu, 23 Apr 2015 11:07:41 +0000 (13:07 +0200)]
model-checker : fix dependancies without MC

9 years agoMerge branch 'master' into mc-process
Gabriel Corona [Tue, 14 Apr 2015 12:35:08 +0000 (14:35 +0200)]
Merge branch 'master' into mc-process

9 years agoMerge branch 'master' into mc-process
Gabriel Corona [Tue, 14 Apr 2015 12:02:51 +0000 (14:02 +0200)]
Merge branch 'master' into mc-process

Conflicts:
teshsuite/mc/replay/random_bug.c

9 years ago[mc] Fix comm_determinism to work in split MCer/MCed
Gabriel Corona [Mon, 13 Apr 2015 09:48:49 +0000 (11:48 +0200)]
[mc] Fix comm_determinism to work in split MCer/MCed

9 years agoElaborated on error messages in src/msg/msg_process.c
Christian Heinrich [Thu, 26 Mar 2015 12:51:33 +0000 (13:51 +0100)]
Elaborated on error messages in src/msg/msg_process.c

- 'Invalid parameter' error message now also shows the reason
  why it's invalid: Because it must not be NULL.

9 years ago[mc] Fix MCed event/message loop
Gabriel Corona [Fri, 10 Apr 2015 14:00:55 +0000 (16:00 +0200)]
[mc] Fix MCed event/message loop

9 years ago[mc] Kill the MCed process if/when the MCer dies
Gabriel Corona [Fri, 10 Apr 2015 10:15:27 +0000 (12:15 +0200)]
[mc] Kill the MCed process if/when the MCer dies

9 years ago[mc] DRY MC_do_the_modelcheck_for_real()
Gabriel Corona [Thu, 9 Apr 2015 12:01:37 +0000 (14:01 +0200)]
[mc] DRY MC_do_the_modelcheck_for_real()

9 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 9 Apr 2015 19:19:19 +0000 (21:19 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

9 years agotiny doc improvement
Martin Quinson [Thu, 9 Apr 2015 19:19:12 +0000 (21:19 +0200)]
tiny doc improvement

9 years agoprovide placeholder headers to not disturb the users
Martin Quinson [Thu, 9 Apr 2015 19:18:49 +0000 (21:18 +0200)]
provide placeholder headers to not disturb the users

9 years ago[mc] Move comm determinism code in mc_comm_determinism.c
Gabriel Corona [Thu, 9 Apr 2015 11:50:46 +0000 (13:50 +0200)]
[mc] Move comm determinism code in mc_comm_determinism.c

9 years ago[mc] Move liveness in MCer process
Gabriel Corona [Tue, 7 Apr 2015 10:59:10 +0000 (12:59 +0200)]
[mc] Move liveness in MCer process

9 years agoSMPI: Fixed wrong value for MPI_ERR_LASTCODE.
Christian Heinrich [Wed, 8 Apr 2015 18:15:58 +0000 (20:15 +0200)]
SMPI: Fixed wrong value for MPI_ERR_LASTCODE.

This patch was submitted by Samuel Thibault. Thanks!

9 years agoSMPI: More errorclasses: Added all errorclasses from MPI-3.0
Christian Heinrich [Wed, 8 Apr 2015 17:47:59 +0000 (19:47 +0200)]
SMPI: More errorclasses: Added all errorclasses from MPI-3.0

- All classes as shown in
  http://www.mpi-forum.org/docs/mpi-3.0/mpi30-report.pdf on page 662/663
  are now available.

9 years agoThis tesh file was actually wrong. This is fixed by the modifications induced by...
Arnaud Legrand [Wed, 8 Apr 2015 16:11:33 +0000 (18:11 +0200)]
This tesh file was actually wrong. This is fixed by the modifications induced by exception/exception

9 years agodocument this test as broken
Arnaud Legrand [Wed, 8 Apr 2015 16:06:58 +0000 (18:06 +0200)]
document this test as broken

9 years agoCosmetics
Arnaud Legrand [Wed, 8 Apr 2015 15:57:59 +0000 (17:57 +0200)]
Cosmetics

9 years agoIntegrate this exception example to the standard set of tests.
Arnaud Legrand [Wed, 8 Apr 2015 14:19:08 +0000 (16:19 +0200)]
Integrate this exception example to the standard set of tests.

9 years agoMaking the exception/exception test work:
Arnaud Legrand [Wed, 8 Apr 2015 13:06:44 +0000 (15:06 +0200)]
Making the exception/exception test work:

  Always putting the process in the process_to_run list is bad.
  Indeed, when canceling tasks (e.g., with SIMIX_host_execution_cancel),
  the action will be cancelled and the corresponding process will be
  run again when the action is popped from the list. This leads to very
  surprising behavior since the action is only popped way after, generally
  after calling surf_solve.... This is why the fix has two parts:
  1) Do not put in the process_to_run list when canceling the action
  2) Once all process have been run, pop the surf actions in case some have been modified

9 years agoAdding debug messages
Arnaud Legrand [Wed, 8 Apr 2015 13:01:07 +0000 (15:01 +0200)]
Adding debug messages

9 years agoMake a more complex example that tests more combinations of calls/exceptions
Arnaud Legrand [Wed, 8 Apr 2015 12:58:32 +0000 (14:58 +0200)]
Make a more complex example that tests more combinations of calls/exceptions

9 years agoMerge before commiting VM changes - Adrien
Adrien Lebre [Wed, 8 Apr 2015 11:27:25 +0000 (13:27 +0200)]
Merge before commiting VM changes - Adrien

9 years agoAdd hosts test before migrating a VM - adrien
Adrien Lebre [Wed, 8 Apr 2015 09:24:38 +0000 (11:24 +0200)]
Add hosts test before migrating a VM - adrien

9 years ago[mc] Cleanup safety initialisation code
Gabriel Corona [Tue, 7 Apr 2015 09:12:51 +0000 (11:12 +0200)]
[mc] Cleanup safety initialisation code

9 years ago[mc] Cross-process xbt_swag_size(simix_global->process_list)
Gabriel Corona [Tue, 7 Apr 2015 08:56:13 +0000 (10:56 +0200)]
[mc] Cross-process xbt_swag_size(simix_global->process_list)

9 years ago[mc] Fix safety initialisation code
Gabriel Corona [Tue, 7 Apr 2015 08:48:23 +0000 (10:48 +0200)]
[mc] Fix safety initialisation code

9 years agoimprove Java interface
Martin Quinson [Sun, 5 Apr 2015 17:35:55 +0000 (19:35 +0200)]
improve Java interface

- Rewrite some javadoc comments
- Reduce the visibility of fields that are not public

9 years agokill unused code: Task.get/setId()
Martin Quinson [Sun, 5 Apr 2015 16:58:56 +0000 (18:58 +0200)]
kill unused code: Task.get/setId()

9 years agoreindent the java sources
Martin Quinson [Sun, 5 Apr 2015 16:53:03 +0000 (18:53 +0200)]
reindent the java sources

9 years agoRename Task.setDataSize() to Task.setBytesAmount()
Martin Quinson [Sun, 5 Apr 2015 13:53:18 +0000 (15:53 +0200)]
Rename Task.setDataSize() to Task.setBytesAmount()

9 years agoInterface cleanup
Martin Quinson [Sun, 5 Apr 2015 13:32:33 +0000 (15:32 +0200)]
Interface cleanup

Merge Task.getRemainingDuration() and Task.getComputeDuration() into
Task.getFlopsAmount() in both C and Java (lua not done yet)

9 years agoadd the path to jni.h to eclipse config
Martin Quinson [Sun, 5 Apr 2015 13:31:46 +0000 (15:31 +0200)]
add the path to jni.h to eclipse config

9 years agorename parameters to make them unanbigous
Martin Quinson [Sun, 5 Apr 2015 10:17:44 +0000 (12:17 +0200)]
rename parameters to make them unanbigous

9 years agomv msg/msg.h simgrid/msg.h
Martin Quinson [Sat, 4 Apr 2015 20:24:23 +0000 (22:24 +0200)]
mv msg/msg.h simgrid/msg.h

9 years agomv simdag/simdag.h simgrid/simdag.h
Martin Quinson [Sat, 4 Apr 2015 18:14:04 +0000 (20:14 +0200)]
mv simdag/simdag.h simgrid/simdag.h

9 years agocleanups and simplifications to our build system
Martin Quinson [Sat, 4 Apr 2015 16:41:08 +0000 (18:41 +0200)]
cleanups and simplifications to our build system

- It is now impossible to turn TRACING off at compile time
- Some headers were moved around

9 years agorename parameters all around to make their meaning unambiguous
Martin Quinson [Sat, 4 Apr 2015 15:15:31 +0000 (17:15 +0200)]
rename parameters all around to make their meaning unambiguous

9 years agorevalidate teshes
Martin Quinson [Sat, 4 Apr 2015 14:28:11 +0000 (16:28 +0200)]
revalidate teshes

9 years agoRename Process.currentProcess() to Process.getCurrentProcess()
Martin Quinson [Sat, 4 Apr 2015 14:24:13 +0000 (16:24 +0200)]
Rename Process.currentProcess() to Process.getCurrentProcess()

9 years agocosmetics about excluded tests to ease the writing of reporting scripts
Martin Quinson [Sat, 4 Apr 2015 12:57:28 +0000 (14:57 +0200)]
cosmetics about excluded tests to ease the writing of reporting scripts

9 years agono need for that include
Martin Quinson [Sat, 4 Apr 2015 12:56:56 +0000 (14:56 +0200)]
no need for that include

9 years agodont segfault when exiting before everything is allocated (as on parse errors)
Martin Quinson [Sat, 4 Apr 2015 12:56:03 +0000 (14:56 +0200)]
dont segfault when exiting before everything is allocated (as on parse errors)

9 years agodont mangle error messages when surf_exit segfaults
Martin Quinson [Sat, 4 Apr 2015 12:55:19 +0000 (14:55 +0200)]
dont mangle error messages when surf_exit segfaults

9 years ago[mc] Add %rip and %rsp in MC_dump_stacks() for x86_64
Gabriel Corona [Fri, 3 Apr 2015 11:25:01 +0000 (13:25 +0200)]
[mc] Add %rip and %rsp in MC_dump_stacks() for x86_64

We'd something better to debug ucontexts.

9 years ago[mc] Fix cross process access to xtd_heap in mc_diff.c
Gabriel Corona [Thu, 2 Apr 2015 12:25:18 +0000 (14:25 +0200)]
[mc] Fix cross process access to xtd_heap in mc_diff.c

9 years ago[mc] Fix broken mc_snapshot_get_heap_end()
Gabriel Corona [Thu, 2 Apr 2015 11:39:56 +0000 (13:39 +0200)]
[mc] Fix broken mc_snapshot_get_heap_end()

9 years ago[mc] Bring back snapshot comparison in safety
Gabriel Corona [Thu, 2 Apr 2015 11:28:35 +0000 (13:28 +0200)]
[mc] Bring back snapshot comparison in safety

9 years ago[mc] Fix cross-process access in MC_request_is_enabled() for SIMCALL_MUTEX_LOCK
Gabriel Corona [Fri, 27 Mar 2015 13:11:20 +0000 (14:11 +0100)]
[mc] Fix cross-process access in MC_request_is_enabled() for SIMCALL_MUTEX_LOCK

9 years ago[mc] Fix cross-process support in visited_state_new()
Gabriel Corona [Fri, 27 Mar 2015 11:11:33 +0000 (12:11 +0100)]
[mc] Fix cross-process support in visited_state_new()

9 years ago[mc] Read context from remote process in MC_take_snapshot_stacks()
Gabriel Corona [Fri, 27 Mar 2015 10:44:50 +0000 (11:44 +0100)]
[mc] Read context from remote process in MC_take_snapshot_stacks()

9 years ago[mc] Cross-process MC/safety implementation
Gabriel Corona [Mon, 23 Feb 2015 12:40:14 +0000 (13:40 +0100)]
[mc] Cross-process MC/safety implementation

9 years ago[mc] Fix buffer size in MC_process_refresh_malloc_info()
Gabriel Corona [Thu, 26 Mar 2015 12:30:20 +0000 (13:30 +0100)]
[mc] Fix buffer size in MC_process_refresh_malloc_info()

malloc_info[heaplimit] is a valid value

9 years ago[mc] Fix MC_process_read_dynar_element
Gabriel Corona [Thu, 26 Mar 2015 10:30:22 +0000 (11:30 +0100)]
[mc] Fix MC_process_read_dynar_element

 * Add a length parameter and check it against dynar->elmsize;
 * Check out of bound access;
 * Fix the callers.

9 years ago[mc] Fix: MC_random always starts from 0
Gabriel Corona [Tue, 24 Mar 2015 12:11:20 +0000 (13:11 +0100)]
[mc] Fix: MC_random always starts from 0

9 years ago[mc] Fix Remote remote access to simix_process_maxpid
Gabriel Corona [Mon, 23 Mar 2015 12:47:08 +0000 (13:47 +0100)]
[mc] Fix Remote remote access to simix_process_maxpid

9 years ago[mc] Resolve process in MC_request_is_enabled()
Gabriel Corona [Mon, 23 Mar 2015 10:48:33 +0000 (11:48 +0100)]
[mc] Resolve process in MC_request_is_enabled()

9 years ago[mc] Remote xbt_dynar_foreach() in MC_request_testany_fail()
Gabriel Corona [Mon, 23 Mar 2015 09:49:17 +0000 (10:49 +0100)]
[mc] Remote xbt_dynar_foreach() in MC_request_testany_fail()

9 years ago[mc] Read from MCed
Gabriel Corona [Fri, 20 Mar 2015 12:01:30 +0000 (13:01 +0100)]
[mc] Read from MCed

9 years ago[mc] Use MC_process_read_string() in MC_smx_process_get_name() (DRY)
Gabriel Corona [Fri, 20 Mar 2015 10:56:17 +0000 (11:56 +0100)]
[mc] Use MC_process_read_string() in MC_smx_process_get_name() (DRY)

9 years ago[mc] Remove FIXMEs
Gabriel Corona [Fri, 20 Mar 2015 10:40:50 +0000 (11:40 +0100)]
[mc] Remove FIXMEs

9 years ago[mc] Do not take NULL to mean 'the current address space' in dwarf expressions
Gabriel Corona [Fri, 20 Mar 2015 10:09:00 +0000 (11:09 +0100)]
[mc] Do not take NULL to mean 'the current address space' in dwarf expressions

9 years ago[mc] Read rdv->name from MCed in mc_comm_determinism.c
Gabriel Corona [Thu, 19 Mar 2015 13:04:47 +0000 (14:04 +0100)]
[mc] Read rdv->name from MCed in mc_comm_determinism.c

9 years ago[mc] Read MPI_Request from MCed in mc_comm_determinism.c
Gabriel Corona [Thu, 19 Mar 2015 12:51:36 +0000 (13:51 +0100)]
[mc] Read MPI_Request from MCed in mc_comm_determinism.c

9 years ago[mc] Read *pattern->comm from MCed in mc_comm_dterminism.c
Gabriel Corona [Thu, 19 Mar 2015 12:35:39 +0000 (13:35 +0100)]
[mc] Read *pattern->comm from MCed in mc_comm_dterminism.c

9 years ago[mc] Read *comm->comm.src_buff from MCed
Gabriel Corona [Thu, 19 Mar 2015 11:43:07 +0000 (12:43 +0100)]
[mc] Read *comm->comm.src_buff from MCed

9 years ago[mc] Read smpi_loaded_page from MCed in MC_process_init()
Gabriel Corona [Tue, 17 Mar 2015 14:31:08 +0000 (15:31 +0100)]
[mc] Read smpi_loaded_page from MCed in MC_process_init()

9 years ago[mc] Check variable size in MC_process_read_variable()
Gabriel Corona [Tue, 17 Mar 2015 14:12:13 +0000 (15:12 +0100)]
[mc] Check variable size in MC_process_read_variable()

9 years ago[mc] Read smpi_privatisation_regions from MCed in MC_region_new_privatized()
Gabriel Corona [Tue, 17 Mar 2015 14:07:43 +0000 (15:07 +0100)]
[mc] Read smpi_privatisation_regions from MCed in MC_region_new_privatized()

9 years ago[mc] mc_checkpoint.c, remove some TODOs
Gabriel Corona [Tue, 17 Mar 2015 13:39:09 +0000 (14:39 +0100)]
[mc] mc_checkpoint.c, remove some TODOs

9 years ago[smpi] Move start_data_exe and size_data_exe in the smpi_ namespace
Gabriel Corona [Tue, 17 Mar 2015 13:06:13 +0000 (14:06 +0100)]
[smpi] Move start_data_exe and size_data_exe in the smpi_ namespace

9 years ago[mc] Read smpi_process_count() from remote process
Gabriel Corona [Mon, 16 Mar 2015 13:45:56 +0000 (14:45 +0100)]
[mc] Read smpi_process_count() from remote process

9 years ago[mc] Read from remote process in MC_wait_for_requests()
Gabriel Corona [Mon, 16 Mar 2015 12:45:20 +0000 (13:45 +0100)]
[mc] Read from remote process in MC_wait_for_requests()

9 years ago[mc] Read from remote process in MC_request_get_dot_output()
Gabriel Corona [Mon, 16 Mar 2015 11:30:34 +0000 (12:30 +0100)]
[mc] Read from remote process in MC_request_get_dot_output()

9 years ago[mc] Read from remote process in MC_request_is_enabled_by_idx()
Gabriel Corona [Mon, 16 Mar 2015 10:57:52 +0000 (11:57 +0100)]
[mc] Read from remote process in MC_request_is_enabled_by_idx()

9 years ago[mc] Read from remote process in MC_request_to_string()
Gabriel Corona [Fri, 13 Mar 2015 15:01:44 +0000 (16:01 +0100)]
[mc] Read from remote process in MC_request_to_string()

9 years ago[mc] Avoid useless malloc
Gabriel Corona [Fri, 13 Mar 2015 13:34:42 +0000 (14:34 +0100)]
[mc] Avoid useless malloc

9 years ago[mc] Cross process access to simcall synchro
Gabriel Corona [Fri, 13 Mar 2015 13:04:44 +0000 (14:04 +0100)]
[mc] Cross process access to simcall synchro

9 years ago[mc] Fix namespace for transition pattern code
Gabriel Corona [Fri, 13 Mar 2015 11:51:50 +0000 (12:51 +0100)]
[mc] Fix namespace for transition pattern code

and move to the relevant source file.

9 years ago[mc] mc_comm_pattern.c containing all communication pattern functions
Gabriel Corona [Fri, 13 Mar 2015 11:13:55 +0000 (12:13 +0100)]
[mc] mc_comm_pattern.c containing all communication pattern functions

9 years ago[mc] MCed memory access in MC_state_get_request()
Gabriel Corona [Thu, 12 Mar 2015 15:02:18 +0000 (16:02 +0100)]
[mc] MCed memory access in MC_state_get_request()

9 years ago[mc] Remote support for filling state->internal_comm
Gabriel Corona [Thu, 12 Mar 2015 13:42:21 +0000 (14:42 +0100)]
[mc] Remote support for filling state->internal_comm

9 years ago[mc] Fetch simix_process_maxpid from MCed
Gabriel Corona [Thu, 12 Mar 2015 12:37:55 +0000 (13:37 +0100)]
[mc] Fetch simix_process_maxpid from MCed

9 years ago[mc] Simplify nesting of MC_state_get_request
Gabriel Corona [Thu, 12 Mar 2015 10:07:26 +0000 (11:07 +0100)]
[mc] Simplify nesting of MC_state_get_request

9 years agoMerge branch 'master' into mc-process
Gabriel Corona [Tue, 10 Mar 2015 11:13:14 +0000 (12:13 +0100)]
Merge branch 'master' into mc-process

Conflicts:
examples/smpi/mc/non_deterministic.tesh
examples/smpi/mc/only_send_deterministic.tesh
src/include/mc/mc.h
src/mc/mc_base.c
src/mc/mc_comm_determinism.c
src/mc/mc_config.c
src/mc/mc_global.c
src/mc/mc_page_snapshot.cpp
src/mc/mc_request.c

9 years ago[mc] Add more smx_process_t MCer/MCed translations
Gabriel Corona [Tue, 10 Mar 2015 10:10:52 +0000 (11:10 +0100)]
[mc] Add more smx_process_t MCer/MCed translations

9 years ago[mc] Remote access to process name
Gabriel Corona [Mon, 2 Mar 2015 09:58:22 +0000 (10:58 +0100)]
[mc] Remote access to process name

9 years ago[mc] Read host name from remote process
Gabriel Corona [Fri, 27 Feb 2015 10:58:55 +0000 (11:58 +0100)]
[mc] Read host name from remote process

9 years ago[mc] Cross-process access to smx_process and simcall
Gabriel Corona [Mon, 23 Feb 2015 15:08:17 +0000 (16:08 +0100)]
[mc] Cross-process access to smx_process and simcall

Process and host names are not handled yet.

9 years agoAdd missing copyright notice
Gabriel Corona [Fri, 27 Feb 2015 14:52:29 +0000 (15:52 +0100)]
Add missing copyright notice

9 years agomodel-checker : MUTEX_UNLOCK is invisible for MC
Marion Guthmuller [Thu, 26 Feb 2015 09:22:04 +0000 (10:22 +0100)]
model-checker : MUTEX_UNLOCK is invisible for MC

9 years agomodel-checker : mutex owner may be NULL after UNLOCK
Marion Guthmuller [Thu, 26 Feb 2015 09:15:19 +0000 (10:15 +0100)]
model-checker : mutex owner may be NULL after UNLOCK

9 years agomodel-checker : initialize variable
Marion Guthmuller [Wed, 25 Feb 2015 18:18:10 +0000 (19:18 +0100)]
model-checker : initialize variable

9 years agomodel-checker : clang compliant
Marion Guthmuller [Wed, 25 Feb 2015 18:00:14 +0000 (19:00 +0100)]
model-checker : clang compliant

9 years agomodel-checker : removed tesh forgotten in DefinePackages.cmake
Marion Guthmuller [Wed, 25 Feb 2015 17:42:30 +0000 (18:42 +0100)]
model-checker : removed tesh forgotten in DefinePackages.cmake

9 years agomodel-checker : include MUTEX_LOCK and UNLOCK in dot output
Marion Guthmuller [Wed, 25 Feb 2015 17:37:11 +0000 (18:37 +0100)]
model-checker : include MUTEX_LOCK and UNLOCK in dot output