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

--optGridNoSubmit asks for a parameter, but prun sees it as a flag? #1413

Open
lhenkelm opened this issue Feb 14, 2020 · 7 comments
Open

--optGridNoSubmit asks for a parameter, but prun sees it as a flag? #1413

lhenkelm opened this issue Feb 14, 2020 · 7 comments
Assignees

Comments

@lhenkelm
Copy link
Contributor

As the title says: despite the name, and indeed prun --helpGroup SUBMIT indicating it is a pure flag/switch (i.e. it only flips a bool from false to true, or vice versa), the xAH_run.py [...] prun --optGridNoSubmit currently requires an additional integer (?) parameter.

Is this intentional, or an oversight? If its intentional, what happens with integer in the PrunDriver?

Cheers,
Lars

@lhenkelm
Copy link
Contributor Author

furthermore, it seems no matter what value I pass, the driver ignores it anyaways?
I tried -1, 0, and 1, and in every case jobs were sent to the grid as usual...

@kratsg
Copy link
Contributor

kratsg commented Feb 14, 2020

Hi, this isn't an xAH problem. It's not supported by ELG_prun.py (and thus EventLoop).

@kratsg kratsg added the wontfix label Feb 14, 2020
@kratsg kratsg self-assigned this Feb 14, 2020
@kratsg kratsg closed this as completed Feb 14, 2020
@kratsg
Copy link
Contributor

kratsg commented Feb 14, 2020

What is your use case for using this flag?

@kratsg kratsg reopened this Feb 14, 2020
@lhenkelm
Copy link
Contributor Author

Hi, to answer the use case question:
I was trying to play around with some of the other options, in particular --optGridOutputSampleName,
to get an idea of how they work, without having to send jobs and them kill them again.

@kratsg
Copy link
Contributor

kratsg commented Feb 17, 2020 via email

@lhenkelm
Copy link
Contributor Author

lhenkelm commented Feb 18, 2020 via email

@kratsg
Copy link
Contributor

kratsg commented Feb 18, 2020

Hi @lhenkelm , if you use the EventLoopGrid drivers (e.g. PrunDriver) -- it calls/relies on ELG_prun.py for the submission. We can comment out that option given that it is not used. But note that configuration is still valid, just that the implementation that exists in atlas/[email protected] does not use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants