Intel releases oneAPI Toolkit, free, Fortran 2018

I report the installation of the Intel Fortran compilers on a machine with Ubuntu 20.10:

$ wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
$ sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
$ rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
$ sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
$ sudo apt update

As the whole intel-basekit package uses ~16 GB on disk, I have chosen to install only the Fortran compilers (download: 560 MB, on disk: ~1.5 GB):

$ sudo apt install intel-oneapi-compiler-fortran
$ source /opt/intel/oneapi/setvars.sh

The source command should be installed into the .bash_profile script if you don’t want to type it each time you open a terminal.

It’s done:

$ ifort --version
ifort (IFORT) 2021.2.0 20210228
Copyright (C) 1985-2021 Intel Corporation.  All rights reserved.

$ ifx --version
ifx (IFORT) 2021.2.0 Beta 20210317
Copyright (C) 1985-2021 Intel Corporation. All rights reserved.
7 Likes