[SciPy-user] install problem can't find fortran (IRIX/python2.2.1/cvs scipy)
Tim Carlson
tim.carlson at pnl.gov
Thu May 2 20:27:07 EDT 2002
On Thu, 2 May 2002, Steve M. Robbins wrote:
> The problem lies in that "g77 -v" returns exit status 1 on IRIX.
>
Applied your patch (replacing -v with --version and changing the ver_match
line and it is happily building having found g77
> > > I did use "-n32" for ATLAS/LAPACK because I want to be able to run this on
> > > a variety of SGI boxes.
>
> This is what I have to do, eventually. Did you have to do anything
> special to get n32 libs?
I downloaded the latest atlast and ran the the make. Instead of taking the
default vaules for the compilers, I replaced -64 with -n32. Same thing
with LAPACK, copy the correct make.inc and replaced the -64 with -n32
> Really? But isn't arange() from Numeric? I've just tried this on my
> irix system (importing Numeric rather than scipy) and it looks
> fine -- the correct answer, no NaNs.
True. Importing Numeric (20.3, or 21.0) does not produce incorrect
results. It is specific to scipy.
> Did you compile python with the MIPS compiler? Did you know that
> python tickles compiler bugs and you have to build some of it
> without optimization? [It's something I just learned last week :-(]
I compile apps on various platforms (Solaris 2.6/8, IRIX 6.5, HPUX, Redhat
Linux, AIX 4.x, and soon on our bazillion dollar IA64 Linux cluster). I
use gcc for everything if possible. Not quite the performance as some of
the native compilers, but it saves me lots of headaches.
ok.. during all of that I finally got down to the next error. I fixed this
by going to g77 from gcc-3.0.4
g77 -shared build/temp.irix64-6.5-2.2/fortranobject.o
build/temp.irix64-6.5-2.2/vodemodule.o -L/usr/local/atlas/
-L/usr/local/atlas/ -Lbuild/temp.irix64-6.5-2.2
-Lbuild/temp.irix64-6.5-2.2 -Lbuild/temp.irix64-6.5-2.2
-Lbuild/temp.irix64-6.5-2.2 -Lbuild/temp.irix64-6.5-2.2
-Lbuild/temp.irix64-6.5-2.2 -L/usr/local/atlas/ -L/usr/local/atlas/
-Lbuild/temp.irix64-6.5-2.2 -Lbuild/temp.irix64-6.5-2.2
-Lbuild/temp.irix64-6.5-2.2 -Lbuild/temp.irix64-6.5-2.2
-Lbuild/temp.irix64-6.5-2.2 -Lbuild/temp.irix64-6.5-2.2
-Lbuild/temp.irix64-6.5-2.2 -lodepack -llinpack_lite -llapack -lf77blas
-lcblas -latlas -lg2c -o build/lib.irix64-6.5-2.2/scipy/integrate/vode.so
ld32: WARNING 84 : /usr/local/atlas/liblapack.a is not used for resolving
any symbol.
ld32: WARNING 84 : /usr/local/atlas/libcblas.a is not used for resolving
any symbol.
ld32: Segmentation fault. Removing output file...
collect2: ld returned 1 exit status
So the beast is compiled. I'll see if I can run it and do some testing.
Tim
Tim Carlson
Voice: (509) 376 3423
Email: Tim.Carlson at pnl.gov
EMSL UNIX System Support
More information about the SciPy-User
mailing list