Hi Danny,
x10.runtime/Make.rules sets a variable jarch for the architecture using
"uname -p". I assume that "uname -p" returns "unknown" on your machine?
- can you confirm?
As your platform is Linux, you could try unconditionally setting
jarch=amd64 (lines 99-101 of Make.rules). However, it's probably better
if you can find out why "uname -p" isn't working.
Cheers,
Josh
------------------------------------------
Josh Milthorpe
Visiting Fellow, Research School of Computer Science
Australian National University, Building 108
Canberra, ACT 0200
Australia
E-mail: josh.miltho...@anu.edu.au
Web: http://cs.anu.edu.au/~Josh.Milthorpe/
On 29/04/14 11:19, Danny Munera wrote:
Hello everyone,
I'm trying to build the X10 runtime (with MPI) on a linux machine. I'm
getting an error when the runtime is compiled:
...
[exec] mpicxx -DNO_TRACING -DHOMOGENEOUS -O2 -finline-functions
-pthread -Iinclude -Icommon -I"/usr/lib/jvm/java-6-oracle"/include
-I"/usr/lib/jvm/java-6-oracle"/include/linux -ansi -pedantic -Wall
-Wextra -Wno-long-long -Wno-unused-parameter -Wno-unused-variable
-Wno-unused-value -Werror=return-type mpi/Java.cc -o mpi/X10MPIJava
-ljvm -L"/usr/lib/jvm/java-6-oracle"/jre/lib/unknown/j9vm
-L"/usr/lib/jvm/java-6-oracle"/jre/lib/*unknown/*server
-L"/usr/lib/jvm/java-6-oracle"/jre/lib/unknown/client
[exec] /usr/bin/ld: cannot find -ljvm
[exec] collect2: error: ld returned 1 exit status
[exec] make: *** [mpi/X10MPIJava] Error 1
BUILD FAILED
/home/danny/x10/x10-trunk/x10.dist/build.xml:397: The following error
occurred while executing this line:
/home/danny/x10/x10-trunk/x10.runtime/build.xml:436: exec returned: 2
I suppose the problem is because the ant script is not able to find
out the machine architecture, and the path of the ljvm library is
created with the *unknown* folder (instead amd64 which is the right one).
Is there any way to set the architecture manually? Why the ant script
is not working on this machine?
Regards,
Danny MĂșneracompile
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users