#13157: inline_fortran is STILL broken on OS X
----------------------------------+-----------------------------------------
Reporter: benjaminfjones | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-5.3
Component: interfaces | Resolution:
Keywords: fortran osx | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Description changed by jdemeyer:
Old description:
> Despite #7465 being closed as "worksforme", the following snippet in the
> notebook in Sage-5.0.1 (official binary) on Mac OS X 10.7.4 fails.
>
> {{{
> %fortran
> C FILE: FIB1.F
> SUBROUTINE FIB(A,N)
> C
> C CALCULATE FIRST N FIBONACCI NUMBERS
> C
> INTEGER N
> REAL*8 A(N)
> DO I=1,N
> IF (I.EQ.1) THEN
> A(I) = 0.0D0
> ELSEIF (I.EQ.2) THEN
> A(I) = 1.0D0
> ELSE
> A(I) = A(I-1) + A(I-2)
> ENDIF
> ENDDO
> END
> C END FILE FIB1.F
> }}}
>
> Here is the error in full: http://pastebin.com/iVBkjckp
>
> Looking through the convoluted ticket relationships (#7465, #8010, etc..)
> it looks like numpy spkg was patched to fix the problem with the
> `-shared` link flag at some point, and sometime later the numpy was
> upgraded (perhaps making the patch unnecessary (??)) and now it might be
> some other issue having to do with the gcc/gfortran spkg. Just a guess.
New description:
Despite #7465 being closed as "worksforme", the following snippet in the
notebook in Sage-5.2 on Mac OS X 10.7.4 fails.
{{{
%fortran
C FILE: FIB1.F
SUBROUTINE FIB(A,N)
C
C CALCULATE FIRST N FIBONACCI NUMBERS
C
INTEGER N
REAL*8 A(N)
DO I=1,N
IF (I.EQ.1) THEN
A(I) = 0.0D0
ELSEIF (I.EQ.2) THEN
A(I) = 1.0D0
ELSE
A(I) = A(I-1) + A(I-2)
ENDIF
ENDDO
END
C END FILE FIB1.F
}}}
Here is the error in full: http://pastebin.com/iVBkjckp
Looking through the convoluted ticket relationships (#7465, #8010, etc..)
it looks like numpy spkg was patched to fix the problem with the `-shared`
link flag at some point, and sometime later the numpy was upgraded
(perhaps making the patch unnecessary (??)) and now it might be some other
issue having to do with the gcc/gfortran spkg. Just a guess.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13157#comment:3>
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.