Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agodocument latest changes
Martin Quinson [Wed, 22 Nov 2017 00:34:38 +0000 (01:34 +0100)]
document latest changes

6 years agoproperly deprecate MSG_task_get_flops_amount() and stop using it ourselves
Martin Quinson [Wed, 22 Nov 2017 00:25:45 +0000 (01:25 +0100)]
properly deprecate MSG_task_get_flops_amount() and stop using it ourselves

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

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

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 agoadd Process.daemonize to the Java bindings
Frederic Suter [Wed, 22 Nov 2017 00:29:06 +0000 (01:29 +0100)]
add Process.daemonize to the Java bindings

(and call s4u equivalent from MSG directly)

6 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 21 Nov 2017 23:15:16 +0000 (00:15 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

6 years agofinish the integration of the new link_energy plugin
Martin Quinson [Tue, 21 Nov 2017 22:54:01 +0000 (23:54 +0100)]
finish the integration of the new link_energy plugin

6 years agofurther split File and Storage
Frederic Suter [Tue, 21 Nov 2017 22:55:30 +0000 (23:55 +0100)]
further split File and Storage

6 years agofix smpi test
Frederic Suter [Tue, 21 Nov 2017 20:07:46 +0000 (21:07 +0100)]
fix smpi test

6 years agoupdate doc on viva and remove more stuff
Frederic Suter [Tue, 21 Nov 2017 17:43:30 +0000 (18:43 +0100)]
update doc on viva and remove more stuff

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 21 Nov 2017 17:14:59 +0000 (18:14 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoviva is a dead project
Frederic Suter [Tue, 21 Nov 2017 17:13:15 +0000 (18:13 +0100)]
viva is a dead project
remove specific code to generate viva configuration files
remove related options
remove related tests

6 years agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Tue, 21 Nov 2017 16:46:55 +0000 (17:46 +0100)]
Merge remote-tracking branch 'github/master'

6 years agoMake the link_energy plugin actually compile
Martin Quinson [Tue, 21 Nov 2017 15:17:08 +0000 (16:17 +0100)]
Make the link_energy plugin actually compile

6 years agoallow to retrieve the link list from the Engine
Martin Quinson [Tue, 21 Nov 2017 15:15:58 +0000 (16:15 +0100)]
allow to retrieve the link list from the Engine

6 years agoimplement some more getters in surf::Link and s4u::Link
Martin Quinson [Tue, 21 Nov 2017 15:15:22 +0000 (16:15 +0100)]
implement some more getters in surf::Link and s4u::Link

6 years agoUse a std::vector<std::string> for process arguments.
Arnaud Giersch [Tue, 21 Nov 2017 15:02:00 +0000 (16:02 +0100)]
Use a std::vector<std::string> for process arguments.

6 years agouse storage and not name and type in File
Frederic Suter [Tue, 21 Nov 2017 14:57:13 +0000 (15:57 +0100)]
use storage and not name and type in File

6 years agoCosmetics: s/free/xbt_free.
Arnaud Giersch [Tue, 21 Nov 2017 14:08:12 +0000 (15:08 +0100)]
Cosmetics: s/free/xbt_free.

6 years agoSonar: constructors should only call non-overridable methods.
Arnaud Giersch [Tue, 21 Nov 2017 13:50:23 +0000 (14:50 +0100)]
Sonar: constructors should only call non-overridable methods.

6 years agoSimplify loop.
Arnaud Giersch [Tue, 21 Nov 2017 09:34:32 +0000 (10:34 +0100)]
Simplify loop.

6 years agoMerge pull request #238 from barais/master
Martin Quinson [Tue, 21 Nov 2017 01:40:18 +0000 (02:40 +0100)]
Merge pull request #238 from barais/master

remove unused exception in javadocs

6 years agoCorrectly increment xbt_initialized.
Arnaud Giersch [Mon, 20 Nov 2017 14:48:18 +0000 (15:48 +0100)]
Correctly increment xbt_initialized.

6 years agoremove ununsed exception in javadocs
Olivier Barais [Mon, 20 Nov 2017 21:52:54 +0000 (22:52 +0100)]
remove ununsed exception in javadocs

ununsed exception in javadocs create errors when building simgrid with last jdk8

6 years agoFix the doc of S4U: s/process/actor/
Martin Quinson [Mon, 20 Nov 2017 16:44:57 +0000 (17:44 +0100)]
Fix the doc of S4U: s/process/actor/

6 years agofix borken link to ping-pong
Frederic Suter [Mon, 20 Nov 2017 16:11:58 +0000 (17:11 +0100)]
fix borken link to ping-pong

6 years agoSimGrid is getting older and older
Frederic Suter [Mon, 20 Nov 2017 14:48:57 +0000 (15:48 +0100)]
SimGrid is getting older and older

6 years agoDeclare as XBT_PUBLIC.
Arnaud Giersch [Mon, 20 Nov 2017 10:43:17 +0000 (11:43 +0100)]
Declare as XBT_PUBLIC.

6 years agoUse method get() instead of &* for intrusive_ptr.
Arnaud Giersch [Mon, 20 Nov 2017 09:30:09 +0000 (10:30 +0100)]
Use method get() instead of &* for intrusive_ptr.

6 years agoConstify some methods in surf_interface.
Arnaud Giersch [Mon, 20 Nov 2017 09:24:12 +0000 (10:24 +0100)]
Constify some methods in surf_interface.

6 years agoComment some unused parameters.
Arnaud Giersch [Sun, 19 Nov 2017 21:43:32 +0000 (22:43 +0100)]
Comment some unused parameters.

6 years agoStrange that this include line is only missing on appveyor.
Arnaud Giersch [Sun, 19 Nov 2017 20:56:51 +0000 (21:56 +0100)]
Strange that this include line is only missing on appveyor.

6 years agosimplify loops on sets
Frederic Suter [Sun, 19 Nov 2017 19:40:27 +0000 (20:40 +0100)]
simplify loops on sets

according to
https://stackoverflow.com/questions/15433381/performance-of-piter-cont-end-in-for-loop
not precomputing the value of end() can even lead to better performance.

if agreed by the c++ gurus of SimGrid, this change could be applied to
many other places in the code.

6 years agosimplify this example and please sonar
Frederic Suter [Sun, 19 Nov 2017 19:28:26 +0000 (20:28 +0100)]
simplify this example and please sonar
we basically empty the different sets by unref-ing the actions one by
one. a while loop thus seems more adequate

6 years agoFix 32bits builds.
Arnaud Giersch [Sun, 19 Nov 2017 17:03:49 +0000 (18:03 +0100)]
Fix 32bits builds.

6 years agoUse already existing simgrid::xbt::demangle().
Arnaud Giersch [Sun, 19 Nov 2017 15:51:40 +0000 (16:51 +0100)]
Use already existing simgrid::xbt::demangle().

6 years agoUse std::string, new/delete; remove useless new.
Arnaud Giersch [Sun, 19 Nov 2017 09:33:59 +0000 (10:33 +0100)]
Use std::string, new/delete; remove useless new.

6 years agoUse std::string, and new/delete.
Arnaud Giersch [Sat, 18 Nov 2017 21:04:01 +0000 (22:04 +0100)]
Use std::string, and new/delete.

6 years agoNo need to search twice in map.
Arnaud Giersch [Sat, 18 Nov 2017 20:46:54 +0000 (21:46 +0100)]
No need to search twice in map.

6 years agoUse new/delete.
Arnaud Giersch [Sat, 18 Nov 2017 17:14:02 +0000 (18:14 +0100)]
Use new/delete.

6 years agoUse a std::vector<bool>.
Arnaud Giersch [Sat, 18 Nov 2017 17:02:02 +0000 (18:02 +0100)]
Use a std::vector<bool>.

6 years agoReduce code duplication.
Arnaud Giersch [Sat, 18 Nov 2017 13:27:37 +0000 (14:27 +0100)]
Reduce code duplication.

The only difference between Vector and Hvector, and between Indexed and
Hindexed is that stride and block_indices are given in multiples of
old_type->get_extent() in the former case, while it's given in bytes in the
latter case.
Thus, make Vector a subclass of Hvector, and Indexed a subclass of Hindexed.

6 years agoimprove error message
Martin Quinson [Fri, 17 Nov 2017 23:45:51 +0000 (00:45 +0100)]
improve error message

I got trolled by the Red Hat engineers @SC17 because of that stupid mistake :)

