[SciPy-dev] help on fortran compiler

Avi Purkayastha avi@sicortex....
Sat Mar 7 10:54:20 CST 2009

I am trying to build scipy v0.7.0 on SiCortex platform (MIPS64  
architecture on linux). However the problem is that the script does  
not recognize the pathscale fortran compiler I am passing..

The build step was

% python setup.py build --fcompiler=pathf95

After the build process proceeds for a while, I get..

don't know how to compile Fortran code on platform 'posix' with  
'pathf95' compiler. Supported compilers are:  
building 'dfftpack' library
error: library dfftpack has Fortran sources but no Fortran compiler  

How do I force the script to accept pathf95 since I have no other  
fortran compilers? Both BLAS and LAPACK have been built with  
pathscale and that is recognized in the build step.

ATLAS version 3.7.32 built by root on Fri Jul 25 11:31:20 EDT 2008:
    UNAME    : Linux sf1-m0n0.scsystem #1  
SMP Fri Jul 4 18:40:20 Local time zone must be set--see zic m mips64  
SiCortex ICE9A V1.0 FPU V0.1 SiCortex SC-1000 GNU/Linux
    INSTFLG  : -1 0 -a 1
    F2CDEFS  : -DAdd__ -DF77_INTEGER=int -DStringSunStyle
    CACHEEDGE: 131072
    F77      : pathf95, version
    F77FLAGS : -mabi=64
    SMC      : gcc, version gcc (GCC) 4.1.2 (Gentoo 4.1.2)
    SMCFLAGS : -O2 -mips64 -march=5kf -mtune=5kf -fno-schedule-insns - 
fschedule-insns2 -fno-peephole -fno-peephole2 -mabi=64
    SKC      : gcc, version gcc (GCC) 4.1.2 (Gentoo 4.1.2)
    SKCFLAGS : -O2 -mips64 -march=5kf -mtune=5kf -fno-schedule-insns - 
fschedule-insns2 -fno-peephole -fno-peephole2 -mabi=64


Here are some other informations..

(sc1-m3n6:~/builds/scipy-0.7.0) avi% uname -a
Linux sc1-m3n6.scsystem #1 SMP Thu Sep 25  
13:19:45 EDT 2008 mips64 SiCortex ICE9B V1.0 FPU V0.1 SiCortex  
SC-1000 GNU/Linux

(sc1-m3n6:~/builds/scipy-0.7.0) avi% python -c 'import os,sys;print  
posix linux2

II) I have a second issue once the fortran issue is resolved: we do  
not have dfftpack or umfpack built on our system. Does scipy build  
them, if not found in our library stack, so can I force the script to  
ignore dfftpack and umfpack?

Thanks for any help and suggestions.

	-- Avi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20090307/c15be290/attachment.html 

More information about the Scipy-dev mailing list