【正文】
*.lic 文件) 拷貝到 /opt/intel/licenses 下(此目錄需要手動建立)。 1 Intel C++編譯器的安裝: 1. 復(fù)制源碼包: 使用 cp 命令復(fù)制 Intel C++的源碼包 到 root 目 錄下 2. 解壓縮: tar –zxvf cd 3. 安裝: ./ 如下圖所示,需要經(jīng)歷 7steps 安裝過程,基本都是默認(rèn)選項(xiàng)回車進(jìn)行下一步。 Press Enter key to continue or q to quit: 回車 Please type a selection or press Enter to accept default choice [1]:回車 ( View the 3 license agreement (required)) Type accept to continue or decline to back to the previous menu:accept Please type a selection or press Enter to accept default choice [1]:回車 ( Use existing license) Please type a selection or press Enter to accept default choice [1]:回車 ( Typical Install (Remended)) Please type a selection or press Enter to accept default choice [1]:回車 ( Install) Please type a selection or press Enter to accept default choice [q]:回車 ( Quit) 4. 設(shè)置環(huán)境變量: vi /root/.bashrc //編輯 .bashrc 文件,在文檔最后加入以下內(nèi)容: source /opt/intel/Compiler/ //(: wq)保存退出 source /root/.bashrc //source 使其生效 which ifort //查看是否環(huán)境變量設(shè)置正確 3 Intel MPI 的安裝: 1. 復(fù)制源碼包: 使用 cp 命令復(fù)制 Intel MPI 的源碼包 到 root 目錄下 2. 解壓縮: tar –zxvf cd 3. 安裝: ./ Please type a selection (1/2/x) [1]:回車 ( Install cluster node software on an automounted shared file system) Press Enter to continue... 回車 Enter 39。 to continue, 39。 to exit: (accept/reject): accept Please specify installation prefix [/opt/intel/mpi/]: 回車 Preparing packages for installation... 4 Installation successful. To uninstall this p