SGPUW1 and SGPUW2 are only accessible via SecretLab VPN. Download SecretLab VPN profile from Nextcloud, install OpenVPN client software on your device, install the SecretLab VPN profile on your client device, and then connect to SecretLab VPN before attempting to access these GPU servers.
(Optional) Run `$ nvidia-smi` to see the number and types of GPUs on the server. Also a way to monitor utilization, and note the indices of different types of GPUs on SGPUW2.
Run `$ genv devices` to see the GPUs attached to existing genv sessions. *You cannot use GPUs already in use!*
Assuming there are free GPUs, activate a new genv session and attach a GPU to it using these commands: `$ genv activate` followed by `$ genv attach --count 1`.
Now you are ready to run code on the GPU!
## Resource Management
On SGPUW1, each user may have a maximum of 1 GPU attached to their genv session(s). Additional GPU(s) will automatically be detached by genv. SGPUW2 does not have any such restrictions.
On SGPUW1, all GPUs are detached at 9:01 AM central time. Users will have to re-attach a GPU to their genv session on or after 9:02 AM. This also means processes running on the GPU will be killed, and have to be restarted. Start long running tasks well in advance, or wait for the next 9:02 AM. SGPUW2 does not have any such restrictions.
SGPUW2 has different GPU models with varying capabilities. To attach a specific GPU to you genv session, run `$ genv activate` followed by `$ genv attach --index <number>`. For example, `$ genv attach --index 0` will attach the RTX 4090, `$ genv attach --index 1` will attach the RTX 4080, and `$ genv attach --index 2` will attach the RTX 8000.