目录

Intel编译器

目录
misaraty 更新 | 2024-02-15
前言
  • Intel编译器性能优异,包含MPI并行库和MKL数学函数库。

Intel2017

  • 安装,
1
2
3
4
5
6
7
8
tar zxvf parallel_studio_xe_2017_update5.tgz
Step 5 of 7 | Options > Pre-install Summary
...
1. Start installation Now [default]
2. Customize installation #choose
...
1. Start installation Now [default]
2. Change install directory [ /opt/intel/parallel_studio_xe_2017.5.061 ]
  • 修改环境变量,
1
source /opt/intel/parallel_studio_xe_2017.5.061/psxevars.sh
  • 编译libfftw3xf_intel.a
1
2
cd /opt/intel/compilers_and_libraries_2017.5.239/linux/mkl/interfaces/fftw3xf
make libintel64
问题

如果一不小心删除了部分文件

解决
  1. 先尽可能多得删除程序,否则无法重新安装。
1
2
3
rpm -qa | grep intel
rpm -e --nodeps --allmatches `rpm -qa | grep intel- | grep 239`
rpm -e --nodeps --allmatches `rpm -qa | grep intel- | grep 2017`
  1. 然后重新安装intel2017,这时无法改变文件安装位置。

  2. 接着,用官方卸载工具卸载。

  3. 再重新安装intel2017,之后就一切正常了。

注意
命令 编译器
mpiicc、mpiicpc、mpiifort Intel
mpicc、mpif90、mpifc GNU