Setup for Parallel Computation

Install dependencies:

pip install pymongo

Mongo DB

Training models in parallel with SHERPA requires MongoDB. If you are using a cluster, chances are that it is already installed, so check for that. Otherwise the .. _installation guide for Linux: is straightforward. For MacOS, MongoDB can either be installed via Homebrew

brew update
brew install mongodb

or via the .. _instructions: .


To verify SHERPA with MongoDB is working:

cd sherpa/examples/parallel-examples/