Hello,
  I've messed around with X10 a bit and was trying to get it to run over
MPI to no avail. I tried installing X10RT with the directions on the web
site but at when I try running 'make ENABLE_X10RT_MPI=1 JAVA_HOME=', it
fails with the following error:

r...@appscale-image0:/usr/local/x10rt/x10rt# make ENABLE_X10RT_MPI=1
JAVA_HOME=
mpicxx -g  -ansi -pedantic -Wall -Wextra -Wno-long-long
-Wno-unused-parameter -pthread  -Iinclude -Icommon  -shared -fPIC  -o
lib/libx10rt_mpi.so mpi/x10rt_mpi.o common/x10rt_front.o
common/x10rt_logical.o common/x10rt_cuda.o
/usr/bin/ld: /usr/local/mpich2/lib/libmpich.a(barrier.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/local/mpich2/lib/libmpich.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [lib/libx10rt_mpi.so] Error 1

It tells me to recompile with -fPIC, but as you can see, it is compiling
with -fPIC already. Has anyone else seen this problem or can suggest
ways to go about fixing this? I'm running on Ubuntu Jaunty and built MPI
from source (from the usual site
http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads)

Thanks!


------------------------------------------------------------------------------

_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to