From 211a29c1496b6e5b3438d28943ee798ce4ae39b6 Mon Sep 17 00:00:00 2001 From: barate Date: Thu, 30 Sep 2010 14:29:41 +0000 Subject: [PATCH] Fixed Launcher according to recent changes in 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 03c74cdab..abadb1dc5 100644 --- a/src/Launcher/Launcher.cxx +++ b/src/Launcher/Launcher.cxx @@ -421,8 +421,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