将 perforce 与 LSF 一起使用会导致有关密码的错误

using perforce with LSF is causing an error about a password

当我向 LSF 提交以下命令时,它失败了。

> bsub -I p4 client -o
Job <7966594> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on XXX>>
Perforce password (P4PASSWD) invalid or unset.

如何设置 LSF 作业的密码?

解决方案是使用:p4 login -a

这使得登录在所有主机上都有效