登录集群


登录集群

向集群提交作业的第一步是使用grbcluster登录命令。

> grbcluster login——manager=http://localhost:61080 -u=gurobi info: Using client license file '/Users/john/gurobi. > grbcluster login——manager=http://localhost:61080 -u=gurobi info: Using client license file 'info: User gurobi connected to http://localhost:61080, session will expire on 2019-09…

此命令表明您想要连接到计算机的61080端口上运行的集群管理器本地主机随着gurobi用户。该命令的输出首先显示客户端许可文件gurobi.lic位于用户主目录中的将用于存储连接参数。然后它提示您输入指定用户的密码(以安全的方式)。在联系Cluster Manager之后,客户端检索将在指定日期和时间过期的会话令牌。

使用这种方法登录时不需要显示用户密码或以明文形式保存密码,从而提高了安全性。会话令牌和所有连接参数都保存在客户端许可证文件中,因此它们可以被所有命令行工具使用(gurobi_clgrbtune,grbcluster).当令牌会话到期时,命令将失败,您将需要再次登录。