From 69e139c84f2c49a7a6c301113459bc8c844ed13b Mon Sep 17 00:00:00 2001
From: Marcin Kirsz <mkirsz@ed.ac.uk>
Date: Tue, 8 Oct 2024 16:26:40 +0100
Subject: [PATCH] fix for solver when N > M

---
 trainer.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/trainer.h b/trainer.h
index 24988c4..d8c4f29 100644
--- a/trainer.h
+++ b/trainer.h
@@ -125,8 +125,6 @@ class MPI_Trainer: public Trainer {
       MPI_Bcast(&PHI_rows, 1, MPI_INT, 0, MPI_COMM_WORLD);
       MPI_Bcast(&PHI_cols, 1, MPI_INT, 0, MPI_COMM_WORLD);
 
-      std::cout << "PHI_cols " << PHI_cols << std::endl;
-
       // Initialize BLACS
       // We create two contexts.
       // context1 is used for the computation of phi matrices
@@ -419,14 +417,11 @@ class MPI_Trainer_HOST: public MPI_Trainer {
     }
     void config_tag() {
       int ready;
-      std::cout << "HOST CONFIG 1" << std::endl;
       MPI_Recv (&ready, 1, MPI_INT, worker, 
           MPI_Trainer::CONFIG_TAG, MPI_COMM_WORLD, &status);
-      std::cout << "HOST CONFIG 2" << std::endl;
       ready=1;
       MPI_Send (&ready, 1, MPI_INT, worker, 
           MPI_Trainer::CONFIG_TAG, MPI_COMM_WORLD);
-      std::cout << "HOST CONFIG 3" << std::endl;
     }
 
 };
-- 
GitLab