[SciPy-User] Mismatch architecture type, compiling scipy on Mac 10.6

David david at silveregg.co.jp
Mon Feb 7 19:32:35 EST 2011


On 02/08/2011 07:45 AM, Jeremy Conlin wrote:
> I have compiled python 2.7 and numpy.1.5.1 in 64-bit on my Mac running
> 10.6.3.  I'm trying to compile 64 bit scipy as well, but I'm running
> into a problem.  I'm pretty sure that the problem is architecture
> related.  The error(s) I get are copied below.  The command I used to
> compile scipy is:
>
> LDFLAGS="-arch x86_64 -Wall -undefined dynamic_lookup -bundle"
> FFLAGS="-arch x86_64"  python setup.py install
>
> I used the same command to compile numpy without any problems.  I am
> using g95 and gcc (version info below).

Don't use g95, it has caused too many issues, especially on mac os x. 
Use gfortran, the one available on http://r.research.att.com/tools/ (NOT 
the one on hpc.sourceforge.org, which does not work well either).

cheers,

David



More information about the SciPy-User mailing list