Re: [X10-users] Managed X10: BufferOverflow at X10Launcher

2016-11-22 Thread Marco Bungart
Hi Dave, originally, we build the up-to-date git-sources, as well as the x10-2.6.0 branch with gcc-4.9.2 and java 1.8.0_91. If you need any additional information about installed software, just let us know. Cheers, Marco On 22.11.2016 20:11, David P Grove wrote: > Jonas Posner wrote on 11/21/

Re: [X10-users] Performance: at (...) async vs. at (...) @Uncountedasync

2016-07-27 Thread Marco Bungart
all open activities finish. > [MASTER Place(0)]: test statistics: > [MASTER Place(0)]: asyncAt: 1 runs in 0.079891188 seconds -> 7989.0 > ns per run. > [MASTER Place(0)]: asyncUncountedAt: 1 runs in 0.038455636 seconds > -> 3845.0 ns per run. > [MASTER Place(0)]: execution 2 done. > > Cheers, > > *Josh Milthor

[X10-users] Performance: at (...) async vs. at (...) @Uncounted async

2016-07-26 Thread Marco Bungart
Hi all, we monitored one of our programs and observed a strange behaviour: the compiler-annotation @Uncounted seems to slow down program execution. I constructed a sample program (attached) to simulate the behaviour (please ignore any kind of synchronization problem, I tried to keep the test

Re: [X10-users] Problem with compiling programs to C++ backend after building x10 from source

2016-07-25 Thread Marco Bungart
s somebody know the possible origins of this problem? Do I maybe need > to load some additional modules on the cluster, except gcc and mpi? > > Warm regards, > Marina > > > > > > > > > > > > On Sun, Jul 24, 2016 at 11:48 PM, Marco Bungart <mailto:m

Re: [X10-users] Problem with compiling programs to C++ backend after building x10 from source

2016-07-24 Thread Marco Bungart
Hi, have you tried running "$> ./a.out" instead of "$> a.out"? Some systems distinguish between system-wide executable (i.e. executable located in one of the paths specified in the $PATH environment variable) and executables in the current folder (i.e. "."). Cheers, Marco Am 24.07.2016 um 21:

[X10-users] Compiler Error when compiling with "-O" flag

2016-07-12 Thread Marco Bungart
Hi all, I have a problem with an example program I have written. The program compiles fine when compiled without "-O" flag: $> x10c++ ResilientHelloWorld.x10 -o ResilientHelloWorld $> But when compiled with "-O", I get a NullPointerException: $> x10c++ ResilientHelloWorld.x10 -O

Re: [X10-users] X10 2.6.0 Released

2016-06-07 Thread Marco Bungart
Hi Dave, just read the patch notes. In the 2nd paragraph after "LIMITATIONS OF THIS RELEASE", the patch notes refer to the Language Specification of X10 2.5. Just wanted to let you know, maybe you want to change this =) Cheers, Marco Am 07.06.2016 um 21:36 schrieb David P Grove: > We are happy

[X10-users] APGAS-library: Teams

2015-06-24 Thread Marco Bungart
Hi there, are there plans to add Teams to APGAS? Especially, synchronization over multiple places as well as reduction would be of great interest. Cheers, Marco -- Monitor 25 network devices or servers for free with OpM

Re: [X10-users] Calling new Team(pg) does not always terminate

2015-05-09 Thread Marco Bungart
Forgot a minor detail: Problem starts apperaring with 8 Places and gets worse with 16 Places. The number (1 in 10 and 1 in 30) were for 16 places. Am 09.05.2015 um 14:48 schrieb Marco Bungart: > Hi there, > > I think I found a bug. I was only able to reproduce the behaviour > des

[X10-users] Calling new Team(pg) does not always terminate

2015-05-09 Thread Marco Bungart
Hi there, I think I found a bug. I was only able to reproduce the behaviour described below with native X10. Managed X10 terminated always as expected. If you call "new Team(pg)" with pg being a custom PlaceGroup (see code attached), the call to this constructor does not always terminate. As

Re: [X10-users] Team.reduces does not finish

2015-05-06 Thread Marco Bungart
Hi Dave, thanks you for looking into it =) Cheers, Marco Am 06.05.2015 um 21:03 schrieb David P Grove: > Marco Bungart wrote on 05/05/2015 06:02:58 PM: > > > > sorry, the "ADD" is a typo (from testing with Rail[Boolean] and > > Rail[Long]). Switch it around

Re: [X10-users] Team.reduces does not finish

2015-05-05 Thread Marco Bungart
(saw your answer on sourceforge). Cheers and thanks in advance, Marco Marco Bungart wrote on 05/05/2015 02:46:17 PM: > > I have a problem while using (all)reduce. If X10_NPLACES is set to > something greater than 1, the code hangs at team.reduce(...). With > X10_NPLACES = 1, the progra

[X10-users] Team.reduces does not finish

