]> SALOME platform Git repositories - tools/libbatch.git/blobdiff - src/LSF/Batch_FactBatchManager_eLSF.cxx
Salome HOME
Errors in directory creation with Vishnu are not fatal
[tools/libbatch.git] / src / LSF / Batch_FactBatchManager_eLSF.cxx
index f79992225f822b3595ed24465979939efe0232a5..e5387bfb0a8db3d454067915228021a739833e01 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -33,6 +33,8 @@
 
 namespace Batch {
 
+  static FactBatchManager_eLSF sFBM_eLSF;
+
   // Constructeur
   FactBatchManager_eLSF::FactBatchManager_eLSF() : FactBatchManager_eClient("eLSF")
   {
@@ -53,11 +55,13 @@ namespace Batch {
   }
 
   BatchManager_eClient * FactBatchManager_eLSF::operator() (const char * hostname,
+                                                            const char * username,
                                                             CommunicationProtocolType protocolType,
-                                                            const char * mpiImpl) const
+                                                            const char * mpiImpl,
+                                                           int nb_proc_per_node) const
   {
     // MESSAGE("Building new BatchManager_LSF on host '" << hostname << "'");
-    return new BatchManager_eLSF(this, hostname, protocolType, mpiImpl);
+    return new BatchManager_eLSF(this, hostname, username, protocolType, mpiImpl);
   }
 
 }