]> SALOME platform Git repositories - tools/libbatch.git/blobdiff - src/PBS/Batch_FactBatchManager_ePBS.cxx
Salome HOME
Moved username initialization to the constructor in BatchManager_eClients
[tools/libbatch.git] / src / PBS / Batch_FactBatchManager_ePBS.cxx
index 502c91bd812913142129167e0cdf95132493e848..a71271f8e7cacdbb4c3cf38146886aa622a8c64c 100644 (file)
@@ -57,12 +57,13 @@ namespace Batch {
   }
 
   BatchManager_eClient * FactBatchManager_ePBS::operator() (const char * hostname,
+                                                            const char * username,
                                                             CommunicationProtocolType protocolType,
                                                             const char * mpiImpl,
                                                            int nb_proc_per_node) const
   {
     // MESSAGE("Building new BatchManager_PBS on host '" << hostname << "'");
-    return new BatchManager_ePBS(this, hostname, protocolType, mpiImpl, nb_proc_per_node);
+    return new BatchManager_ePBS(this, hostname, username, protocolType, mpiImpl, nb_proc_per_node);
   }