[Scipy-tickets] [SciPy] #1299: compiling and installing scipy in AIX with xlf

SciPy Trac scipy-tickets@scipy....
Fri Feb 4 09:24:37 CST 2011

#1299: compiling and installing scipy in AIX with xlf
 Reporter:  davide        |       Owner:  somebody    
     Type:  defect        |      Status:  needs_review
 Priority:  normal        |   Milestone:  0.9.0       
Component:  Build issues  |     Version:  0.8.0       
 Keywords:                |  

Comment(by davide):

 Sure, I didn't submit this patch with the intent to be used for trunk as
 is. But I believe there is more you can (and should!) apply to trunk.
 Especially the following two things (from scipy-patch.txt). It shouldn't
 be too hard. Do you think it's more appropriate that I submit individual
 patches for each of them with more details?


 -        extra_compile_args=['-Wall'],
 +#        extra_compile_args=['-Wall'], WRONG for IBM's xl

 as much as I love gcc, it's a fact of the life that it's not the only
 compiler on the earth. And many (if not all) of the non-gcc compilers do
 not understand -Wall option and fail in the weirdest possible way when
 they see that option. So IMHO the installer should use -Wall *only* when
 it's sure gcc is going to run

 2) there are four occurrences of something like the following:

 -        X=X+PI+MAX((0.0972+0.0679*N-0.000354*N**2)/L, 0d0)
 +        X=X+PI+MAX(DBLE((0.0972+0.0679*N-0.000354*N**2)/L), 0d0)

 I'm not 100% sure about what the Fortran standards say, but I don't think
 being more explicit like my patch "recommends" would hurt anyone.

 Thanks and Regards,
 Davide Del Vento,
 NCAR Computational & Information Services Laboratory

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

More information about the Scipy-tickets mailing list