Add new processing machine

Resources

Adding a new GPU server/user

Installation steps:

  • Add local user on processing machine via adduser
  • Install websocket for that user.
  • Install analysisInterface since websocket will delegate processing to runAnalysis.
  • Install potential other software, depending on what script in Analysis/Runs need. Perhaps such scripts might require virtual environment, check with particular code (e.g. irAEMM, nixSuite, SegmentationModels,...)

Processing software

The websocket and analysisInterface code will look in .labkey/setup.json to replace _softwareSrc_ with locally adjusted ["paths"]["softwareSrc"].
_softwareSrc_ is a shortcut/replacement string coded into Analysis/Runs scripts on labkey/merlin.
If a script requires _softwareSrc_/A/B.py, there should be a script under ["paths"]["softwareSrc"]/A/B.py on vangogh for the user you created.

In .labkey folder, there should also be a network.json file, which will enable the connection to database server. This file includes certificates (if needed), username and password.

Discussion