#8010: f2py broken on some mac systems
------------------------------+---------------------------------------------
Reporter: flawrence | Owner: tbd
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.3.3
Component: packages | Keywords:
Author: Felix Lawrence | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Changes (by flawrence):
* status: needs_info => needs_review
* milestone: => sage-4.3.3
Comment:
Mac OS X (Darwin) compilers do not support the "-shared" option. The
class Sage_FCompiler_1 currently calls compilers on all platforms using
the "-shared" option. So whenever this class is used on Mac, it fails.
On my computer, this led to f2py failing. This is a five line patch (plus
documentation) that changes the compiler options on Mac to be in line with
those already used in Sage_FCompiler, while leaving the compiler options
on other platforms such as Solaris unchanged. If you'd like to check it
on Solaris, then go ahead, but the patch was intentionally written to
avoid changing behaviour on platforms other than OS X.
This breaks "on some mac systems" - f2py is broken on my 64-bit sage, but
seems to be working on 32-bit mac systems without this patch. My guess is
that 32-bit macs use Sage_FCompiler rather than Sage_FCompiler_1. Anyone
who is familiar with the numpy spkg, please confirm or correct me!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8010#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.