schrodinger.autoinstall.jobserver_install module

schrodinger.autoinstall.jobserver_install.setup_hosts_file(ipath: str, ncpu: int, ngpu: int, logger)

Sets up the schrodinger.hosts file for the Job Server.

This file defines the compute resources available to the Schrodinger suite.

Parameters:
  • ipath – The installation path for the Schrodinger suite.

  • ncpu – The number of CPU cores.

  • ngpu – The number of GPUs.

  • logger – A logger instance for logging messages.

schrodinger.autoinstall.jobserver_install.setup_jsc(ipath: str, liccheck: bool, logger, hostname: str)

Sets up the Job Server Controller (JSC).

This involves creating users, running the jsc_admin setup-server command, configuring file permissions, setting up the jobserverd.service, and enabling necessary feature flags.

Parameters:
  • ipath – The installation path for the Schrodinger suite.

  • liccheck – A boolean to enable or disable license checking.

  • logger – A logger instance for logging messages.

  • hostname – The hostname of the server.

schrodinger.autoinstall.jobserver_install.run(ipath: str, ncpu: int, ngpu: int, liccheck: bool, hostname: str)

Main routine to set up the Job Server and its host configuration.

Parameters:
  • ipath – The installation path for the Schrodinger suite.

  • ncpu – The number of CPU cores.

  • ngpu – The number of GPUs.

  • liccheck – A boolean to enable or disable license checking.

  • hostname – The hostname of the server.