Commit 1cd43fce authored by Michael Hinton's avatar Michael Hinton Committed by Brian Christiansen
Browse files

Fix issue where GPU devices are denied access when MPS is enabled

The problem was that MPS and GPU plugins each have separate device
file records that point to the same file (duplicate device files are
normally rejected in gres.conf, so this is a special case). So when a
comprehensive GRES device list was assembled from each plugin in
gres_plugin_get_allocated_devices(), these files were being
double-counted, causing the issue.

The solution is to make this comprehensive GRES list unique by
omitting records with duplicate file paths.

Bug 7630
parent e842d8d5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment