Skip to content

Commit

Permalink
Troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
swinney committed Sep 16, 2024
1 parent 78efb13 commit d66ee11
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/Languages-Python-Example1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,26 @@ jobs:
slurm:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Pull SLURM Simulator Docker Image
run: |
docker pull hpcnow/slurm_simulator:20.11.9
- name: Pull SLURM Simulator Docker Image
run: |
docker pull hpcnow/slurm_simulator:20.11.9
- name: List Files in Mounted Directory
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 ls -la /workspace/Languages/Python/Example1
- name: List Files in Mounted Directory
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 ls -R /workspace
- name: Check File Permissions
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 stat /workspace/Languages/Python/Example1/run.slurm
- name: Run SLURM job in Docker
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 \
sbatch /workspace/Languages/Python/Example1/run.slurm
- name: Run SLURM job in Docker
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace hpcnow/slurm_simulator:20.11.9 \
sbatch /workspace/Languages/Python/Example1/run.slurm

0 comments on commit d66ee11

Please sign in to comment.