Very nice!

Based on the below, I changed the hpcc/Makefile and changed the X10RTTRANSPORT, 
it compiled after that!

#leave blank by default, let x10c++ choose a sensible default
#export X10RTTRANSPORT  ?= -x10rt pami
export X10RTTRANSPORT   ?= 

Thank you!!!!!!!!

> Hi
> 
> The makefile for this benchmark is platform-specific and assumes pami 
> transport. Try compiling with:
> 
> x10c++ -O -NO_CHECKS -STATIC_CHECKS fft.x10 -o fft
> 
> The code itself does not require pami or mpi. It will run fine with sockets.
> 
> The only hack is the Random class, which replaces the portable X10 random 
> number generator with the native one (faster).
> So this benchmark will only run with the c++ backend.
> 
> Olivier
> 
> 
> Paul Monday <paul.mon...@parsci.com> wrote on 05/24/2012 04:02:48 PM:
> 
> > From: Paul Monday <paul.mon...@parsci.com>
> > To: Mailing list for users of the X10 programming language <x10-
> > us...@lists.sourceforge.net>, 
> > Date: 05/24/2012 04:04 PM
> > Subject: [X10-users] FT-alltoall Benchmark, libpoe.so, libmpi_ibm.so
> > 
> > I grabbed the "benchmarks" package from the x10-lang web site and 
> > there is no documentation in the bundle and there appears to be some
> > missing dependencies for the one I really wanted to use, the FT-
> > alltoall benchmark.
> > 
> > Based on the dependencies, I'm wondering if this simply sits on MPI 
> > and uses the MPI runtime as opposed to the sockets runtime?
> > 
> > At any rate, I googled libpoe.so and libmpi_ibm.so and searched the 
> > archives with no luck.  Does anyone know where to get these 
> > particular dependencies, if I can substitute my own MPI on my system
> > (though I don't know what libpoe.so is)?  Etc?
> > 
> > Thanks :-)
> > 
> > [paul.monday@pg73-v0 hpcc]$ make FT-alltoall
> > make -C FT-alltoall fft-opt
> > make[1]: Entering directory `/export/shared/x10-benchmarks-2.2.2/
> > hpcc/FT-alltoall'
> > mkdir -p opt-gen/FT
> > x10c++ -O -NO_CHECKS -d opt-gen -report postcompile=5 -x10rt pami 
> > fft.x10 Random.x10 -post '#  -O3 # # ' -o fft-opt
> >  Output files: {FT/fft=[FT/ft_natives.h, FT/hpccfft.h, FT/
> > wrapfftw.h, FT/fft235.c, FT/wrapfftw.c, FT/zfft1d.c, FT/
> > ft_natives.cc, FT/fft.h, FT/fft__Block.h, FT/fft.cc], FT/Random=[FT/
> > Random.h, FT/Random.cc]}
> > Executing post-compiler g++ -O3 -I/export/shared/x10-2.2.2.2/include
> > -I/export/shared/x10-2.2.2.2/stdlib/include -Iopt-gen -I. -O2 -
> > finline-functions -DNO_TRACING -Wno-long-long -Wno-unused-parameter 
> > -DNO_CHECKS -DX10RT_32BIT_MSG_IDS -DX10_USE_BDWGC -pthread -o /
> > export/shared/x10-benchmarks-2.2.2/hpcc/FT-alltoall/fft-opt FT/
> > fft235.c FT/wrapfftw.c FT/zfft1d.c FT/ft_natives.cc FT/fft.cc FT/
> > Random.cc xxx_main_xxx.cc -L/export/shared/x10-2.2.2.2/stdlib/lib -
> > lx10 -lgc -lm -lpthread -lrt -ldl -L/export/shared/x10-2.2.2.2/lib -
> > lx10rt_pami -Wl,--rpath -Wl,/export/shared/x10-2.2.2.2/stdlib/lib -
> > Wl,--rpath -Wl,/export/shared/x10-2.2.2.2/lib -Wl,-export-dynamic 
> > x10c++: /usr/bin/ld: warning: libpoe.so, needed by /export/shared/
> > x10-2.2.2.2/lib/libx10rt_pami.so, not found (try using -rpath or -
> > rpath-link)    
> >      /usr/bin/ld: warning: libmpi_ibm.so, needed by /export/shared/
> > x10-2.2.2.2/lib/libx10rt_pami.so, not found (try using -rpath or -
> > rpath-link)    
> >      /usr/bin/ld: warning: libpami.so, needed by /export/shared/
> > x10-2.2.2.2/lib/libx10rt_pami.so, not found (try using -rpath or -
> > rpath-link)    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Get@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_UNSIGNED_INT@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Send@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_NOOP@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_MIN@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_UNSIGNED_SHORT@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Client_create@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Geometry_world@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_COPY@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Extension_close@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Context_lock@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_UNSIGNED_CHAR@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_MAX@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_BAND@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Geometry_destroy@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Context_createv@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Client_destroy@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_FLOAT@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Extension_open@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Dispatch_query@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Geometry_algorithms_num@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_PROD@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Collective@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Dispatch_set@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_BOR@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_SIGNED_SHORT@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_BYTE@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_SIGNED_CHAR@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Context_unlock@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Memregion_create@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Put@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Client_query@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_SIGNED_INT@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Extension_symbol@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Context_trylock@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Rmw@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_UNSIGNED_LONG_LONG@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Error_text@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Context_destroyv@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_SUM@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_SIGNED_LONG_LONG@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_LOC_DOUBLE_INT@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Send_immediate@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_MINLOC@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_TYPE_DOUBLE@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Context_advance@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_BXOR@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_DATA_MAXLOC@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Geometry_algorithms_query@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Endpoint_create@Base'    
> >      /export/shared/x10-2.2.2.2/lib/libx10rt_pami.so: undefined 
> > reference to `PAMI_Geometry_create_tasklist@Base'    
> >      collect2: ld returned 1 exit status    
> > x10c++: Non-zero return code: 1
> > 2 errors.
> > 
> > 
> > Paul Monday
> > Parallel Scientific, LLC.
> > paul.mon...@parsci.com
> > 
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and 
> > threat landscape has changed and how IT managers can respond. Discussions 
> > will include endpoint security, mobile security and the latest in malware 
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > X10-users mailing list
> > X10-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/x10-users
> > 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to