Skip to content
Snippets Groups Projects
Commit 096a675d authored by Langella Olivier's avatar Langella Olivier
Browse files

new param in HTcondor jobs to set the disk usage

parent 37b9e1bb
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,8 @@ TandemCondorProcess::TandemCondorProcess(MainWindow *p_main_window,
settings.value("condor/condor_rm", "/usr/bin/condor_rm").toString();
_condor_request_memory =
settings.value("tandem/condor_request_memory", "10000").toUInt();
_condor_disk_usage =
settings.value("tandem/condor_disk_usage", "1000").toUInt();
settings.setValue("condor/tmp_dir_autoremove",
settings.value("condor/tmp_dir_autoremove", true));
......@@ -184,6 +186,7 @@ TandemCondorProcess::run()
*p_out << "Universe = vanilla" << endl;
*p_out << "notification = Error" << endl;
*p_out << "Rank = Mips" << endl;
*p_out << "DiskUsage = " << _condor_disk_usage << endl;
*p_out << "request_memory= " << _condor_request_memory << endl;
*p_out << "request_cpus = " << _tandem_run_batch._number_of_threads
<< endl;
......
......@@ -61,6 +61,7 @@ class TandemCondorProcess : public TandemBatchProcess
unsigned int _condor_cluster_number;
unsigned int _condor_job_size;
unsigned int _condor_request_memory;
unsigned int _condor_disk_usage;
unsigned int _condor_status_timer_millisecond = 1000;
unsigned int _condor_completed_jobs = 0;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment