Currently, worker resources have defaults set in the template, and custom values added in configure_parallel.R. The custom values are hard coded though, and need a git commit to change them.
A few options:
Use environmental variables: Can be added anywhere in the execution chain, all the way up to the CLI used to submit the job. However, lower stages override higher stages, and higher stages need to be properly exported to propagate down.
Set the variable in the Rscript line, just before tar_make_clustermq: still needs a git commit to change
Just use a git commit
I am going to go with 1., and add code that will propagate env vars as needed.
Currently, worker resources have defaults set in the template, and custom values added in
configure_parallel.R
. The custom values are hard coded though, and need a git commit to change them.A few options:
export
ed to propagate down.tar_make_clustermq
: still needs a git commit to changeI am going to go with 1., and add code that will propagate env vars as needed.