From 55e15f5979cfe258260582e2472359890257e9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Mon, 4 Nov 2024 12:31:57 +0000 Subject: [PATCH] Move Gray Scott section in README upwards --- README.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index ae1afb1..214e038 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,25 @@ We will post a signup form soon. Please check here again at least one month befo We will again host a [Julia for HPC BoF at SC24](https://github.com/JuliaParallel/julia-hpc-bof-sc24) -## Running JupyterLab +## Running Gray Scott reaction diffusion model on NERSC -## On NERSC +After connecting to your training account via SSH, proceed with the following steps to run the entire model. + +``` +cd $SCRATCH +git clone https://github.com/Rabab53/GrayScott.jl.git +cd GrayScott.jl/ +source scripts/config_perlmutter.sh + +sbatch scripts/job_perlmutter_plain_cpu.sh +sbatch scripts/job_perlmutter_ka_cpu.sh +sbatch scripts/job_perlmutter_plain_cuda.sh +sbatch scripts/job_perlmutter_ka_cuda.sh +``` + +## Running notebooks with JupyterLab + +### On NERSC We will post instructions on how to use this repo's Jupyter Kernel at NERSC @@ -104,19 +120,3 @@ This will open the JupyterLab landing page in a new tab in your browser. If you want to make your app accessible to others (please remember to make sure there's no sensitive or private data in it!), navigate to the "Ports" tab, right click on the port 8888 and then "Port visibility" -> "Public". The `.devcontainer` used here has been adapted from the [Julia workshop for the UCL Festival of Digital Research & Scholarship 2024](https://github.com/UCL-ARC/julia-workshop), in turn based on the [Zero-setup R workshops with GitHub Codespaces](https://github.com/revodavid/devcontainers-rstudio) repository presented at [rstudio::conf 2022](https://rstudioconf2022.sched.com/event/11iag/zero-setup-r-workshops-with-github-codespaces). - -## Gray Scott reaction diffusion modle - -After connecting to your training account via SSH, proceed with the following steps to run the entire model. - -``` -cd $SCRATCH -git clone https://github.com/Rabab53/GrayScott.jl.git -cd GrayScott.jl/ -source scripts/config_perlmutter.sh - -sbatch scripts/job_perlmutter_plain_cpu.sh -sbatch scripts/job_perlmutter_ka_cpu.sh -sbatch scripts/job_perlmutter_plain_cuda.sh -sbatch scripts/job_perlmutter_ka_cuda.sh -```