Skip to content

Commit

Permalink
set buster refmac tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanwalker96 committed Dec 11, 2024
1 parent 0fbf3a0 commit fca4ed5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions xce/lib/XChemRefine.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ def run_script(self, program, external_software, Serial, xce_logfile, slurm_toke
"{!s}.sh".format(program),
xce_logfile,
slurm_token,
tasks=8,
)

def RunBuster(
Expand Down Expand Up @@ -1192,7 +1193,7 @@ def RunRefmac(
% (os.path.join(self.ProjectPath, self.xtalID, "Refine_" + Serial))
)

slurm.submit_cluster_job("xce_refmac", "refmac.csh", xce_logfile, slurm_token)
slurm.submit_cluster_job("xce_refmac", "refmac.csh", xce_logfile, slurm_token, tasks=8)

def RefinementParams(self, RefmacParams):
self.RefmacParams = RefmacParams
Expand Down Expand Up @@ -2157,7 +2158,7 @@ def RunQuickRefine(
)
)

slurm.submit_cluster_job("refmac", "refmac.csh", xce_logfile, slurm_token)
slurm.submit_cluster_job("refmac", "refmac.csh", xce_logfile, slurm_token, tasks=8)

def RefinementParams(self, RefmacParams):
self.RefmacParams = RefmacParams
Expand Down

0 comments on commit fca4ed5

Please sign in to comment.