Skip to content

Commit

Permalink
Move Gray Scott section in README upwards
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Nov 4, 2024
1 parent 80a3914 commit 55e15f5
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
```

0 comments on commit 55e15f5

Please sign in to comment.