slurm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| slurm [2025/06/30 17:58] – amcguire | slurm [2025/06/30 17:59] (current) – amcguire | ||
|---|---|---|---|
| Line 93: | Line 93: | ||
| < | < | ||
| - | (base) | + | amcguire@fe01: |
| #include < | #include < | ||
| #include < | #include < | ||
| Line 120: | Line 120: | ||
| MPI_Finalize(); | MPI_Finalize(); | ||
| } | } | ||
| - | (base) | + | amcguire@fe01: |
| #!/bin/bash | #!/bin/bash | ||
| #SBATCH -J mpi-hello | #SBATCH -J mpi-hello | ||
| Line 133: | Line 133: | ||
| mpirun -np 2 ./mpi-hello | mpirun -np 2 ./mpi-hello | ||
| - | (base) | + | amcguire@fe01: |
| - | (base) | + | amcguire@fe01: |
| -rwxrwx--- 1 amcguire amcguire 16992 Jun 30 10:49 mpi-hello | -rwxrwx--- 1 amcguire amcguire 16992 Jun 30 10:49 mpi-hello | ||
| - | (base) | + | amcguire@fe01: |
| Submitted batch job 1196702 | Submitted batch job 1196702 | ||
| - | (base) | + | amcguire@fe01: |
| Hello from process 0 of 2 on host p001 | Hello from process 0 of 2 on host p001 | ||
| Hello from process 1 of 2 on host p002 | Hello from process 1 of 2 on host p002 | ||
/var/lib/dokuwiki/data/attic/slurm.1751324315.txt.gz · Last modified: 2025/06/30 17:58 by amcguire