Launching a tool process within a flux job #5725
-
Hi All, Does Flux provide support for launching tool processes on compute nodes within a job? I looked around the Flux source code an it indicates support for MPIR Process Acquisition. However, I do not see implementations for both MPIR_executable_path and MPIR_server_arguments that can be used to provide tool launch. Many thanks, Rich. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Currently The current best practice for launching a tool alongside a job is to use the $ flux jobtap load alloc-bypass.so
$ flux submit -N4 sleep inf
ƒD4tZxAj
$ flux run --setattr=alloc-bypass.R="$(flux job info ƒD4tZxAj R)" -N4 -n4 hostname
pi1
pi3
pi2
pi4 Note: loading the We are working on a method to accomplish co-located tool launch via the job-shell which would drop this limitation, but no eta on that support yet. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
MPIR_executable_path
andMPIR_server_arguments
are now supported influx job attach
as of version 0.60.0. Warning: this has had no real world testing yet because I was unable to convince known parallel debuggers that support the MPIR tool launch extensions to recognizeflux job attach
as an MPI launcher process.