1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2025-01-10 04:58:33 +01:00

use GNU compiler instead of verificarlo ones to build TREXIO

This commit is contained in:
Evgeny Posenitskiy 2021-12-13 12:30:48 +01:00
parent c11403dff2
commit d7b3c6225d

View File

@ -8,9 +8,10 @@ export VERSION=2.0
wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz
tar -zxf trexio-${VERSION}.0.tar.gz tar -zxf trexio-${VERSION}.0.tar.gz
cd trexio-${VERSION}.0 cd trexio-${VERSION}.0
./configure --prefix=/usr --host=x86_64 CC="verificarlo-c" FC="verificarlo-f" ./configure --prefix=/usr CC="gcc-7" FC="gfortran-7"
make -j4 # modify LDFLAGS to include -lhdf5_hl because autoconf sometime fails to detect the HL component
sudo make install make LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5_hl"
make install
cd .. cd ..
./autogen.sh ./autogen.sh