-// Copyright (C) 2009-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2014 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
{
DEBTRACE("Creating BL::Job");
_name = "";
+ _type = COMMAND;
_job_file = "";
_env_file = "";
_batch_params.batch_directory = "";
_batch_params.maximum_duration = "";
- _batch_params.expected_memory = "";
+ _batch_params.mem_limit = 0;
+ _batch_params.mem_req_type = MEM_PER_NODE;
_batch_params.nb_proc = 0;
_batch_params.exclusive = false;
_files_params.result_directory = "";
{
DEBTRACE("Creating BL::Job with name : " << name);
_name = name;
+ _type = COMMAND;
_job_file = "";
_env_file = "";
_batch_params.batch_directory = "";
_batch_params.maximum_duration = "";
- _batch_params.expected_memory = "";
+ _batch_params.mem_limit = 0;
+ _batch_params.mem_req_type = MEM_PER_NODE;
_batch_params.nb_proc = 0;
_batch_params.exclusive = false;
_files_params.result_directory = "";
return _batch_queue;
}
+void
+BL::Job::setWCKey(const std::string & wckey)
+{
+ _wckey = wckey;
+}
+
+const std::string &
+BL::Job::getWCKey()
+{
+ return _wckey;
+}
+
void
BL::Job::setLoadLevelerJobType(const std::string & jobtype)
{