COMBINATORIAL_BLAS 1.6
 
Loading...
Searching...
No Matches
SegTest.cpp File Reference
#include <iostream>
#include <random>
#include <chrono>
#include "CombBLAS/CombBLAS.h"
Include dependency graph for SegTest.cpp:

Go to the source code of this file.

Classes

class  PSpMat< NT >
 
struct  CommonKmers
 
struct  KmerIntersect< IN, OUT >
 

Typedefs

typedef std::vector< int64_tvec64_t
 

Functions

int read_matrix (std::string fname, int offset, int row_offset, vec64_t &lrow_ids, vec64_t &lcol_ids, vec64_t &lvals)
 
int main (int argc, char **argv)
 

Typedef Documentation

◆ vec64_t

typedef std::vector<int64_t> vec64_t

Definition at line 8 of file SegTest.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

For testing let's recreate matrices similar to the one that segfaults Rank: 0 lrow_ids 146 lcol_ids 146 lvals 146 Rank: 1 lrow_ids 56 lcol_ids 56 lvals 56 Rank: 2 lrow_ids 100 lcol_ids 100 lvals 100 Rank: 3 lrow_ids 141 lcol_ids 141 lvals 141

Write values to file to see why it segfaults

Definition at line 90 of file SegTest.cpp.

◆ read_matrix()

int read_matrix ( std::string  fname,
int  offset,
int  row_offset,
vec64_t lrow_ids,
vec64_t lcol_ids,
vec64_t lvals 
)

Definition at line 186 of file SegTest.cpp.