Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recursive-gmconvert
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Riccardo PELLARIN
recursive-gmconvert
Commits
df07057e
Commit
df07057e
authored
Mar 12, 2018
by
samuel hanot
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not store sub-maps
parent
fba62367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
recursive_gmconvert.sh
recursive_gmconvert.sh
+8
-2
No files found.
recursive_gmconvert.sh
View file @
df07057e
...
...
@@ -50,6 +50,11 @@ then
exit
1
fi
if
[[
-z
"
$n_gaussians0
"
]]
then
n_gaussians0
=
$n_gaussians
fi
MaxArraySize
=
100000
get_max_jobs
(){
echo
${
MaxArraySize
}
...
...
@@ -70,6 +75,7 @@ cd $map_root_dir
mkdir
-p
converged
for
((
i
=
$i0
;
i<
=
N
;
i++
))
do
echo
"i=
$i
"
n
=
$((
i
))
jobname
=
${
map_name
}
_
${
n
}
...
...
@@ -91,8 +97,8 @@ do
n_jobs
=
$((
n_jobs
+
$(
awk
'/NGAUSS/{s+=$3}END{print s}'
${
gmm_file
}
)
))
done
echo echo
${
gmm_name
}
'$((SLURM_ARRAY_TASK_ID-1+offset))'
\>
'tmp_$((SLURM_ARRAY_TASK_ID+offset)).txt'
echo
${
profile_cmd
}
${
gmconvert
}
-imap
${
map_name
}
-gmml
'tmp_$((SLURM_ARRAY_TASK_ID+offset)).txt'
-o
imap
$n
/
'sub_$((SLURM_ARRAY_TASK_ID+offset-1)).mrc'
-o
gmm
$n
/
${
n
}
_
'$((SLURM_ARRAY_TASK_ID-1+offset))'
.gmm
-ng
${
n_gaussians
}
-zth
${
threshold
}
echo
${
gmconvert
}
-igmm
$n
/
${
n
}
_
'$((SLURM_ARRAY_TASK_ID-1+offset)).gmm'
-imap
$
n
/
'sub_$((SLURM_ARRAY_TASK_ID+offset-1)).mrc
'
-omap
/dev/null
echo
${
profile_cmd
}
${
gmconvert
}
-imap
${
map_name
}
-gmml
'tmp_$((SLURM_ARRAY_TASK_ID+offset)).txt'
-ogmm
$n
/
${
n
}
_
'$((SLURM_ARRAY_TASK_ID-1+offset))'
.gmm
-ng
${
n_gaussians
}
-zth
${
threshold
}
echo
${
gmconvert
}
-igmm
$n
/
${
n
}
_
'$((SLURM_ARRAY_TASK_ID-1+offset)).gmm'
-imap
$
{
map_name
}
-gmml
'tmp_$((SLURM_ARRAY_TASK_ID+offset)).txt
'
-omap
/dev/null
fi
>
commands_
$i
.sh
mkdir
-p
$n
max_jobs
=
$(
get_max_jobs
)
...
...
Samuel HANOT
@shanot
mentioned in issue
#2 (closed)
·
Mar 12, 2018
mentioned in issue
#2 (closed)
mentioned in issue #2
Toggle commit list
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