-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013 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
class MpiImpl;
namespace Batch{
- class BatchManager_eClient;
+ class BatchManager;
class Job;
}
std::string expected_during_time;
std::string mem;
unsigned long nb_proc;
+
+ // Parameters for COORM
+ std::string launcher_file;
+ std::string launcher_args;
};
class LAUNCHER_EXPORT Launcher_cpp
void createJob(Launcher::Job * new_job);
void launchJob(int job_id);
const char * getJobState(int job_id);
+ const char * getAssignedHostnames(int job_id); // Get names or ids of hosts assigned to the job
void getJobResults(int job_id, std::string directory);
bool getJobDumpState(int job_id, std::string directory);
void stopJob(int job_id);
// Methods used by user interface methods
#ifdef WITH_LIBBATCH
- Batch::BatchManager_eClient *FactoryBatchManager(ParserResourcesType& params);
- std::map <int, Batch::BatchManager_eClient*> _batchmap;
+ Batch::BatchManager *FactoryBatchManager(ParserResourcesType& params);
+ std::map <int, Batch::BatchManager*> _batchmap;
#endif
ParserLauncherType ParseXmlFile(std::string xmlExecuteFile);