Skip to content

Commit

Permalink
Added m4 instances to relion_refine as user-defined choices
Browse files Browse the repository at this point in the history
  • Loading branch information
mcianfrocco committed Dec 7, 2017
1 parent 5250295 commit db765f4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions relion/qsub_aws
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,18 @@ def relion_refine_mpi(project,AZ_letter):
mpi=2
numfiles=15
cost=1.14
if instance == 'm4.10xlarge':
gpu=''
j='--j 1'
mpi=40
numfiles=40
cost=2
if instance == 'm4.16xlarge':
gpu=''
j='--j 1'
mpi=64
numfiles=64
cost=3.2
if not cost:
writeToLog('Error: Input instance %s is not a p2 or g3 instance type for GPU acceleration. Exiting' %(instance),'%s/run.err' %(outdir))
sys.exit()
Expand Down
12 changes: 12 additions & 0 deletions relion/qsub_aws_dev
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,18 @@ def relion_refine_mpi(project,AZ_letter):
mpi=2
numfiles=15
cost=1.14
if instance == 'm4.10xlarge':
gpu=''
j='--j 1'
mpi=40
numfiles=40
cost=2
if instance == 'm4.16xlarge':
gpu=''
j='--j 1'
mpi=64
numfiles=64
cost=3.2
if not cost:
writeToLog('Error: Input instance %s is not a p2 or g3 instance type for GPU acceleration. Exiting' %(instance),'%s/run.err' %(outdir))
sys.exit()
Expand Down

0 comments on commit db765f4

Please sign in to comment.