10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-12-22 12:23:30 +01:00
qmcchem/scripts/compile_ezfio.sh

22 lines
448 B
Bash
Raw Normal View History

2015-12-20 01:09:14 +01:00
#!/bin/bash
if [[ ! -f qmcchemrc ]]
then
echo "Error: qmcchemrc not found"
exit -1
fi
source make.config
source qmcchemrc
FCFLAGS="${FCFLAGS} -fPIC"
export IRPF90 FC FCFLAGS AR RANLIB
2022-01-11 23:35:22 +01:00
cd EZFIO/config
[[ -f properties.config ]] || ln -s ../../ezfio_config/properties.config .
[[ -f qmc.config ]] || ln -s ../../ezfio_config/qmc.config .
cd ..
2019-07-01 13:11:46 +02:00
source ../make.config
make || exit -1
2015-12-20 01:09:14 +01:00
cp lib/libezfio{,_irp}.a ${QMCCHEM_PATH}/lib/ || exit 1