howtos:how_to_install_the_intel_fortran_compiler_on_linux
How to install the Intel Fortran Compiler on Linux
Go to their website and download the latest version. For this HOWTO, I used l_fortran-compiler_p_2024.2.1.80_offline.sh. I suggest an offline version.
# download the installer wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5e7b0f1c-6f25-4cc8-94d7-3a527e596739/l_fortran-compiler_p_2024.2.1.80_offline.sh # make it executable chmod a+x l_fortran-compiler_p_2024.2.1.80_offline.sh # install ./l_fortran-compiler_p_2024.2.1.80_offline.sh -a -s --eula=accept --install-dir=$HOME/usr/local/opt/oneapi rm -rf ~/intel /tmp/$(whoami) # add path cat << 'EOT' >> ~/.bash_profile # Intel Fortran Compiler export PATH="$PATH:$HOME/usr/local/opt/oneapi/compiler/latest/bin" EOT . ~/.bash_profile cat << 'EOT' >> ~/.bashrc # Intel Fortran Compiler . ~/usr/local/opt/oneapi/setvars.sh &> /dev/null EOT . ~/.bashrc # test cat << 'EOT' > hello.f write(*,*) "Hello World!" end EOT ifx -o hello hello.f ./hello
howtos/how_to_install_the_intel_fortran_compiler_on_linux.txt · Last modified: by hcho