Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

call FORTRAN in SAGE

I want to call files written in FORTRAN, because several powerful matrix computation packages are only available in Fortran.


I have found two websites:

From the notebook the magic %fortran will automatically compile any fortran code in a cell and all the subroutines will become callable functions (though the names will be converted to lowercase.) magic %fortran

F2PY is now part of NumPy. All the development and maintenance of F2PY is carried out under NumPy SVN tree. See F2PY for more information. If you need F2PY with Numeric or Numarray array support then you must use the F2PY version found below. F2PY

However,

sage: %fortran
ERROR: Line magic function `%fortran` not found.

Should I install any additional package?

Thanks in advance!

call FORTRAN in SAGE

I want to call files written in FORTRAN, because several powerful matrix computation packages are only available in Fortran.FORTRAN.


I have found two websites:

From the notebook the magic %fortran will automatically compile any fortran code in a cell and all the subroutines will become callable functions (though the names will be converted to lowercase.) magic %fortran

F2PY is now part of NumPy. All the development and maintenance of F2PY is carried out under NumPy SVN tree. See F2PY for more information. If you need F2PY with Numeric or Numarray array support then you must use the F2PY version found below. F2PY

However,

sage: %fortran
ERROR: Line magic function `%fortran` not found.

Should I install any additional package?

Thanks in advance!

call FORTRAN in SAGE

I want to call files written in FORTRAN, because several powerful matrix computation packages are only available in FORTRAN.


I have found two websites:

From the notebook the magic %fortran will automatically compile any fortran code in a cell and all the subroutines will become callable functions (though the names will be converted to lowercase.) magic %fortran

F2PY is now part of NumPy. All the development and maintenance of F2PY is carried out under NumPy SVN tree. See F2PY for more information. If you need F2PY with Numeric or Numarray array support then you must use the F2PY version found below. F2PY

However,

sage: %fortran
ERROR: Line magic function `%fortran` not found.

Should I install any additional package?

Ops, perhaps I should have installed FORTRAN Compiler firstly...

Thanks in advance!

call FORTRAN in SAGE

I want to call files written in FORTRAN, because several powerful matrix computation packages are only available in FORTRAN.


I have found two websites:

From the notebook the magic %fortran will automatically compile any fortran code in a cell and all the subroutines will become callable functions (though the names will be converted to lowercase.) magic %fortran

F2PY is now part of NumPy. All the development and maintenance of F2PY is carried out under NumPy SVN tree. See F2PY for more information. If you need F2PY with Numeric or Numarray array support then you must use the F2PY version found below. F2PY

However,

sage: %fortran
ERROR: Line magic function `%fortran` not found.

Should I install any additional package?

Ops, perhaps I should have installed FORTRAN Compiler firstly...

Shown in YAST2 (openSuSE 12.3),

gcc-fortran, gcc47-fortran, gdb, libgfortran3, libquropdate1, libquadmath0

are installed.

Thanks in advance!

call FORTRAN in SAGE

I want to call files written in FORTRAN, because several powerful matrix computation packages are only available in FORTRAN.


I have found two websites:

From the notebook the magic %fortran will automatically compile any fortran code in a cell and all the subroutines will become callable functions (though the names will be converted to lowercase.) magic %fortran

F2PY is now part of NumPy. All the development and maintenance of F2PY is carried out under NumPy SVN tree. See F2PY for more information. If you need F2PY with Numeric or Numarray array support then you must use the F2PY version found below. F2PY

However,

sage: %fortran
ERROR: Line magic function `%fortran` not found.

Should I install any additional package?

Ops, perhaps I should have installed FORTRAN Compiler firstly...

Shown in YAST2 YaST (openSuSE 12.3),

gcc-fortran, gcc47-fortran, gdb, libgfortran3, libquropdate1, libquadmath0

are installed.

Thanks in advance!

call FORTRAN in SAGESAGE (openSuSE 12.3)

I want to call files written in FORTRAN, because several powerful matrix computation packages are only available in FORTRAN.


I have found two websites:

From the notebook the magic %fortran will automatically compile any fortran code in a cell and all the subroutines will become callable functions (though the names will be converted to lowercase.) magic %fortran

F2PY is now part of NumPy. All the development and maintenance of F2PY is carried out under NumPy SVN tree. See F2PY for more information. If you need F2PY with Numeric or Numarray array support then you must use the F2PY version found below. F2PY

However,

sage: %fortran
ERROR: Line magic function `%fortran` not found.

Should I install any additional package?

Ops, perhaps I should have installed FORTRAN Compiler firstly...

Shown in YaST (openSuSE 12.3),

gcc-fortran, gcc47-fortran, gdb, libgfortran3, libquropdate1, libquadmath0

are installed.

Thanks in advance!