COMBINATORIAL_BLAS 1.6
 
Loading...
Searching...
No Matches
dist_graph.cpp File Reference
#include <mpi.h>
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <fstream>
#include "fast_map.h"
#include "dist_graph.h"
#include "util.h"
#include "comms.h"
Include dependency graph for dist_graph.cpp:

Go to the source code of this file.

Functions

int create_graph (graph_gen_data_t *ggi, dist_graph_t *g)
 
int create_graph_serial (graph_gen_data_t *ggi, dist_graph_t *g)
 
int clear_graph (dist_graph_t *g)
 
int relabel_edges (dist_graph_t *g)
 
int relabel_edges (dist_graph_t *g, int32_t *global_parts)
 
int repart_graph (dist_graph_t *g, mpi_data_t *comm, char *part_file)
 
int repart_graph (dist_graph_t *g, mpi_data_t *comm, int32_t *local_parts)
 
int get_max_degree_vert (dist_graph_t *g)
 

Variables

int procid
 
int nprocs
 
bool verbose
 
bool debug
 
bool verify
 
bool output
 

Function Documentation

◆ clear_graph()

int clear_graph ( dist_graph_t g)

Definition at line 251 of file dist_graph.cpp.

◆ create_graph()

int create_graph ( graph_gen_data_t ggi,
dist_graph_t g 
)

Definition at line 62 of file dist_graph.cpp.

◆ create_graph_serial()

int create_graph_serial ( graph_gen_data_t ggi,
dist_graph_t g 
)

Definition at line 155 of file dist_graph.cpp.

◆ get_max_degree_vert()

int get_max_degree_vert ( dist_graph_t g)

Definition at line 846 of file dist_graph.cpp.

◆ relabel_edges() [1/2]

int relabel_edges ( dist_graph_t g)

Definition at line 271 of file dist_graph.cpp.

◆ relabel_edges() [2/2]

int relabel_edges ( dist_graph_t g,
int32_t global_parts 
)

Definition at line 351 of file dist_graph.cpp.

◆ repart_graph() [1/2]

int repart_graph ( dist_graph_t g,
mpi_data_t comm,
char *  part_file 
)

Definition at line 430 of file dist_graph.cpp.

◆ repart_graph() [2/2]

int repart_graph ( dist_graph_t g,
mpi_data_t comm,
int32_t local_parts 
)

Definition at line 492 of file dist_graph.cpp.

Variable Documentation

◆ debug

bool debug

Definition at line 60 of file dist_graph.cpp.

◆ nprocs

int nprocs

Definition at line 59 of file dist_graph.cpp.

◆ output

bool output

Definition at line 60 of file dist_graph.cpp.

◆ procid

int procid
extern

Definition at line 55 of file main.cpp.

◆ verbose

bool verbose
extern

Definition at line 56 of file main.cpp.

◆ verify

bool verify

Definition at line 60 of file dist_graph.cpp.