2015-05-05 Thread Marco Bungart
Hi there, I have a problem while using (all)reduce. If X10_NPLACES is set to something greater than 1, the code hangs at team.reduce(...). With X10_NPLACES = 1, the program terminates. The same code with a Rail[Long] does execute and terminate as expected (see comments in code). I think the p

Re: [X10-users] No more Random.setSeed in X10 2.5.2 ?

2015-03-18 Thread Marco Bungart
Hi, you can set the seed via the constructor: http://x10.sourceforge.net/x10doc/latest/x10/util/Random.html#Random%28seed:x10.lang.Long%29 I do not see another possibility to set the seed right now. Cheers, Marco Am 18.03.2015 um 11:42 schrieb George Solodovnikov: > Hi, > In X10 2.5.2 in Random

Re: [X10-users] Nondeterministic behaviour of Runtime.probe()

2015-03-13 Thread Marco Bungart
) > > --dave > > Inactive hide details for Marco Bungart ---03/12/2015 06:35:55 AM---Hi, > sorry me again.Marco Bungart ---03/12/2015 06:35:55 AM---Hi, sorry me again. > > From: Marco Bungart > To: Mailing list for users of the X10 programming language > > Date: 03/

Re: [X10-users] Nondeterministic behaviour of Runtime.probe()

2015-03-12 Thread Marco Bungart
> To: Mailing list for users of the X10 programming language us...@lists.sourceforge.net> > Date: 03/10/2015 11:05 AM > Subject: Re: [X10-users] Nondeterministic behaviour of Runtime.probe() > > Marco Bungart wrote on 03/10/2015 09:04:24 AM: > > > > your answer s

Re: [X10-users] Nondeterministic behaviour of Runtime.probe()

2015-03-10 Thread Marco Bungart
5 11:05:31 AM: > > > From: David P Grove/Watson/IBM > > To: Mailing list for users of the X10 programming language > us...@lists.sourceforge.net> > > Date: 03/10/2015 11:05 AM > > Subject: Re: [X10-users] Nondeterministic behaviour of Runtime.probe() > >

Re: [X10-users] Nondeterministic behaviour of Runtime.probe()

2015-03-10 Thread Marco Bungart
this place has only one thread. What exactly does Runtime.probe() do then? Cheers, Marco Am 10.03.2015 um 13:47 schrieb David P Grove: > Marco Bungart wrote on 03/10/2015 05:11:27 AM: > > > > the appended program shows nondeterministic behaviour. Sometimes it > > finishe

[X10-users] Nondeterministic behaviour of Runtime.probe()

2015-03-10 Thread Marco Bungart
Hi there, the appended program shows nondeterministic behaviour. Sometimes it finishes, most times it runs into an endless loop. It happends with both native and managed X10. I am using the repository revision 29129 of X10, java 1.8.0_40 and gcc 4.8.2. With an older version of X10 (2.4.3.2),

Re: [X10-users] Strange behavior of PlaceGroup.broadcastFlat

2015-02-19 Thread Marco Bungart
he reduction. > > gcc used: 2.5.1 > java used: 1.8.0_31 > > > On 16 February 2015 at 03:48, Marco Bungart <mailto:m.bung...@gmx.net>> wrote: > > Hi there, > > I just cannot wrap my mind around the behaviour I am observing right > now. >

[X10-users] Strange behavior of PlaceGroup.broadcastFlat

2015-02-16 Thread Marco Bungart
Hi there, I just cannot wrap my mind around the behaviour I am observing right now. When compiling with the c++ backend, the program appended throws an exception at line 51 (broadcastFlat(...)). However, if you uncomment the try-catch-block (line 22-33), the code will run just fine. Is this beh

Re: [X10-users] Implicit clock behavior

2014-12-03 Thread Marco Bungart
Hi, x=1 and x=-1 only happends for managed X10. Native X10 yields the correct results. Cheers, Marco Am 03.12.2014 um 19:11 schrieb Olivier Tardieu: > Hi, > > This is a bug. > Could you open a bug report at: > http://jira.codehaus.org/browse/XTENLANG > > Thanks, > > Olivier > > > > > From: To

[X10-users] Elastic X10 an PlaceLocalHandle

2014-12-01 Thread Marco Bungart
Hi there, i am playing around with the Elastic-feature added in X10 2.5.0. Are PlaceLocalHandles supported with Elastic? If so, where is the entry-point of the new place(s)? The code appended throws a NullPointerException, when a place is added. Line 60 to 76 enables Elasticity on the program,

Re: [X10-users] how to save memory

2014-10-19 Thread Marco Bungart
Hi, i think there is not really a solution to this problem. Let's say your class has only the four attributes you mentioned and let's say that a boolean consists of 1 Byte. So one instance of your class would use up (4 + 4 + 1 + 4) = 13 Byte, therefore 1,000,000,000 Instances would use up ruogh

Re: [X10-users] ArrayList vs. std::vector in c++

