Skip to content

Commit

Permalink
Merge pull request #13 from MolSSI-MDI/compose
Browse files Browse the repository at this point in the history
Fix Docker-Compose References
  • Loading branch information
taylor-a-barnes authored Apr 18, 2024
2 parents 5877e5a + dc09325 commit 9697cde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mdimechanic/cmd_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def generate_report( base_path ):
raise Exception("Error: Unable to remove orphaned containers.")
try:
compose_path = ut.get_compose_path( "tcp_nvidia" )
down_proc = subprocess.Popen( ["docker-compose", "down"],
down_proc = subprocess.Popen(COMPOSE_COMMAND + ["down"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
cwd=compose_path)
down_tup = down_proc.communicate()
Expand Down
2 changes: 1 addition & 1 deletion mdimechanic/utils/node_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_command( base_path, command, nrecv, recv_type, nsend, send_type ):
docker_env['MDIMECH_ENGINE_NAME'] = mdimechanic_yaml['docker']['image_name'] + ":dev"

# Run the docker container
up_proc = subprocess.Popen( ["docker-compose", "up", "--exit-code-from", "mdi_mechanic", "--abort-on-container-exit"],
up_proc = subprocess.Popen(COMPOSE_COMMAND + ["up", "--exit-code-from", "mdi_mechanic", "--abort-on-container-exit"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
cwd=docker_path, env=docker_env )
up_tup = up_proc.communicate()
Expand Down

0 comments on commit 9697cde

Please sign in to comment.