flux resource listto determine if Flux is already running on your system.
flux mini allocto get a two node allocation. If flux is not running on the system, use allocation commands appropriate to that system to get a two node allocation and start Flux with
flux resource listto query the state of the resources in your allocation.
flux help hwlocto determine the command to print the detailed hardware topology for the resources in your allocation and run that command.
flux resource listwill error out with:
flux-resource: ERROR: [Errno 2] Unable to connect to Flux: ENOENT: No such file or directory
flux hwloc topology | lstopo-no-graphics --if xml -i -for displaying a detailed view of the hardware topology.