mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
mpi_args formatting
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
3ba511c056
commit
f960553bed
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ def cpp_driver(request):
|
|||
try:
|
||||
print("Building driver")
|
||||
# Run cmake/make to build the shared libary
|
||||
subprocess.run(['cmake', os.path.pardir, '-DOPENMC_USE_MPI=' + mpi_arg], check=True)
|
||||
subprocess.run(['cmake', os.path.pardir, f'-DOPENMC_USE_MPI={mpi_arg}'], check=True)
|
||||
subprocess.run(['make'], check=True)
|
||||
os.chdir(os.path.pardir)
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ def cpp_driver(request):
|
|||
try:
|
||||
print("Building driver")
|
||||
# Run cmake/make to build the shared libary
|
||||
subprocess.run(['cmake', os.path.pardir, '-DOPENMC_USE_MPI=' + mpi_arg], check=True)
|
||||
subprocess.run(['cmake', os.path.pardir, f'-DOPENMC_USE_MPI={mpi_arg}'], check=True)
|
||||
subprocess.run(['make'], check=True)
|
||||
os.chdir(os.path.pardir)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue