Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Liu, Hong
Cades Training
Commits
2d227562
Commit
2d227562
authored
Jun 17, 2021
by
Liu, Hong
Browse files
Update slurm
parent
2b8bb7b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
challenges/slurm/example2/HelloWorld.sh
0 → 100644
View file @
2d227562
#!/bin/bash
echo
"Hello World! Node:
${
SLURMD_NODENAME
}
Core:
${
SLURM_PROCID
}
"
challenges/slurm/example2/ex2_job_script.sbatch
0 → 100644
View file @
2d227562
#!/bin/bash
#SBATCH -A <account_name>
#SBATCH -p <partition_name>
#SBATCH -N 2
#SBATCH -n 4
#SBATCH -c 1
#SBATCH --ntasks-per-node=2
#SBATCH -J multithread-test-job
#SBATCH --mem=1g
#SBATCH -t 10:00
#SBATCH -o ./%j-multithread-output.txt
#SBATCH -e ./%j-multithread-error.txt
#SBATCH --mail-type=FAIL
#SBATCH --mail-user=<your_email>
srun ./HelloWorld.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment