Skip to content

Commit

Permalink
Fix merge leftovers for vectorisation in chapter 3
Browse files Browse the repository at this point in the history
  • Loading branch information
sv2518 committed Oct 4, 2022
1 parent e72f316 commit 09bf629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyop2/compilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,9 +635,9 @@ def __init__(self, code, argtypes):
else:
# Sniff compiler from executable
if cpp:
exe = configuration["cxx"] or "g++"
exe = configuration["cxx"] or "mpicxx"
else:
exe = configuration["cc"] or "gcc"
exe = configuration["cc"] or "mpicc"
compiler = sniff_compiler(exe)
dll = compiler(cppargs, ldargs, cpp=cpp, comm=comm).get_so(code, extension)
if isinstance(jitmodule, GlobalKernel):
Expand Down

0 comments on commit 09bf629

Please sign in to comment.