10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-23 03:07:34 +02:00

Manual install of Lapack

This commit is contained in:
Anthony Scemama 2017-09-14 18:13:20 +02:00
parent 400225bd7b
commit 899a764147
3 changed files with 12 additions and 2 deletions

View File

@ -17,7 +17,6 @@ addons:
packages:
- gfortran
- gcc
- libopenblas-dev
# - liblapack-dev
# - libblas-dev
- graphviz
@ -33,6 +32,7 @@ python:
script:
- ./configure ./config/travis.cfg
- source ./quantum_package.rc ; qp_module.py install Full_CI Full_CI_ZMQ Hartree_Fock CAS_SD_ZMQ mrcepa0 All_singles
- source ./quantum_package.rc ; cd ~ ; install_lapack.sh ; cd $QP_ROOT
- source ./quantum_package.rc ; ninja
- source ./quantum_package.rc ; cd ocaml ; make ; cd -
- source ./quantum_package.rc ; cd tests ; ./run_tests.sh -v

View File

@ -11,7 +11,7 @@
#
[COMMON]
FC : gfortran -ffree-line-length-none -I . -g
LAPACK_LIB : -lopenblas
LAPACK_LIB : $(QP_ROOT)/lib/liblapack.a $(QP_ROOT)/lib/librefblas.a $(QP_ROOT)/lib/libtmglib.a
IRPF90 : irpf90
IRPF90_FLAGS : --ninja --align=32 --assert

View File

@ -0,0 +1,10 @@
#!/bin/bash -x
git clone https://github.com/Reference-LAPACK/lapack-release.git
cd lapack-release
cp make.inc.example make.inc
make -j 8 lib
mv librefblas.a liblapack.a libtmglib.a $QP_ROOT/lib