Skip to content

Commit 8024c7f

Browse files
authored
Create hello-world.slurm
1 parent b20f487 commit 8024c7f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
#SBATCH --job-name=hello-world
3+
#SBATCH --output=hello-world.out
4+
#SBATCH --error=hello-world.err
5+
#SBATCH --ntasks=1
6+
#SBATCH --time=00:01:00
7+
8+
echo "Hello, World!" > ~/workdir/hello-world.out
9+
echo "This job ran on node: $(hostname)" >> /home/workdir/scripts/hello-world.out

0 commit comments

Comments
 (0)