4
1
mirror of https://github.com/pfloos/quack synced 2024-06-23 13:42:19 +02:00
quack/numgrid-tools/install_numgrid.sh

12 lines
227 B
Bash
Executable File

#!/bin/bash -x
git clone https://github.com/dftlibs/numgrid.git
cd numgrid
git reset --hard 29f94b7
./setup --fc="$FC" --cc="$CC" --cxx="$CXX"
cd build
make
cp lib/libnumgrid.a $LDIR/
cp ../numgrid/numgrid.f90 $SDIR/numgrid/