Go to documentation repository
...
Stop the server (see Starting and stopping the Axxon One Server in Linux OS).
| Note | ||
|---|---|---|
| ||
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 | ||
|---|---|---|
| ||
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 | ||
|---|---|---|
| ||
mkdir /opt/AxxonSoft/AxxonOne/gpucache |
Change folder permissions:
| Code Block | ||
|---|---|---|
| ||
chmod -R 777 /opt/AxxonSoft/AxxonOne/gpucache |
| Code Block | ||
|---|---|---|
| ||
exit |
| Code Block | ||
|---|---|---|
| ||
sudo -i |
Go to the /opt/AxxonSoft/AxxonOne/ folder:
| Code Block | ||
|---|---|---|
| ||
cd /opt/AxxonSoft/AxxonOne/ |
| Code Block | ||
|---|---|---|
| ||
sudo nano instance.conf |
| Note | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
When using the server in failover mode, you should:
|
| Code Block | ||
|---|---|---|
| ||
sudo nano instance.conf |
Add the GPU_CACHE_DIR system variable,wherethevaluewillspecify the pathto the cachelocationfolder. For example:
| Code Block | ||
|---|---|---|
| ||
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.
| Code Block | ||
|---|---|---|
| ||
export GPU_CACHE_DIR="/opt/AxxonSoft/AxxonOne/gpucache" |
Go to the /opt/AxxonSoft/DetectorPack/ folder:
| Code Block | ||
|---|---|---|
| ||
cd /opt/AxxonSoft/DetectorPack |
Run the following command:
| Code Block | ||
|---|---|---|
| ||
./NeuroPackGpuCacheGenerator |
| Note | ||
|---|---|---|
| ||
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. |
...