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

faq: add how to save KVS off for later flux jobs (or similar) perusal #268

Open
chu11 opened this issue Apr 8, 2024 · 0 comments
Open

Comments

@chu11
Copy link
Member

chu11 commented Apr 8, 2024

may be a good one to add after user question

per @grondo answer

 grondo@corona212:~$ flux alloc -N1 --broker-opts=-Sstatedir=$(pwd)/test
f(s=1,d=1) grondo@corona189:~$ flux submit --cc=1-10 --wait --quiet hostname
f(s=1,d=1) grondo@corona189:~$ exit
exit
[detached: session exiting]
 grondo@corona212:~$ flux start --recovery=$(pwd)/test
Apr 08 08:33:29.430484 job-manager.notice[0]: Port range not specified in config with port-min and port-max. Using defaults of 11000 and 12000.
Apr 08 08:33:29.711729 sched-fluxion-resource.warning[0]: create_reader: allowlist unsupported
+-----------------------------------------------------
| Entering Flux recovery mode.
| All resources will be offline during recovery.
| Any rc1 failures noted above may result in
|  reduced functionality until manually corrected.
|
| broker.rc1_path    /etc/flux/rc1
| broker.rc3_path    /etc/flux/rc3
| config.path        -
| statedir           /g/g0/grondo/test
|
| Exit this shell when finished.
+-----------------------------------------------------
f(s=1,d=0) grondo@corona212:~$ flux jobs -a
       JOBID USER     NAME       ST NTASKS NNODES     TIME INFO
    fBASVTUj grondo   hostname   CD      1      1   0.063s corona189
    fBAR1UCQ grondo   hostname   CD      1      1   0.075s corona189
    fBAR1UCP grondo   hostname   CD      1      1   0.072s corona189
    fBAPXUv4 grondo   hostname   CD      1      1   0.072s corona189
    fBAPXUv3 grondo   hostname   CD      1      1   0.073s corona189
    fBAN3Vdi grondo   hostname   CD      1      1   0.073s corona189
    fBAK5X51 grondo   hostname   CD      1      1   0.081s corona189
    fBALZWMN grondo   hostname   CD      1      1   0.079s corona189
    fBALZWMM grondo   hostname   CD      1      1   0.079s corona189
    fBAN3Vdh grondo   hostname   CD      1      1   0.072s corona189
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

No branches or pull requests

1 participant