sys-sage
Loading...
Searching...
No Matches
Functions
hwloc-output.cpp File Reference
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <hwloc.h>

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Binary (entrypoint) for generating hwloc topology XML output (to current directory). Functionality is almost identical to "lstopo --of XML" (with an option to store to a file).
usage: ./hwloc-output [output_filename]

Parameters
filenameof the output file. If no output_filename is selected, print to stdout (also use "-" as output_filename to print to stdout)