INTEL 2025

Basic information11

Tested on (Requirements)

  • OS base: Rocky Linux 8.5 (x86_64) \(\boldsymbol{\ge}\) 8

Installation

  1. First of all, you need to buy the Intel OneAPI Base Toolkit from the official Intel website. Once you have purchased it, you can download the installer

  2. Then, execute the installer

  3. Then, finish the installation by following the instructions in the installer. You can choose the default options or customize them according to your needs

  4. Finally, finish to run the following command to set up the environment variables for the Intel OneAPI Base Toolkit

  5. If you want to save the environment variables set by setvars.sh to a file, you can use the following script:

    #!/bin/bash
    
    # Ruta donde quieres guardar el dump
    DUMP_FILE="./setvars_dump.sh"
    
    # Guardar entorno antes
    env | sort > /tmp/env_before.txt
    
    # Ejecutar setvars.sh (en el shell actual)
    source ./setvars.sh
    
    # Guardar entorno después
    env | sort > /tmp/env_after.txt
    
    # Extraer solo las diferencias (nuevas/modificadas)
    comm -13 /tmp/env_before.txt /tmp/env_after.txt | while read line; do
      var_name=$(echo "$line" | cut -d'=' -f1)
      var_value=$(echo "$line" | cut -d'=' -f2- | sed 's/"/\\"/g')
      echo "export ${var_name}=\"${var_value}\""
    done > "$DUMP_FILE"
    
    echo "Archivo generado: $DUMP_FILE"
    

Author

  • Juan Manuel Gomez Piedrahita