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

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

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

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 Build A Python Wheel With Compiled Fortran Extension Module Without Requiring A Specific Mingw Version On The User's System?

As far as I understand, one of the main advantages of distributing Python packages through wheels i… Read more How To Build A Python Wheel With Compiled Fortran Extension Module Without Requiring A Specific Mingw Version On The User's System?

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

Dramatic Slow-down When Executing Multiple Processes At The Same Time

I write a very simple code which contains summation of arrays by using both Fortran and Python. Whe… Read more Dramatic Slow-down When Executing Multiple Processes At The Same Time