From 97b6e4e7aab08ee1813172ca5521e2f385f8576a Mon Sep 17 00:00:00 2001
From: Peter Van Gemmeren <peter.van.gemmeren@cern.ch>
Date: Mon, 23 Jan 2017 16:58:05 +0100
Subject: [PATCH] Configure SharedWriter server by using negative number of
 cores (AthenaMPTools-00-05-02)

	* tag AthenaMPTools-00-05-02
	* src/SharedWriterTool.cxx: Configure SharedWriter server by using
	negative number of cores.


Former-commit-id: ef6ccc74714430934deef57563ce255354af0a8d
---
 Control/AthenaMPTools/src/SharedWriterTool.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Control/AthenaMPTools/src/SharedWriterTool.cxx b/Control/AthenaMPTools/src/SharedWriterTool.cxx
index 1c3c22c2d2f..93fedbd8cd3 100644
--- a/Control/AthenaMPTools/src/SharedWriterTool.cxx
+++ b/Control/AthenaMPTools/src/SharedWriterTool.cxx
@@ -154,7 +154,7 @@ std::unique_ptr<AthenaInterprocess::ScheduledWork> SharedWriterTool::bootstrap_f
   ATH_MSG_INFO("File descriptors re-opened in the AthenaMP Shared Writer PID=" << getpid());
 
   // FIXME: IEventShare ...
-  if(!m_evtShare->makeServer(m_nprocs).isSuccess()) {
+  if(!m_evtShare->makeServer(-m_nprocs).isSuccess()) {
     ATH_MSG_ERROR("Failed to make the event selector a share server");
     return outwork;
   }
-- 
GitLab