!48506 Update detailed reason

Merge pull request !48506 from ZPaC/code_docs_master
This commit is contained in:
i-robot 2023-02-07 10:37:16 +00:00 committed by Gitee
commit f40e159dd1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ constexpr char kDetailedFailureReason[] =
"Maybe you are trying to call 'mindspore.communication.init()' without using 'mpirun', which will make MindSpore "
"load several environment variables and check their validation. Please use 'mpirun' to launch this process to fix "
"this issue, or refer to this link if you want to run distributed training without using 'mpirun': "
"https://www.mindspore.cn/docs/programming_guide/zh-CN/r1.6/distributed_training_gpu.html#openmpi.";
"https://www.mindspore.cn/tutorials/experts/zh-CN/master/parallel/train_gpu.html";
constexpr char kEnvServerNum[] = "MS_SERVER_NUM";
constexpr char kEnvWorkerNum[] = "MS_WORKER_NUM";