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
Brent Womble
vessels
Commits
23b8e153
Commit
23b8e153
authored
May 05, 2018
by
Brent Womble
Browse files
Change job parameters to ask for more RAM and less compute time. Run for all subjects.
parent
c2c64939
Changes
1
Hide whitespace changes
Inline
Side-by-side
cheaha_vessels_segment.sh
View file @
23b8e153
#!/bin/bash
jobs
=
/data/scratch/kecannon/brainhack2018/jobs
1
_HCP
jobs
=
/data/scratch/kecannon/brainhack2018/jobs
2
_HCP
sub_dir
=
/data/scratch/kecannon/brainhack2018/HCP
mkdir
$jobs
cd
$sub_dir
for
sub
in
`
find 99
*
-type
d
`
#Test with 6 folders
for
sub
in
`
find
*
-type
d
`
do
#Create job script files
...
...
@@ -19,14 +18,13 @@ matlab -nodesktop -nosplash -r "cheaha_vessels_segment('$sub_dir','$sub')"
EOF
done
for
sub
in
`
find 99
*
-type
d
`
#Test with 6 folders
for
sub
in
`
find
*
-type
d
`
do
#Submit jobs
pushd
$jobs
echo
"submitting segment job for
$sub
"
sbatch
--job-name
=
segment_
$sub
--output
=
segment_
$sub
.txt
--ntasks
=
1
--partition
=
long
--mem-per-cpu
=
4096
--time
=
150
:00:00 segment_
$sub
.sh
sbatch
--job-name
=
segment_
$sub
--output
=
segment_
$sub
.txt
--ntasks
=
1
--partition
=
express
--mem-per-cpu
=
9192
--time
=
2
:00:00 segment_
$sub
.sh
popd
done
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