Skip to content Skip to sidebar Skip to footer
Showing posts with the label Fortran

Call Python Function From Fortran/c

I am writing a Fortran code and I would like to use some special functions and methods from Python … Read more Call Python Function From Fortran/c

Fortran Program Fails Depending On A Write Statement Before Subroutine Call

It's been a number of years since I've worked with Fortran, so maybe I'm missing a fund… Read more Fortran Program Fails Depending On A Write Statement Before Subroutine Call

Call Fortran Function From Python With Ctypes

I am looking to use ctypes to call some old fortran libraries which were written by my boss a few y… Read more Call Fortran Function From Python With Ctypes

How To Obtain How Much Time Is Spent In F2py Wrappers

I am currently writing a time consuming python program and decided to rewrite part of the program i… Read more How To Obtain How Much Time Is Spent In F2py Wrappers

How To Force Numpy Array Order To Fortran Style?

I am using quite a lot of fortran libraries to do some mathematical computation. So all the arrays … Read more How To Force Numpy Array Order To Fortran Style?

Reading A File With Fortran Formatted Small Floats, Using Numpy

I am trying to read a data file written by a Fortran program, in which every once in a while there … Read more Reading A File With Fortran Formatted Small Floats, Using Numpy