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. πŸ’…
  • -h hfi β€” specifies the HFI to send by. Default is the first HFI.
  • -p port β€” 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. ⭐
  • -d vfname β€” queries by VirtualFabric Name.
  • -S serviceId β€” queries by Application ServiceId.
  • -m gid β€” queries by Application Multicast GID.
  • -i vfindex β€” queries by VirtualFabric Index.
  • -k pkey β€” queries by VirtualFabric PKey.
  • -L SL β€” 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 β€” Security
  • 0x02 β€” QoS
  • 0x04 β€” 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. πŸ’œβœ¨