Skip to content

Commit

Permalink
Merge pull request #3584 from jtkrogel/nx_nompi
Browse files Browse the repository at this point in the history
Nexus: no longer require mpirun for test passage
  • Loading branch information
ye-luo committed Nov 3, 2021
2 parents 191bb52 + 8419bbc commit 2a6f3a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nexus/tests/unit/test_simulation_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -2361,8 +2361,11 @@ def test_execute():

tpath = testing.setup_unit_test_output_directory('simulation','test_execute',divert=True)

import shutil
serial = shutil.which('mpirun') is None

s = get_test_sim(
job = job(machine='ws1',app_command='echo run'),
job = job(machine='ws1',app_command='echo run',serial=serial),
)

s.create_directories()
Expand Down

0 comments on commit 2a6f3a4

Please sign in to comment.