Skip to content

fix: environment variables#198

Merged
mwpb merged 1 commit into
mainfrom
test/env-vars-on-fugaku
Sep 16, 2025
Merged

fix: environment variables#198
mwpb merged 1 commit into
mainfrom
test/env-vars-on-fugaku

Conversation

@mwpb
Copy link
Copy Markdown
Collaborator

@mwpb mwpb commented Sep 16, 2025

Lower case x is required when setting the env vars for Spack at least.

Copy link
Copy Markdown
Collaborator

@philipp-seitz philipp-seitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check with multiple variables? -x is correct but potentially this needs to be similar to slurm, the refecen is -x "variable=value[,...]"

@mwpb mwpb force-pushed the test/env-vars-on-fugaku branch from 4f14fc3 to dc37896 Compare September 16, 2025 09:41
@mwpb
Copy link
Copy Markdown
Collaborator Author

mwpb commented Sep 16, 2025

Multiple env vars appears to work.

@mwpb
Copy link
Copy Markdown
Collaborator Author

mwpb commented Sep 16, 2025

(As an aside, I think that there is still a case to be made for having the slurm, pbs and pjsub executors largely separate. Indeed a large part of the motivation of having them separate is that we don't need to keep all the other executors in our minds when making changes to a single one. Furthermore we can hedge our bets by making a separate psi/j executor also and if that becomes a standard we can just remove the others.)

@mwpb mwpb merged commit 8c50304 into main Sep 16, 2025
4 checks passed
@mwpb mwpb deleted the test/env-vars-on-fugaku branch September 16, 2025 13:45
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