I have some problems about installing MAGMA3.0 on ubuntu12.10.
my OS is 64bit, and I have installed gotoblas2,lapack and cuda5.
I have test lapack and cuda5, and it's all OK. I do not know how to test gotoblas2 manually.This my first question.
Then I begin to install magma. I revise 3 points in the make.inc.
- Code: Select all
NVCC = /usr/local/cuda-5.0/bin/nvcc
LIB = -lgoto2 -lpthread -lcublas -lcudart -llapack -lm
LIBDIR = -L/bummer/GotoBLAS -L/usr/local/cuda/lib64 -L/usr/lib
My second question is that if ‘-L/bummer/GotoBLAS' is correct. I can not find such a file as bummer.
Next, I type sudo make install. I meet the third problem as following.
- Code: Select all
make[1]: Leaving directory `/home/happy/Downloads/magma-1.3.0/magmablas'
mkdir -p ./install
mkdir -p ./install/include
mkdir -p ./install/lib
mkdir -p ./install/lib/pkgconfig
cp ./include/*.h ./install/include
cp ./lib/libmagma.a ./install/lib
cp ./lib/libmagmablas.a ./install/lib
cat ./lib/pkgconfig/magma.pc | \
sed -e s:\__PREFIX:"./install": | \
sed -e s:\__LIBEXT:"-L/bummer/GotoBLAS -L/usr/local/cuda/lib64 -L/usr/lib -lgoto2 -lpthread -lcublas -lcudart -llapack -lm ": \
> ./install/lib/pkgconfig/magma.pc
cat: ./lib/pkgconfig/magma.pc: No such file or directory
I am new to magma and want to use it. Thank you for helping me!