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

Not sure storage flags are being honoured #188

Closed
bschroeter opened this issue Oct 22, 2023 · 1 comment · Fixed by #189
Closed

Not sure storage flags are being honoured #188

bschroeter opened this issue Oct 22, 2023 · 1 comment · Fixed by #189
Assignees
Labels
bug Something isn't working

Comments

@bschroeter
Copy link
Collaborator

Hey @SeanBryan51,

In trying to run integration tests for #143, with a pre-canned configuration file it does not appear that the flux site storage flags are actually being set.

storage_flags = [
"gdata/ks32",
"gdata/hh5",
*pbs_config.get("storage", internal.FLUXSITE_DEFAULT_PBS["storage"]),

My config file (rendered at runtime):

project: rp23

experiment: AU-Tum

realisations:
  - path: trunk
  - path: branches/Users/sb8430/test-branch

modules: [
  intel-compiler/2021.1.1,
  netcdf/4.7.4,
  openmpi/4.1.0
]

fluxsite:
    pbs:
        storage:
            - scratch/rp23

What eventuates is a job trying to run without knowledge of the rp23 scratch mount point - meaning that integration tests on my local dev installation of benchcab on rp23 simply fail with a file not found.

Am I doing something wrong, or is there an issue with passing the user-supplied flux site pbs directives through to the job script renderer?

@bschroeter bschroeter added the bug Something isn't working label Oct 22, 2023
@SeanBryan51
Copy link
Collaborator

Thanks for finding this. It looks like a bug that was in the main branch. Running benchcab with pdb shows we are not passing in the pbs config correctly:

pbs_config=self.config.get("pbs"),

The above line will always be None since the pbs key is nested under the fluxsite key.

@SeanBryan51 SeanBryan51 self-assigned this Oct 23, 2023
SeanBryan51 added a commit that referenced this issue Oct 23, 2023
@SeanBryan51 SeanBryan51 linked a pull request Oct 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants