Takishipp [Mon, 17 Jul 2017 10:05:59 +0000 (12:05 +0200)]
some optimizations
Takishipp [Mon, 17 Jul 2017 08:13:29 +0000 (10:13 +0200)]
delete comment
Takishipp [Mon, 17 Jul 2017 08:09:33 +0000 (10:09 +0200)]
Replace a function by its contents
Takishipp [Thu, 13 Jul 2017 09:07:27 +0000 (11:07 +0200)]
solve codacy issue
Takishipp [Wed, 12 Jul 2017 13:58:33 +0000 (15:58 +0200)]
Delete useless functions
Takishipp [Wed, 12 Jul 2017 13:55:28 +0000 (15:55 +0200)]
Delete an another unused fonction
Takishipp [Wed, 12 Jul 2017 13:42:11 +0000 (15:42 +0200)]
remove unused function
Martin Quinson [Wed, 12 Jul 2017 11:51:41 +0000 (13:51 +0200)]
Merge pull request #197 from Takishipp/clear_fct
remove print_Null function
Takishipp [Wed, 12 Jul 2017 09:42:00 +0000 (11:42 +0200)]
Delete the whole comment
Takishipp [Tue, 11 Jul 2017 15:03:14 +0000 (17:03 +0200)]
remove print_Null function
Martin Quinson [Tue, 11 Jul 2017 14:32:37 +0000 (16:32 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Frederic Suter [Tue, 11 Jul 2017 09:58:58 +0000 (11:58 +0200)]
crappy fix of cloud examples that mix host and VMs
Frederic Suter [Tue, 11 Jul 2017 08:15:39 +0000 (10:15 +0200)]
remove useless declarations
Frederic Suter [Tue, 11 Jul 2017 08:05:05 +0000 (10:05 +0200)]
map msg_vm_t to s4u::VirtualMachine and save many casts
Frederic Suter [Mon, 10 Jul 2017 11:18:50 +0000 (13:18 +0200)]
cleanups
Frederic Suter [Mon, 10 Jul 2017 11:05:14 +0000 (13:05 +0200)]
File mgmt looks like a plugin now \o/
Frederic Suter [Mon, 10 Jul 2017 09:43:04 +0000 (11:43 +0200)]
move some of the file mgmt logic out of the storage model
Frederic Suter [Mon, 10 Jul 2017 08:55:08 +0000 (10:55 +0200)]
disentangle file opening
Frederic Suter [Mon, 10 Jul 2017 08:18:59 +0000 (10:18 +0200)]
please clang and remove useless field
Frederic Suter [Mon, 10 Jul 2017 08:08:47 +0000 (10:08 +0200)]
closing a file is a noop. No need to deep down the stack
Frederic Suter [Mon, 10 Jul 2017 07:38:27 +0000 (09:38 +0200)]
this was never used too
Frederic Suter [Mon, 10 Jul 2017 07:35:35 +0000 (09:35 +0200)]
this writeActions stuff was never used
Frederic Suter [Mon, 10 Jul 2017 07:29:41 +0000 (09:29 +0200)]
more cleanups
Frederic Suter [Mon, 10 Jul 2017 07:09:07 +0000 (09:09 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Martin Quinson [Sun, 9 Jul 2017 23:47:05 +0000 (01:47 +0200)]
trailing whitespace
Martin Quinson [Sun, 9 Jul 2017 23:23:51 +0000 (01:23 +0200)]
nicer error messages on misconfiguration
Martin Quinson [Sun, 9 Jul 2017 23:17:58 +0000 (01:17 +0200)]
Merge pull request #196 from betsegawlemma/fixes
Simplify a bit the NS3/SimGrid interactions
Martin Quinson [Mon, 12 Jun 2017 16:24:52 +0000 (18:24 +0200)]
Simplify a bit the NS3/SimGrid interactions
Martin Quinson [Sun, 9 Jul 2017 20:20:20 +0000 (22:20 +0200)]
sonar & codacy
Martin Quinson [Sun, 9 Jul 2017 20:22:55 +0000 (22:22 +0200)]
this script is not used anymore
Augustin Degomme [Sun, 9 Jul 2017 22:03:19 +0000 (00:03 +0200)]
add bits and pieces to try to compile dumpi with smpi
Frederic Suter [Sun, 9 Jul 2017 19:46:15 +0000 (21:46 +0200)]
cleanups
Martin Quinson [Sun, 9 Jul 2017 14:16:23 +0000 (16:16 +0200)]
update the insider doc on multiple build trees
Martin Quinson [Sun, 9 Jul 2017 08:33:07 +0000 (10:33 +0200)]
codacy
Frederic Suter [Sun, 9 Jul 2017 19:14:46 +0000 (21:14 +0200)]
codacy
Martin Quinson [Sat, 8 Jul 2017 21:50:11 +0000 (23:50 +0200)]
codacy
Christian Heinrich [Fri, 7 Jul 2017 12:58:14 +0000 (14:58 +0200)]
[SMPI] Remove 2nd include of private.hpp
Martin Quinson [Fri, 7 Jul 2017 07:50:04 +0000 (09:50 +0200)]
fix MC builds
Christian Heinrich [Thu, 6 Jul 2017 17:49:51 +0000 (19:49 +0200)]
[MC] Missing include of smpi/private.hpp
Christian Heinrich [Thu, 6 Jul 2017 17:29:42 +0000 (19:29 +0200)]
[SMPI] Make spelling uniform: privatisation -> privatization
Christian Heinrich [Thu, 6 Jul 2017 17:08:02 +0000 (19:08 +0200)]
[SMPI] Move SMPI_PRIVATIZATION_* macros to enums
I didn't see any reason this should be a macro. The naming is still
the same and certainly ugly, but this should be better for the moment.
Christian Heinrich [Tue, 27 Jun 2017 08:20:55 +0000 (10:20 +0200)]
[ENERGY] Instead of using plain integers, use constants
Martin Quinson [Thu, 6 Jul 2017 14:36:42 +0000 (16:36 +0200)]
please sonar: remove an unused parameters down below
Also: fix jedule build (sorry for mixing)
Martin Quinson [Thu, 6 Jul 2017 13:12:52 +0000 (15:12 +0200)]
ok, last try here: use uint64_t for size of sent data
All this is ridiculous since we use doubles internally for the fluid models.
But some users don't like to be given the ability to send 0.5 bytes.
Martin Quinson [Thu, 6 Jul 2017 12:33:14 +0000 (14:33 +0200)]
use double for the sizes, so that 32bits simulators can send more than 4G
Martin Quinson [Thu, 6 Jul 2017 12:29:10 +0000 (14:29 +0200)]
Revert "s4u: use size_t for payload size instead of int and double"
This reverts commit
0322a73bb9bb8b3285c6d7fce7e19a40e5025823.
Frederic Suter [Thu, 6 Jul 2017 11:43:51 +0000 (13:43 +0200)]
data is now userdata for process/actor
Frederic Suter [Thu, 6 Jul 2017 11:18:52 +0000 (13:18 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Martin Quinson [Thu, 6 Jul 2017 11:14:31 +0000 (13:14 +0200)]
please sonar
Martin Quinson [Thu, 6 Jul 2017 10:06:54 +0000 (12:06 +0200)]
s4u: implement Engine::setConfig()
Frederic Suter [Thu, 6 Jul 2017 10:01:41 +0000 (12:01 +0200)]
still playing with ActorImpl
Frederic Suter [Thu, 6 Jul 2017 09:39:15 +0000 (11:39 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 6 Jul 2017 09:24:50 +0000 (11:24 +0200)]
make sleep and suspend methods of ActorImpl
Martin Quinson [Thu, 6 Jul 2017 09:24:17 +0000 (11:24 +0200)]
s4u: use size_t for payload size instead of int and double
Martin Quinson [Thu, 6 Jul 2017 08:54:06 +0000 (10:54 +0200)]
s4u::Actor::execute() dont need to return a state
It could be used to say if the host failed during that execution, but
the actor would be killed on such failure anyway. So it can only
return "no problem". Not that useful.
Martin Quinson [Thu, 6 Jul 2017 08:50:45 +0000 (10:50 +0200)]
tend to the google coding standards in all S4U API
Frederic Suter [Thu, 6 Jul 2017 08:27:27 +0000 (10:27 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 6 Jul 2017 08:26:58 +0000 (10:26 +0200)]
various cleanups in actors/processes
Martin Quinson [Thu, 6 Jul 2017 08:21:23 +0000 (10:21 +0200)]
implement getter s4u::Comm::mailbox()
Martin Quinson [Thu, 6 Jul 2017 08:18:01 +0000 (10:18 +0200)]
document last changes
henricasanova [Thu, 6 Jul 2017 07:49:53 +0000 (09:49 +0200)]
Removed the "state_ != finished" assert in s4u::Comm::wait(...) since
waiting on a finished communication should be a feature, not a bug
Martin Quinson [Thu, 6 Jul 2017 07:39:55 +0000 (09:39 +0200)]
You don't send a mailbox, but instead put stuff on it
this_actor::send(mailbox) is now mailbox->put()
Martin Quinson [Thu, 6 Jul 2017 05:59:56 +0000 (07:59 +0200)]
codacy
Martin Quinson [Thu, 6 Jul 2017 05:51:13 +0000 (07:51 +0200)]
Fix clang build
I've no idea of why g++ don't see the deprecation marker on this
function...
Martin Quinson [Thu, 6 Jul 2017 00:46:16 +0000 (02:46 +0200)]
Rework the OO design of S4U comms
This sounds much better this way:
- simgrid::s4u::this_actor::send(mailbox, &pid, comm_size);
+ mailbox->send(&pid, comm_size);
That's intrusive for our (early) users, but the old way should still
work. Only, it raises a deprecation warning.
Martin Quinson [Wed, 5 Jul 2017 23:46:54 +0000 (01:46 +0200)]
fix the API to isend detach() and speak about it in ChangeLog
Martin Quinson [Wed, 5 Jul 2017 23:18:41 +0000 (01:18 +0200)]
change the prototype of s4u::Comm::wait_any to mimick the C code
Returning an iterator was not working as we returned every elements in
the input collection, without any sorting (fix #170).
Returning a collection or an iterator is difficult, as is. We would
have to build the collection in the backstage, iterating over the
provided comms to see which ones are done.
Plus, the user would probably want to then find these comms in the
provided vector to remove them from there.
In the end, that would be a lot of useless and potentially unefficient
code. It seems much better to provide the index in the vector provided
by the user. If she wants, she can iterate from there to see if the
comms are to be removed, or she can just remove this one and fire
another wait_any.
Maybe less C++ish, but more efficient and not that ugly either.
Martin Quinson [Wed, 5 Jul 2017 23:14:55 +0000 (01:14 +0200)]
move a symbol decl to a better header file
Martin Quinson [Wed, 5 Jul 2017 22:45:40 +0000 (00:45 +0200)]
revalidate the tesh files after fixing #195
Martin Quinson [Wed, 5 Jul 2017 22:39:17 +0000 (00:39 +0200)]
all actors are unified, no need to virtualize between APIs
In addition, the virtualization was not done in s4u, so the %i
formatter of the logs was broken. (fix #195).
Martin Quinson [Wed, 5 Jul 2017 22:35:37 +0000 (00:35 +0200)]
always out of tree builds are annoying
Martin Quinson [Wed, 5 Jul 2017 22:23:23 +0000 (00:23 +0200)]
don't fail on sg_host_energy_update_all() in presence of VMs (fix #192)
Frederic Suter [Wed, 5 Jul 2017 21:39:51 +0000 (23:39 +0200)]
simcall to kernelImmediate
Frederic Suter [Wed, 5 Jul 2017 20:46:13 +0000 (22:46 +0200)]
another move to FileImpl
Martin Quinson [Wed, 5 Jul 2017 16:04:58 +0000 (18:04 +0200)]
revalidate a last example after the fix of loopback' latency
Martin Quinson [Wed, 5 Jul 2017 15:49:41 +0000 (17:49 +0200)]
kill the msg-chord example: the s4u one is much better
Martin Quinson [Wed, 5 Jul 2017 15:31:44 +0000 (17:31 +0200)]
make it clear to static analyzers that this mem is not leaked
Martin Quinson [Wed, 5 Jul 2017 15:15:43 +0000 (17:15 +0200)]
revalidate some tesh after the loopback latency fix
Martin Quinson [Wed, 5 Jul 2017 15:07:00 +0000 (17:07 +0200)]
fiddeling with BuildSimGrid.sh
Martin Quinson [Wed, 5 Jul 2017 15:06:25 +0000 (17:06 +0200)]
codacy
Martin Quinson [Wed, 5 Jul 2017 15:06:16 +0000 (17:06 +0200)]
create the loopback after the right configuration is set
Martin Quinson [Wed, 5 Jul 2017 14:37:53 +0000 (16:37 +0200)]
this header is C++ only
Frederic Suter [Wed, 5 Jul 2017 15:15:29 +0000 (17:15 +0200)]
revalide tesh
Frederic Suter [Wed, 5 Jul 2017 13:17:21 +0000 (15:17 +0200)]
don't use old values in doc and alternate models
Martin Quinson [Wed, 5 Jul 2017 13:06:14 +0000 (15:06 +0200)]
further improve the entry page of the doc
Frederic Suter [Wed, 5 Jul 2017 12:22:56 +0000 (14:22 +0200)]
add missing new file
Frederic Suter [Wed, 5 Jul 2017 12:16:29 +0000 (14:16 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 5 Jul 2017 12:16:10 +0000 (14:16 +0200)]
modernize one more simcall
Frederic Suter [Wed, 5 Jul 2017 12:08:38 +0000 (14:08 +0200)]
free the engine at the end of test
Martin Quinson [Wed, 5 Jul 2017 08:17:06 +0000 (10:17 +0200)]
please codacy
Frederic Suter [Tue, 4 Jul 2017 13:40:03 +0000 (15:40 +0200)]
add daemonize for s4u actors too
Frederic Suter [Tue, 4 Jul 2017 12:25:41 +0000 (14:25 +0200)]
another try to solve weird travis issues
Martin Quinson [Tue, 4 Jul 2017 10:24:12 +0000 (12:24 +0200)]
FIX THE VM SHARING
Martin Quinson [Tue, 4 Jul 2017 10:00:38 +0000 (12:00 +0200)]
refactor: be explicit on what an action's priority is
Martin Quinson [Tue, 4 Jul 2017 09:42:01 +0000 (11:42 +0200)]
maxmin: rename a variable for clarity
Frederic Suter [Tue, 4 Jul 2017 10:12:07 +0000 (12:12 +0200)]
fix include
Frederic Suter [Tue, 4 Jul 2017 10:07:14 +0000 (12:07 +0200)]
address a todo
Frederic Suter [Tue, 4 Jul 2017 09:41:55 +0000 (11:41 +0200)]
modernize some simcalls
Frederic Suter [Tue, 4 Jul 2017 09:25:12 +0000 (11:25 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 4 Jul 2017 09:16:46 +0000 (11:16 +0200)]
get rid of smx_file_t