肖之慰 <zwx...@gmail.com> wrote on 03/31/2010 10:11:47 AM:

> Hi,
> 
> I have compiled x10-2.0.2 on my Linux x86 64bits machine.
> 
> I tried to compile the benchmarks from
> http://x10.svn.sourceforge.net/viewvc/x10/benchmarks/trunk/, but nearly 
all
> fail with compile errors like these:
> ------------
> x...@debian:~/x10-2.0.2/benchmarks/NewJavaGrande/moldyn/parallel$ x10c
> -sourcepath $X10_LIB JGFMolDynBenchSizeA.x10
> /home/xoyo/x10-2.0.2/x10.tests/examples/x10lib/jgfutil/JGFTimer.x10:40:
> Method or static constructor not found for reset()
> /home/xoyo/x10-2.0.
> 2/benchmarks/NewJavaGrande/moldyn/parallel/moldyn/md.x10:117-134:
> Final field "one" might not have been initialized
> ------------
> There are even some syntax errors like these:
> ------------
> /home/xoyo/x10-2.0.2/benchmarks/OtherApps/LU.x10.new:107: Syntax error:
> Token "in" expected after this input
>                     finish foreach ((i,j): point afterKK(k+1))
>                                             ^---^
> 
> /home/xoyo/x10-2.0.2/benchmarks/OtherApps/LU.x10.new:121: Syntax error:
> Token "Annotation" expected instead of this input
>          final val size: int = 10;
>           ^-------^
> 
> /home/xoyo/x10-2.0.2/benchmarks/OtherApps/LU.x10.new:122: Syntax error:
> Token "Annotation" expected instead of this input
>          final val Size: region{rank==1 && rect} = [0..size-1];
>              ^-------^
>                ^
> ------------
> 
> I have also tried the 2.0.1 version but got the same results.
> 
> I doubt if these benchmarks are still in the progress of porting. Are 
there
> any benchmarks available for x10 2.0?

Hi, Wade,

The files with the ".new" extension aren't valid X10 code.  They are
automatically generated files that we will fix eventually (and remove
the ".new" extension once they're fixed).

Files with the ".x10" extension should be compilable, but as we are
currently making many language and type system changes, these
benchmarks may either be out of date with respect to the release, or,
at the other extreme, updated to work with the latest X10 language
(in SVN HEAD).

I know there are people working on updating the implementation of the
Java Grande benchmarks in X10.  If you have a specific benchmark in
mind, please let us know, and we'll keep you posted on the progress.

Also, it would be helpful if you stated (a) your affiliation, and
(b) your purpose for trying to compile (and, presumably, run) the
benchmarks in X10.

Hope this helps.
        Igor
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
X10: Parallel Productivity and Performance (http://x10-lang.org/)
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
"I hear and I forget.  I see and I remember.  I do and I understand" -- 
Confucius

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to