Skip to content

Commit

Permalink
Merge pull request #429 from xchem/set-buster-refmac-tasks
Browse files Browse the repository at this point in the history
set buster refmac tasks
  • Loading branch information
rowanwalker96 authored Jan 6, 2025
2 parents 6294bbb + 6587f17 commit 1149cfc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions xce/lib/XChemRefine.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,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 @@ -1193,7 +1194,9 @@ 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 @@ -2158,7 +2161,9 @@ 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 1149cfc

Please sign in to comment.