-
I am currently working on an integration for Flux into |
Beta Was this translation helpful? Give feedback.
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.
You could popen the following command line:
Note that the integer returned here is 64 bit unsigned where it looks like cctools uses
int64_t
from a peek at that link. Just something to keep in mind.Alternately, the Flux API does export
flux_job_id_parse(3)
which can parse a jobid in any format intoflux_jobid_t
(which is a typedef ofuint64_t
).