vsipl++ installation on Cell

Jangjaimon Itthichok ixj0704 at cacs.louisiana.edu
Wed Aug 19 03:06:29 UTC 2009


Hello,

I'm not sure is this the right place to ask about installation problem. 
If not, please help direct me to any forum/mailing list that can help.

I am installing VSIPL++ on Cell QS22, Fedora core 9, using the source code
downloaded from
http://www.codesourcery.com/vsiplplusplus/2.1/download.html
(sourceryvsipl++-lite-2.1-5-source.tar.bz2) for academic project.

I follow the installation step in "getting start" document.

1) I have installed ppu-gcc.ppc, ppu-gcc-c++.ppc, ppu-binutils.ppc,
libspe2.ppc64, libspe2-devel.ppc64, atlas.ppc64, and atlas-devel.ppc64
using yum.

I guess my system is 64 bit, according to uname output.

uname -a
Linux ####### 2.6.25.14-108.20080910bsc.ppc64 #1 SMP Fri Sep 12 11:44:36
CEST 2008 ppc64 ppc64 ppc64 GNU/Linux

Some package (such as ppu-gcc, ppu-gcc-c++) does not have .ppc64, so I
install with .ppc.


2) I start to run simple configure, and make
./configure CC="ppu-cc" CXX="ppu-g++" --with-cbe-sdk --with-numa
make

It give me an error:
spu-gcc -c -fpic  -I src -I ./src -I ./src/vsip/opt/cbe -I
/usr/spu/include -I /opt/cell/sdk/usr/spu/include -O3 -o
src/vsip/opt/cbe/spu/plugin/chalfast_f.o
src/vsip/opt/cbe/spu/plugin/chalfast_f.c
src/vsip/opt/cbe/spu/plugin/chalfast_f.c:21:17: error: cml.h: No such file
or directory

I have search all the source, it doesn't seems that cml.h exist anywhere.

3) According to the document, Atlas is required in Cell platform, so I go
with:
./configure CC="ppu-cc" CXX="ppu-g++" --with-cbe-sdk --with-numa
--with-lapack=atlas --with-atlas-libdir=/usr/lib64/atlas/
--with-atlas-include=/usr/include/atlas/

which cannot found Atlas installation and give me an error:
Searching for LAPACK packages: atlas
checking for LAPACK/ATLAS library (atlas w/CBLAS)... not found
configure: error: LAPACK enabled but no library found

I have check /usr/include/atlas and /usr/lib64/atlas, there are .h, .a,
and .so as it should be.  What else should I check here ?  What exactly
file/library that VSIPL++ looking for.

4) I have tried --enable-timer=power_tb, got this error

checking if PowerPC timebase assembly syntax supported.... configure:
error: GNU in-line assembly for PowerPC timebase not supported.

Any package recommend ?

5) As document said that there is bug of Altivec on 64 bit machine. I have
try --disable-fftw3-simd, but that doesn't help.


Thank you in advance,
Itthichok Jangjaimon






More information about the vsipl++ mailing list