Can checking out a new version affect already-submitted jobs? #4300
-
(Submitting as an idea discussion rather than an issue because it's possible I'm misunderstanding what's going on.) I have two CTSM branches with which I'm performing runs; let's call them branchA and branchB. branchB has some new namelist parameters that branchA is missing. If I submit a branchA run (or a new segment is submitted), then check out branchB before the branchA run begins, branchA fails (and without a helpful error message):
The run goes successfully after I check out branchA again, resubmit, and don't check out branchB. I'm noticing this because of the failure, but I think it's possible for unexpected differences in behavior to happen without a failure. Maybe this could happen if default namelist options differ between the two branches? Not sure. As far as I can tell, the only way to avoid this possibility is to have two separate checkouts of the model codebase, one for each branch, which is annoying to manage. It would be better if all the files needed by a run were copied to its build or run directory during |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
(For future personal reference: branchA is |
Beta Was this translation helpful? Give feedback.
-
@samsrabin we made a design decision several years ago that a case could not be made completely independent of source as you suggest. The solution is to manage two separate source trees. |
Beta Was this translation helpful? Give feedback.
@samsrabin we made a design decision several years ago that a case could not be made completely independent of source as you suggest. The solution is to manage two separate source trees.