1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2025-01-09 12:44:12 +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
tar -zxf trexio-${VERSION}.0.tar.gz
cd trexio-${VERSION}.0
./configure --prefix=/usr --host=x86_64 CC="verificarlo-c" FC="verificarlo-f"
make -j4
sudo make install
./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