Magma Installation RC5

Open discussion for MAGMA

Magma Installation RC5

Postby ar1309 » Thu Apr 14, 2011 7:40 am

Hi,

I have downloaded RC5 and try to compile it with gcc and gfortran and MKL library. It gives me the following error:

( cd control && make )
make[1]: Entering directory `/home/dhjones/magma_1.0.0-rc5/control'
gfortran -O3 -DADD_ -Dmagma_devptr_t="integer(kind=8)" -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:158: Illegal preprocessor directive
Warning: magma_zfortran.f90:211: Illegal preprocessor directive
Warning: magma_zfortran.f90:259: Illegal preprocessor directive
magma_zfortran.f90:212.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:213.34:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

end subroutine magmaf_zgeev
1
Error: Expecting END INTERFACE statement at (1)
magma_zfortran.f90:229.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:230.33:

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

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

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

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

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

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

double precision:: s(*)
1
Error: Unexpected data declaration statement in INTERFACE block at (1)
magma_zfortran.f90:237.28:

complex*16 :: u(*)
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/dhjones/magma_1.0.0-rc5/control'
make: *** [libmagma] Error 2
ar1309
 
Posts: 2
Joined: Thu Apr 14, 2011 7:27 am

Re: Magma Installation RC5

Postby mateo70 » Tue Apr 19, 2011 1:28 pm

Hi,

if you are compiling with gfortran, add
Code: Select all
-x f95-cpp-input

to the FOPT variable in your make.inc. It should fix the problem.

I didn't have problem with ifort, but maybe you need also to add an option to force the precompilation.

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

Re: Magma Installation RC5

Postby jeremiahpalmer » Tue Apr 19, 2011 4:05 pm

I am glad I checked the forum - I had the same error with gfortran. Thanks!
jeremiahpalmer
 
Posts: 58
Joined: Fri Jan 28, 2011 12:46 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 5 guests

cron