From b526ec39a78795fd93aa396efaab34fb420efd4b Mon Sep 17 00:00:00 2001 From: ribes Date: Fri, 1 Oct 2010 14:17:48 +0000 Subject: [PATCH] Patch for new version of LIBBATCH --- src/Launcher/Launcher.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Launcher/Launcher.cxx b/src/Launcher/Launcher.cxx index f40931743..3211ce253 100644 --- a/src/Launcher/Launcher.cxx +++ b/src/Launcher/Launcher.cxx @@ -427,8 +427,8 @@ Launcher_cpp::FactoryBatchManager(ParserResourcesType& params) throw LauncherException("Cannot find batch manager factory"); } LAUNCHER_MESSAGE("Instanciation of batch manager of type: " << bmType); - Batch::BatchManager_eClient * batch_client = (*fact)(hostname.c_str(), protocol, mpi.c_str(), nb_proc_per_node); - batch_client->setUsername(params.UserName); + Batch::BatchManager_eClient * batch_client = (*fact)(hostname.c_str(), params.UserName.c_str(), + protocol, mpi.c_str(), nb_proc_per_node); return batch_client; } -- 2.39.2