[SciPy-user] scipy OS X compiling on a G3

Jeremy Gore jeremy.gore at yale.edu
Mon Feb 9 13:53:04 CST 2004


I've tried all sorts of combinations of flags and so forth to get scipy  
to compile on OS X 10.3.2, but it still won't work for me.  With  
CFLAGS="-lcc_dynamic -framework vecLib" (and I've also tried with  
-faltivec and -framework Accelerate) set and using sudo python setup.py  
install (and have also tried with the build build_ext first) for the  
CVS version, I get error messages along the lines of:

In the build.py phase:
package init file  
'/Users/jmg75/Programming/scipy/scipy_core/scipy_distutils/tests/ 
__init__.py' not found (or not a regular file)
package init file  
'/Users/jmg75/Programming/scipy/scipy_core/scipy_base/tests/ 
__init__.py' not found (or not a regular file)

In the install_data phase:
fftw_info:
   NOT AVAILABLE
dfftw_info:
   NOT AVAILABLE
atlas_info:
scipy_distutils.system_info.atlas_info
   NOT AVAILABLE
blas_info:
   NOT AVAILABLE

Clearly it is not finding the vecLib BLAS libraries.  Whether this is  
because I'm on a G3 or some other problem I don't know; I was under the  
impression that although not optimized for altivec the vecLib libraries  
still processed for G3s.  Any suggestions?

My system:

Reading specs from  
/usr/local/lib/gcc/powerpc-apple-darwin7.2.0/3.4.0/specs
Configured with: ../gcc/configure --enable-threads=posix  
--enable-languages=f77
Thread model: posix
gcc version 3.4.0 20040107 (experimental)

Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

on the run_all.py test for f2py:
Traceback (most recent call last):
   File  
"/Users/jmg75/Downloads/Expanded/F2PY-2.37.233-1545/tests/f90/ 
return_integer.py", line 136, in ?
     test_functions = build(f2py_opts)
   File  
"/Users/jmg75/Downloads/Expanded/F2PY-2.37.233-1545/tests/f90/ 
return_integer.py", line 16, in build
     assert not f2py2e.compile('''\
AssertionError
TEST FAILURE (status=1)

--
Jeremy Gore
1515 State St
New Haven, CT 06511
203-530-9157



More information about the SciPy-user mailing list