In a virtual machine using Ubuntu
tar ZXVF openmpi - 4.0.5. Tar. Gz
CD openmpi - 4.0.5
./configure CC=ICC CXX=icpc FC=ifort F77=ifort
Make
[step until the virtual machine running]
sudo make install
Then problems
My ICC should be installed successfully