[SciPy-dev] Re: scipy / SGI MIPSpro compiler (part 3)
Steve M. Robbins
steven.robbins at videotron.ca
Mon Aug 26 13:41:21 CDT 2002
On Mon, Aug 26, 2002 at 01:25:08PM -0500, Pearu Peterson wrote:
> Now I see that integrate module uses atlas and it does not check if there
> is no atlas available. It should then try also blas libraries... I'll fix
> it later.
Yeah, that's what screwed me up. I managed to kludge around in
integrate/setup_integrate.py and get a working scipy. All tests
pass!! (except the statistics ones)
Thanks so much, Pearu!
Now I can get on with the _real_ work ... ;-)
-Steve
P.S. For reference, here's what I did to setup_integrate.
Now I'm really curious how I managed to link this yesterday
(when using g77) with NO atlas libs ...
Index: integrate/setup_integrate.py
===================================================================
RCS file: /home/cvsroot/world/scipy/integrate/setup_integrate.py,v
retrieving revision 1.10
diff -u -b -B -r1.10 setup_integrate.py
--- integrate/setup_integrate.py 15 Apr 2002 02:55:17 -0000 1.10
+++ integrate/setup_integrate.py 26 Aug 2002 18:41:14 -0000
@@ -14,19 +14,24 @@
atlas_library_dirs = atlas_info.get('library_dirs',[])
atlas_libraries = atlas_info.get('libraries',[])
- blas_libraries = atlas_libraries
+
+ blas_info = get_info('blas')
+ blas_library_dirs = blas_info.get('library_dirs',[])
+ blas_libraries = blas_info.get('libraries',[])
f_libs = []
quadpack = glob(os.path.join(local_path,'quadpack','*.f'))
f_libs.append(fortran_library_item(\
- 'quadpack',quadpack,libraries = ['linpack_lite','mach']))
+ 'quadpack',quadpack,
+ libraries = ['linpack_lite','mach']+blas_libraries,
+ library_dirs = blas_library_dirs))
odepack = glob(os.path.join(local_path,'odepack','*.f'))
f_libs.append(fortran_library_item(\
'odepack',odepack,
libraries = ['linpack_lite']+blas_libraries,
- library_dirs = atlas_library_dirs))
+ library_dirs = blas_library_dirs))
# should we try to weed through files and replace with calls to
# LAPACK routines?
More information about the Scipy-dev
mailing list