topo-print.c File Reference
Display the known topology. More...
#include "Topology.h"#include "Topology-internals.h"#include <Padico/Puk.h>#include <Padico/PadicoTM.h>#include <Padico/Module.h>#include <stdio.h>#include <arpa/inet.h>#include <netdb.h>
Include dependency graph for topo-print.c:

Go to the source code of this file.
Functions | |
| static int | padico_topo_print_main (int argc, char **argv) |
| static void | padico_module_create_initializer__Topo_Print (void) |
| static FILE * | padico_topo_print_open_file (const char *filename, char *wanted) |
| static void | padico_topo_print_padico (FILE *f) |
Variables | |
| struct puk_mod_binary_s | padico_mod_binary__Topo_Print = { .name = "Topo_Print", .funcs = &padico_mod_funcs__Topo_Print , .mod = NULL, .profile = { .total_mem = 0, .max_mem = 0, .num_malloc = 0, .num_free = 0 } , .auto_deps = & puk_mod_dep_Topology , .n_deps = sizeof((char*[]){ 0, }) / sizeof(char*), .deps = { NULL, } } |
| static const struct puk_mod_funcs_s | padico_mod_funcs__Topo_Print = { .init = ( NULL ), .run = ( padico_topo_print_main ), .finalize = ( NULL ) } |
Detailed Description
Display the known topology.
Definition in file topo-print.c.
Function Documentation
◆ padico_module_create_initializer__Topo_Print()
Definition at line 46 of file topo-print.c.
◆ padico_topo_print_main()
Definition at line 243 of file topo-print.c.
References done, f, NULL, padico_na_rank, padico_topo_print_open_file(), and padico_topo_print_padico().
◆ padico_topo_print_open_file()
Definition at line 48 of file topo-print.c.
Referenced by padico_topo_print_main().
◆ padico_topo_print_padico()
Definition at line 66 of file topo-print.c.
References done, f, padico_na_topology_serialize(), and PADICO_TOPO_SCOPE_HOST.
Referenced by padico_topo_print_main().
Variable Documentation
◆ padico_mod_binary__Topo_Print
| struct puk_mod_binary_s padico_mod_binary__Topo_Print = { .name = "Topo_Print", .funcs = &padico_mod_funcs__Topo_Print , .mod = NULL, .profile = { .total_mem = 0, .max_mem = 0, .num_malloc = 0, .num_free = 0 } , .auto_deps = & puk_mod_dep_Topology , .n_deps = sizeof((char*[]){ 0, }) / sizeof(char*), .deps = { NULL, } } |
Definition at line 46 of file topo-print.c.
◆ padico_mod_funcs__Topo_Print
|
static |
Definition at line 46 of file topo-print.c.