#13157: inline_fortran is STILL broken on OS X
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:  was
  benjaminfjones         |       Status:  closed
           Type:         |    Milestone:  sage-5.4
  defect                 |   Resolution:  fixed
       Priority:  major  |    Merged in:  sage-5.4.beta0
      Component:         |    Reviewers:  Karl-Dieter Crisman, Benjamin
  interfaces             |  Jones
       Keywords:         |  Work issues:
  fortran osx            |       Commit:
        Authors:         |     Stopgaps:
  Jeroen Demeyer         |
Report Upstream:  N/A    |
         Branch:         |
   Dependencies:         |
-------------------------+-------------------------------------------------
Description changed by chapoton:

Old 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
>
> '''Apply''':
>  1. [attachment:13157_inline_fortran.patch] to the Sage library.
>  2. [attachment:13157_scripts.patch] to `$SAGE_ROOT/local/bin`.

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

 '''Apply''':
  1. [attachment:13157_inline_fortran.patch] to the Sage library.
  2. [attachment:13157_scripts.patch] to `$SAGE_ROOT/local/bin`.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/13157#comment:13>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to