6 years agoMove check for MPI_BOTTOM one level up.
Arnaud Giersch [Thu, 16 Nov 2017 08:34:05 +0000 (09:34 +0100)]
Move check for MPI_BOTTOM one level up.

It seems more logical, and I hope that it will silence scan-build about null pointer
dereference.

6 years agoMove file near other smpi include files.
Arnaud Giersch [Thu, 16 Nov 2017 08:20:45 +0000 (09:20 +0100)]
Move file near other smpi include files.

6 years agoFix segfault seen with mpich3-test/perf/nestvec2.
Arnaud Giersch [Wed, 15 Nov 2017 23:14:09 +0000 (00:14 +0100)]
Fix segfault seen with mpich3-test/perf/nestvec2.

6 years agoTest mpich3-perf needs a larger platform.
Arnaud Giersch [Wed, 15 Nov 2017 21:14:01 +0000 (22:14 +0100)]
Test mpich3-perf needs a larger platform.

The last test needs 64 processes.
Use platforms file cluster.xml with auto-generated hostfile.

6 years agoCosmetics: hostfile and machinefile are synonyms.
Arnaud Giersch [Wed, 15 Nov 2017 20:44:14 +0000 (21:44 +0100)]
Cosmetics: hostfile and machinefile are synonyms.

6 years agoUnhide errors from mpich3 tests.
Arnaud Giersch [Wed, 15 Nov 2017 20:41:36 +0000 (21:41 +0100)]
Unhide errors from mpich3 tests.

6 years agoFactorize SMPI_SAMPLE macros.
Arnaud Giersch [Fri, 15 Sep 2017 21:21:19 +0000 (23:21 +0200)]
Factorize SMPI_SAMPLE macros.

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 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 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 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.