mirror of
https://github.com/LCPQ/quantum_package
synced 2024-06-02 11:25:26 +02:00
Fixed IRPF90 environment variable
This commit is contained in:
parent
8bafaeb60f
commit
6e4523524b
|
@ -2,10 +2,10 @@ sudo: true
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install gfortran liblapack-dev zip
|
- sudo apt-get install gfortran liblapack-dev
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./setup_environment.sh --robot
|
- ./setup_environment.sh --robot
|
||||||
- source ./quantum_package.rc
|
- source ./quantum_package.rc
|
||||||
- cp ./src/Makefile.config.gfortran ./src/Makefile.config
|
- cp ./src/Makefile.config.gfortran ./src/Makefile.config
|
||||||
- make build
|
- make build
|
||||||
|
|
|
@ -18,6 +18,8 @@ source ${QPACKAGE_ROOT}/scripts/qp_include.sh
|
||||||
|
|
||||||
check_current_dir_is_src
|
check_current_dir_is_src
|
||||||
|
|
||||||
|
IRPF90="${QPACKAGE_ROOT}/bin/irpf90 ${IRPF90_FLAGS}"
|
||||||
|
|
||||||
|
|
||||||
# Check if the user's config exists
|
# Check if the user's config exists
|
||||||
if [[ ! -f ${QPACKAGE_ROOT}/src/Makefile.config ]]
|
if [[ ! -f ${QPACKAGE_ROOT}/src/Makefile.config ]]
|
||||||
|
|
|
@ -41,7 +41,6 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [[ ! -x ${QPACKAGE_ROOT}/bin/irpman ]]
|
if [[ ! -x ${QPACKAGE_ROOT}/bin/irpman ]]
|
||||||
then
|
then
|
||||||
echo $RED "Error in IRPF90 installation" $BLACK
|
echo $RED "Error in IRPF90 installation" $BLACK
|
||||||
|
|
Loading…
Reference in New Issue
Block a user