-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
#SBATCH -p shared | ||
#SBATCH --mem-per-cpu=10G | ||
#SBATCH --job-name=array_submit_example_2023-10-16 | ||
#SBATCH -c 1 | ||
#SBATCH -o logs/array_submit_example_2023-10-16.%a.txt | ||
#SBATCH -e logs/array_submit_example_2023-10-16.%a.txt | ||
#SBATCH --mail-type=ALL | ||
#SBATCH --array=1-100%20 | ||
|
||
set -e | ||
|
||
echo "**** Job starts ****" | ||
date | ||
|
||
echo "**** JHPCE info ****" | ||
echo "User: ${USER}" | ||
echo "Job id: ${SLURM_JOB_ID}" | ||
echo "Job name: ${SLURM_JOB_NAME}" | ||
echo "Node name: ${SLURMD_NODENAME}" | ||
echo "Task id: ${SLURM_ARRAY_TASK_ID}" | ||
|
||
## Load the R module | ||
module load conda_R | ||
|
||
## List current modules for reproducibility | ||
module list | ||
|
||
## Edit with your job command | ||
Rscript -e "options(width = 120); sessioninfo::session_info()" | ||
|
||
echo "**** Job ends ****" | ||
date | ||
|
||
## This script was made using slurmjobs version 0.99.0 | ||
## available from http://research.libd.org/slurmjobs/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.