Intel One API installation on Ubuntu


Intel® oneAPI Toolkits (shでインストール)

Configure apt source list following above information. Then,

sudo apt install cmake pkg-config build-essential
sudo apt install intel-basekit intel-hpckit 

Make fftw wrapper for ifort (by root)

cd /opt/intel/oneapi/mkl/2023.0.0/interfaces/fftw3xf
make libintel64

Use of it

source /opt/intel/oneapi/ 

Build openmpi-4.1.4. Note that parallel make, make -jN, failed.

./configure CC=icc CXX=icpc F77=ifort FC=ifort --enable-static --prefix=/usr/local/calc/openmpi-4.1.4-intel-202300 --with-sge --enable-static

Build hdf5

./configure CC=mpiicc FC=mpiifort --enable-parallel --enable-fortran --prefix=somewhere