From 635e44fb6c5ec9350766011bdb6df2bd7ed5dbb1 Mon Sep 17 00:00:00 2001 From: Olivier Langella <Olivier.Langella@moulon.inra.fr> Date: Wed, 20 Sep 2017 16:59:42 +0200 Subject: [PATCH] write tandem parameter file should be ok, overwriting number of threads --- src/core/tandem_run/tandemcondorprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tandem_run/tandemcondorprocess.cpp b/src/core/tandem_run/tandemcondorprocess.cpp index f0fb3ba6..3a45526e 100644 --- a/src/core/tandem_run/tandemcondorprocess.cpp +++ b/src/core/tandem_run/tandemcondorprocess.cpp @@ -124,7 +124,7 @@ void TandemCondorProcess::run() { *p_out << "notification = Error" << endl; *p_out << "Rank = Mips" << endl; *p_out << "request_memory= " << _condor_request_memory << endl; - *p_out << "request_cpus = 1" << endl; + *p_out << "request_cpus = " << _tandem_run_batch._number_of_threads << endl; *p_out << "Executable = " << _tandem_run_batch._tandem_bin_path << endl; *p_out << "Log = " << _p_tmp_dir->path() << "/condor.log" << endl; *p_out << "Output = " << _p_tmp_dir->path() << "/tandem.$(Process).out" << endl; -- GitLab