lanl / PyBNF

An application for parameterization of biological models available in SBML and BNGL formats. Features include parallelization, metaheuristic optimization algorithms, and an adaptive Markov chain Monte Carlo (MCMC) sampling algorithm.
Other
22 stars 18 forks source link

Add support for scheduler-file argument #234

Closed joshuacolvin0 closed 5 years ago

joshuacolvin0 commented 5 years ago

When --scheduler-location is passed to dask-scheduler on startup, it saves the location that the scheduler can be contacted. This is typically used by passing the same argument to dask-worker to simplify cluster setup, but it can also be used by pybnf to easily connect to the scheduler.

This is an alternative to dask-ssh, and allows more control over how workers are provisioned.

emitra17 commented 5 years ago

This feature should be documented in the "Configuration Keys" and "Running on a cluster" sections. If you don't want to do that now, I'll open an issue.

emitra17 commented 5 years ago

When we add this and its documentation (soon), it should include a brief discussion about what we've learned about processes vs threads, and how this is currently handled in the code.

emitra17 commented 5 years ago

Closing in favor of #239