launch_cf bugs and QOL improvements requested

Aperta
#7 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@benkirk ci sta già lavorando.

Dal 10/4/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

@benkirk - another ticket (RC-24919 for reference) with a launch_cf user, and some new requests:

  • 1. If a blank line is currently found in a cmdfile, launch_cf seems to launch an empty subjob for it. It'd be good if these are ignored.
  • 2. If I use --nsteps-per-node, this doesn't seem to affect the number of tasks requested per node, at least on Derecho. I (and the user) tried submitting 5 tasks, with --nsteps-per-node 1, and while five jobs were submitted, each job asked for ncpus=5. Harmless in this case, but still wrong IMO.
  • 3. If a user has a syntax error in their qsub arguments, these get propagated and not handled well. In my user's case, they forgot to specify -l before walltime, and the output was this:
usage: qsub [-a date_time] [-A account_string] [-c interval]

[-C directive_prefix] [-e path] [-f ] [-h ] [-I [-X]] [-j oe|eo] [-J X-Y[:Z]]

[-k keep] [-l resource_list] [-m mail_options] [-M user_list]

[-N jobname] [-o path] [-p priority] [-P project] [-q queue] [-r y|n]

[-R o|e|oe] [-S path] [-u user_list] [-W otherattributes=value...]

[-S path] [-u user_list] [-W otherattributes=value...]

[-v variable_list] [-V ] [-z] [script | – command [arg1 ...]]

qsub --version

Printing some sort of syntax error or at least noting that the return code was non-zero and the submission failed would be ideal.

Lingua principale
Shell
Stelle
3
Fork
2
Merge medio
5g 1h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NCAR/pbstools

Tutte le issue di NCAR/pbstools

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.