Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agofix typo
Augustin Degomme [Wed, 15 Nov 2017 19:33:34 +0000 (20:33 +0100)]
fix typo

6 years agoadd TI tracing to RMA calls (all but win_create, win_delete and get_ set_)
Augustin Degomme [Wed, 15 Nov 2017 19:29:58 +0000 (20:29 +0100)]
add TI tracing to RMA calls (all but win_create, win_delete and get_ set_)

6 years agoReduce number of tests; remove fixme..
Arnaud Giersch [Wed, 15 Nov 2017 15:30:27 +0000 (16:30 +0100)]
Reduce number of tests; remove fixme..

6 years agoMerge if statements.
Arnaud Giersch [Wed, 15 Nov 2017 15:25:04 +0000 (16:25 +0100)]
Merge if statements.

6 years agoLittle simplification.
Arnaud Giersch [Tue, 14 Nov 2017 21:51:19 +0000 (22:51 +0100)]
Little simplification.

6 years agoKill dead code.
Arnaud Giersch [Tue, 14 Nov 2017 21:23:42 +0000 (22:23 +0100)]
Kill dead code.

We can use git to retrieve it if needed.

6 years agoMake some functions static in maxmin.cpp.
Arnaud Giersch [Tue, 14 Nov 2017 21:21:44 +0000 (22:21 +0100)]
Make some functions static in maxmin.cpp.

6 years agoUse std::min/std::max instead of MIN/MAX in C++ files.
Arnaud Giersch [Tue, 14 Nov 2017 17:31:24 +0000 (18:31 +0100)]
Use std::min/std::max instead of MIN/MAX in C++ files.

6 years agoUse std::vector for s_lmm_element_t::cnsts.
Arnaud Giersch [Tue, 14 Nov 2017 17:01:35 +0000 (18:01 +0100)]
Use std::vector for s_lmm_element_t::cnsts.

6 years agoAdd parentheses around macro parameters.
Arnaud Giersch [Tue, 14 Nov 2017 16:21:32 +0000 (17:21 +0100)]
Add parentheses around macro parameters.

6 years agoUse new/delete.
Arnaud Giersch [Tue, 14 Nov 2017 14:21:34 +0000 (15:21 +0100)]
Use new/delete.

6 years agoUse a std::vector for saturated_constraint_set.
Arnaud Giersch [Tue, 14 Nov 2017 14:12:22 +0000 (15:12 +0100)]
Use a std::vector for saturated_constraint_set.

6 years agoMove simgrid::xbt::HeapComparator in xbt/utility.hpp.
Arnaud Giersch [Tue, 14 Nov 2017 12:32:09 +0000 (13:32 +0100)]
Move simgrid::xbt::HeapComparator in xbt/utility.hpp.

6 years agoUse boost::heap for simix timers too, and allow proper erasure on timer removal.
Arnaud Giersch [Mon, 13 Nov 2017 21:23:21 +0000 (22:23 +0100)]
Use boost::heap for simix timers too, and allow proper erasure on timer removal.

6 years agoDefine and use utility class to compare pairs in priority queues.
Arnaud Giersch [Mon, 13 Nov 2017 21:08:27 +0000 (22:08 +0100)]
Define and use utility class to compare pairs in priority queues.

6 years agoMissing include.
Arnaud Giersch [Mon, 13 Nov 2017 21:06:29 +0000 (22:06 +0100)]
Missing include.

6 years agoSome files were removed or renamed.
Arnaud Giersch [Mon, 13 Nov 2017 15:02:40 +0000 (16:02 +0100)]
Some files were removed or renamed.

6 years agoSonar wants a class.
Arnaud Giersch [Mon, 13 Nov 2017 14:16:38 +0000 (15:16 +0100)]
Sonar wants a class.

6 years agoFix build on Centos7 (again).
Arnaud Giersch [Mon, 13 Nov 2017 13:57:05 +0000 (14:57 +0100)]
Fix build on Centos7 (again).

6 years agoFix warnings + refactor
MERCIER Michael [Mon, 13 Nov 2017 13:46:03 +0000 (14:46 +0100)]
Fix warnings + refactor

6 years agoKill now unused xbt_heap.
Arnaud Giersch [Mon, 13 Nov 2017 12:54:20 +0000 (13:54 +0100)]
Kill now unused xbt_heap.

