Hi,
No, I haven't built X10 from source, I've just unzipped the "Linux/x86_64
(RHEL5)" package from
http://x10-lang.org/software/download-x10/latest-release.html.
However, I did follow the instructions in "Augmenting a pre-built X10
Release with the MPI version of X10RT" and compiled the libx10rt_mpi.so.
Shouldn't that be enough?
Kind regards, Marko Kobal
-----Original Message-----
From: Josh Milthorpe [mailto:josh.miltho...@anu.edu.au]
Sent: Tuesday, August 02, 2011 11:58 PM
To: x10-users@lists.sourceforge.net
Subject: Re: [X10-users] errors with MPI version of X10RT
Hi Marko,
I assume you built X10 from source -- it looks like you didn't build with
the MPI implementation of X10RT. Out of the box, X10 is configured to build
with only the sockets and standalone implementations of X10RT.
Did you follow the instructions for "Building Alternate X10RT
implementations"?
http://x10-lang.org/documentation/getting-started/x10rt-implementations.html
#X10RTImplementations-BuildingalternateX10RTImplementations
If you're planning to build for MPI on a frequent basis, you can also set
the property X10RT_MPI=true in x10.runtime/build.xml
Cheers,
Josh
On 03/08/11 07:42, Marko Kobal wrote:
> 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-implementation
> s.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
----------------------------------------------------------------------------
--
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