diff --git a/container/README.md b/container/README.md index a253e811a627af8feaca3c50f821d6391d4dc99b..218af0ce6b4910cd80e4f09243f8688350f592fd 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