Skip to content

Commit f838db9

Browse files
committed
fix: revert changed script and update readme
1 parent 47390f9 commit f838db9

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

examples/science/af3-slurm/examples/simple_ipynb_launcher/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,18 @@ Google Cloud Platform (GCP) is unable to provision the requested compute resourc
6767
1. Go to the VM instances page.
6868
2. Find your Slurm Controller VM.
6969
3. Click the SSH button next to it to open a web-based terminal session.
70-
4. To view the log, use the following command:
7170

72-
```bash
73-
sudo cat /var/log/slurm/slurmctld.log
74-
```
71+
After connecting to the Slurm Controller VM (via SSH or the Google Cloud Console), open the terminal session within that VM and run the following command:
7572

76-
Why we use `sudo`?
73+
```bash
74+
sudo cat /var/log/slurm/slurmctld.log
75+
```
76+
77+
Why we use `sudo`?
7778

78-
The `slurmctld.log` file is typically owned by the `root` user and is not readable by standard (non-root) users. The `sudo` command temporarily elevates your privileges, allowing you to access files that require administrative permissions.
79+
The `slurmctld.log` file is typically owned by the `root` user and is not readable by standard (non-root) users. The `sudo` command temporarily elevates your privileges, allowing you to access files that require administrative permissions.
7980

80-
Without `sudo`, attempting to read the log file may result in a **"Permission denied"** error.
81+
Without `sudo`, attempting to read the log file may result in a **"Permission denied"** error.
8182

8283
- Look for error messages related to resource availability. In cases of insufficient capacity, you may see a message like:
8384

tools/validate_configs/validate_configs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,6 @@ done
152152
run_test "examples/machine-learning/a3-megagpu-8g/debian/slurm-a3mega-base.yaml" "examples/machine-learning/a3-megagpu-8g/debian/deployment-base.yaml"
153153
run_test "examples/machine-learning/a3-megagpu-8g/debian/slurm-a3mega-image.yaml" "examples/machine-learning/a3-megagpu-8g/debian/deployment-image-cluster.yaml"
154154
run_test "examples/machine-learning/a3-megagpu-8g/debian/slurm-a3mega-cluster.yaml" "examples/machine-learning/a3-megagpu-8g/debian/deployment-image-cluster.yaml"
155+
run_test "examples/science/af3-slurm/af3-slurm.yaml" "examples/science/af3-slurm/af3-slurm-deployment.yaml"
155156

156157
echo "All configs have been validated successfully (passed)."

0 commit comments

Comments
 (0)