6 years agoRevalidate tesh files for replay_multiple too.
Arnaud Giersch [Mon, 13 Nov 2017 11:02:58 +0000 (12:02 +0100)]
Revalidate tesh files for replay_multiple too.

Some timings have changed.

6 years agoRevalidate tesh files (DHT examples).
Arnaud Giersch [Mon, 13 Nov 2017 10:50:51 +0000 (11:50 +0100)]
Revalidate tesh files (DHT examples).

Simply assume that the new traces are correct.

6 years agoRevalidate tesh files (trivial changes).
Arnaud Giersch [Mon, 13 Nov 2017 10:41:45 +0000 (11:41 +0100)]
Revalidate tesh files (trivial changes).

Since the algorithm has changed for action heap, actions which are available
at the same time may be picked in a different order.

6 years agoReplace xbt_heap with boost::heap for surf actions.
Arnaud Giersch [Sun, 12 Nov 2017 21:37:43 +0000 (22:37 +0100)]
Replace xbt_heap with boost::heap for surf actions.

Use a stable order to ensure reproducibility.

Note: it's not fully tested if pairing_heap is the best choice among
availables heaps (binomial, fibonacci, ...). It's easy to change if
needed.

6 years agoUseless include.
Arnaud Giersch [Mon, 13 Nov 2017 12:50:12 +0000 (13:50 +0100)]
Useless include.

6 years agoMake codacy happy
MERCIER Michael [Mon, 13 Nov 2017 11:00:04 +0000 (12:00 +0100)]
Make codacy happy

6 years agoRemove unused method.
Arnaud Giersch [Sun, 12 Nov 2017 20:52:31 +0000 (21:52 +0100)]
Remove unused method.

6 years agocpu_ti: use methods of Action to update heap.
Arnaud Giersch [Sun, 12 Nov 2017 20:41:15 +0000 (21:41 +0100)]
cpu_ti: use methods of Action to update heap.

6 years agoDefine helper methods to access actionHeap_.
Arnaud Giersch [Sun, 12 Nov 2017 17:56:45 +0000 (18:56 +0100)]
Define helper methods to access actionHeap_.

6 years agoMake Model::actionHeap_ private.
Arnaud Giersch [Sun, 12 Nov 2017 15:13:00 +0000 (16:13 +0100)]
Make Model::actionHeap_ private.

6 years agoCpuTiModel::tiActionHeap_ seems redundant with Model::actionHeap_. Use the latter.
Arnaud Giersch [Sun, 12 Nov 2017 14:39:37 +0000 (15:39 +0100)]
CpuTiModel::tiActionHeap_ seems redundant with Model::actionHeap_.  Use the latter.

6 years agoremove useless tests and reduce number of breaks
Frederic Suter [Fri, 10 Nov 2017 15:59:19 +0000 (16:59 +0100)]
remove useless tests and reduce number of breaks

6 years agoThx Takishipp for the catch
Frederic Suter [Fri, 10 Nov 2017 13:02:27 +0000 (14:02 +0100)]
Thx Takishipp for the catch

6 years agomove implemented calls in smpi.h before the comment saying that the next ones are...
Augustin Degomme [Fri, 10 Nov 2017 08:05:20 +0000 (09:05 +0100)]
move implemented calls in smpi.h before the comment saying that the next ones are unimplemented

6 years agoPIDs are non-deterministic when several processes have the same start-time.
Arnaud Giersch [Thu, 9 Nov 2017 22:47:48 +0000 (23:47 +0100)]
PIDs are non-deterministic when several processes have the same start-time.

Introduce a slight delay between processes to fix tests.

6 years agoFix duplicated test.
Arnaud Giersch [Thu, 9 Nov 2017 22:41:33 +0000 (23:41 +0100)]
Fix duplicated test.

6 years agoSort this one too.
Arnaud Giersch [Thu, 9 Nov 2017 21:26:04 +0000 (22:26 +0100)]
Sort this one too.

6 years agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Thu, 9 Nov 2017 20:49:10 +0000 (21:49 +0100)]
Merge remote-tracking branch 'github/master'

6 years agoSort output for this test since several processes talk at the same time.
Arnaud Giersch [Thu, 9 Nov 2017 20:48:08 +0000 (21:48 +0100)]
Sort output for this test since several processes talk at the same time.

