Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Intro2sc Handson
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ilya Zhukov
Intro2sc Handson
Commits
6a7ee2ee
Commit
6a7ee2ee
authored
1 month ago
by
Ilya Zhukov
Browse files
Options
Downloads
Patches
Plain Diff
Fix GPU example
parent
f91fdb0e
No related branches found
No related tags found
No related merge requests found
Pipeline
#272278
passed
1 month ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/using-gpus.md
+2
-2
2 additions, 2 deletions
docs/using-gpus.md
with
2 additions
and
2 deletions
docs/using-gpus.md
+
2
−
2
View file @
6a7ee2ee
...
...
@@ -14,7 +14,7 @@ CUDA is available as a module:
$ module load CUDA
```
This example is executed on the JUWELS booster module.
This example is executed on the JUWELS booster module.
If you plan to use a different JSC system, ensure that you select a partition with GPUs.
To demonstrate how to compile and run a program that uses GPUs, we will use one of the examples included in CUDA.
To do this, we must additionally load the compiler
`NVHPC`
and the MPI version
`ParaStationMPI`
.
Additionally, we load a settings module that ensures our MPI implentation is properly set up to use CUDA.
...
...
@@ -26,7 +26,7 @@ We load the necessary modules, navigate into our individual user directories for
```
$ module load NVHPC ParaStationMPI MPI-settings/CUDA
$ cd $PROJECT_trainingFIXME/$USER
$ git clone https://github.com/NVIDIA/cuda-samples.git
$ git clone
--depth 1 -b v12.5
https://github.com/NVIDIA/cuda-samples.git
$ cd $PROJECT_trainingFIXME/$USER/cuda-samples/Samples/0_Introduction/simpleMPI
$ make
/p/software/jurecadc/stages/2024/software/psmpi/5.9.2-1-NVHPC-23.7-CUDA-12/bin/mpicxx -I../../../Common -o simpleMPI_mpi.o -c simpleMPI.cpp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment