Commit e0e20fa1 authored by Sander Bollen's avatar Sander Bollen
Browse files

limit wall clock time to max 2 hours per default

parent 16684efc
......@@ -127,6 +127,11 @@ class FreeC(val root: Configurable) extends BiopetCommandLineFunction with Refer
override def defaultThreads = 4
override def defaultCoreMemory = 50
// wallclock time limit in seconds
var wallClockTimeLimit: Int = config("wall_time_limit", namespace = "freec", default = 7200)
jobNativeArgs = jobNativeArgs.toList ::: List(s"-l h_rt=$wallClockTimeLimit")
private var configFile: File = _
override def beforeGraph {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment