You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To maintain backwards compatibility, I propose we implement this as a package option, say cores_minimum. Currently, parabar shows a warning if less than two cores are used, so it would be sensible to set cores_minimum = 2 as default.
Then, users can customize this to their needs as follows:
# Adjust the minimum number of backend cores.
set_option("cores_minimum", 1)
# Start a backend.backend<- start_backend(cores=1)
# At this point this will not show a warning anymore.# Dispose the backend.
stop_backed(backend)
Similarly:
# Adjust the minimum number of backend cores.
set_option("cores_minimum", 4)
# Start a backend.backend<- start_backend(cores=2)
# This will show a warning and, should they are available, set to `4` cores.# Dispose the backend.
stop_backed(backend)
This is regarding Jonas' request in #53 (comment).
The text was updated successfully, but these errors were encountered: