From d2834624c2c82f10d521040f429417d3c732a511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Pe=C3=B1acoba?= Date: Wed, 10 Nov 2021 15:25:14 +0100 Subject: [PATCH] paraver: enable OpenMP --- bsc/paraver/kernel-fast.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bsc/paraver/kernel-fast.nix b/bsc/paraver/kernel-fast.nix index d24f60e..cf2a3f3 100644 --- a/bsc/paraver/kernel-fast.nix +++ b/bsc/paraver/kernel-fast.nix @@ -29,12 +29,13 @@ stdenv.mkDerivation rec { dontStrip = true; preConfigure = '' - export CFLAGS="-O3" - export CXXFLAGS="-std=c++17 -O3" + export CFLAGS="-O3 -DPARALLEL_ENABLED" + export CXXFLAGS="-std=c++17 -O3 -DPARALLEL_ENABLED" ''; configureFlags = [ "--with-boost=${boost}" + "--enable-openmp" ]; buildInputs = [