Sherman-Morrison/tests/qmckl_test_fortran/make-test.sh
2021-09-21 12:30:43 +02:00

10 lines
313 B
Bash
Executable File

#!/usr/bin/env bash
## THIS SCRIPT ONLY WORKS IF QMCKL HAS BEEN BUILT CORRECTLY
gfortran -c qmckl_f.f90
gfortran -ffree-line-length-none -c qmckl_test_f.f90
gfortran -o qmckl_test_f qmckl_test_f.o -L. -lqmckl
export LD_LIBRARY_PATH=../../qmckl/src/.libs:$LD_LIBRARY_PATH
./qmckl_test_f && octave qmckl_test_f.m