From 9259af5552db36bd0cf725f868d39966c4513652 Mon Sep 17 00:00:00 2001 From: Evgeny Posenitskiy <45995097+q-posev@users.noreply.github.com> Date: Mon, 13 Dec 2021 13:34:56 +0100 Subject: [PATCH] move TREXIO installation back to .yml file and downgrade to v.1.1.0 --- .github/workflows/vfc_test_workflow.yml | 19 ++++++++++--------- tools/ci_install.sh | 10 ---------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/vfc_test_workflow.yml b/.github/workflows/vfc_test_workflow.yml index 556559d..2acae0a 100644 --- a/.github/workflows/vfc_test_workflow.yml +++ b/.github/workflows/vfc_test_workflow.yml @@ -27,15 +27,16 @@ jobs: apt update apt -y install emacs pkg-config wget libhdf5-dev libblas-dev liblapack-dev - # - name: Install trexio - # run: | - # export VERSION=2.0 - # wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz - # tar -zxf trexio-${VERSION}.0.tar.gz - # cd trexio-${VERSION}.0 - # ./configure --prefix=/usr CC="verificarlo-c" FC="verificarlo-f" - # make -j4 - # sudo make install + - name: Install trexio + run: | + export VERSION=1.1.0 + wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.tar.gz + tar -zxf trexio-${VERSION}.tar.gz + cd trexio-${VERSION} + ./configure --prefix=/usr CC="gcc-7" FC="gfortran-7" + # modify LDFLAGS to include -lhdf5_hl because autoconf sometime fails to detect the HL component + make LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5_hl" + make install - name: Run tests run: vfc_ci test -g -r diff --git a/tools/ci_install.sh b/tools/ci_install.sh index faed475..ce4cdaa 100755 --- a/tools/ci_install.sh +++ b/tools/ci_install.sh @@ -4,16 +4,6 @@ # the library dependencies and build it with Verificarlo with vfc_probes support # enabled. -export VERSION=2.0 -wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz -tar -zxf trexio-${VERSION}.0.tar.gz -cd trexio-${VERSION}.0 -./configure --prefix=/usr CC="gcc-7" FC="gfortran-7" -# modify LDFLAGS to include -lhdf5_hl because autoconf sometime fails to detect the HL component -make LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5_hl" -make install -cd .. - ./autogen.sh QMCKL_DEVEL=1 ./configure --prefix=$PWD/_install \ --enable-silent-rules --enable-maintainer-mode --enable-vfc_ci --host=x86_64 \