From 0df2e48dc15b6535e5fe000258d8f2f804e3a5d9 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Thu, 11 Apr 2024 14:17:21 +0200 Subject: [PATCH] Fix champ --- lib/install_champ.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/install_champ.sh b/lib/install_champ.sh index cf27b03..a3e3510 100755 --- a/lib/install_champ.sh +++ b/lib/install_champ.sh @@ -8,7 +8,7 @@ ln -s /usr/bin/python3 /usr/bin/python # Install dependencies # -------------------- -apt install -y cmake python3 git make gcc +apt install -y cmake python3 git make gcc g++ git clone --depth=1 https://github.com/filippi-claudia/champ.git @@ -18,6 +18,7 @@ cd champ cmake -S. -Bbuild \ -DCMAKE_Fortran_COMPILER="mpiifort" \ -DCMAKE_C_COMPILER="gcc" + -DCMAKE_CXX_COMPILER="g++" -DENABLE_TREXIO=ON \ -DENABLE_QMCKL=ON @@ -25,4 +26,4 @@ cmake --build build -j 8 rm -rf compile-* docs tests build lib -apt remove -y cmake git make gcc +apt remove -y cmake git make gcc g++