Martin Quinson [Tue, 21 Mar 2017 12:52:33 +0000 (13:52 +0100)]
that malloc is really useless
Martin Quinson [Tue, 21 Mar 2017 12:33:24 +0000 (13:33 +0100)]
jtask: remove the ability to receive from a given host
This is disabled in the underlying code since a long time
Frederic Suter [Tue, 21 Mar 2017 12:35:35 +0000 (13:35 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 21 Mar 2017 12:35:20 +0000 (13:35 +0100)]
update documentation with new examples
degomme [Tue, 21 Mar 2017 12:28:23 +0000 (13:28 +0100)]
make this test a bit shorter
degomme [Tue, 21 Mar 2017 12:28:13 +0000 (13:28 +0100)]
Fix stupid tag collision bug. RMA tag is used to order consecutive MPI_Accumulate calls.
The 454th message's tag was causing a collision with the BARRIER tag, causing the wrong message to be used.
So switch to a decrement instead, and start from a value below all of the ones we use (users can't use <0 values, it's only for internals)
Martin Quinson [Tue, 21 Mar 2017 12:17:49 +0000 (13:17 +0100)]
jtask: reduce the code duplication
Martin Quinson [Tue, 21 Mar 2017 12:17:19 +0000 (13:17 +0100)]
sanitizes the msg_task fields default value
Frederic Suter [Tue, 21 Mar 2017 12:03:38 +0000 (13:03 +0100)]
partially address a bug in Java initialization
SimGrid flag on command line were consumed at C level but stayed in the
original Java String[] args. This could mess users' args[i] if SG flags
were not put at the end of the command line.
This patch removes the SG flags from the Java arguments. However, the
number of arguments REMAINS UNCHANGED.
It is then UNSAFE to test if args.length is greater than the number of
YOUR OWN ARGUMENTS. It might be if you have --log or --cfg flags in
the command line. BTW, it already was ...
Martin Quinson [Tue, 21 Mar 2017 11:14:53 +0000 (12:14 +0100)]
code cleanups in jtask
Some checks are really easier when done on the Java side
Martin Quinson [Tue, 21 Mar 2017 10:36:23 +0000 (11:36 +0100)]
allow to use this test as a crash test
Martin Quinson [Tue, 21 Mar 2017 10:32:54 +0000 (11:32 +0100)]
java example simplification and cosmetics
Martin Quinson [Tue, 21 Mar 2017 10:26:30 +0000 (11:26 +0100)]
java example simplification + reindent + cosmetics
Martin Quinson [Tue, 21 Mar 2017 10:19:38 +0000 (11:19 +0100)]
java: plug a memleak
Martin Quinson [Tue, 21 Mar 2017 09:18:54 +0000 (10:18 +0100)]
increase a bit the size of this java test (+cosmetics)
Still under the second
Martin Quinson [Tue, 21 Mar 2017 08:49:21 +0000 (09:49 +0100)]
guess what? I hate our java crufty code
Frederic Suter [Tue, 21 Mar 2017 08:40:41 +0000 (09:40 +0100)]
add suspend/resume to S4U
update the actor-migration example to perfectly match the
process-migration example in C/MSG
Martin Quinson [Tue, 21 Mar 2017 07:50:03 +0000 (08:50 +0100)]
more cleanups to jprocess
- Don't catch error conditions that cannot occure
- Be more explicit on error conditions that may remain
- cosmetics
Martin Quinson [Tue, 21 Mar 2017 07:47:38 +0000 (08:47 +0100)]
initialize all fields of the xbt_ex_t class
Martin Quinson [Tue, 21 Mar 2017 06:25:22 +0000 (07:25 +0100)]
java: inline a function and don't leak a global ref
Frederic Suter [Mon, 20 Mar 2017 21:56:06 +0000 (22:56 +0100)]
attempt to extend S4U to migrate actors
probably need a cleaning/documentation pass
lack suspend/resume to mimic C example
Martin Quinson [Mon, 20 Mar 2017 21:46:24 +0000 (22:46 +0100)]
jprocess: more cruft removed
Martin Quinson [Mon, 20 Mar 2017 21:41:16 +0000 (22:41 +0100)]
further the jprocess creation by not testing conditions that cannot happen
The host and name was tested to not be null in the Java world before
arriving here
Martin Quinson [Mon, 20 Mar 2017 21:32:17 +0000 (22:32 +0100)]
deperlify the Java process creation: no need to pass the hostname where we can use the host
Martin Quinson [Mon, 20 Mar 2017 21:18:53 +0000 (22:18 +0100)]
java: code simplification: no need for an extra boolean here
Martin Quinson [Mon, 20 Mar 2017 21:02:39 +0000 (22:02 +0100)]
java: well, use a closure if you really want to
Martin Quinson [Mon, 20 Mar 2017 20:49:51 +0000 (21:49 +0100)]
code simplification by using directly the function we needed instead of a wrapper
Martin Quinson [Mon, 20 Mar 2017 20:41:17 +0000 (21:41 +0100)]
msg: make another function public, even if it's C++ only
Martin Quinson [Mon, 20 Mar 2017 20:11:03 +0000 (21:11 +0100)]
stop being ugly, Adrien, this cannot happen
Martin Quinson [Mon, 20 Mar 2017 20:04:43 +0000 (21:04 +0100)]
reindent, no real change
degomme [Mon, 20 Mar 2017 18:08:45 +0000 (19:08 +0100)]
change some tests to avoid useless global variables
degomme [Mon, 20 Mar 2017 18:08:22 +0000 (19:08 +0100)]
Debug in progress :\
degomme [Mon, 20 Mar 2017 14:45:39 +0000 (15:45 +0100)]
ok, I stop trying to please sonar.
That's only to remove ONE "using" directive.
Frederic Suter [Mon, 20 Mar 2017 15:15:44 +0000 (16:15 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 20 Mar 2017 15:15:22 +0000 (16:15 +0100)]
convert another example to s4u
Martin Quinson [Mon, 20 Mar 2017 14:32:52 +0000 (15:32 +0100)]
actually, there is nothing unexpected here
The warning was occuring when the migrated VM was not "done", but it's
fully expected that the VM is "running" when migrating.
And that's Adrien-proof :)
Martin Quinson [Mon, 20 Mar 2017 14:30:41 +0000 (15:30 +0100)]
try removing old semaphores before creating the new one, and to avoid name clashes
Frederic Suter [Mon, 20 Mar 2017 13:57:32 +0000 (14:57 +0100)]
test properties for cluster too
Martin Quinson [Mon, 20 Mar 2017 13:56:18 +0000 (14:56 +0100)]
don't free the properties of the cluster before the last host
Martin Quinson [Mon, 20 Mar 2017 13:02:02 +0000 (14:02 +0100)]
adapt the comments to the state of things
Frederic Suter [Mon, 20 Mar 2017 13:30:06 +0000 (14:30 +0100)]
yet another simplification pass
degomme [Mon, 20 Mar 2017 10:53:13 +0000 (11:53 +0100)]
Update changelog
Martin Quinson [Mon, 20 Mar 2017 10:34:29 +0000 (11:34 +0100)]
VM migration: don't send with timeout because the receiver receive without timeout
degomme [Mon, 20 Mar 2017 10:49:59 +0000 (11:49 +0100)]
Activate Win_lock/unlock tests
degomme [Mon, 20 Mar 2017 10:49:27 +0000 (11:49 +0100)]
Simple MPI_Win_lock and MPI_Win_unlock implementation.
Also allow calls to MPI_Barrier to finalize pending RMA calls.
degomme [Sun, 19 Mar 2017 17:29:07 +0000 (18:29 +0100)]
actuvate few more working rma tests
degomme [Sun, 19 Mar 2017 17:28:52 +0000 (18:28 +0100)]
leaks --
degomme [Sun, 19 Mar 2017 12:51:43 +0000 (13:51 +0100)]
Netcards actually got removed, so these leaks are gone
Martin Quinson [Sun, 19 Mar 2017 21:21:18 +0000 (22:21 +0100)]
please sonar a little bit and other useless noisy line changes
degomme [Sun, 19 Mar 2017 11:47:57 +0000 (12:47 +0100)]
This regexp excluded some files showing errors from valgrind analysis ...
This should make the number of reported errors explode. Let's check which ones are meaningful, though.
degomme [Sun, 19 Mar 2017 00:31:43 +0000 (01:31 +0100)]
Better with the new files
degomme [Sun, 19 Mar 2017 00:23:22 +0000 (01:23 +0100)]
Add smpi_status.cpp and hpp.
That's rather empty, as actually MPI_Status has to stay in C (its fields being public to the user codes).
degomme [Sun, 19 Mar 2017 00:09:00 +0000 (01:09 +0100)]
say goodbye to smpi_base.cpp .. It was made quite empty recently.
All global handling routines of smpi should be in smpi_global.cpp (and smpi_bench.cpp), now.
degomme [Sat, 18 Mar 2017 23:55:59 +0000 (00:55 +0100)]
Introduce smpi::Process
Some C calls have to stay in smpi_gloabl.cpp to not break compatibility, as they are public. So they are now wrapped.
degomme [Thu, 16 Mar 2017 21:58:53 +0000 (22:58 +0100)]
leak -- ?
degomme [Thu, 16 Mar 2017 21:58:46 +0000 (22:58 +0100)]
smells --
degomme [Thu, 16 Mar 2017 15:30:52 +0000 (16:30 +0100)]
Update changelog
Martin Quinson [Thu, 16 Mar 2017 16:00:02 +0000 (17:00 +0100)]
Also ignore the 'avoid # and ##' rule in *.hpp
This is really a pitty that I cannot do only one rule such as
**/*.cpp,**/*.hpp Not speaking of something like **/*.[ch]pp that I'd
write in the first place.
The sonar regexp are sometimes disapointing to Unix users.
Frederic Suter [Thu, 16 Mar 2017 20:09:33 +0000 (21:09 +0100)]
Revert "further cleanups"
This reverts commit
40e6c8a3a8d6a2711fa48453e99df411a8afa874.
Frederic Suter [Thu, 16 Mar 2017 20:09:01 +0000 (21:09 +0100)]
Revert "was a bit too eager"
This reverts commit
7f612efc1f653e5196a759484c36973a232cf925.
Frederic Suter [Thu, 16 Mar 2017 20:03:17 +0000 (21:03 +0100)]
was a bit too eager
Frederic Suter [Thu, 16 Mar 2017 18:48:56 +0000 (19:48 +0100)]
further cleanups
Frederic Suter [Thu, 16 Mar 2017 18:41:07 +0000 (19:41 +0100)]
code killed by container usage
Frederic Suter [Thu, 16 Mar 2017 17:26:28 +0000 (18:26 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 16 Mar 2017 16:48:11 +0000 (17:48 +0100)]
better than static casting, use a container
Frederic Suter [Thu, 16 Mar 2017 16:25:29 +0000 (17:25 +0100)]
static casting
Frederic Suter [Thu, 16 Mar 2017 16:20:57 +0000 (17:20 +0100)]
reorg and more functions in namespace
Frederic Suter [Thu, 16 Mar 2017 08:48:46 +0000 (09:48 +0100)]
factor line reading and action handling
still unperfect and unsatisfying
Martin Quinson [Thu, 16 Mar 2017 09:49:30 +0000 (10:49 +0100)]
smpi: regenerate tracing overloads after the recent addition of some MPI calls
degomme [Thu, 16 Mar 2017 13:52:06 +0000 (14:52 +0100)]
Too advanced syntax for gcc 4.8, default to some other ...
Don't like it, though.
degomme [Thu, 16 Mar 2017 11:21:17 +0000 (12:21 +0100)]
reverse alias type in config (reduce_scatter is the mpi name, not ours)
degomme [Thu, 16 Mar 2017 11:20:22 +0000 (12:20 +0100)]
more macros to avoid duplications ..
degomme [Thu, 16 Mar 2017 11:19:41 +0000 (12:19 +0100)]
Please sonar. Hopefully a lot.
Martin Quinson [Thu, 16 Mar 2017 08:24:30 +0000 (09:24 +0100)]
tesh: woops, fix java and smpi tests
Martin Quinson [Thu, 16 Mar 2017 07:45:06 +0000 (08:45 +0100)]
Fix various tesh bugs
- at least attempt to kill timeouted processes
- dont fail miserably when the teshfile does not exist
- dont fail miserably when the executable to run does not exist
Martin Quinson [Thu, 16 Mar 2017 07:30:35 +0000 (08:30 +0100)]
tesh: timeout *= 10 when run on jenkins (for the dynamic analysers)
Martin Quinson [Wed, 15 Mar 2017 22:54:18 +0000 (23:54 +0100)]
sonar: ignore the MPI collectives in their new locations
Martin Quinson [Wed, 15 Mar 2017 20:55:35 +0000 (21:55 +0100)]
a bit of cosmetics in this doc
degomme [Wed, 15 Mar 2017 23:59:20 +0000 (00:59 +0100)]
remove useless unspecialized template which was causing troubles with optimizations.
Frederic Suter [Wed, 15 Mar 2017 23:09:14 +0000 (00:09 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 15 Mar 2017 23:07:49 +0000 (00:07 +0100)]
3 more smells
degomme [Wed, 15 Mar 2017 22:57:35 +0000 (23:57 +0100)]
More template based factorization
degomme [Wed, 15 Mar 2017 22:57:02 +0000 (23:57 +0100)]
oops, wasn't supposed to change that
Frederic Suter [Wed, 15 Mar 2017 22:55:51 +0000 (23:55 +0100)]
fix newly introduced bug and smells
degomme [Wed, 15 Mar 2017 22:26:59 +0000 (23:26 +0100)]
activate new mpich tests as we support new functions/features for attr/win
degomme [Wed, 15 Mar 2017 22:26:07 +0000 (23:26 +0100)]
Expand the Keyval mechanism to Win.
degomme [Wed, 15 Mar 2017 22:25:34 +0000 (23:25 +0100)]
Move Keyval handling to a new file, as it is shared between Comm and Datatype (and Win).
Get rid of some xbt_dicts as well.
degomme [Wed, 15 Mar 2017 13:30:52 +0000 (14:30 +0100)]
Factorize keyval handling for Comm and Datatype (Win to follow)
Martin Quinson [Wed, 15 Mar 2017 20:42:49 +0000 (21:42 +0100)]
really increase a timeout value
Frederic Suter [Wed, 15 Mar 2017 17:14:28 +0000 (18:14 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 15 Mar 2017 17:13:59 +0000 (18:13 +0100)]
avoid double to size_t to double
Martin Quinson [Wed, 15 Mar 2017 17:10:30 +0000 (18:10 +0100)]
travis: try to run sonar even if some tests are broken
And also: don't set a timeout on tests, travis will kill us anyway.
Martin Quinson [Wed, 15 Mar 2017 16:40:49 +0000 (17:40 +0100)]
fix windows build
Martin Quinson [Wed, 15 Mar 2017 16:13:00 +0000 (17:13 +0100)]
doc: add a link to the IRC webchat
Frederic Suter [Wed, 15 Mar 2017 16:32:34 +0000 (17:32 +0100)]
fix 32-bit issues?
Frederic Suter [Wed, 15 Mar 2017 15:40:22 +0000 (16:40 +0100)]
simplify the s4u version of actions-comm to use s4u
to be augmented to match the MSG/C version
Martin Quinson [Wed, 15 Mar 2017 15:23:46 +0000 (16:23 +0100)]
%ZUt, again
Martin Quinson [Tue, 14 Mar 2017 08:59:57 +0000 (09:59 +0100)]
New: Engine::hostList() and Engine::hostCount(). Still clumsy.
- the underlaying data is not part of Engine
- ranged for loops are still difficult to write
Martin Quinson [Tue, 14 Mar 2017 06:44:18 +0000 (07:44 +0100)]
increase a timeout value
Christian Heinrich [Wed, 15 Mar 2017 14:56:31 +0000 (15:56 +0100)]
[INCLUDES] Fix paths for includes in smpi.h
Thanks Milian for reporting this issue