Hi,
My ant was obviously broken, I've downloaded fresh version and then managed
to build X10 from sources with MPI support. Now the MPI RT implementation
works fine.
- get and install latest Oracle Sun Java from
http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-downlo
ad-432154.html:
# wget http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.rpm
# rpm -ivh jdk-7-linux-x64.rpm
# export JAVA_HOME=/usr/java/jdk1.7.0
# /usr/java/jdk1.7.0/bin/java -version
java version "1.7.0"
- download apache ant binary edition from
http://ant.apache.org/bindownload.cgi
- unpack it to "/home/install/ant/apache-ant-1.8.2"
- set ANT_HOME:
# export ANT_HOME="/home/install/ant/apache-ant-1.8.2"
- get X10 sources from trunk:
# cd /home/apps/x10
# svn co https://x10.svn.sourceforge.net/svnroot/x10/trunk x10-trunk
- build sources:
# cd x10-trunk/x10.dist
# ant -DX10RT_MPI=true dist
...
BUILD SUCCESSFUL
Total time: 4 minutes 23 seconds
Kind regards, Marko Kobal
-----Original Message-----
From: Benjamin W Herta [mailto:bhe...@us.ibm.com]
Sent: Wednesday, August 03, 2011 11:01 PM
To: Marko Kobal
Cc: x10-users@lists.sourceforge.net
Subject: Re: [X10-users] error building from source
I believe this is an ant configuration issue. Perhaps ANT_HOME is not set
correctly, or needs to be unset, or perhaps JAVA_HOME needs to be set.
There is an error similar to this at the bottom of
http://wiki.apache.org/ant/AntNewbies
Also, I'm not positive, but I believe you need to specify the options before
the build target, with "ant -DX10RT_MPI=true dist", instead of "ant dist
-DX10RT_MPI=true".
- Ben
|------------>
| From: |
|------------>
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|Marko Kobal <marko.ko...@arctur.si>
|
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|------------>
| To: |
|------------>
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|"x10-users@lists.sourceforge.net" <x10-users@lists.sourceforge.net>
|
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|08/03/2011 16:44
|
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
|[X10-users] error building from source
|
>---------------------------------------------------------------------------
-----------------------------------------------------------------------|
Hi,
On my CentOS 5.6 64bit system I have:
# java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
ant.x86_64 1.6.5-2jpp.2
installed
ant-nodeps.x86_64 1.6.5-2jpp.2
installed
When I try to build I get the following error:
# cd x10.dist && ant dist -DX10RT_MPI=true
Error: Could not find or load main class
org.apache.tools.ant.launch.Launcher
What else am I missing?
Kind regards, Marko Kobal
----------------------------------------------------------------------------
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The
must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users