Hi,

 

I've successfully configured and verified X10 to work on our cluster with
the "sockets" X10RT implementation. I would like it to work with the MPI
implementation as well, however I have run on problems when compiling sample
program for MPI X10RT.

 

I've followed the instructions on
http://x10-lang.org/documentation/getting-started/x10rt-implementations.html
. 

 

When I try to compile the KMeansDist I get the following errors:

 

# x10c++ -x10rt mpi -o KMeansDist-MPI KMeansDist.x10

x10c++: /tmp/ccmzBOKJ.o: In function `x10aux::shutdown()':

 
xxx_main_xxx.cc:(.text._ZN6x10aux8shutdownEv[x10aux::shutdown()]+0x241):
undefined reference to `x10rt_finalize'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_child_index'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_nhosts'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_nchildren'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_register_get_receiver'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_barrier'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_here'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_send_put'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_nplaces'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_register_mem'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_register_put_receiver'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_child'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_send_msg'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_team_new'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_is_cuda'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_is_host'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_init'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_team_del'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_team_split'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_registration_complete'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_blocks_threads'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_probe'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_register_msg_receiver'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_allreduce'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_send_get'

     /home/apps/x10/2.2/stdlib/lib/libx10.so: undefined reference to
`x10rt_parent'

     collect2: ld returned 1 exit status

x10c++: Non-zero return code: 1

2 errors.

 

Has anybody encountered any similar problems? Any help would be
apprichiated!

 

My system information:

 

# cat /etc/redhat-release

CentOS release 5.6 (Final)

 

# uname -a

Linux . 2.6.18-238.12.1.el5 #1 SMP . x86_64 x86_64 x86_64 GNU/Linux

 

# gcc -v

.

Thread model: posix

gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)

 

# g++ -v

.

Thread model: posix

gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)

 

openmpi_gcc-1.4.3

 

# cat /home/apps/x10/2.2/etc/x10rt_mpi.properties

X10LIB_PLATFORM=linux_x86_64

CXX=mpicxx

CXXFLAGS=

LDFLAGS=

LDLIBS=  -lx10rt_mpi

 

 

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

Reply via email to