Open petermao opened 2 years ago
My solution above is not totally satisfactory, either. If I tweak iri2016_driver.f90
and do a pip install . --user
from the top level of the iri2016 package, most of the code updates in the install location, but the old compiled iri2016_driver
remains.
In order to run the new code, I run (in python)
import iri2016 as iri
iri.build.build()
and then everything is as expected.
Can the "build on run" logic be modified to rerun build
if the compiled iri2016_driver
is older than the source files?
after e545b56fda15bf6f41d5d5418a61b11f8ec335cc, build is running cmake at every time step, slowing things down considerably, rather than only on the first running of
iri2016.IRI(.)
I am seeing one iteration of this output at every time step:
Should this line be reinstated? https://github.com/space-physics/iri2016/blob/ca66b2c79d2aaa0010678008e829e0750b234def/src/iri2016/build.py#L8