[SciPy-user] scipy build with gcc on solaris problems

David Cournapeau david at ar.media.kyoto-u.ac.jp
Wed Mar 5 08:59:29 EST 2008


John Reid wrote:
>
> Thanks. I had seen some postings that people had trouble using sun 
> performance libraries with scipy. Perhaps those were old posts? Is that 
> all resolved? Also I was just trying to follow what documentation there 
> is for building scipy. I could not find any that mentioned Solaris.
>
>   

You have two solutions:
    - you add libraries and libraries path in site.cfg under the 
sections blas and lapack. To find the options, you should use the 
command "suncc -xlic_lib=sunperf -#" to see which libraries are linked 
when sunperf is used (-# is for verbose link with sun studio).
    - you can also try numscons, an alternative build system I am 
currently working on. This one explicitly supports sunperf. Numpy is 
buildable, and works with sunperf (on indiana with sunstudio 12, at 
least). scipy is almost done, but there are still some issues, mostly 
related to recent changes in sparse module.

Unfortunately, the trick I am using in numscons is not easily 
'backportable' to the current default scipy build system, because of 
what looks like a bug of sun linker (the -xlic_lib=sunperf flag is 
ignored by sun linker when building a shared library, that is when -G is 
used).

cheers,

David



More information about the SciPy-User mailing list