2014-10-17 Thread Marco Bungart
Hi Olga, you can find a step-by-step guide here: http://x10-lang.org/x10-development/building-x10-from-source.html (I prefer using the SVN repository) Cheers, Marco Am 18.10.2014 um 00:32 schrieb Olga Gryshchenko: > Hello Josh, > > Sorry, I didn't really understand how to pull changes. Could you

Re: [X10-users] Basic questions about Rails

2014-10-16 Thread Marco Bungart
Hi Michael, Am 16.10.2014 um 22:13 schrieb Michael Dietrich: > Hello, > > I'm getting started with X10 and am a bit stuck with the handling of > Rails (I think I might get the same problem with Arrays and so on). > > Let's say I create the following: > > val bla = new Rail[Long](10); >

Re: [X10-users] Questions about distributed arrays

2014-10-09 Thread Marco Bungart
Hi John, Am 09.10.2014 um 16:13 schrieb John MacFrenz: > [...] > Also, I'd like to know if I have understood this correctly: If I have > Rail which stores instances of class, Rail stores just references and > instances aren't in continuous block of memory. If that's the case, is > there way to cha

[X10-users] Place.places() and Team.allreduce(...)

2014-09-17 Thread Marco Bungart
Hi there, I am playing around with the current svn-version (R28225). In particular, I tried using allreduce in combination with Place.places. Example code is appended. I was able to make the following observations: - The behaviour of the code changes with X10_NPLACES. - The behaviour of the c

Re: [X10-users] Some questions about places

2014-09-08 Thread Marco Bungart
Hi, Am 08.09.2014 um 16:25 schrieb WangChen: > 1. > I tested it on my computer. > If all name in X10_HOSTLIST are invalid then the program won’t start. > if one of them is right, then the program will running on it. > > 2. > Since you used finish construct, “the End” should always be printed at la

Re: [X10-users] Some questions about places

2014-08-27 Thread Marco Bungart
Hi, Am 27.08.2014 um 17:33 schrieb Michael Dietrich: > Hello, > > I am using X10 as a part of my bachelor's thesis about high > performance programming languages (so maybe some more questions may be > asked later :-) ). > > My first questions are about using several places: > > * If I set X10_NP

Re: [X10-users] Simple parallelization problem

2014-08-23 Thread Marco Bungart
Hi, execution-order is here the problem. Let me label some points in the sourcecode. public class Hello { public static def main(args:Rail[String]) { at(Place(1)) async test(); // Point 1 while(true) { Runtime.probe() }// Point 2 } public static def test() { at(Place

Re: [X10-users] Simple parallelization problem

2014-08-22 Thread Marco Bungart
Hi there, the output looks fine. You should have 100x "test,Place(0)" and 100x "test,Place(1)". I am getting these messages in mixed order, when compiling with native X10 (x10c++): [...] test,Place(0) test,Place(0) test,Place(0) test,Place(0) test,Place(0) test,Place(0) test,Place(0) test,Plac

Re: [X10-users] at and Runtime.probe()

2014-06-01 Thread Marco Bungart
Please ignore my last mail. I found the error. Cheers, Marco Am 01.06.2014 19:19, schrieb Marco Bungart: > Hi there, > > i have a little problem with the program appended. > > Compiling and running this program results in a deadlock (tested with > java- and c++-Backend). > H

[X10-users] at and Runtime.probe()

2014-06-01 Thread Marco Bungart
Hi there, i have a little problem with the program appended. Compiling and running this program results in a deadlock (tested with java- and c++-Backend). However, if you change line 19 from "at (Place(id)) ..." to "at (Place(0)) ..." the program runs as intended. Surrounding the "plh().waitin

Re: [X10-users] Resilient X10, async, X10_STATIC_THREADS and DeadPlaceException

2014-05-23 Thread Marco Bungart
le is not supported and, in > general, will cause programs to freeze. > The X10 runtime requires dynamic thread creation for all but the most > trivial programs. > > Olivier > > Marco Bungart wrote on 05/23/2014 07:56:30 AM: > > > From: Marco Bungart > >

[X10-users] Resilient X10, async, X10_STATIC_THREADS and DeadPlaceException

2014-05-23 Thread Marco Bungart
Hi there, I got non-deterministic behaviour with the code appended. Compiling the program with the c++ backend and starting it with 2 as parameter results almost always in the expected output: $ ./DPEExample 2 Place(0): Sending to Place(1). Place(0): waiting. Place(0): Place(1) has answered.

[X10-users] instanceOf and Arithmetic[T] / Bitwise[T] / Ordered[T]

2014-05-14 Thread Marco Bungart
27689 from the svn-repository (https://svn.code.sourceforge.net/p/x10/code/trunk), as well as gcc-4.8.2. Do I have a misconception about "instanceof" in X10 or is this a bug? Cheers and thanks in advance for any help, Marco Bungart public class InstanceOf{ public static def main