Name
opagetvf — Used for scripting application use of Virtual Fabrics (VFs), such as for mpirun parameters.
Syntax
opagetvf [-h hfi] [-p port] [-e] [-d vfname|-S serviceId|-m mcgid|-i vfIndex|-k pkey|-L sl]
Description
You can query by VF Name, VF Index, Service ID, Multicast Group Identifier (MGID), PKey, or Service Level (SL). Fetches the Virtual Fabric info in a delimited format. Returns exactly one matching VF. When multiple VFs match the query, it prefers non-default VFs in which the calling server is a full member. If multiple choices remain, it returns the one with the lowest VF Index. Uses the same algorithm as the DSAP.
The tool can 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 information, see .
Options
--helpProduces full help text.
-hhfiSpecifies the SuperNIC to send by. Default is first SuperNIC.
-pportSpecifies the port to send by. Default is first active port.
-eOutputs MTU and rate as enum values. A value of 0 denotes unspecified.
-dvfnameQueries by VirtualFabric Name.
-SserviceIdQueries by Application ServiceId.
-mgidQueries by Application Multicast GID.
-ivfindexQueries by VirtualFabric Index.
-kpkeyQueries by VirtualFabric PKey.
-LSLQueries by VirtualFabric SL.
Examples
opagetvf -d 'Compute' opagetvf -h 2 -p 2 -d 'Compute'
Notes - Sample Outputs
The output is of the form: name:index:pkey:sl:mtu:rate:optionflag::mcastSl
Option flag (bitmask) values include:
0x00Indicates no bits are set. Specifically, no QoS, no Security, and no flow control disabled (which means flow control is enabled).0x01Security0x02QoS0x04Flow Control Disable
# opagetvf -d Default Default:0:0xffff:0:unlimited:unlimited:0x0::