Intel编译器
目录
前言
Intel编译器性能优异,包含MPI并行库和MKL数学函数库。
Intel2017
安装
|
|
修改环境变量
|
|
编译libfftw3xf_intel.a
|
|
如果一不小心删除了部分文件
- 先尽可能多得删除程序,否则无法重新安装。
1 2 3rpm -qa | grep intel rpm -e --nodeps --allmatches `rpm -qa | grep intel- | grep 239` rpm -e --nodeps --allmatches `rpm -qa | grep intel- | grep 2017`
然后重新安装intel2017,这时无法改变文件安装位置。
接着,用官方卸载工具卸载。
再重新安装intel2017,之后就一切正常了。
| 命令 | 编译器 |
|---|---|
| mpiicc、mpiicpc、mpiifort | Intel |
| mpicc、mpif90、mpifc | GNU |
MPI startup(): Warning: I_MPI_PMI_LIBRARY will be ignored since the hydra process manager was found
1 2 3 4 5 6 7 8# 无用 export I_MPI_PIN_RESPECT_CPUSET=0 export I_MPI_HYDRA_BOOTSTRAP=slurm export I_MPI_PMI_LIBRARY=/opt/ohpc/pub/apps/intel2022/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib/release/libpmi2.so # 有用 unset I_MPI_PMI_LIBRARY unset I_MPI_HYDRA_BOOTSTRA
Intel2020
安装
|
|
修改环境变量
|
|
编译libfftw3xf_intel.a
|
|
make libintel64会报错。