Error compiling on OS X

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
peastman
Posts: 2
Joined: Mon Mar 28, 2011 3:00 pm

Error compiling on OS X

Post by peastman » Mon Mar 28, 2011 3:05 pm

I'm trying to compile Magma 1.0.0 RC4 on Mac OS X 10.6. For make.inc, I'm using the provided make.inc.accelerate file, with the only change being to specify gfortran instead of g95. When I try to make, I get the follow error:

$ make
( cd control && make )
gcc -O3 -DADD_ -DGPUSHMEM=130 -I../include -I/usr/local/cuda/include -I../include -I../quark/include -c magma_zf77.cpp -o magma_zf77.o
gfortran -O3 -DADD_ -DGPUSHMEM=130 -I../include -I/usr/local/cuda/include -I../include -I../quark/include -c magma.f90 -o magma.o
Fatal Error: Reading module magma_zfortran at line 15 column 37: Expected integer
make[1]: *** [magma.o] Error 1
make: *** [libmagma] Error 2

Can anyone tell me what is going wrong?

Thanks.

Peter

peastman
Posts: 2
Joined: Mon Mar 28, 2011 3:00 pm

Re: Error compiling on OS X

Post by peastman » Thu Mar 31, 2011 2:46 pm

Has anyone successfully compiled Magma on OS X? If so, can you provide instructions on how to do it?

Peter

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

Re: Error compiling on OS X

Post by mateo70 » Tue Apr 05, 2011 6:41 pm

Peter,

I'm sorry, we are not supporting Mac OS for now and it's not in our future plan. But we are open to integrate patches from users if they want to do the port on Mac as it has been done (or in progress) for Windows.

Mathieu

mogami
Posts: 1
Joined: Mon Apr 11, 2011 7:28 pm

Re: Error compiling on OS X

Post by mogami » Mon Apr 11, 2011 7:39 pm

Dear all,

I also got exactly the same fatal error:
gfortran -O3 -DADD_ -DGPUSHMEM=200 -I/usr/local/cuda/include ../include -I../quark/include -c magma.f90 -o magma.o
Fatal Error: Reading module magma_zfortran at line 15 column 37: Expected integer

My OS is Red Hat 4.1.2-48, so I guess this error is OS independent.

Please help us if you have any clue on this issue.

Best wishes
Shin

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

Re: Error compiling on OS X

Post by mateo70 » Thu Apr 14, 2011 1:19 am

Hi,

Can you tell us if you still have the problem with the new RC5. The fortran interface is now implemented, before it was only a prototype.

Thanks,
Mathieu

Post Reply