Go to documentation repository
Page History
...
Stop the server (see Starting and stopping the Axxon One Server in Linux OS).
Note title Attention! If the system has the software running on GPU, it is necessary to stop its operation.
Login as ngp superuser:
In the command prompt, run the command:
Code Block language bash sudo su ngp
Enter the password for the root superuser.
Create a folder with a custom name to store the cache. For example:
Code Block language bash mkdir /opt/AxxonSoft/AxxonOne/gpucache
Change folder permissions:
Code Block language bash chmod -R 777 /opt/AxxonSoft/AxxonOne/gpucache
- Log out from ngp superuser:
Code Block language bash exit
- Login as root superuser using the command:
Code Block language bash sudo -i
Go to the Go to the /opt/AxxonSoft/AxxonOne/ folder:
Code Block language bash cd /opt/AxxonSoft/AxxonOne/
- Open the server configuration file for editing:
Code Block language bash sudo nano instance.conf
Note title Attention! When using the server in failover mode, you should:
- Open the /etc/AxxonSoft/ folder:
Code Block language bash cd /etc/AxxonSoft/
- Open the server configuration file for editing:
Code Block language bash sudo nano axxon-one.conf
Info title Attention! Before making changes to the axxon-one.conf file, it is recommended to read the instructions on the page Creating system variables for the Axxon One server in the failover mode in Linux OS.
- Add the GPU_CACHE_DIR system variable in the configuration file, wherethevaluewillspecify the pathto the cachelocationfolder:
Code Block language bash export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
- Save the changes in the server configuration file.
- Add the GPU_CACHE_DIR system variable in the /etc/profile file:
Code Block language bash export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
- Run the command:
Code Block language bash source /etc/profile
- Open the /etc/AxxonSoft/ folder:
Add the GPU_CACHE_DIR system variable,wherethevaluewillspecify the pathto the cachelocationfolder. For example:
Code Block language bash export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
Save the server configuration file using the Ctrl+O keyboard shortcut.
Exit file editing mode using the Ctrl+X keyboard shortcut.
- In the command prompt run the command that was usedtoadd the systemvariablewiththepathto the cache location folder. For example:
Code Block language bash export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache"
Go to the /opt/AxxonSoft/DetectorPack/ folder:
Code Block language bash cd /opt/AxxonSoft/DetectorPack
Run the following command:
Code Block language bash ./NeuroPackGpuCacheGenerator
Note title Attention! 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.
...