In-house server for communication with summit benchmark library (mainly it's Strategies
module).
Install summit following installation guidelines. Upon completion, clone current repo and simply install with pip
:
pip install -e .
Run module using cli:
python -m summitserver --host HOST --port PORT
where HOST defaults to dragonsoop2
and PORT to 12111
.
Or import and instantiate SummitServer
class with port
attribute and run its main()
method.
from summitserver import SummitServer
serv = SummitServer(port=12111)
serv.main()
Be sure to stop server when done:
serv.stop_server()