mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-09 12:44:07 +01:00
Move install script into install folder
This commit is contained in:
parent
14b50bf1eb
commit
c1c3285cec
@ -8,8 +8,8 @@ CURL_URL="http://qmcchem.ups-tlse.fr/files/scemama/${CURL}.tar.bz2"
|
||||
|
||||
if [[ -z ${QPACKAGE_ROOT} ]]
|
||||
then
|
||||
print "The QPACKAGE_ROOT environment variable is not set."
|
||||
print "Please reload the quantum_package.rc file."
|
||||
echo "The QPACKAGE_ROOT environment variable is not set."
|
||||
echo "Please reload the quantum_package.rc file."
|
||||
exit -1
|
||||
fi
|
||||
|
@ -8,8 +8,8 @@ DOCOPT_URL="https://raw.githubusercontent.com/docopt/docopt/master/${DOCOPT}"
|
||||
|
||||
if [[ -z ${QPACKAGE_ROOT} ]]
|
||||
then
|
||||
print "The QPACKAGE_ROOT environment variable is not set."
|
||||
print "Please reload the quantum_package.rc file."
|
||||
echo "The QPACKAGE_ROOT environment variable is not set."
|
||||
echo "Please reload the quantum_package.rc file."
|
||||
exit -1
|
||||
fi
|
||||
|
@ -8,8 +8,8 @@ URL="https://github.com/LCPQ/${BASE}/archive/master.tar.gz"
|
||||
|
||||
if [[ -z ${QPACKAGE_ROOT} ]]
|
||||
then
|
||||
print "The QPACKAGE_ROOT environment variable is not set."
|
||||
print "Please reload the quantum_package.rc file."
|
||||
echo "The QPACKAGE_ROOT environment variable is not set."
|
||||
echo "Please reload the quantum_package.rc file."
|
||||
exit -1
|
||||
fi
|
||||
|
@ -8,8 +8,8 @@ URL="https://github.com/LCPQ/${BASE}/archive/master.tar.gz"
|
||||
|
||||
if [[ -z ${QPACKAGE_ROOT} ]]
|
||||
then
|
||||
print "The QPACKAGE_ROOT environment variable is not set."
|
||||
print "Please reload the quantum_package.rc file."
|
||||
echo "The QPACKAGE_ROOT environment variable is not set."
|
||||
echo "Please reload the quantum_package.rc file."
|
||||
exit -1
|
||||
fi
|
||||
|
@ -12,7 +12,7 @@ fi
|
||||
cd -- ${QPACKAGE_ROOT}
|
||||
mv -- ${QPACKAGE_ROOT}/EZFIO ${QPACKAGE_ROOT}/EZFIO.old
|
||||
|
||||
${QPACKAGE_ROOT}/scripts/install_ezfio.sh
|
||||
${QPACKAGE_ROOT}/scripts/install/install_ezfio.sh
|
||||
|
||||
if [[ $? -eq 0 ]]
|
||||
then
|
||||
|
@ -12,7 +12,7 @@ fi
|
||||
cd -- ${QPACKAGE_ROOT}
|
||||
mv -f -- ${QPACKAGE_ROOT}/irpf90 ${QPACKAGE_ROOT}/irpf90.old
|
||||
|
||||
${QPACKAGE_ROOT}/scripts/install_irpf90.sh
|
||||
${QPACKAGE_ROOT}/scripts/install/install_irpf90.sh
|
||||
|
||||
if [[ $? -eq 0 ]]
|
||||
then
|
||||
|
@ -28,7 +28,7 @@ EOF
|
||||
source quantum_package.rc
|
||||
|
||||
echo "${BLUE}===== Installing IRPF90 ===== ${BLACK}"
|
||||
${QPACKAGE_ROOT}/scripts/install_irpf90.sh | tee install_irpf90.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_irpf90.sh | tee install_irpf90.log
|
||||
if [[ ! -d ${QPACKAGE_ROOT}/irpf90 ]]
|
||||
then
|
||||
echo $RED "Error in IRPF90 installation" $BLACK
|
||||
@ -49,19 +49,19 @@ fi
|
||||
|
||||
|
||||
echo "${BLUE}===== Installing Zlib ===== ${BLACK}"
|
||||
${QPACKAGE_ROOT}/scripts/install_zlib.sh | tee install_zlib.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_zlib.sh | tee install_zlib.log
|
||||
|
||||
echo "${BLUE}===== Installing Curl ===== ${BLACK}"
|
||||
${QPACKAGE_ROOT}/scripts/install_curl.sh | tee install_curl.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_curl.sh | tee install_curl.log
|
||||
|
||||
echo "${BLUE}===== Installing M4 ===== ${BLACK}"
|
||||
${QPACKAGE_ROOT}/scripts/install_m4.sh | tee install_m4.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_m4.sh | tee install_m4.log
|
||||
|
||||
echo "${BLUE}===== Installing Docopt ===== ${BLACK}"
|
||||
${QPACKAGE_ROOT}/scripts/install_docopt.sh | tee install_docopt.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_docopt.sh | tee install_docopt.log
|
||||
|
||||
echo "${BLUE}===== Installing EMSL Basis set library ===== ${BLACK}"
|
||||
${QPACKAGE_ROOT}/scripts/install_emsl.sh | tee install_emsl.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_emsl.sh | tee install_emsl.log
|
||||
|
||||
if [[ ! -d ${QPACKAGE_ROOT}/EMSL_Basis ]]
|
||||
then
|
||||
@ -71,7 +71,7 @@ fi
|
||||
|
||||
echo "${BLUE}===== Installing EZFIO ===== ${BLACK}"
|
||||
|
||||
${QPACKAGE_ROOT}/scripts/install_ezfio.sh | tee install_ezfio.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_ezfio.sh | tee install_ezfio.log
|
||||
if [[ ! -d ${QPACKAGE_ROOT}/EZFIO ]]
|
||||
then
|
||||
echo $RED "Error in EZFIO installation" $BLACK
|
||||
@ -81,7 +81,7 @@ fi
|
||||
|
||||
echo "${BLUE}===== Installing Ocaml compiler and libraries ===== ${BLACK}"
|
||||
rm -f -- ocaml/Qptypes.ml
|
||||
${QPACKAGE_ROOT}/scripts/install_ocaml.sh | tee install_ocaml.log
|
||||
${QPACKAGE_ROOT}/scripts/install/install_ocaml.sh | tee install_ocaml.log
|
||||
|
||||
if [[ ! -f ${QPACKAGE_ROOT}/ocaml/Qptypes.ml ]]
|
||||
then
|
||||
@ -90,7 +90,7 @@ then
|
||||
fi
|
||||
|
||||
echo "${BLUE}===== Installing resultsFile Python library ===== ${BLACK}"
|
||||
${QPACKAGE_ROOT}/scripts/install_resultsFile.sh
|
||||
${QPACKAGE_ROOT}/scripts/install/install_resultsFile.sh
|
||||
if [[ ! -d ${QPACKAGE_ROOT}/resultsFile ]]
|
||||
then
|
||||
echo $RED "Error in resultsFile installation" $BLACK
|
||||
|
Loading…
Reference in New Issue
Block a user