Skip to content

error when running with targets #250

Answered by mattwarkentin
liutiming asked this question in Q&A
Discussion options

You must be logged in to vote

@liutiming The wildcard words inside the double curly-brackets will get "filled in" when clustermq submits the jobs using this template. The values coming after the vertical pipe (|) are fall-back default values.

Let's take #BSUB-M {{ memory | 4096 }} as an example, if you do not pass a memory value when calling clustermq (either directly or indirectly via targets), then it will use 4096MB as the memory for your jobs.

Here is how you would control memory via targets:

tar_option_set(
  resources = list(memory = 1000) # this will replace {{ memory }}
)

tar_make_clustermq()

With the issue you were having: BSUB-o {{ log_file | ~/clustermq_log/ }}, you can either specify the path to a file fo…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mschubert
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #221 on March 29, 2021 20:23.