mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-03 20:54:00 +01:00
Manual install of Lapack
This commit is contained in:
parent
400225bd7b
commit
899a764147
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
10
install/scripts/install_lapack.sh
Executable file
10
install/scripts/install_lapack.sh
Executable 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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user