linbox
test-mpi-comm.C File Reference

Check MPI communicator interface. More...

#include <givaro/modular.h>
#include <givaro/zring.h>
#include <linbox/linbox-config.h>
#include <linbox/matrix/sparse-matrix.h>
#include "linbox/util/mpicpp.h"
#include "linbox/blackbox/random-matrix.h"
#include "linbox/matrix/random-matrix.h"

Functions

template<class Field, class Matrix>
void genData (Field &F, Givaro::Integer q, Matrix &A, size_t seed, size_t bits)
 
template<class Field>
void genData (Field &F, Givaro::Integer q, BlasVector< Field > &B, size_t seed, size_t bits)
 
template<class Field, class Object>
bool test_ssend_recv_bcast (Field &F, Object &B, Object &B2, Communicator &comm)
 
template<class Field, class Object>
bool test_send_recv (Field &F, Object &B, Object &B2, Object &B3, Communicator &comm)
 
template<class Field>
bool test_with_field (Givaro::Integer q, size_t bits, size_t ni, size_t nj, Communicator &comm, size_t &seed)
 
int main (int argc, char **argv)
 

Detailed Description

Check MPI communicator interface.

Function Documentation

◆ genData() [1/2]

template<class Field, class Matrix>
void genData ( Field & F,
Givaro::Integer q,
Matrix & A,
size_t seed,
size_t bits )

◆ genData() [2/2]

template<class Field>
void genData ( Field & F,
Givaro::Integer q,
BlasVector< Field > & B,
size_t seed,
size_t bits )

◆ test_ssend_recv_bcast()

template<class Field, class Object>
bool test_ssend_recv_bcast ( Field & F,
Object & B,
Object & B2,
Communicator & comm )

◆ test_send_recv()

template<class Field, class Object>
bool test_send_recv ( Field & F,
Object & B,
Object & B2,
Object & B3,
Communicator & comm )

◆ test_with_field()

template<class Field>
bool test_with_field ( Givaro::Integer q,
size_t bits,
size_t ni,
size_t nj,
Communicator & comm,
size_t & seed )

◆ main()

int main ( int argc,
char ** argv )