Replies: 1 comment
-
You could popen the following command line: $ flux submit -n4 hostname | flux job id --to=dec
353630158848 Note that the integer returned here is 64 bit unsigned where it looks like cctools uses Alternately, the Flux API does export |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently working on an integration for Flux into
cctools/batch_queue
so we can easily submit generic jobs into a Flux instance from this shared API. The current plan is basically to callpopen("flux submit ...")
(so as to be as portable as possible) and parse the output to obtain the jobid, however it seems that flux-submit always returns the jobid in F58 format (possibly in unicode), and I would rather not have to parse this if not necessary, because our internal format keeps the jobid as a decimal.Beta Was this translation helpful? Give feedback.
All reactions