schrodinger.autoinstall.reconfigure_hostname module¶
- schrodinger.autoinstall.reconfigure_hostname.run(ipath: str, hostname: str, ncpu: int, ngpu: int, exclude_gpu: list = None)¶
Re-configures all hostname-dependent components after a hostname change.
This includes the Job Server, SLURM configuration files, the license sensor, and the SLM client identifier.
- Parameters:
ipath – The installation path for the Schrodinger suite.
hostname – The new hostname of the server.
ncpu – The number of CPU cores.
ngpu – The number of GPUs.
exclude_gpu – Optional list of GPU indices to exclude.