From 21274bc526ed36838bab532f9474383da847465c Mon Sep 17 00:00:00 2001 From: ribes Date: Wed, 28 Jul 2010 14:05:26 +0000 Subject: [PATCH] - Adaptation of Launcher for new LIBBATCH --- src/Launcher/Launcher.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Launcher/Launcher.cxx b/src/Launcher/Launcher.cxx index e5d8e9dc8..03c74cdab 100644 --- a/src/Launcher/Launcher.cxx +++ b/src/Launcher/Launcher.cxx @@ -421,7 +421,9 @@ Launcher_cpp::FactoryBatchManager(ParserResourcesType& params) throw LauncherException("Cannot find batch manager factory"); } LAUNCHER_MESSAGE("Instanciation of batch manager of type: " << bmType); - return (*fact)(hostname.c_str(), protocol, mpi.c_str(), nb_proc_per_node); + Batch::BatchManager_eClient * batch_client = (*fact)(hostname.c_str(), protocol, mpi.c_str(), nb_proc_per_node); + batch_client->setUsername(params.UserName); + return batch_client; } //---------------------------------------------------------- -- 2.39.2