From 79cfffe3f42b5089a99675ca6ecad7d598af2a28 Mon Sep 17 00:00:00 2001
From: Ruud Overeem <overeem@astron.nl>
Date: Tue, 8 May 2007 14:17:26 +0000
Subject: [PATCH] BugID: 826 Bugfix. 'complete'-criteria for starting up many
 MPI processes was wrong.

---
 LCS/ACC/ACCbin/src/ApplController.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/LCS/ACC/ACCbin/src/ApplController.cc b/LCS/ACC/ACCbin/src/ApplController.cc
index bf09720567f..94162ebb0a8 100644
--- a/LCS/ACC/ACCbin/src/ApplController.cc
+++ b/LCS/ACC/ACCbin/src/ApplController.cc
@@ -691,7 +691,8 @@ void ApplController::checkAckCompletion()
 	LOG_TRACE_STAT("All ack's received?");
 
 	if (itsCurState == StateStartupAppl) {
-		if (itsAPAPool->onlineCount() == itsProcRuler.size()) {
+//		if (itsAPAPool->onlineCount() == itsProcRuler.size()) {
+		if (itsAPAPool->onlineCount() == itsAPAPool->processCount()) {
 			itsStateEngine->ready();
 		}
 	}
-- 
GitLab