Page 1 of 1

Error compiling on OS X

Posted: Mon Mar 28, 2011 3:05 pm
by peastman
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

Re: Error compiling on OS X

Posted: Thu Mar 31, 2011 2:46 pm
by peastman
Has anyone successfully compiled Magma on OS X? If so, can you provide instructions on how to do it?

Peter

Re: Error compiling on OS X

Posted: Tue Apr 05, 2011 6:41 pm
by mateo70
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

Re: Error compiling on OS X

Posted: Mon Apr 11, 2011 7:39 pm
by mogami
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

Re: Error compiling on OS X

Posted: Thu Apr 14, 2011 1:19 am
by mateo70
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