mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-08-29 14:23:42 +02:00
19 lines
296 B
Bash
19 lines
296 B
Bash
|
#!/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
|
||
|
cd EZFIO
|
||
|
rm -f make.config
|
||
|
${NINJA} || exit -1
|
||
|
cp lib/libezfio{,_irp}.a ${QMCCHEM_PATH}/lib/ || exit 1
|
||
|
|
||
|
|