-
Notifications
You must be signed in to change notification settings - Fork 16
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
Slow (re)build #77
Comments
Wow. Can you explain how you run a test with only relinking? Is this on Cheyenne, and with Intel? |
After the initial test run just go to the case directory and run case.build again. Yes on cheyenne using intel. |
@Katetc: Maybe we could share a sandbox to look at this. I have a good idea of the offending CISM module, and I could play with code changes that might speed things up. However, I don't understand why this would happen with only relinking. |
Yes, I'll get a sandbox going and send you info. I was thinking about the python generated files causing this. I'm darn sure that I included code that would prevent regenerating and rebuilding if the files already existed. But maybe something's gone wrong with more recent python libraries or in this case. |
See also ESCOMP/CISM#53 for some discussion / investigation of slow build times. The rebuild issue does seem like an additional problem. Like @Katetc I also feel like we spent time at one point making sure that rebuilds would be fast (not regenerating / rebuilding everything), but maybe that has gotten broken over the last few years. |
It seems to me that this only happens under certain circumstances. I think that in this case I updated the esmf module, which should not cause cism to rebuild, but seems to have triggered that. |
Is it possible that cmake would want to rebuild everything given that a change in the esmf module probably results in a change in include paths and potentially other build options? |
In a cesm coupled test where I am relinking without changing any source code cism is taking an extraordinarily long
time to build - here is an example:
The text was updated successfully, but these errors were encountered: