Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison branch for single vs multi chrtout files #486

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhrehanoaa
Copy link
Contributor

I just wanted to put this someplace. This converts the chrtout write-outs to doing one at a time instead of loading multiple files. I have some initial results as well, but it looks like the files are too small or we don't have enough to make a huge difference in timing. Will try to run more tests at CONUS scale in order to really observe computation time modifications. This also contains the command for running multiple iterations and checking the average compute time.

time for i in {1..10}; do python3 -m nwm_routing -V3 -f "/glade/work/halgren/longterm_test_files/Florence/Tar_River_test_MC_V3_implicit.yaml"; done

implicit regular - process complete
real 1m4.099s
user 0m58.139s
sys 0m5.503s

5.2945966720581055 seconds.

real 1m4.279s
user 0m57.993s
sys 0m5.621s

implicit single chrt - process complete
5.174154043197632 seconds.

real 1m5.039s
user 0m57.340s
sys 0m5.182s

process complete
5.019704341888428 seconds.

real 1m4.581s
user 0m56.585s
sys 0m5.712s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant