dubfi.tests.test_linalg_mpi_worker

Test MPI worker linear algebra routines.

Added in version 0.1.1.

Functions

test_vector(→ None)

Test basic MPI vector functionality.

test_matrix(→ None)

Test basic MPI-parallelized linear algebra.

test_matrix_3d(→ None)

Test basic MPI-parallelized linear algebra.

test_logdet(→ None)

Test dubfi.linalg.mpi_worker.MpiDenseBdMatrixWorker._logdet().

test_trace_product()

Test dubfi.linalg.mpi_worker._trace_product_self() and dubfi.linalg.mpi_worker._trace_product_generic() with and without jit.

trace_product_tester(tp_self, tp_generic)

Wrap tests for dubfi.linalg.mpi_worker._trace_product_self() and dubfi.linalg.mpi_worker._trace_product_generic().

test_dense_post_r()

Test agreement of dubfi.linalg.mpi_worker.MpiDensePostRWorker and dubfi.linalg.dense.DenseEnsLinPostR.

Module Contents

dubfi.tests.test_linalg_mpi_worker.test_vector(n: int = 100) None

Test basic MPI vector functionality.

dubfi.tests.test_linalg_mpi_worker.test_matrix(n: int = 200) None

Test basic MPI-parallelized linear algebra.

dubfi.tests.test_linalg_mpi_worker.test_matrix_3d(n: int = 200) None

Test basic MPI-parallelized linear algebra.

dubfi.tests.test_linalg_mpi_worker.test_logdet(n: int = 100) None

Test dubfi.linalg.mpi_worker.MpiDenseBdMatrixWorker._logdet().

dubfi.tests.test_linalg_mpi_worker.test_trace_product()

Test dubfi.linalg.mpi_worker._trace_product_self() and dubfi.linalg.mpi_worker._trace_product_generic() with and without jit.

dubfi.tests.test_linalg_mpi_worker.trace_product_tester(tp_self, tp_generic)

Wrap tests for dubfi.linalg.mpi_worker._trace_product_self() and dubfi.linalg.mpi_worker._trace_product_generic().

dubfi.tests.test_linalg_mpi_worker.test_dense_post_r()

Test agreement of dubfi.linalg.mpi_worker.MpiDensePostRWorker and dubfi.linalg.dense.DenseEnsLinPostR.