-// Copyright (C) 2009-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2009-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
void setMaximumDuration(const std::string & maximum_duration);
void setResourceRequiredParams(const resourceParams & resource_required_params);
void setQueue(const std::string & queue);
+ void setPartition(const std::string & partition);
void setEnvFile(const std::string & env_file);
void setExclusive(bool exclusive);
void setExclusiveStr(const std::string & exclusiveStr);
std::string getMaximumDuration() const;
resourceParams getResourceRequiredParams() const;
std::string getQueue() const;
+ std::string getPartition() const;
std::string getEnvFile() const;
std::string getJobType() const;
bool getExclusive() const;
long _maximum_duration_in_second;
resourceParams _resource_required_params;
std::string _queue;
+ std::string _partition;
bool _exclusive;
unsigned long _mem_per_cpu;
std::string _wckey;
Batch::Job * _batch_job;
Batch::JobId _batch_job_id;
#endif
+ protected:
+ mutable int _cnt = 1;
};
}