Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
S
Shark CentOS Slurm User guide
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Shark
  • Shark CentOS Slurm User guide
  • Wiki
  • Home

Home · Changes

Page history
updated cuda example to 11.2 authored Dec 21, 2020 by van Vliet's avatar van Vliet
Hide whitespace changes
Inline Side-by-side
Showing with 10 additions and 9 deletions
+10 -9
  • home.md home.md +10 -9
  • No files found.
home.md
View page @ e73cfbaa
......@@ -1148,7 +1148,7 @@ First download and compile the samples from NVidia: [Cuda samples](https://githu
```
module purge
module add library/cuda/10.1/gcc.8.3.1
module add library/cuda/11.2/gcc.8.3.1
cd
git clone https://github.com/NVIDIA/cuda-samples.git
......@@ -1169,7 +1169,7 @@ cat gpu-test.slurm
#SBATCH --time=3:00
module purge
module add library/cuda/10.2/gcc.8.3.1
module add library/cuda/11.2/gcc.8.3.1
hostname
echo "Cuda devices: $CUDA_VISIBLE_DEVICES"
......@@ -1181,10 +1181,10 @@ While running, ssh to the node (in this case res-hpc-gpu01) and run the command
This will show that the "UnifiedMemoryPerf" program is running on a GPU.
```
[user@res-hpc-gpu01 GPU]$ nvidia-smi
Tue Apr 14 16:06:06 2020
[user@res-hpc-gpu01 GPU]$ nvidia-smi
Mon Dec 21 11:29:55 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.33.01 Driver Version: 440.33.01 CUDA Version: 10.2 |
| NVIDIA-SMI 460.27.04 Driver Version: 460.27.04 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
......@@ -1198,12 +1198,13 @@ Tue Apr 14 16:06:06 2020
| 2 TITAN Xp Off | 00000000:D8:00.0 Off | N/A |
| 18% 31C P0 61W / 250W | 0MiB / 12196MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 1 29726 C ...les/UnifiedMemoryPerf/UnifiedMemoryPerf 145MiB |
| 0 N/A N/A 28550 C ...oryPerf/UnifiedMemoryPerf 145MiB |
+-----------------------------------------------------------------------------+
```
......
Clone repository
  • User Guide
  • Home