From: ribes Date: Fri, 1 Oct 2010 14:17:48 +0000 (+0000) Subject: Patch for new version of LIBBATCH X-Git-Tag: V6_2_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b526ec39a78795fd93aa396efaab34fb420efd4b;p=modules%2Fkernel.git Patch for new version of LIBBATCH --- 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; }