MCPcopy Create free account
hub / github.com/numpy/numpy / runF2C

Function runF2C

numpy/linalg/lapack_lite/make_lite.py:265–272  ·  view source on GitHub ↗
(fortran_filename, output_dir)

Source from the content-addressed store, hash-verified

263 pass
264
265def runF2C(fortran_filename, output_dir):
266 fortran_filename = fortran_filename.replace('\\', '/')
267 try:
268 subprocess.check_call(
269 ["f2c"] + F2C_ARGS + ['-d', output_dir, fortran_filename]
270 )
271 except subprocess.CalledProcessError:
272 raise F2CError
273
274def scrubF2CSource(c_file):
275 with open(c_file) as fo:

Callers 1

mainFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…