Skip to content

Commit

Permalink
use np instead of n to keep consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
xhqu1981 committed Dec 21, 2015
1 parent 45fadc0 commit 2c2a9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custodian/qchem/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@ def run(self):
elif "NERSC_HOST" in os.environ and os.environ["NERSC_HOST"] == "matgen":
nodelist = os.environ["QCNODE"]
num_nodes = len(nodelist.split(","))
tmp_creation_cmd = shlex.split("mpirun -n {} --npernode 1 --host {} mkdir /dev/shm/eg_qchem".format(num_nodes, nodelist))
tmp_clean_cmd = shlex.split("mpirun -n {} --npernode 1 --host {} rm -rf /dev/shm/eg_qchem".format(num_nodes, nodelist))
tmp_creation_cmd = shlex.split("mpirun -np {} --npernode 1 --host {} mkdir /dev/shm/eg_qchem".format(num_nodes, nodelist))
tmp_clean_cmd = shlex.split("mpirun -np {} --npernode 1 --host {} rm -rf /dev/shm/eg_qchem".format(num_nodes, nodelist))
else:
tmp_clean_cmd = None
tmp_creation_cmd = None
Expand Down

0 comments on commit 2c2a9fc

Please sign in to comment.