[GPURUN] new binding script uses numa info from: lscpu and amd-smi li… #823
+1,068
−693
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…brary (#721)
has fallback to rocm-smi if amd-smi lib not present
gpurun: Process launch utility for GPU applications. This is a wrapper
to execute application binaries including OpenMPI GPU applications.
See help message below (gpurun -h) for more information.
Usage: gpurun [gpurun_options] Program and options
-h --help : display help test
-v : display gpurun command
-vv : display additional debug info
-vvv : display more debug info
-dryrun : do not run bindings
-taskset : use taskset for binding
-numatcl : use numactl for binding [default]
-md : Set number of desired devices for multi-device mode, default=1
-nr : use numactl ROCR_VISIBLE_DEVICES
-nm : use numactl OMPI_COMM_WORLD_LOCAL_RANK
-topo : display the topology and exit
-rocmsmi : force use of rocm-smi rather than amd-smi
--version : Print version of gpurun and exit
Usage Examples:
gpurun true
mpirun -np 4 gpurun env | grep ROCR_VISIBLE_DEVICES
gpurun -topo
GPU[1] : (Topology) Numa Affinity: 6