#7465: %fortran in the notebook (and fortran.eval on command line) is completely
broken on OS X
--------------------------+-------------------------------------------------
   Reporter:  was         |       Owner:  was     
       Type:  defect      |      Status:  new     
   Priority:  major       |   Milestone:  sage-4.3
  Component:  interfaces  |    Keywords:          
Work_issues:              |      Author:          
   Reviewer:              |      Merged:          
--------------------------+-------------------------------------------------
 Try this in a notebook cell on OS X:

 {{{
 %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
 }}}

 Boom!!  This despite us shipping a Fortran compiler.

 The problem is really that the doctests for {{{fortran.eval}}} were marked
 (by me, doh) as optional, and we don't test optional doctests frequently.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7465>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to