Salome HOME
Make exportInputFiles public.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Mon, 2 Dec 2019 14:00:16 +0000 (15:00 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Mon, 2 Dec 2019 14:00:16 +0000 (15:00 +0100)
src/COORM/BatchManager_COORM.hxx
src/Core/BatchManager.hxx
src/Vishnu/BatchManager_Vishnu.hxx

index 87abb2469747e9b027898dcc643bcb32b9a00071..31ccf63bbbc4ee6f92def3cb49383f10ff3c6194 100644 (file)
@@ -54,9 +54,9 @@ namespace Batch
                       // Modifie un job en file d'attente
                       virtual void setEnvironnement(const JobId & jobid, const Environnement & env) { return alterJob(jobid, env); }
 
+                      virtual void exportInputFiles(const Job & job);
               protected:
                       std::string buildBatchScript(const Job & job);
-                      void exportInputFiles(const Job & job);
 
 #ifdef SWIG
               public:
index 1746c9c93727505ee866bdf28a7b90ea4cccefcc..79d2fd8d3419239b839cbf8dc38e37c310d51520 100644 (file)
@@ -83,6 +83,7 @@ namespace Batch {
 
     // Get the underlying communication protocol
     const CommunicationProtocol & getProtocol() const;
+    virtual void exportInputFiles(const Job & job);
 
   protected:
     std::string _hostname; // serveur ou tourne le BatchManager
@@ -94,7 +95,6 @@ namespace Batch {
     MpiImpl *_mpiImpl; // Mpi implementation to launch executable in batch script
 
     MpiImpl* FactoryMpiImpl(std::string mpiImpl);
-    virtual void exportInputFiles(const Job & job);
     
     // Preprocessing done on the frontal using "PREPROCESS" parameter as a script.
     // May throw exceptions in case of failure.
index 767ce4bf0ded0041eaac6e27fb052f9debc0271f..b332eccea7a2f06a4ec2dc3953f6368ac1a39d99 100644 (file)
@@ -55,11 +55,11 @@ namespace Batch {
     virtual void deleteJob(const JobId & jobid);
     virtual JobInfo queryJob(const JobId & jobid);
     virtual void importOutputFiles(const Job & job, const std::string directory);
+    virtual void exportInputFiles(const Job & job);
 
   protected:
 
     std::string buildCommandFile(const Job & job);
-    void exportInputFiles(const Job & job);
 
   };