HIPS / Spearmint

Spearmint Bayesian optimization codebase
Other
1.55k stars 329 forks source link

cluster_scheduler does not use hostname as database address #50

Open munick opened 8 years ago

munick commented 8 years ago

When running the distributed example, an exception is raised for all tasks run on nodes: Exception: Could not establish a connection to MongoDB.

Looking at cluster_scheduler.py, it gets the proper hostname but doesn't actually use it. I'm assuming then that the nodes try to use a db in their own localhost and can't find one.

munick commented 8 years ago

Update: The distributed example works on node machines with my changes above.