Currently we are running / exercising a test harness to be able to generate method definitions for precompilation / system image compilation. It would be better to have explicit method definitions for precompilation (though a precompilation file) generated by recording a substantive climate machine run or ex. through external packages like SnoopCompile. This should help with module loading times and runtimes if we ship the statically precompiled version of ClimateMachine.
Steps
[ ] Identify representative codes for exercising ClimateMachine for precompilation
[ ] Determine the method for pre-compilation file generation
[ ] Add precompiled file to sysimage generation
[ ] Documentation for regenerating the precompilation file.
cc @simonbyrne
Additional context
Add any other reasons why this should be addressed.
For CLIMA Developers
[ ] This feature can be added (if it cannot be, explain why in a comment below -- lack of technical expertise, not relevant to the scope of this project, too ambitious)
[ ] There is a timeline for when this feature can be implemented
[ ] The feature has been (or will be) implemented (Please link the PR)
Description
Currently we are running / exercising a test harness to be able to generate method definitions for precompilation / system image compilation. It would be better to have explicit method definitions for precompilation (though a precompilation file) generated by recording a substantive climate machine run or ex. through external packages like SnoopCompile. This should help with module loading times and runtimes if we ship the statically precompiled version of ClimateMachine.
Steps
cc @simonbyrne
Additional context
Add any other reasons why this should be addressed.
For CLIMA Developers