2024-07-31 LW/JW running evaluator on NRP meeting note
Participants
@Lily Wang
@Jeffrey Wagner
Discussion topics
Item | Notes |
---|---|
Give LW Dockerhub creds | LW needs to make an account at hub.docker.com (ideally using openff gmail)
JW needs to add LW to https://app.docker.com/admin/orgs/openforcefield/members
|
|
|
Run evaluator client and server locally |
JW attempt:
mamba create -n evaluator openff-evaluator Running natively on mac failed Trying to run in docker: using instructions from here: https://github.com/openforcefield/openff-qcsubmit/issues/264 (emulating 64 with the --platform bit)
Then outside container: docker cp test.py <container_hash>:/tmp
docker cp tutorial02.py <container_hash>:/tmp
docker cp ~/oe_license.txt <container_hash>:/tmp
docker cp ~/filtered_data_set.json <container_hash>:/tmp Then in container:
micromamba create -n evaluator -c conda-forge openff-evaluator -c openeye openeye-toolkits
filtered_data_set.json:
|
Run evaluator w/ server in separate process | server.py: from openff.evaluator.backends.dask import DaskLocalCluster
from openff.evaluator.server import EvaluatorServer
with DaskLocalCluster() as calculation_backend:
evaluator_server = EvaluatorServer(calculation_backend)
evaluator_server.start()
client.py |
Run evaluator client locally and server in docker |
Getting a real connection on port 8000 (if I change the client port to 8001 I get “connection refused”) but it’s failing at the I get this error whether or not the server is running
|
Run evaluator worker on NRP, installing software in base container |
|
Build evaluator worker docker image and deploy on DockerHub |
|