6 years agoUse a std::priority_queue for simix_timers.
Arnaud Giersch [Thu, 9 Nov 2017 15:03:33 +0000 (16:03 +0100)]
Use a std::priority_queue for simix_timers.

Note that canceled timers are only disabled and stay in the queue until their trigger date.
Use SIMIX_timer_flush() to remove disabled timers from the top of the queue.

6 years ago[MSG] add MSG_task_get_remaining_work_ratio + test
MERCIER Michael [Thu, 9 Nov 2017 15:26:41 +0000 (16:26 +0100)]
[MSG] add MSG_task_get_remaining_work_ratio + test

Make MSG_task_get_flops_amount returning anly the actual flops amount

Create an other function tu return the remaining amount of work.
F
or more details:
https://github.com/simgrid/simgrid/issues/223

6 years agoFix compilation warnings in ISP testsuite (mostly unused variables).
Arnaud Giersch [Wed, 8 Nov 2017 20:40:39 +0000 (21:40 +0100)]
Fix compilation warnings in ISP testsuite (mostly unused variables).

6 years agorework the hack on sendrecv to fix umpire test
Frederic Suter [Thu, 9 Nov 2017 11:08:29 +0000 (12:08 +0100)]
rework the hack on sendrecv to fix umpire test

6 years agoaddress new smells and hack smthg for sendrecv
Frederic Suter [Thu, 9 Nov 2017 10:06:02 +0000 (11:06 +0100)]
address new smells and hack smthg for sendrecv

6 years agoMerge pull request #236 from mazhe/master
Martin Quinson [Thu, 9 Nov 2017 08:04:05 +0000 (09:04 +0100)]
Merge pull request #236 from mazhe/master

Use unsigned int for std:*map positions (must be >0).

6 years agoUse unsigned int for std:*map positions (must be >0).
Matthieu Volat [Wed, 8 Nov 2017 21:38:53 +0000 (22:38 +0100)]
Use unsigned int for std:*map positions (must be >0).

6 years agoFix Werror=missing-field-initializers with older compilers.
Arnaud Giersch [Wed, 8 Nov 2017 17:44:59 +0000 (18:44 +0100)]
Fix Werror=missing-field-initializers with older compilers.

6 years agoUse plain vectors and references for link lists.
Arnaud Giersch [Wed, 8 Nov 2017 16:02:25 +0000 (17:02 +0100)]
Use plain vectors and references for link lists.

6 years agoAvoid using memset to initialize structs.
Arnaud Giersch [Wed, 8 Nov 2017 15:58:43 +0000 (16:58 +0100)]
Avoid using memset to initialize structs.

6 years agotrace_mgr: replace xbt_heap_t with std::priority_queue.
Arnaud Giersch [Wed, 8 Nov 2017 14:18:24 +0000 (15:18 +0100)]
trace_mgr: replace xbt_heap_t with std::priority_queue.

6 years agoDijkstraZone: replace xbt_heap_t with std::priority_queue.
Arnaud Giersch [Tue, 7 Nov 2017 22:28:10 +0000 (23:28 +0100)]
DijkstraZone: replace xbt_heap_t with std::priority_queue.

6 years agoUse a more specific exception.
Arnaud Giersch [Mon, 6 Nov 2017 20:23:35 +0000 (21:23 +0100)]
Use a more specific exception.

6 years agoDefine and use a more specific exception.
Arnaud Giersch [Mon, 6 Nov 2017 15:24:20 +0000 (16:24 +0100)]
Define and use a more specific exception.

6 years agoReduce code duplication.
Arnaud Giersch [Mon, 6 Nov 2017 13:26:48 +0000 (14:26 +0100)]
Reduce code duplication.

6 years agoSonar: make overridden methods virtual.
Arnaud Giersch [Sat, 28 Oct 2017 16:56:12 +0000 (18:56 +0200)]
Sonar: make overridden methods virtual.

6 years agoClang needs pointers to be explicitely casted here.
Arnaud Giersch [Sat, 28 Oct 2017 20:05:05 +0000 (22:05 +0200)]
Clang needs pointers to be explicitely casted here.

6 years agodo as Clang says
Frederic Suter [Wed, 8 Nov 2017 15:22:19 +0000 (16:22 +0100)]
do as Clang says

