#include <sys/stat.h>
#include "Batch_BatchManager_eSGE.hxx"
#include <stdlib.h>
+#ifdef WIN32
+# include <time.h>
+# include <io.h>
+#else
#include <libgen.h>
+#endif
using namespace std;
void BatchManager_eSGE::buildBatchScript(const Job & job) throw(EmulationException)
{
+#ifndef WIN32
+ //TODO porting on Win32 platform
int status;
Parametre params = job.getParametre();
Environnement env = job.getEnvironnement();
throw EmulationException("Error of connection on remote host");
RmTmpFile(TmpFileName);
-
+#endif //WIN32
}
std::string BatchManager_eSGE::getWallTime(const long edt)
#ifndef _BATCHMANAGER_eLSF_H_
#define _BATCHMANAGER_eLSF_H_
+#include "Batch_Defines.hxx"
#include "Batch_JobId.hxx"
#include "Batch_JobInfo.hxx"
#include "Batch_JobInfo_eSGE.hxx"
class JobInfo;
class FactBatchManager;
- class BatchManager_eSGE : public BatchManager_eClient
+ class BATCH_EXPORT BatchManager_eSGE : public BatchManager_eClient
{
public:
// Constructeur et destructeur
#ifndef _FACTBATCHMANAGER_eSGE_H_
#define _FACTBATCHMANAGER_eSGE_H_
-using namespace std;
-#include <string>
-#include <map>
+#include "Batch_Defines.hxx"
+
#include "Batch_BatchManager_eClient.hxx"
#include "Batch_FactBatchManager_eClient.hxx"
class BatchManager_eSGE;
- class FactBatchManager_eSGE : public FactBatchManager_eClient
+ class BATCH_EXPORT FactBatchManager_eSGE : public FactBatchManager_eClient
{
public:
// Constructeur et destructeur
#define _JOBINFO_SGE_H_
#include <string>
+#include "Batch_Defines.hxx"
#include "Batch_RunTimeException.hxx"
#include "Batch_JobInfo.hxx"
namespace Batch {
- class JobInfo_eSGE : public JobInfo
+ class BATCH_EXPORT JobInfo_eSGE : public JobInfo
{
public:
// Constructeurs et destructeur