Skip to content

Commit

Permalink
update cores
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Jul 17, 2023
1 parent b196614 commit f3751ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion calphy/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def create_object(cores, directory, timestep, cmdargs=None,
lmp : LammpsLibrary object
"""
lmp = LammpsLibrary(
mode="local", cores=cores, working_directory=directory, cmdargs=cmdargs
cores=cores, working_directory=directory, cmdargs=cmdargs
)

commands = [["units", "metal"],
Expand Down
2 changes: 1 addition & 1 deletion calphy/lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def check_dump_file(infile):

def check_data_file(infile):
try:
lmp = LammpsLibrary(mode="local", cores=1,
lmp = LammpsLibrary(cores=1,
working_directory=os.getcwd())
lmp.units("metal")
lmp.boundary("p p p")
Expand Down

0 comments on commit f3751ec

Please sign in to comment.