From 0a31aaa6df5100a553232297e853f79e8c05da01 Mon Sep 17 00:00:00 2001 From: zhaoxianming <5723204+zhaoxianming@user.noreply.gitee.com> Date: Thu, 7 Apr 2022 06:50:11 +0000 Subject: [PATCH] update container/README.md. --- container/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/container/README.md b/container/README.md index a253e81..218af0c 100644 --- a/container/README.md +++ b/container/README.md @@ -68,7 +68,15 @@ cp ./templates/qe/6.4/data.qe.container.config ./ ./jarvis -d -dp ``` -5.5 运行容器(-np 后面的数字为核数,请按实际核数指定) +5.5 配置mpi环境变量 + +``` +MPI_HOME= openMPI安装路径(执行find / -name openmpi查找openmpi安装路径,截取到版本号,例如:/home/xxx/hpcrunner-hpcrunner-v1.0/software/mpi/openmpi4-gcc4/4.1.2/) +export PATH=$PATH:$MPI_HOME/bin +export LD_LIBRARY_PATH=$MPI_HOME/lib:$LD_LIBRARY_PATH +``` + +5.6 运行容器(-np 后面的数字为核数,请按实际核数指定) ``` cd container -- Gitee