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

Avoid changing to sub_job directory for certain log files #59

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

araglu
Copy link
Collaborator

@araglu araglu commented Jun 17, 2024

This was causing any log file with $JOB_INDEX to look in the sub_job's $RUN_DIR when the log file actually lived in the parent directory. This prevented access to PBS stdout and stderr logs. If something needs to download log files from a sub_job, it can still reference $RUN_DIR for it.

CHW 600

This was causing any log file with $JOB_INDEX to look in the sub_job's
$RUN_DIR when they lived in the parent directory.
@araglu araglu requested a review from sdc50 June 17, 2024 19:16
@araglu araglu marked this pull request as draft June 17, 2024 21:55
@araglu
Copy link
Collaborator Author

araglu commented Jun 17, 2024

This breaks our assumptions with custom_logs. It was attempting to read them from the base directory instead of the sub_job RUN_DIR.

@araglu araglu removed the request for review from sdc50 July 2, 2024 16:02
@sdc50
Copy link
Member

sdc50 commented Jul 22, 2024

@araglu What's your plan with this PR? Is it ready to merge or did you want to come back to it?

@araglu
Copy link
Collaborator Author

araglu commented Jul 22, 2024

@araglu What's your plan with this PR? Is it ready to merge or did you want to come back to it?

I need to come back to it. I think I eventually want this code change, but I still need to track down and change our use of custom_logs.

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.

2 participants