Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
RC Training Sessions
Tutorial_parallelism
Commits
d28902d6
Commit
d28902d6
authored
Jun 23, 2020
by
William Stonewall Monroe
Browse files
Add new file
parent
3d35d25d
Changes
1
Show whitespace changes
Inline
Side-by-side
bash_array_jobs/arrayjobwithparameters2
0 → 100644
View file @
d28902d6
#!/bin/bash
#SBATCH --array=1-126
#SBATCH --partition=express
#
# Name your job to make it easier for you to track
#
#SBATCH --job-name=job_%A_%a
#
# Set your error and output files
#
#SBATCH --ntasks=1
#
# Tell the scheduler only need 10 minutes
#
#SBATCH --time=2:00:00
#SBATCH --mem-per-cpu=4G
#SBATCH --cpus-per-task=16
#
# Set your email address and request notification when you job is complete or if it fails
#
#SBATCH --mail-type=FAIL
#SBATCH --mail-user=$USER@uab.edu
a
=
"t.list"
b
=
"t2.list"
firstParameter
=
$(
sed
"
${
SLURM_ARRAY_TASK_ID
}
q;d"
$a
)
secondParameter
=
$(
sed
"
${
SLURM_ARRAY_TASK_ID
}
q;d"
$b
)
\ No newline at end of file
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