[SciPy-dev] help on fortran compiler
Avi Purkayastha
avi at sicortex.com
Sat Mar 7 11:54:20 EST 2009
Hi,
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:
compaq,none,absoft,nag,gnu,sun,lahey,intelem,gnu95,intelv,g95,intele,int
elev,pg,intel,mips,hpux,vast,ibm)
building 'dfftpack' library
error: library dfftpack has Fortran sources but no Fortran compiler
found
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 2.6.18.8-sc-lustre-perfmon #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
ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_MIPSICE9 -DATL_USE64BITS
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
success!
:
Here are some other informations..
1)
(sc1-m3n6:~/builds/scipy-0.7.0) avi% uname -a
Linux sc1-m3n6.scsystem 2.6.18.8-sc-lustre-perfmon #1 SMP Thu Sep 25
13:19:45 EDT 2008 mips64 SiCortex ICE9B V1.0 FPU V0.1 SiCortex
SC-1000 GNU/Linux
2)
(sc1-m3n6:~/builds/scipy-0.7.0) avi% python -c 'import os,sys;print
os.name,sys.platform'
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.python.org/pipermail/scipy-dev/attachments/20090307/c15be290/attachment.html>
More information about the SciPy-Dev
mailing list