Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Stop the server (see Starting and stopping the Axxon One Server in Linux OS).

    Note
    titleAttention!

    If the system has the software running on GPU, it is necessary to stop its operation.

  2. Login as ngp superuser:

    1. In the command prompt, run the command:

      Code Block
      languagebash
      sudo su ngp
    2. Enter the password for the root superuser.

  3. Create a folder with a custom name to store the cache. For example:

    Code Block
    languagebash
    mkdir /opt/AxxonSoft/AxxonOne/gpucache
  4. Change folder permissions:

    Code Block
    languagebash
    chmod -R 777 /opt/AxxonSoft/AxxonOne/gpucache
  5. Info
    titleNote
    For the 

    Create the GPU_CACHE_DIR system variable:

    Go to the /opt/AxxonSoft/AxxonOne/ folder:

    Code Block
    languagebash
    cd /opt/AxxonSoft/AxxonOne

    system variable (see Creating system variables for the Axxon One server in

    the failover mode, go to the /etc/AxxonSoft/AxxonOne/ directory.
  6. Open the instance.conf file for editing:

    Code Block
    languagebash
    nano instance.conf
  7. Add the following line to the file:

    Code Block
    languagebash
    export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
    Note
    titleAttention!

    If you change the server configuration (see Changing the configuration of the Axxon One Server in Linux OS) or update to a new version of Axxon One, the system variables previously added to the instance.conf file will be deleted (see Creating system variables in Linux OS).

  8. Save the file using the Ctrl+O keyboard shortcut.

  9. Exit file editing mode using the Ctrl+X keyboard shortcut

    Linux OSCreating system variables for the Axxon One server in the failover mode in Linux OS).

  10. Run the following command in the terminal:

    Code Block
    languagebash
    export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
  11. Go to the /opt/AxxonSoft/DetectorPack/ folder:

    Code Block
    languagebash
    cd /opt/AxxonSoft/DetectorPack
  12. Run the following command:

    Code Block
    languagebash
    ./NeuroPackGpuCacheGenerator
    Note
    titleAttention!

    If more than one Nvidia GPU is available, you will be able to select one. To do this, specify a number from 0 to 3 which corresponds to the required device in the list.

...