1.0.0-RC3 build errors : testing folder ()

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
Posts: 3
Joined: Thu Jan 27, 2011 3:30 pm

1.0.0-RC3 build errors : testing folder ()

Post by robintux » Tue Mar 01, 2011 11:23 am

the make.inc already been edited with my directories .

Code: Select all

( cd testing/lin && make )
make[1]: Entering directory `/home/abraham/magma_1.0.0-rc3/testing/lin'
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c zbdt01.f -o zbdt01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c zhet21.f -o zhet21.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c zhst01.f -o zhst01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c zunt01.f -o zunt01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c zqrt02.f -o zqrt02.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c zlarfy.f -o zlarfy.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c zstt21.f -o zstt21.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c cbdt01.f -o cbdt01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c chet21.f -o chet21.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c chst01.f -o chst01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c cunt01.f -o cunt01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c cqrt02.f -o cqrt02.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c clarfy.f -o clarfy.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c cstt21.f -o cstt21.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c dbdt01.f -o dbdt01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c dsyt21.f -o dsyt21.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c dhst01.f -o dhst01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c dort01.f -o dort01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c dqrt02.f -o dqrt02.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c dlarfy.f -o dlarfy.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c dstt21.f -o dstt21.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c sbdt01.f -o sbdt01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c ssyt21.f -o ssyt21.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c shst01.f -o shst01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c sort01.f -o sort01.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c sqrt02.f -o sqrt02.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c slarfy.f -o slarfy.o
gfortran -O3 -DADD_ -I/usr/local/cuda/include -c sstt21.f -o sstt21.o
ar cr liblapacktest.a zbdt01.o zhet21.o zhst01.o zunt01.o zqrt02.o zlarfy.o zstt21.o cbdt01.o chet21.o chst01.o cunt01.o cqrt02.o clarfy.o cstt21.o dbdt01.o dsyt21.o dhst01.o dort01.o dqrt02.o dlarfy.o dstt21.o sbdt01.o ssyt21.o shst01.o sort01.o sqrt02.o slarfy.o sstt21.o
ranlib liblapacktest.a
make[1]: Leaving directory `/home/abraham/magma_1.0.0-rc3/testing/lin'
( cd testing     && make )
make[1]: Entering directory `/home/abraham/magma_1.0.0-rc3/testing'
gcc -O3 -DADD_ -DGPUSHMEM=130 -I/usr/local/cuda/include -I../include -I../quark/include -c testing_zgemm.cpp -o testing_zgemm.o
gfortran -O3 -DADD_ -DGPUSHMEM=130 -fPIC -Xlinker -zmuldefs -DGPUSHMEM=130  testing_zgemm.o  -o testing_zgemm lin/liblapacktest.a -L../lib \
          -lcuda -lmagma -lmagmablas -lmagma -L/usr/lib64/atlas -L/usr/lib -L/home/abraham/magma_1.0.0-rc3/CLAPACK- -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib  /usr/lib64/liblapack.a -lf77blas -latlas -lf2c -lcublas -lm 
/usr/lib/libf2c.so: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
make[1]: *** [testing_zgemm] Error 1
rm testing_zgemm.o
make[1]: Leaving directory `/home/abraham/magma_1.0.0-rc3/testing'
make: *** [test] Error 2

Posts: 41
Joined: Tue Mar 08, 2011 12:38 pm

Re: 1.0.0-RC3 build errors : testing folder ()

Post by mateo70 » Tue Mar 08, 2011 2:53 pm


you probably have to replace f2c by gftortran. f2c was the library used by f77 and has been changed with the gfortran compiler.


Post Reply