From d4c8ca353dd522805b1cc4acff35d3b2dda5c643 Mon Sep 17 00:00:00 2001 From: Incardona Pietro <incardon@mpi-cbg.de> Date: Wed, 24 Nov 2021 11:23:27 +0100 Subject: [PATCH] Fixing for OpenMP --- build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 96ecbd95a..b94d9b51a 100755 --- a/build.sh +++ b/build.sh @@ -73,6 +73,12 @@ else gpu_support= fi +if [ x"$branch" == x"master_openmp" ]; then + + foward_options="$foward_options --with-cuda-on-backend=OpenMP" + +fi + #### If you have a dep_dir file change the branch name to the dep_dir dep_dir=$(cat dep_dir) @@ -124,7 +130,7 @@ if [ $? -ne 0 ]; then fi # Check of we have to do a make install -if [ x"$comp_type" == x"full" -o x"$comp_type" == x"openmp" ]; then +if [ x"$comp_type" == x"full" ]; then mv $HOME/openfpm_vars $HOME/openfpm_vars_$branch make install if [ x"$?" != x"0" ]; then -- GitLab