-
Notifications
You must be signed in to change notification settings - Fork 51
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
replace flux-srun with flux mini run #2379
Comments
Also mentioned by @SteVwonder, we should carefully review options we add to My inclination would be to keep |
How about "ratrun" (reusable archetypal tool for running?) |
@dongahn and I came up with |
What's the motivation here?
Stephen Herbein <[email protected]> writes:
… Two more half-serious ideas from speaking with @garlick and @grondo
- rename `flux srun` to `flux run` and rename @trws's `flux run` to something else like `flux warp`
- rename `flux srun` to `flux walk` and keep `flux run` as `flux run`
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2379 (comment)
|
I get |
Doesn't necessarily need to mean "running really fast" (jobs are guaranteed to run at the same speed) but The idea is if we choose something like or equivalent to |
If we are looking for one letter run, I like I was surprised how many times users have asked about Just $0.02. |
I think
I like But |
I see. You can also spell this out: |
I think @grondo captured it in the issue description:
Feel free to talk us down @trws. |
On Sep 21, 2019, at 11:01 AM, Jim Garlick <[email protected]<mailto:[email protected]>> wrote:
What's the motivation here?
I think @grondo<https://github.com/grondo> captured it in the issue description:
During coffee conversation it was discovered that our flux "simple run" command flux srun shares a name with a moderately popular alternate resource manager.
To avoid confusing users and avoid any need, real or perceived, to keep the same options as this other srun, we agreed to rename our simple run interface to a unique name.
[snip]
Feel free to talk us down @trws<https://github.com/trws>.
I can see that, we joked about calling it `frun` for some years as I recall, so differentiating the srun command from srun makes sense to me. Even calling it slurm_run or simple_run or something wouldn’t be all that bad as it’s more explicit.
The question I’m more getting to is which of the two interfaces do we expect to be the normal way to interact with flux? My understanding, which may be wrong, was that srun existed for the sole purpose of providing a simple update path from slurm, and was not intended to be capable of expressing the majority of either their or our interface, which makes me question the idea of calling it `run`. As a user looking at the CLI, I would expect `run` to be whatever command the developers intended me to use when running things in the common case.
|
I agree @trws. The rename was just an idea thrown out during a coffee convo without any real thought -- more along the lines of redefining what people think of as "running" a job. I think it was kind of a failed idea and got us off track. I may be off base here, but I'm coming around to the idea of "micro" interfaces for these commands (I personally find the substitution of If we find we need another command down the road, it can be placed under I also agree that the |
We probably need to implement this this week. Any objections to |
Seems fine, I vaguely prefer "submit" to "batch" as the latter has an
association with "batch script" that makes me think it might require a
script rather than a binary but it's a small enough issue I wouldn't
fight it if others prefer batch.
Jim Garlick <[email protected]> writes:
… We probably need to implement this this week. Any objections to `flux mini run` / `flux mini submit` for the simple/stable interface and `flux run` / `flux batch` for the maxi versions?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2379 (comment)
|
Sorry I think I meant to type |
|
Right let's close those now that they've been referenced here. |
As a simple first step, I propose we replace
We could leave I can have a crack at this first step if no objections to this approach. @SteVwonder maybe you could look at the jobspec v1 generation module? |
I think this is done, minus
but that seems like cleanup that could come later. |
During coffee conversation it was discovered that our flux "simple run" command
flux srun
shares a name with a moderately popular alternate resource manager.To avoid confusing users and avoid any need, real or perceived, to keep the same options as this other
srun
, we agreed to rename our simple run interface to a unique name. Either something likeflux sfrun
(straight-forward run, simple flux run), orflux dsrun
(duck soup run).We could keep
flux jobspec srun
and addflux jobspec sfrun
, thus breaking only users offlux srun
for now.The text was updated successfully, but these errors were encountered: