Skip to content

Commit 7b12526

Browse files
authored
Update README.md with proper filenames
1 parent b900cfe commit 7b12526

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@ This repo includes a `devcontainer.json` file, making it usable from GitHub Code
2727
In the Codespace, compile Chapel programs using the __Terminal__ tab by using the `chpl` compiler:
2828

2929
```bash
30-
chpl 01-hello.chpl
31-
./01-hello
30+
chpl 01-heat-1D-serial.chpl
31+
./01-heat-1D-serial
3232
```
3333

3434
### Simulating Multiple Nodes
3535
Although the Codespace is set to a single-locale (single-node) mode by default, you can simulate multiple nodes by setting the `CHPL_COMM` environment variable to `gasnet` when compiling.
3636

3737
```bash
3838
# Compile a program that distributes computation to multiple nodes
39-
CHPL_COMM=gasnet chpl 01-hellopar.chpl
39+
CHPL_COMM=gasnet chpl 07-heat-1D-block.chpl
4040

4141
# Run hello using two simulated nodes
42-
./01-hellopar -nl 2
42+
./07-heat-1D-block -nl 2
4343
```
4444

4545
To avoid having to include `CHPL_COMM` in each compilation command, you can
4646
`export` it:
4747

4848
```bash
4949
export CHPL_COMM=gasnet
50-
chpl 01-hellopar.chpl
51-
./01-hellopar -nl 2
50+
chpl 07-heat-1D-block.chpl
51+
./07-heat-1D-block -nl 2
5252
```
5353

5454
### Simulating GPU Support
@@ -59,7 +59,7 @@ this mode, set the `CHPL_LOCALE_MODEL` to `gpu` (to enable GPU support)
5959
and `CHPL_GPU` to `cpu` to select "CPU-as-device" mode.
6060

6161
```bash
62-
CHPL_LOCALE_MODEL=gpu CHPL_GPU=cpu chpl 01-hellopar.chpl
62+
CHPL_LOCALE_MODEL=gpu CHPL_GPU=cpu chpl 06-heat-1D-gpu.chpl
6363
```
6464

6565
## Using Docker
@@ -89,11 +89,11 @@ your own machine.
8989

9090
## Building Chapel from Source on Your Machine
9191

92-
Please follow the instructions on the [Download Chapel](https://chapel-lang.org/download.html) page to build the Chapel compiler and runtime from source and get set up with the Chapel compiler executable `chpl`. From there, you can compile and run the `01-hello.chpl` file in this repository as follows:
92+
Please follow the instructions on the [Download Chapel](https://chapel-lang.org/download.html) page to build the Chapel compiler and runtime from source and get set up with the Chapel compiler executable `chpl`. From there, you can compile and run the `01-heat-1D-serial.chpl` file in this repository as follows:
9393

9494
```bash
95-
chpl 01-hello.chpl
96-
./01-hello
95+
chpl 01-heat-1D-serial.chpl
96+
./01-heat-1D-serial
9797
```
9898

9999
To make use of multiple nodes (or to simulate multi-node execution), please

0 commit comments

Comments
 (0)