Skip to content

Ubuntu - oneAPI

If numgeo is used in combination with Intel OneAPI the installation procedure is the same for Ubuntu 20.04 and Ubuntu 22.04.

Choose the correct executable

Make sure to choose the correct executable for your OS. There exists a dedicated numgeo executable for Ubuntu 20.04 and Ubuntu 22.04, respectively.

The installation steps are as follows:

  1. Optional: Install Intel Visual Studio as described here
  2. Install oneAPI Base Toolkit following the procedure given in this section
  3. Install oneAPI HPC Toolkit following these instructions
  4. numgeo is now ready to use

oneAPI Base Toolkit

The oneAPI Base Toolkit can be installed either using the Graphical User Interface (GUI) or using the package manager apt. I used the GUI with the following steps:

  1. Download the oneAPI Base Toolkit from here
  2. Installation Linux:

    i. Launch the installer as root with the following command:

    sudo sh ./l_[Toolkit Name]Kit_[version].sh 
    

    ii. Follow the installer instructions, but choose "Custom" installation. The only packages required are:

    • Intel® oneAPI DPC++/C++ Compiler
    • Intel® oneAPI DPC++ Library
    • Intel® oneAPI Math Kernel Library
    • Intel® oneAPI Threading Building Blocks (not sure, maybe we can skip this one if not required by other module)
    • Intel® Distribution for GDB*
    • Intel® Integrated Performance Primitives
    • Intel® VTune™ Profiler
    • Intel® Advisor

    iii. If you are using Eclipse you might want to install the integration package into Eclipse as well (separate promt)

  3. Once the installation is complete, verify that your toolkit is installed to the correct installation directory (/opt/intel/oneapi)

oneAPI HPC Toolkit

The oneAPI HPC Toolkit can be installed either using the Graphical User Interface (GUI) or using the package manager apt. I used the GUI with the following steps:

  1. Download the oneAPI HPC Toolkit from here

  2. Installation Linux:

    i. Launch the installer as root with the following command:

    sudo sh ./l_[Toolkit Name]Kit_[version].sh 
    

    ii. Follow the installer instructions, but choose "Custom" installation. The only packages required are:

    • Intel oneAPI DPC++/C++ Compiler (the installation from the Base Toolkit will be extended)
    • Intel® Fortran Compiler
    • Intel® Fortran Compiler Classic
    • Intel® Inspector
    • Intel® MPI Library (I think currently not needed, but in future)
    • Intel® Trace Analyzer and Collector (I think currently not needed, but in future)

    iii. If you are using Eclipse you might want to install the integration package into Eclipse as well (separate promt)

  3. Once the installation is complete, verify that your toolkit is installed to the correct installation directory (/opt/intel/oneapi)