opagetvf(1)
πΈ opagetvf β the vFabric tea-spiller (from the IFSFFCLIRG man pages, bestie) πΈ
π NAME π
opagetvf β ok so this is your little scripting bestie for using vFabrics from applications, like when you need mpirun parameters and you're just like "give me the deets pls".
You can query by VF Name, VF Index, Service ID, MGID, PKey, or SL. It fetches the Virtual Fabric info in a delimited format. It returns exactly one matching VF β no chaos, one VF only, periodt.
When multiple VFs match your query, it prefers non-default VFs in which the calling server is a full member. And if multiple choices are still standing after that? It hands you the one with the lowest VF Index. It uses the same algorithm as the Distributed SA Plug-in (DSAP) β so it's not doing its own lil thing, it's matching that vibe exactly.
This tool can also be used with additional scripts to help set PKey, SL, MTU, and Rate when running MPI jobs. Internally, this tool is based on the opasaquery -o vfinfocsv command. For more info, go see opasaquery. π«Ά
β¨ Syntax β¨
opagetvf [-h hfi] [-p port] [-e] [-d vfname | -S serviceId | -m mcgid |
-i vfIndex | -k pkey | -L sl]
π Options π
--helpβ produces the full help text. Your "wait what does this do again" button. π-hhfi β specifies the HFI to send by. Default is the first HFI.-pport β specifies the port to send by. Default is the first active port.-eβ outputs MTU and rate as enum values. Not the cute human-readable ones, the enum ones. β-dvfname β queries by VirtualFabric Name.-SserviceId β queries by Application ServiceId.-mgid β queries by Application Multicast GID.-ivfindex β queries by VirtualFabric Index.-kpkey β queries by VirtualFabric PKey.-LSL β queries by VirtualFabric SL.
π Examples π
opagetvf -d 'Compute'
opagetvf -h 2 -p 2 -d 'Compute'
π¦ Sample Outputs π¦
The output is of the form:
name:index:pkey:sl:mtu:rate:optionflag::mcastSl
...as shown in the following example. π
Option flag (bitmask) values include:
0x00β indicates no bits are set. Specifically: no QoS, no Security, and no flow control disabled (which means flow control is enabled). Lowkey the chill one. π0x01β Security0x02β QoS0x04β Flow Control Disable
# opagetvf -d Default
Default:0:0xffff:0:unlimited:unlimited:0x0::
π«Ά That's the whole page bestie, every flag accounted for, no cap.
Copyright(C) 2015-2019 β Intel Corporation. Sending you off with all the love, this was opagetvf(1) from the IFSFFCLIRG man pages. Slay, and happy scripting. πβ¨
π¦ where this page comes from
- centos-stream 9: opa-basic-tools 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-basic-tools 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-basic-tools 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-basic-tools 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-basic-tools 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-basic-tools 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-basic-tools 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-basic-tools 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-basic-tools 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms