May 27, 2020

Computing
Installing NetCDF-Fortran using Intel oneAPI on Ubuntu 22.04 on WSL2

November 5, 2023: Installation environment is updated. Prerequisites It is assumed that Ubuntu 22.04LTS is installed on WSL2 on Windows 11 Pro; Intel oneAPI is installed as well. 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 introduec here in Japanese, but it is time consuming. Install GNU libraries with apt HDF5 (referenced here) and GNU version of NetCDF-C (libnetcdf-dev) and NetCDF-Fortran (libnetcdff-dev, refer to here) are installed as follows. libnetcdff-dev should not be installed as building Intel version failed. $ sudo apt update $ sudo apt install hdf5-tools hdf5-helpers libhdf5-dev libhdf5-doc libhdf5-serial-dev $ sudo […]

Read more