You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after e545b56, 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:
-- Configuring done
-- Generating done
-- Build files have been written to: <path-to...>/lib/python/site-packages/iri2016-1.11.1-py3.7.egg/iri2016/build
Scanning dependencies of target iri2016
[ 63%] Built target iri2016
Scanning dependencies of target iri2016_driver
Scanning dependencies of target test_iri2016
[100%] Built target iri2016_driver
[100%] Built target test_iri2016
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 e545b56, 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?
iri2016/src/iri2016/build.py
Line 8 in ca66b2c
The text was updated successfully, but these errors were encountered: