23 #ifndef __LAUNCHER_HXX__
24 #define __LAUNCHER_HXX__
80 void launchJob(
int job_id);
81 std::string getJobState(
int job_id);
82 std::string getAssignedHostnames(
int job_id);
83 void exportInputFiles(
int job_id);
84 void getJobResults(
int job_id, std::string directory);
85 void clearJobWorkingDir(
int job_id);
86 bool getJobDumpState(
int job_id, std::string directory);
87 bool getJobWorkFile(
int job_id, std::string work_file, std::string directory);
89 void removeJob(
int job_id);
90 std::string dumpJob(
int job_id);
91 int restoreJob(
const std::string& dumpedJob);
97 std::list<int> loadJobs(
const char* jobs_file);
100 void saveJobs(
const char* jobs_file);
103 long createJobWithFile(std::string xmlExecuteFile, std::string clusterName);
104 std::map<int, Launcher::Job *> getJobs();
122 std::map <int, Batch::BatchManager*> _batchmap;
#define LAUNCHER_EXPORT
Definition: Launcher_Utils.hxx:39
Definition: Launcher_Job.hxx:49
Definition: Launcher.hxx:72
std::shared_ptr< ResourcesManager_cpp > _ResManager
Definition: Launcher.hxx:114
int _job_cpt
Definition: Launcher.hxx:128
std::map< int, Launcher::Job * > _launcher_job_map
Definition: Launcher.hxx:127
void SetResourcesManager(std::shared_ptr< ResourcesManager_cpp > &rm)
Definition: Launcher.hxx:109
virtual void notifyObservers(const std::string &, const std::string &)
Definition: Launcher.hxx:116
Definition: SALOME_ResourcesCatalog_Parser.hxx:90
Definition: Launcher.hxx:41
job_id
Definition: launcher_use_case.py:49
rm
Definition: salome.py:122
Definition: Launcher.hxx:47
std::string pre_command
Definition: Launcher.hxx:51
std::string launcher_args
Definition: Launcher.hxx:68
std::string work_directory
Definition: Launcher.hxx:55
std::list< std::string > in_files
Definition: Launcher.hxx:53
std::string local_directory
Definition: Launcher.hxx:56
std::string launcher_file
Definition: Launcher.hxx:67
std::string extra_params
Definition: Launcher.hxx:65
std::map< std::string, std::string > specific_parameters
Definition: Launcher.hxx:66
resourceParams resource_required
Definition: Launcher.hxx:59
unsigned int mem_per_cpu
Definition: Launcher.hxx:63
std::string result_directory
Definition: Launcher.hxx:57
std::string wckey
Definition: Launcher.hxx:64
std::string job_name
Definition: Launcher.hxx:48
bool exclusive
Definition: Launcher.hxx:62
std::string job_type
Definition: Launcher.hxx:49
std::string queue
Definition: Launcher.hxx:60
std::string env_file
Definition: Launcher.hxx:52
std::string partition
Definition: Launcher.hxx:61
std::string maximum_duration
Definition: Launcher.hxx:58
std::string job_file
Definition: Launcher.hxx:50
std::list< std::string > out_files
Definition: Launcher.hxx:54
Definition: SALOME_Launcher_Parser.hxx:46
Definition: ResourcesManager.hxx:52