degomme [Fri, 16 May 2014 16:20:52 +0000 (18:20 +0200)]
Fix compil without tracing, which was broken multiple times ...
Warning : some tests are broken when tracing is disabled
Paul Bédaride [Fri, 16 May 2014 13:48:07 +0000 (15:48 +0200)]
Revert "Replace xbt_heap by boost::heap::fibonacci_heap"
This reverts commit
fb588fbb8c119a8f04e6d2cb15b663257786ba70.
Paul Bédaride [Fri, 16 May 2014 12:20:54 +0000 (14:20 +0200)]
Replace xbt_heap by boost::heap::fibonacci_heap
Paul Bédaride [Mon, 12 May 2014 11:39:35 +0000 (13:39 +0200)]
Remove unnecessary casts
Paul Bédaride [Mon, 12 May 2014 09:00:41 +0000 (11:00 +0200)]
Unify models apis
Stéphane Castelli [Wed, 14 May 2014 15:49:44 +0000 (17:49 +0200)]
Fix a bug in SMPI that leads to a segfault when one of the request in MPI_StartAll is MPI_REQUEST_NULL
Stéphane Castelli [Wed, 14 May 2014 14:39:42 +0000 (16:39 +0200)]
Fat trees may actually be used
Stéphane Castelli [Tue, 13 May 2014 14:41:57 +0000 (16:41 +0200)]
Add a routing for fat trees
Augustin Degomme [Tue, 13 May 2014 18:56:10 +0000 (20:56 +0200)]
third time's the charm ?
Stéphane Castelli [Tue, 13 May 2014 12:56:59 +0000 (14:56 +0200)]
The tag cluster accepts the topology fat_tree
Stéphane Castelli [Tue, 13 May 2014 08:53:37 +0000 (10:53 +0200)]
Add a function returning an instance of fat tree
suter [Tue, 13 May 2014 07:24:58 +0000 (09:24 +0200)]
merge Fred and Henri description of the same stuff
Henri Casanova [Mon, 12 May 2014 19:30:55 +0000 (09:30 -1000)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Henri Casanova [Mon, 12 May 2014 19:30:23 +0000 (09:30 -1000)]
Added documentation of the --cfg="smpi/simulation_computation" feature of mpirun
Luka Stanisic [Mon, 12 May 2014 16:43:51 +0000 (18:43 +0200)]
updating ignore patterns-list should be complete now
suter [Mon, 12 May 2014 12:44:51 +0000 (14:44 +0200)]
document the smpi/simulation_computation option and list it in the
index (with the one on privatization too)
Arnaud Giersch [Fri, 9 May 2014 13:01:42 +0000 (15:01 +0200)]
Set return value.
Arnaud Giersch [Fri, 9 May 2014 12:15:22 +0000 (14:15 +0200)]
Don't try to kill non-existing process (*process == NULL).
Arnaud Giersch [Fri, 9 May 2014 12:09:41 +0000 (14:09 +0200)]
Fix dead assignments.
That's when a value stored in a variable is never used.
Arnaud Giersch [Fri, 9 May 2014 11:11:38 +0000 (13:11 +0200)]
Add check for error.
Arnaud Giersch [Fri, 9 May 2014 11:10:53 +0000 (13:10 +0200)]
Fix warning about duplicate typedef.
Stéphane Castelli [Mon, 12 May 2014 07:07:35 +0000 (09:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Mon, 12 May 2014 07:06:55 +0000 (09:06 +0200)]
Fix use of wrong variable
Henri Casanova [Fri, 9 May 2014 01:17:37 +0000 (15:17 -1000)]
Added a --cfg="smpi/simulation_computation" to smpirun. The default
value is "yes", meaning that SMPI will benchmark computational parts
of the simulation application and simulate them using smpi_execute(), as
it's always been done in the past.
Disabling the simulation of computation is useful when smpirunning an "application"
that is in fact doing a "live replay" of another MPI app (e.g., ScalaTrace's replay tool, various on-line simulators that run an app at scale). In this case the computation due to the replay logic
should be be simulated by SMPI.
For the time being, for smpirunning such an "application", the approach is:
1. use --cfg="smpi/simulation_computation:no"
2. add calls to smpi_execute() in the "application"
Henri Casanova [Thu, 8 May 2014 20:12:11 +0000 (10:12 -1000)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Henri Casanova [Thu, 8 May 2014 20:10:44 +0000 (10:10 -1000)]
Rewrote smpi_sleep() and smpi_usleep() so that:
1. the code is not duplicated but shared in a static private function
2. sleeping is done via an actual simcall_process_sleep rather than a bogus computation
Augmented SMPI tracing to allow tracing of sleep events
suter [Thu, 8 May 2014 20:10:02 +0000 (22:10 +0200)]
forgot a comma ...
suter [Thu, 8 May 2014 19:36:00 +0000 (21:36 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
suter [Thu, 8 May 2014 19:35:43 +0000 (21:35 +0200)]
add color for "test", not sure it's mandatory, but it won't hurt
Martin Quinson [Thu, 8 May 2014 10:41:38 +0000 (12:41 +0200)]
update the ignore patterns after the recent source reorganizations
Martin Quinson [Thu, 8 May 2014 08:44:11 +0000 (10:44 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Henri Casanova [Thu, 8 May 2014 03:09:38 +0000 (17:09 -1000)]
Modified smpi_sleep() so that it returns 0, instead of the number of seconds
it was passed in (not that people check that return value much, but...)
Henri Casanova [Thu, 8 May 2014 03:07:13 +0000 (17:07 -1000)]
Added a smpi_usleep function and usleep -> smpi_usleep macro
suter [Wed, 7 May 2014 23:53:18 +0000 (01:53 +0200)]
Modify one of the replay examples to use the 'test' action. the test on
process of rank 1 fails (send not posted yet) while that on process of
rank 2 succeeds (the wait then becomes a noop action)
suter [Wed, 7 May 2014 23:49:13 +0000 (01:49 +0200)]
add support of MPI_Test in smpi_replay and TRACING-TI
Augustin Degomme [Wed, 7 May 2014 14:46:39 +0000 (16:46 +0200)]
document smpi global variable privatization
Stéphane Castelli [Wed, 7 May 2014 14:17:50 +0000 (16:17 +0200)]
Fix warning introduced by previous commit
Stéphane Castelli [Wed, 7 May 2014 13:38:08 +0000 (15:38 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Wed, 7 May 2014 13:24:34 +0000 (15:24 +0200)]
Completion of the routing for fat trees
Stéphane Castelli [Wed, 7 May 2014 11:54:04 +0000 (13:54 +0200)]
Add some routing for the fat trees
Unsign some ints
Augustin Degomme [Wed, 7 May 2014 09:26:54 +0000 (11:26 +0200)]
remove file introduced in
4a8e5b1e8
Augustin Degomme [Wed, 7 May 2014 09:25:08 +0000 (11:25 +0200)]
Changelog update
Paul Bédaride [Wed, 7 May 2014 09:24:57 +0000 (11:24 +0200)]
Fix leak in process_join
suter [Wed, 7 May 2014 02:10:06 +0000 (04:10 +0200)]
better to add this file ...
suter [Wed, 7 May 2014 01:37:52 +0000 (03:37 +0200)]
properly add a smpicxx "compiler"
suter [Wed, 7 May 2014 01:09:51 +0000 (03:09 +0200)]
allow MPI codes to use timezone in their gettimeofday (but we replace it
to NULL anyway). The previous macro prevented the compilation of some
code.
Henri Casanova [Tue, 6 May 2014 23:09:23 +0000 (13:09 -1000)]
Added a definition of MPI_File (MPI-IO) to allow smpicc to compile code that declare MPI_File variables.
Arnaud Giersch [Tue, 6 May 2014 13:50:23 +0000 (15:50 +0200)]
Some updates in ChangeLog.
Augustin Degomme [Tue, 6 May 2014 16:09:39 +0000 (18:09 +0200)]
have barrier_wait return XBT/MSG_BARRIER_SERIAL_PROCESS for one process
Also have it reset the counter when barrier is completed, to allow reuse
Augustin Degomme [Tue, 6 May 2014 15:25:13 +0000 (17:25 +0200)]
fix teshes
Augustin Degomme [Tue, 6 May 2014 14:58:09 +0000 (16:58 +0200)]
actually change the value as said in previous commit
Augustin Degomme [Tue, 6 May 2014 14:55:59 +0000 (16:55 +0200)]
change default value of maxmin/precision to 1e-3 for smpi. Fix bug [#17132]
The default one was uselessly low, since the actual computation precision is now surf/precision.
This lead to some bug on 64 bit systems when comparing large values (>1M) with insanely high precision (1e-9).
Augustin Degomme [Tue, 6 May 2014 13:46:21 +0000 (15:46 +0200)]
requalify tesh to account for new finalize
Augustin Degomme [Tue, 6 May 2014 13:41:53 +0000 (15:41 +0200)]
Use the xbt barrier to finalize smpi processes cleanly.
This removes the MPI_Barrier that was used before, which might have caused problems in some cases
Augustin Degomme [Tue, 6 May 2014 13:31:00 +0000 (15:31 +0200)]
add msg and xbt versions of barrier.
MSG/xbt_barrier_init(unsigned int count) creates the barrier object for all processes
MSG/xbt_barrier_wait(msg/xbt_bar_t bar) waits on it
MSG/xbt_barrier_destroy(msg/xbt_bar_t bar) deletes the object (only one process should call it)
Augustin Degomme [Mon, 5 May 2014 13:49:43 +0000 (15:49 +0200)]
typo --
Augustin Degomme [Mon, 5 May 2014 12:43:15 +0000 (14:43 +0200)]
typo --
Augustin Degomme [Mon, 5 May 2014 12:11:37 +0000 (14:11 +0200)]
add MSG_get_as_by_name call, answering [#17311]
Paul Bédaride [Tue, 6 May 2014 13:23:50 +0000 (15:23 +0200)]
Fix tesh-simdag-flatifier
Paul Bédaride [Tue, 6 May 2014 12:13:26 +0000 (14:13 +0200)]
Update changelog
Paul Bédaride [Tue, 6 May 2014 09:07:44 +0000 (11:07 +0200)]
Reorganize AddTests.cmake
Stéphane Castelli [Tue, 6 May 2014 09:05:52 +0000 (11:05 +0200)]
Corrections to fat trees, set the size of connection vectors right
Stéphane Castelli [Mon, 5 May 2014 15:10:55 +0000 (17:10 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Mon, 5 May 2014 15:10:20 +0000 (17:10 +0200)]
Rewrite of the fat trees implementation
Arnaud Giersch [Mon, 5 May 2014 12:17:31 +0000 (14:17 +0200)]
There was too much levels of backslash escapes. Remove one of them.
It seems that it changed with commit 782233, when the add_test statements
were changed from add_test(testname exe arg...) to
add_test(NAME testname COMMAND exe arg...).
This broke test memcheck-smpi-replay-9.
Arnaud Giersch [Mon, 5 May 2014 12:15:12 +0000 (14:15 +0200)]
Don't use xbt_assert for error checking, it may be disabled.
Arnaud Giersch [Mon, 5 May 2014 11:43:46 +0000 (13:43 +0200)]
Specify dependencies between memcheck tests.
Allows to run memcheck tests in parallel with e.g.
ctest -D ExperimentalMemCheck -j 8
Arnaud Giersch [Mon, 5 May 2014 09:40:20 +0000 (11:40 +0200)]
Remove useless script (replaced by cmake macro ADD_TESH_FACTORIES).
Arnaud Giersch [Mon, 5 May 2014 09:35:33 +0000 (11:35 +0200)]
Move tests so that the real binary is tested by valgrind, and not the tesh tool.
Arnaud Giersch [Mon, 5 May 2014 09:09:38 +0000 (11:09 +0200)]
Remove last references to the now obsolete testsuite/ directory.
Paul Bédaride [Mon, 5 May 2014 11:38:04 +0000 (13:38 +0200)]
Restructure teshsuite smpi
Paul Bédaride [Wed, 30 Apr 2014 12:45:43 +0000 (14:45 +0200)]
Restructure teshsuite simdag
Paul Bédaride [Wed, 30 Apr 2014 09:57:55 +0000 (11:57 +0200)]
Restructure teshsuite simix
Paul Bédaride [Wed, 30 Apr 2014 09:09:23 +0000 (11:09 +0200)]
Restructure teshsuite xbt
Marion Guthmuller [Tue, 29 Apr 2014 19:29:27 +0000 (21:29 +0200)]
model-checker : restore previous version of smpi_finalize if MC is enabled
Marion Guthmuller [Tue, 29 Apr 2014 15:21:59 +0000 (17:21 +0200)]
model-checker : deal with the soundness of DPOR only if DPOR is enabled
Marion Guthmuller [Tue, 29 Apr 2014 15:03:09 +0000 (17:03 +0200)]
model-checker : fix the detection of determinism
Paul Bédaride [Tue, 29 Apr 2014 15:41:30 +0000 (17:41 +0200)]
Remove absolute path from xbt-log tesh
Paul Bédaride [Tue, 29 Apr 2014 15:29:58 +0000 (17:29 +0200)]
Add teshfiles to CMakelists.txt of teshsuite/mc
Augustin Degomme [Tue, 29 Apr 2014 14:44:10 +0000 (16:44 +0200)]
permission change
Paul Bédaride [Tue, 29 Apr 2014 14:52:31 +0000 (16:52 +0200)]
Fix memcheck with new Add_test macros
Augustin Degomme [Tue, 29 Apr 2014 14:12:36 +0000 (16:12 +0200)]
add script for jenkins DynamicAnalysis build (memcheck+coverage)
Augustin Degomme [Tue, 29 Apr 2014 13:39:43 +0000 (15:39 +0200)]
add enable_memcheck_xml flag, to output valgrind in xml format (necessary for jenkins).
This triggers enable_memcheck if not provided.
Paul Bédaride [Tue, 29 Apr 2014 11:18:53 +0000 (13:18 +0200)]
Fix DefinePackage mc CMakeLists.txt
Paul Bédaride [Tue, 29 Apr 2014 11:05:43 +0000 (13:05 +0200)]
Fix teshsuite/surf/sur_usage/CMakeList.txt
Paul Bédaride [Tue, 29 Apr 2014 09:04:25 +0000 (11:04 +0200)]
Move mc testsuite to teshsuite
Paul Bédaride [Tue, 29 Apr 2014 08:15:47 +0000 (10:15 +0200)]
Move xbt testsuite to teshsuite
Paul Bédaride [Mon, 28 Apr 2014 15:35:42 +0000 (17:35 +0200)]
Remove simeng_usage.tesh (not used)
Paul Bédaride [Mon, 28 Apr 2014 15:31:50 +0000 (17:31 +0200)]
Move surf testsuite to teshsuite
Arnaud Giersch [Mon, 28 Apr 2014 22:10:00 +0000 (00:10 +0200)]
Remove redundant test.
Arnaud Giersch [Fri, 25 Apr 2014 13:25:01 +0000 (15:25 +0200)]
Sort file lists.
Arnaud Giersch [Fri, 25 Apr 2014 12:54:18 +0000 (14:54 +0200)]
Remove stale temp file.
Arnaud Giersch [Fri, 25 Apr 2014 12:47:45 +0000 (14:47 +0200)]
Fix some javadoc warnings (remains 2).
Paul Bédaride [Mon, 28 Apr 2014 13:05:00 +0000 (15:05 +0200)]
New ADD_TESH and ADD_TESH_FACTORIES cmake macros
Augustin Degomme [Mon, 28 Apr 2014 10:11:54 +0000 (12:11 +0200)]
fix path to deployment fil in tesh example
Augustin Degomme [Mon, 28 Apr 2014 08:35:51 +0000 (10:35 +0200)]
leak --
Paul Bédaride [Mon, 28 Apr 2014 08:00:02 +0000 (10:00 +0200)]
Add missing CMakeLists.txt
Paul Bédaride [Fri, 25 Apr 2014 16:06:29 +0000 (18:06 +0200)]
Reorganize teshsuite/msg
Augustin Degomme [Fri, 25 Apr 2014 14:57:12 +0000 (16:57 +0200)]
Add an example of use of the previous interface.
This is based on the masterslave_mailbox example for MSG, but adds two instances of MPI application:
one doing a simple send/recv, the other performing an alltoall.
Augustin Degomme [Fri, 25 Apr 2014 14:04:55 +0000 (16:04 +0200)]
Force valgrind to output in XML.
This will break cdash use, but enable jenkins parsing and displaying of the reports. Hopefully.