From 09bf6297374e106a134bd354ea3d2e2f7773c821 Mon Sep 17 00:00:00 2001 From: Sophia Vorderwuelbecke Date: Tue, 4 Oct 2022 15:16:29 +0100 Subject: [PATCH] Fix merge leftovers for vectorisation in chapter 3 --- pyop2/compilation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyop2/compilation.py b/pyop2/compilation.py index 9761f0e97..4ee80b1b4 100644 --- a/pyop2/compilation.py +++ b/pyop2/compilation.py @@ -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):