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

Reply via email to