oneAPI

Computing
Install Intel oneAPI on Ubuntu 20.04 LTS

In order to use Intel C compiler and Intel Fortran compiler for numerical computation, Intel oneAPI Base Toolkit and HPC Toolkit (Intel Fortran) on Ubuntu 20.04 LTS of WSL2 of Windows 10 Pro were installed. This site (in Japanese) was referred. The Intel compilers are now available free of charge, and can be installed using apt, which is very convenient. Install the required drivers Install the required drivers by referring to here. # Add package repository sudo apt-get install -y gpg-agent wget wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add - sudo apt-add-repository 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main' # Install run-time packages sudo apt-get update sudo apt-get install intel-opencl-icd intel-level-zero-gpu […]

Read more
Computing
Installing NetCDF-Fortran using Intel oneAPI on WSL2 Ubuntu 24.04

May 20, 2025: Installation environment is updated. Prerequisites It is assumed that Ubuntu 24.04L is installed on WSL2 on Windows 11 Home; Intel oneAPI is installed as well. However, due to updates to oneAPI, verification is being conducted with oneAPI-2025.1 installed. In oneAPI-2025.1, ifort and icc have been removed, and ifx and ifc are used instead. Builds NetCDF-Fortran, which is often required for Fortran-based models such as FVCOM. Referring to this article, libraries other than NetCDF-Fortran are easily installed with apt (compiled with GNU). How to compile NetCDF-C with Intel oneAPI is introduced here in Japanese, but it is time consuming. Install GNU libraries with apt HDF5 (referenced here) and […]

Read more