Skip to content

Commit f228b7f

Browse files
committed
Update mpirun command to bind cores none
1 parent ec8bf8d commit f228b7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

isicle/qm.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ def submit(self):
879879
outfile = os.path.join(self.temp_dir, self.geom.basename + ".out")
880880
logfile = os.path.join(self.temp_dir, self.geom.basename + ".log")
881881

882-
s = "mpirun -n {} nwchem {} > {} 2> {}".format(
882+
s = "mpirun --bind-to none -n {} nwchem {} > {} 2> {}".format(
883883
self._processes, infile, outfile, logfile
884884
)
885885

@@ -908,7 +908,9 @@ def finish(self):
908908
outfiles = sorted([x for x in outfiles if not x.endswith(".xyz")])
909909

910910
if os.path.join(self.temp_dir, "cosmo.xyz") in geomfiles:
911-
geomfiles = [i for i in geomfiles if i != os.path.join(self.temp_dir, "cosmo.xyz")]
911+
geomfiles = [
912+
i for i in geomfiles if i != os.path.join(self.temp_dir, "cosmo.xyz")
913+
]
912914
cosmo = True
913915

914916
# Enumerate geometry files

0 commit comments

Comments
 (0)