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

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?

Setting The Fortran Compiler In F2py

I am trying to run the f2py example to create the compiled extension module¶: # import os # os.envi… Read more Setting The Fortran Compiler In F2py

Precision Discrepancy Between Fortran And Python (sin Function)

I see a discrepancy between python and Fortran when using the sinus function. Could anyone shed lig… Read more Precision Discrepancy Between Fortran And Python (sin Function)

Searching An Array For A Value Faster Than Np.where(ar==value) Using Fortran And F2py

I was trying to locate the index of a value on a numpy array (same for hundreds of them) using np.w… Read more Searching An Array For A Value Faster Than Np.where(ar==value) Using Fortran And F2py

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

Python Error : File ... Spherical.py... Import F_utils...importerror: Dll Load Failed: The Specified Module Could Not Be Found

I am running some codes in python 2.7 with MIN-GW - gfortran of fortran77 codes and Visual Studio 2… Read more Python Error : File ... Spherical.py... Import F_utils...importerror: Dll Load Failed: The Specified Module Could Not Be Found