Build error Magma 1.1

Open discussion for MAGMA

Build error Magma 1.1

Postby mkashifhanif » Thu Dec 15, 2011 1:00 pm

Hi,

I am facing problem for installing this new version of MAGMA library. I am sending my make file and error message. Can anyone help me?


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
( cd control && make )
make[1]: Entering directory `/home/ti6mkh/Desktop/BioInformatics/CUDA/MatrixMul/magma_1.1.0/control'
gfortran -Dmagma_devptr_t="integer(kind=8)" -I../include -I/usr/local/cuda/include -I../include -I../quark/include -c magma_zfortran.f90 -o magma_zfortran.o
Warning: magma_zfortran.f90:11: Illegal preprocessor directive
Warning: magma_zfortran.f90:192: Illegal preprocessor directive
Warning: magma_zfortran.f90:264: Illegal preprocessor directive
Warning: magma_zfortran.f90:329: Illegal preprocessor directive
magma_zfortran.f90:133.7:

magma_devptr_t:: dA
1
Error: Unclassifiable statement at (1)
magma_zfortran.f90:135.7:

magma_devptr_t:: dB
1
Error: Unclassifiable statement at (1)
magma_zfortran.f90:265.101:

ev( jobvl, jobvr, n, a, lda, wr, wi, vl, ldvl, vr, ldvr, work, lwork, info)
1
Error: Symbol 'magmaf_zgeev' at (1) already has an explicit interface
magma_zfortran.f90:266.34:

character :: jobvl
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:267.34:

character :: jobvr
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:268.25:

integer :: n
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:269.28:

complex*16 :: a(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:270.27:

integer :: lda
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:271.29:

complex*16 :: wr(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:272.29:

complex*16 :: wi(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:273.29:

complex*16 :: vl(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:274.28:

integer :: ldvl
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:275.29:

complex*16 :: vr(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:276.28:

integer :: ldvr
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:277.31:

complex*16 :: work(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:278.29:

integer :: lwork
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:279.28:

integer :: info
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:280.8:

end subroutine magmaf_zgeev
1
Error: Expecting END INTERFACE statement at (1)
magma_zfortran.f90:282.97:

_zgesvd( jobu, jobvt, m, n, a, lda, s, u, ldu, vt, ldvt, work, lwork, info)
1
Error: Symbol 'magmaf_zgesvd' at (1) already has an explicit interface
magma_zfortran.f90:283.33:

character :: jobu
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:284.34:

character :: jobvt
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:285.25:

integer :: m
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:286.25:

integer :: n
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:287.28:

complex*16 :: a(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:288.27:

integer :: lda
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
Fatal Error: Error count reached limit of 25.
make[1]: *** [magma_zfortran.o] Error 1
make[1]: Leaving directory `/home/ti6mkh/Desktop/BioInformatics/CUDA/MatrixMul/magma_1.1.0/control'
make: *** [libmagma] Error 2
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
mkashifhanif
 
Posts: 4
Joined: Thu Dec 15, 2011 12:06 pm

Re: Build error Magma 1.1

Postby mgates3 » Fri Jan 06, 2012 3:21 pm

Try adding -x f95-cpp-input to the FOPTS in make.inc. This forces gfortran to run the C pre-processor before compiling. See for instance the sample make.inc.atlas.

-mark
mgates3
 
Posts: 399
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron