[Scipy-tickets] [SciPy] #1737: OS X Mountain Lion test failures

SciPy Trac scipy-tickets@scipy....
Sat Oct 6 17:19:24 CDT 2012


#1737: OS X Mountain Lion test failures
--------------------------+-------------------------------------------------
 Reporter:  aleach        |       Owner:  cdavid      
     Type:  defect        |      Status:  needs_review
 Priority:  normal        |   Milestone:  Unscheduled 
Component:  Build issues  |     Version:  0.10.0      
 Keywords:  OSX, ATLAS    |  
--------------------------+-------------------------------------------------

Comment(by aleach):

 If I build scipy with the command:-

 {{{ /usr/local/bin/python setup.py config --fcompiler=gnu95 build
 --fcompiler=gnu95 --verbose }}}

 Here is some example output from building a scipy Fortran module:-

 {{{

 compiling Fortran sources
 Fortran f77 compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
 second-underscore -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops
 Fortran f90 compiler: /usr/local/bin/gfortran -Wall -fno-second-underscore
 -arch i686 -arch x86_64 -fPIC -O3 -funroll-loops
 Fortran fix compiler: /usr/local/bin/gfortran -Wall -ffixed-form -fno-
 second-underscore -Wall -fno-second-underscore -arch i686 -arch x86_64
 -fPIC -O3 -funroll-loops

 compile options: '-Ibuild/src.macosx-10.8-intel-2.7
 -I/Users/albl500/Library/Python-dev/2.7/lib/python/site-
 packages/numpy/core/include -I/Library/Frameworks/Python-
 clang.framework/Versions/2.7/include/python2.7 -c'

 gfortran:f77: scipy/stats/mvndst.f
 gfortran:f77: build/src.macosx-10.8-intel-2.7/scipy/stats/mvn-
 f2pywrappers.f

 /usr/local/bin/gfortran -Wall -arch i686 -arch x86_64 -Wall -undefined
 dynamic_lookup -bundle
 build/temp.macosx-10.8-intel-2.7/build/src.macosx-10.8-intel-2.7/scipy/stats/mvnmodule.o
 build/temp.macosx-10.8-intel-2.7/build/src.macosx-10.8-intel-2.7/fortranobject.o
 build/temp.macosx-10.8-intel-2.7/scipy/stats/mvndst.o
 build/temp.macosx-10.8-intel-2.7/build/src.macosx-10.8-intel-2.7/scipy/stats
 /mvn-f2pywrappers.o -Lbuild/temp.macosx-10.8-intel-2.7 -lgfortran -o
 build/lib.macosx-10.8-intel-2.7/scipy/stats/mvn.so

 }}}

 So the FFLAGS I used look to have been a bit excessive; "-ff2c" seems to
 be the only one missing from the flags numpy generates, and it is fairly
 well documented.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1737#comment:9>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list