schrodinger.autoinstall.reconfigure_hostname module¶
- schrodinger.autoinstall.reconfigure_hostname.run(ipath: str, hostname: str, ncpu: int, ngpu: int)¶
Re-configures all hostname-dependent components after a hostname change.
This includes the Job Server (with certificate root chaining), 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.