running the MPI 2D FFT

Generic algorithms that could be implemented in almost any language, e.g. matrix operations and FFT.

running the MPI 2D FFT

Postby svink » Fri Sep 11, 2015 12:57 am

Hi,
I"m having issues running the MPI 2D FFT on the parallella ( https://www.parallella.org/2015/04/09/t ... hitecture/ ), here's the output I get :

Code: Select all
parallella@parallella:~/epiphany-mpi-fft2d-master$ make
clcc --coprthr-cc -mtarget=e32 -D__link_mpi__ --dump-bin -I. -DMPI_BUF_SIZE=128  \
   -DCOPRTHR_MPI_COMPAT mpi_fft2d_tfunc.c
e32.o: In function `coprthr_mutex_lock':
/usr/local/browndeer/include/coprthr_xdevice.h:42: undefined reference to `e_mutex_lock(unsigned int, unsigned int, int*)'
/usr/local/browndeer/include/coprthr_xdevice.h:42: undefined reference to `e_mutex_lock(unsigned int, unsigned int, int*)'
e32.o: In function `coprthr_mutex_unlock':
/usr/local/browndeer/include/coprthr_xdevice.h:45: undefined reference to `e_mutex_unlock(unsigned int, unsigned int, int*)'
/usr/local/browndeer/include/coprthr_xdevice.h:45: undefined reference to `e_mutex_unlock(unsigned int, unsigned int, int*)'
e32.o: In function `my_thread':
/tmp/xclsbIQu3/YpZsOW.cpp:189: undefined reference to `e_dma_copy(void*, void*, unsigned long)'
/tmp/xclsbIQu3/YpZsOW.cpp:189: undefined reference to `e_dma_copy(void*, void*, unsigned long)'
collect2: error: ld returned 1 exit status
epiphany-elf-objcopy: 'e32.0.elf': No such file
cat: e32.0.srec: No such file or directory
nm: 'e32.0.elf': No such file
[17468] clmesg ERROR: computil_e32.h(397): addr_core_local_data not found
[17468] clmesg ERROR: compiler_cc.c(212): compile returned -11

[17467] clmesg ERROR: clcc.c(668): clcc: clcc1 returned non-zero exit status 11
make: *** [mpi_fft2d_tfunc.cbin.3.e32] Error 255


I have installed COPRTHR-1.6.1 SDK (and libelf,libevent,libconfig ) and LIBCOPRTHR_MPI.

Any help would be appreciated.

Thanks.
svink
 
Posts: 1
Joined: Fri Sep 11, 2015 12:36 am

Re: running the MPI 2D FFT

Postby jar » Tue Sep 15, 2015 8:32 pm

In the Makefile, try changing
Code: Select all
-I.
to
Code: Select all
-I ./
. Add a space and a slash.

I have git history that indicates that I did this at some point. I'm not sure if this was the reason.
User avatar
jar
 
Posts: 294
Joined: Mon Dec 17, 2012 3:27 am

Re: running the MPI 2D FFT

Postby mjvbhaskar1000 » Fri Jun 10, 2016 4:05 pm

svink wrote:Hi,
I"m having issues running the MPI 2D FFT on the parallella ( https://www.parallella.org/2015/04/09/t ... hitecture/ ), here's the output I get :

Code: Select all
parallella@parallella:~/epiphany-mpi-fft2d-master$ make
clcc --coprthr-cc -mtarget=e32 -D__link_mpi__ --dump-bin -I. -DMPI_BUF_SIZE=128  \
   -DCOPRTHR_MPI_COMPAT mpi_fft2d_tfunc.c
e32.o: In function `coprthr_mutex_lock':
/usr/local/browndeer/include/coprthr_xdevice.h:42: undefined reference to `e_mutex_lock(unsigned int, unsigned int, int*)'
/usr/local/browndeer/include/coprthr_xdevice.h:42: undefined reference to `e_mutex_lock(unsigned int, unsigned int, int*)'
e32.o: In function `coprthr_mutex_unlock':
/usr/local/browndeer/include/coprthr_xdevice.h:45: undefined reference to `e_mutex_unlock(unsigned int, unsigned int, int*)'
/usr/local/browndeer/include/coprthr_xdevice.h:45: undefined reference to `e_mutex_unlock(unsigned int, unsigned int, int*)'
e32.o: In function `my_thread':
/tmp/xclsbIQu3/YpZsOW.cpp:189: undefined reference to `e_dma_copy(void*, void*, unsigned long)'
/tmp/xclsbIQu3/YpZsOW.cpp:189: undefined reference to `e_dma_copy(void*, void*, unsigned long)'
collect2: error: ld returned 1 exit status
epiphany-elf-objcopy: 'e32.0.elf': No such file
cat: e32.0.srec: No such file or directory
nm: 'e32.0.elf': No such file
[17468] clmesg ERROR: computil_e32.h(397): addr_core_local_data not found
[17468] clmesg ERROR: compiler_cc.c(212): compile returned -11

[17467] clmesg ERROR: clcc.c(668): clcc: clcc1 returned non-zero exit status 11
make: *** [mpi_fft2d_tfunc.cbin.3.e32] Error 255


I have installed COPRTHR-1.6.1 SDK (and libelf,libevent,libconfig ) and LIBCOPRTHR_MPI.

Any help would be appreciated.

Thanks.


Any luck? Got this running? If yes What did u do?
mjvbhaskar1000
 
Posts: 11
Joined: Tue Jun 07, 2016 3:04 pm

Re: running the MPI 2D FFT

Postby jar » Fri Jun 10, 2016 7:40 pm

mjvbhaskar1000 wrote:Any luck? Got this running? If yes What did u do?


The code was patched with a couple minor changes. You might want to try pulling again. The build had to be updated for COPRTHR-2 from 1.6.
viewtopic.php?f=13&t=3661&p=17739#p17739
User avatar
jar
 
Posts: 294
Joined: Mon Dec 17, 2012 3:27 am


Return to Algorithms

Who is online

Users browsing this forum: No registered users and 2 guests

cron