Skip to content

Commit f7b06c4

Browse files
committed
Merge branch 'main' of github.com:JuliaParallel/julia-hpc-tutorial-sc24
2 parents e2112b8 + 3fad848 commit f7b06c4

20 files changed

Lines changed: 183 additions & 66 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ Manifest.toml
2929
activate.sh
3030
deactivate.sh
3131
ext/GrayScott.jl
32+
33+
34+
*.jld2

Cheat Sheet.pdf

1.12 MB
Binary file not shown.

Manifest.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.10.4"
44
manifest_format = "2.0"
5-
project_hash = "fc814033df7bb2362d0b2cbe216991051dd7475f"
5+
project_hash = "f95ad848b2db86117d9a28403e2805e9e12ad741"
66

77
[[deps.AbstractFFTs]]
88
deps = ["LinearAlgebra"]
@@ -839,6 +839,12 @@ git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856"
839839
uuid = "82899510-4779-5014-852e-03e436cf321d"
840840
version = "1.0.0"
841841

842+
[[deps.JLD2]]
843+
deps = ["FileIO", "MacroTools", "Mmap", "OrderedCollections", "PrecompileTools", "Requires", "TranscodingStreams"]
844+
git-tree-sha1 = "ce5737c0d4490b0e0040b5dc77fbb6a351ddf188"
845+
uuid = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
846+
version = "0.5.8"
847+
842848
[[deps.JLFzf]]
843849
deps = ["Pipe", "REPL", "Random", "fzf_jll"]
844850
git-tree-sha1 = "39d64b09147620f5ffbf6b2d3255be3c901bec63"

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ChunkSplitters = "ae650224-84b6-46f8-82ea-d812ca08434e"
66
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
77
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
88
IJulia = "7073ff75-c697-5162-941a-fcdaad2a7d2a"
9+
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
910
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
1011
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
1112
MPIPreferences = "3da0fdf6-3ccc-4f1b-acd9-58baa6c99267"

parts/gpu/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you're looking for an introductory overview of GPU programming in Julia or GP
1919

2020
## Heat Diffusion Simulation Using Julia
2121

22-
This [notebook](https://github.com/JuliaParallel/julia-hpc-tutorial-sc24/blob/main/parts/gpu/Heat_Diffusion.ipynb) demonstrates the implementation of a 2D heat diffusion model using Julia, showcasing GPU acceleration with CUDA.jl and support for both CPU and GPU execution using KernelAbstractions.jl. It highlights efficient solutions for partial differential equations (PDEs).
22+
This [notebook](https://github.com/JuliaParallel/julia-hpc-tutorial-sc24/blob/main/parts/gpu/heat-diffusion.ipynb) demonstrates the implementation of a 2D heat diffusion model using Julia, showcasing GPU acceleration with CUDA.jl and support for both CPU and GPU execution using KernelAbstractions.jl. It highlights efficient solutions for partial differential equations (PDEs).
2323

2424
### Benchmarking Results
2525

@@ -53,5 +53,12 @@ Here's the plot showing the benchmark results on a single A100 GPU in Perlmutter
5353

5454

5555
## Gray-Scott Reaction-Diffusion Model Using Julia
56-
This [notebook](https://github.com/JuliaParallel/julia-hpc-tutorial-sc24/blob/main/parts/gpu/stencil.ipynb) introduces Gray-Scott Reaction-Diffusion model using Julia.
56+
This [notebook](https://github.com/JuliaParallel/julia-hpc-tutorial-sc24/blob/main/parts/gpu/gray-scott.ipynb) introduces Gray-Scott Reaction-Diffusion model using Julia.
5757

58+
### Example Plots
59+
60+
The notebook showcases the evolution of the Gray-Scott model over time, illustrating the intricate patterns generated by the reaction-diffusion process. Here are some example plots:
61+
62+
<img src="img/gs-plain.png" alt="Benchmark Results" width="600">
63+
<img src="img/gs-small.png" alt="Benchmark Results" width="600">
64+
<img src="img/gs-funky.png" alt="Benchmark Results" width="600">

parts/gpu/img/gs-funky.png

151 KB
Loading

parts/gpu/img/gs-plain.png

227 KB
Loading

parts/gpu/img/gs-small.png

288 KB
Loading

parts/hpc/hello_world/solution/job_cpu_multinode_rsv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#SBATCH --time=00:05:00
77
#SBATCH --nodes=4
88
#SBATCH --ntasks=16
9-
#SBATCH --reservation=julia_MIT_1
9+
#SBATCH --reservation=julia_sc24
1010

1111
# Load the latest Julia Module
1212
ml load julia

parts/hpc/hello_world/solution/job_cpu_singlenode_rsv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#SBATCH --time=00:05:00
77
#SBATCH --nodes=1
88
#SBATCH --ntasks=4
9-
#SBATCH --reservation=julia_MIT_1
9+
#SBATCH --reservation=julia_sc24
1010

1111
# Load the latest Julia Module
1212
ml load julia

0 commit comments

Comments
 (0)