6 years agoMassive change in SMPI+instr
Frederic Suter [Wed, 8 Nov 2017 15:03:19 +0000 (16:03 +0100)]
Massive change in SMPI+instr
 - Use classes not enums \o/
Pros
 - 2 more actions can be replayed (scatter and scatterV)
 - the tracing/smpi/display-sizes option should display what it has to
Cons
 - SendRecv is currently not fully trace (Send and Recv are, not the
   surrounding state. This prevents a replay that wasn't possible anyway)
 - some workarounds have been used out of laziness
 - Most of the MPI calls for which we can produce a Time-Independent
   Action are not tested.
 - Cleaning and polishing may be required

6 years agoa missing point to the release process
Martin Quinson [Wed, 8 Nov 2017 12:37:24 +0000 (13:37 +0100)]
a missing point to the release process

6 years agorevalidate tesh to account for the removed useless pushEvent
Frederic Suter [Tue, 7 Nov 2017 22:26:59 +0000 (23:26 +0100)]
revalidate tesh to account for the removed useless pushEvent

6 years agostart integrating the link energy model
Martin Quinson [Tue, 7 Nov 2017 22:06:44 +0000 (23:06 +0100)]
start integrating the link energy model

6 years agodamn forgot that!
Frederic Suter [Tue, 7 Nov 2017 22:04:27 +0000 (23:04 +0100)]
damn forgot that!

6 years agoremove useless calls
Frederic Suter [Tue, 7 Nov 2017 21:49:20 +0000 (22:49 +0100)]
remove useless calls
 + init adds the entity value
 + in pushes an event
 + no need to do both ... twice
improve readability by modifying smpi_container to return the
container and not its name.

6 years agomerge identical functions
Frederic Suter [Tue, 7 Nov 2017 18:13:04 +0000 (19:13 +0100)]
merge identical functions

6 years agosplit platform dump in sub function to reduce overload
Frederic Suter [Tue, 7 Nov 2017 12:36:04 +0000 (13:36 +0100)]
split platform dump in sub function to reduce overload
have to sort host and netpoint lists twice, but we sure can afford it

6 years agoa bit of factoring to decrease overload
Frederic Suter [Tue, 7 Nov 2017 12:14:53 +0000 (13:14 +0100)]
a bit of factoring to decrease overload

6 years agotry to reduce brain overload
Frederic Suter [Tue, 7 Nov 2017 08:00:21 +0000 (09:00 +0100)]
try to reduce brain overload

6 years agotake care of mismatched new/delete
Frederic Suter [Mon, 6 Nov 2017 20:43:36 +0000 (21:43 +0100)]
take care of mismatched new/delete

6 years agofix broken tests
Frederic Suter [Mon, 6 Nov 2017 20:26:31 +0000 (21:26 +0100)]
fix broken tests

6 years agoa bit of unperfect simplification in this SMPI+TI TRacing mess
Frederic Suter [Mon, 6 Nov 2017 13:41:41 +0000 (14:41 +0100)]
a bit of unperfect simplification in this SMPI+TI TRacing mess

6 years agoremove useless parameters in (simplified) instr
Frederic Suter [Sun, 5 Nov 2017 21:56:16 +0000 (22:56 +0100)]
remove useless parameters in (simplified) instr

6 years agoplease sonar
Frederic Suter [Sun, 5 Nov 2017 21:30:12 +0000 (22:30 +0100)]
please sonar

6 years agosonar: prefer readability to tiny optim
Martin Quinson [Sun, 5 Nov 2017 08:40:19 +0000 (09:40 +0100)]
sonar: prefer readability to tiny optim

6 years agofix make dist
Martin Quinson [Sun, 5 Nov 2017 01:03:14 +0000 (02:03 +0100)]
fix make dist

6 years agoTODO list about the DTD
Martin Quinson [Sun, 5 Nov 2017 00:38:58 +0000 (01:38 +0100)]
TODO list about the DTD

6 years agoconvert src/mc/mc_replay.h into mc_replay.hpp (+ don't use C linkage on C++ datatypes)
Martin Quinson [Sun, 5 Nov 2017 00:33:54 +0000 (01:33 +0100)]
convert src/mc/mc_replay.h into mc_replay.hpp (+ don't use C linkage on C++ datatypes)

6 years agochange src/include/surf.h into surf.hpp
Martin Quinson [Sun, 5 Nov 2017 00:25:44 +0000 (01:25 +0100)]
change src/include/surf.h into surf.hpp

6 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 4 Nov 2017 22:34:38 +0000 (23:34 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

6 years agonobody will launch the logging AFTER the application start
Martin Quinson [Sat, 4 Nov 2017 22:02:52 +0000 (23:02 +0100)]
nobody will launch the logging AFTER the application start

So there is no need to take a timestamp when the loggin is started,
and then substract it from the surf clock.

Plus, calling MSG_get_clock() from xbt_log_layout_simple_new() is not
a good idea since the later is called from xbt_log_preinit(), which
occures before MSG_get_clock() is usable (not all MC stuff is inited
on centos).

6 years agoWindows need time to remove the builddir
Martin Quinson [Sat, 4 Nov 2017 21:47:15 +0000 (22:47 +0100)]
Windows need time to remove the builddir

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 4 Nov 2017 21:21:55 +0000 (22:21 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agothere are still C users ...
Frederic Suter [Sat, 4 Nov 2017 21:19:23 +0000 (22:19 +0100)]
there are still C users ...
+ cosmetics

6 years agoignore another cruft seen on a CI system
Martin Quinson [Sat, 4 Nov 2017 20:55:27 +0000 (21:55 +0100)]
ignore another cruft seen on a CI system

6 years agofix native windows build
Martin Quinson [Sat, 4 Nov 2017 20:53:31 +0000 (21:53 +0100)]
fix native windows build

6 years agostop loading surf.h from C files
Martin Quinson [Sat, 4 Nov 2017 20:34:44 +0000 (21:34 +0100)]
stop loading surf.h from C files

6 years agoremove the last mention of the <include> tag
Martin Quinson [Sat, 4 Nov 2017 17:44:32 +0000 (18:44 +0100)]
remove the last mention of the <include> tag

6 years agokill borken code for _WIN32
Martin Quinson [Sat, 4 Nov 2017 17:39:25 +0000 (18:39 +0100)]
kill borken code for _WIN32

- This code was supposed to retrieve the current directory on Windows
  to pre-seed the path in which we search for trace files (and used to
  search for include files too)
- But it is borken: instead of returning the current dir, it only
  returned the current drive. So the path was not seeded with a useful
  value.
- Plus, now that wubuntu is working correctly, we will soon kill all
  _WIN32 specific stuff.

6 years agoRemove the undocumented/untested tag <include>
Martin Quinson [Sat, 4 Nov 2017 17:10:52 +0000 (18:10 +0100)]
Remove the undocumented/untested tag <include>

6 years agoremove the (unused) example of <include>
Martin Quinson [Sat, 4 Nov 2017 16:46:17 +0000 (17:46 +0100)]
remove the (unused) example of <include>

6 years agoregenerate the flexML files (mostly reindent, it seems)
Martin Quinson [Sat, 4 Nov 2017 14:23:17 +0000 (15:23 +0100)]
regenerate the flexML files (mostly reindent, it seems)

6 years agoignore recently added binaries
Martin Quinson [Sat, 4 Nov 2017 14:01:56 +0000 (15:01 +0100)]
ignore recently added binaries

6 years agocosmetics
Martin Quinson [Sat, 4 Nov 2017 10:08:11 +0000 (11:08 +0100)]
cosmetics

6 years agotry to get rid of asan cryptic error
Augustin Degomme [Sat, 4 Nov 2017 11:48:20 +0000 (12:48 +0100)]
try to get rid of asan cryptic error

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 4 Nov 2017 10:50:50 +0000 (11:50 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agofix mismatched new[]/free
Augustin Degomme [Sat, 4 Nov 2017 10:47:54 +0000 (11:47 +0100)]
fix mismatched new[]/free

6 years agoxbt_new0/free => new/delete[]
Frederic Suter [Sat, 4 Nov 2017 10:23:06 +0000 (11:23 +0100)]
xbt_new0/free => new/delete[]

6 years agothis is a good catch by CI
Frederic Suter [Sat, 4 Nov 2017 00:30:00 +0000 (01:30 +0100)]
this is a good catch by CI

6 years agoclang again
Frederic Suter [Sat, 4 Nov 2017 00:23:17 +0000 (01:23 +0100)]
clang again

6 years agotry to please clang
Frederic Suter [Sat, 4 Nov 2017 00:17:35 +0000 (01:17 +0100)]
try to please clang