Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 42fdee4b authored by Simon Delamare's avatar Simon Delamare
Browse files

[lib] oar - do not genrate gpu ppty for orion (#10785)

parent ff2813e6
No related branches found
No related tags found
No related merge requests found
Pipeline #149372 passed
......@@ -450,7 +450,10 @@ def get_ref_node_properties_internal(cluster_uid, cluster, node_uid, node)
h['memcpu'] = node['main_memory']['ram_size'] / node['architecture']['nb_procs']/MiB
h['memnode'] = node['main_memory']['ram_size'] / MiB
if node.key?('gpu_devices')
if node.key?('gpu_devices') \
and h['cluster'] != 'orion'
# Do not generate GPU ppty for orion, cf #10785
# This forbids a node to host different GPU models ...
h['gpu_model'] = GPURef.getGrid5000LegacyNameFor(node['gpu_devices'].values[0]['model'])
h['gpu_count'] = node['gpu_devices'].length
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment