From 2175d6a65eee9ab5e38e7af796410f2f3231a05e Mon Sep 17 00:00:00 2001 From: dengwentao Date: Wed, 1 Apr 2020 14:36:13 +0800 Subject: [PATCH] add instructions for MSLIBS_CACHE_PATH --- install/mindspore_cpu_install.md | 2 +- install/mindspore_cpu_install_en.md | 2 +- install/mindspore_d_install.md | 2 +- install/mindspore_d_install_en.md | 2 +- install/mindspore_gpu_install.md | 2 +- install/mindspore_gpu_install_en.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install/mindspore_cpu_install.md b/install/mindspore_cpu_install.md index 8681979ad4..64314259bd 100644 --- a/install/mindspore_cpu_install.md +++ b/install/mindspore_cpu_install.md @@ -56,7 +56,7 @@ bash build.sh -e cpu -z -j4 ``` > - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。 - > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 + > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。 > - 如果编译机性能较好,可在执行中增加-j{线程数}来增加线程数量。如`bash build.sh -e cpu -z -j12`。 3. 执行如下命令安装MindSpore。 diff --git a/install/mindspore_cpu_install_en.md b/install/mindspore_cpu_install_en.md index 12ce0ff9f9..c394094268 100644 --- a/install/mindspore_cpu_install_en.md +++ b/install/mindspore_cpu_install_en.md @@ -56,7 +56,7 @@ This document describes how to quickly install MindSpore on a CPU environment. bash build.sh -e cpu -z -j4 ``` > - Before running the preceding command, ensure that the paths where the executable files cmake and patch store have been added to the environment variable PATH. - > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. + > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. The third-party libraries will be installed in build/.mslib, you can change the installation directory by setting the environment variable MSLIBS_CACHE_PATH . > - If the compiler performance is strong, you can add -j{Number of threads} in to script to increase the number of threads. For example, `bash build.sh -e cpu -z -j12`. 3. Run the following command to install MindSpore: diff --git a/install/mindspore_d_install.md b/install/mindspore_d_install.md index 1cd65d583a..5903ef65cb 100644 --- a/install/mindspore_d_install.md +++ b/install/mindspore_d_install.md @@ -81,7 +81,7 @@ bash build.sh -e d -z ``` > - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。 - > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 + > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。 > - build.sh中默认的编译线程数为8,如果编译机性能较差可能会出现编译错误,可在执行中增加-j{线程数}来减少线程数量。如`bash build.sh -e d -z -j4`。 3. 执行如下命令安装MindSpore。 diff --git a/install/mindspore_d_install_en.md b/install/mindspore_d_install_en.md index 7439bfc76d..6969766c3a 100644 --- a/install/mindspore_d_install_en.md +++ b/install/mindspore_d_install_en.md @@ -80,7 +80,7 @@ The compilation and installation must be performed on the Ascend 910 AI processo bash build.sh -e d -z ``` > - Before running the preceding command, ensure that the paths where the executable files cmake and patch store have been added to the environment variable PATH. - > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. + > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. The third-party libraries will be installed in build/.mslib, you can change the installation directory by setting the environment variable MSLIBS_CACHE_PATH . > - In the build.sh script, the default number of compilation threads is 8. If the compiler performance is poor, compilation errors may occur. You can add -j{Number of threads} in to script to reduce the number of threads. For example, `bash build.sh -e d -z -j4`. 3. Run the following command to install MindSpore: diff --git a/install/mindspore_gpu_install.md b/install/mindspore_gpu_install.md index 205a77d61b..d6f9545c7e 100644 --- a/install/mindspore_gpu_install.md +++ b/install/mindspore_gpu_install.md @@ -61,7 +61,7 @@ bash build.sh -e gpu -M on -z ``` > - 在执行上述命令前,需保证可执行文件cmake和patch所在路径已加入环境变量PATH中。 - > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 + > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 第三方依赖库的包默认安装在build/.mslib目录下,可以设置环境变量MSLIBS_CACHE_PATH来改变安装目录。 > - build.sh中默认的编译线程数为8,如果编译机性能较差可能会出现编译错误,可在执行中增加-j{线程数}来减少线程数量。如`bash build.sh -e gpu -M on -z -j4`。 3. 执行如下命令安装MindSpore。 diff --git a/install/mindspore_gpu_install_en.md b/install/mindspore_gpu_install_en.md index f9f7db7539..26a4444ecb 100644 --- a/install/mindspore_gpu_install_en.md +++ b/install/mindspore_gpu_install_en.md @@ -61,7 +61,7 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ bash build.sh -e gpu -M on -z ``` > - Before running the preceding command, ensure that the paths where the executable files cmake and patch store have been added to the environment variable PATH. - > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. + > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. The third-party libraries will be installed in build/.mslib, you can change the installation directory by setting the environment variable MSLIBS_CACHE_PATH . > - In the build.sh script, the default number of compilation threads is 8. If the compiler performance is poor, compilation errors may occur. You can add -j{Number of threads} in to script to reduce the number of threads. For example, `bash build.sh -e gpu -M on -z -j4`. 3. Run the following command to install MindSpore: -- Gitee