Mark Cheeseman <mark.cheese...@kaust.edu.sa> wrote on 01/20/2010 02:17:31 
AM:

> Hello,
> 
> I am trying to install the newest X10 version (2.0.1) on my Eclipse
> configuration (Version 3.5.1) on my x86_64 Linux workstation.  I can
> successfully follow the installation instructions on your X10 
installation
> webpage
> 
> http://x10.codehaus.org/X10DT+2.0+Installation
> 
> until the "X10 Platform Configuration" step.  I have successfully step a
> MPICH2 Resource Manager that runs locally on my Linux workstation.  When 
I
> create a new X10 Platform Configuration I specify this Resource Manager. 
 I
> am using the default GNU compiler settings/flags and I check the 64-bit
> architecture checkbox.

Hi, Mark,

Glad you're trying out X10DT.

> There doesn't seem to be any field to enter the locations of the local 
PGAS
> or X10 distributions as indicated in your installation webpage -should 
there
> be?  There seems to be the proper X10 libraries and include statements
> already present by default so I have not changed anything in the 
compiler
> command statements.

In a local configuration, Eclipse should have pulled down the appropriate
libraries for your platform already.  These libraries will live in the
Eclipse plugins directory, and X10DT will automatically point a local
configuration to their location.  There is no need to install X10
separately for use with X10DT.

> When I click Finish I get a "Validation Internal Error" as so:
> 
> 
> Validation Internal Error
> 
> java.lang.ExceptionInInitializerError
>     at x10cpp.ExtensionInfo.initTypeSystem(ExtensionInfo.java:77)
>     at 
polyglot.frontend.AbstractExtensionInfo.initCompiler(AbstractExtensionInfo.java:72)
>     at x10.ExtensionInfo.initCompiler(ExtensionInfo.java:224)
>     at polyglot.frontend.Compiler.<init>(Compiler.java:68)
>     at 
org.eclipse.imp.x10dt.ui.launch.core.preferences.PlatformConfChecker.compileX10File(PlatformConfChecker.java:178)
>     at 
org.eclipse.imp.x10dt.ui.launch.core.preferences.PlatformConfChecker.validateCompilation(PlatformConfChecker.java:106)
>     at 
org.eclipse.imp.x10dt.ui.launch.core.preferences.X10PlatformConfigurationPrefPage$11.run(X10PlatformConfigurationPrefPage.java:585)
>     at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Caused by: java.lang.NullPointerException
>     at 
x10cpp.postcompiler.CXXCommandBuilder.<clinit>(CXXCommandBuilder.java:60)
>     ... 8 more
> 
> What am I doing wrong?

You are not doing anything wrong.  This is a known issue, and has been
fixed in SVN.  The build with the fix is now on the X10DT update site --
please update.

Unfortunately, there was no workaround for this bug.  Even if you had
changed the locations of the PGAS and X10 distributions, the error was
in the code of the Eclipse plugin, and would not have been affected by
that change.

Thanks,
        Igor
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to