Skip to content

Commit

Permalink
update GPU format
Browse files Browse the repository at this point in the history
  • Loading branch information
hpratt committed Oct 22, 2023
1 parent b636c3c commit 283ed15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {
}

group = "io.krews"
version = "0.14.10"
version = "0.14.11"

repositories {
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/krews/executor/bsub/BsubExecutor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class BsubExecutor(private val workflowConfig: WorkflowConfig) : LocallyDirected

val mem = taskConfig.bsub?.mem ?: taskRunContexts.map { it.memory }.maxBy { it?.bytes ?: -1 }
val cpus = taskConfig.bsub?.cpus ?: taskRunContexts.map { it.cpus }.maxBy { it ?: -1 }
val gpus = taskConfig.bsub?.gpu ?: "\"\""
val gpus = taskConfig.bsub?.gpu ? "\"\"" : null

appendBsubParam(bsubScript, "J", bsubWorkflowJobName)
appendBsubParam(bsubScript, "o", logsPath.resolve("out.txt"))
Expand Down

0 comments on commit 283ed15

Please sign in to comment.