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

Q: batch and slurm env vars #317

Open
bmdnetrias opened this issue Mar 6, 2025 · 2 comments
Open

Q: batch and slurm env vars #317

bmdnetrias opened this issue Mar 6, 2025 · 2 comments

Comments

@bmdnetrias
Copy link

Posting here so it doesn't fall in the maw of Slack expiration. Maybe others can find this in the future.

What environment variables does coiled batch set up to help in task/job differentation? Any and all that are similar or the same as slurm would be helpful to have documented.

I've seen the following to on the website, but I'm not sure if there's a place they're all collected (with semantics):

  • COILED_BATCH_TASK_ID
  • COILED_ARRAY_TASK_ID

Thanks!

@ntabris
Copy link
Member

ntabris commented Mar 6, 2025

Does https://docs.coiled.io/user_guide/batch.html#coordination cover what you want?

There are a few env vars (like COILED_ARRAY_TASK_ID) where we changed the name so aren't documenting the old name, but still set the var in case there's anything still using it.

Are there other things that you'd find helpful if we exposed as env vars?

@bmdnetrias
Copy link
Author

Ah, maybe I'm having flashbacks to prior iterations. I didn't have anything specific in mind. Probably just hallucinating that there were a few more related to COILED_BATCH_TASK_ID than ever actually existed.

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

No branches or pull requests

2 participants