mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-14 01:53:55 +01:00
20 lines
338 B
Bash
Executable File
20 lines
338 B
Bash
Executable File
#!/bin/bash
|
|
|
|
QPACKAGE_ROOT=${PWD}
|
|
|
|
IRPF90=$(which irpf90)
|
|
|
|
if [[ -z ${IRPF90} ]] ;
|
|
then
|
|
make irpf90
|
|
IRPF90=${QPACKAGE_ROOT}/irpf90/bin/irpf90
|
|
fi
|
|
make EZFIO
|
|
|
|
cat << EOF > quantum_package.rc
|
|
export IRPF90=${IRPF90}
|
|
export QPACKAGE_ROOT=${QPACKAGE_ROOT}
|
|
export PATH+=:${QPACKAGE_ROOT}/scripts
|
|
export PATH+=:${QPACKAGE_ROOT}/bin
|
|
EOF
|