Files
Martin Kroeker 375b1875c8 [WIP] Update LAPACK to 3.9.0 (#2353)
* Update make.inc entries for LAPACK 3.9.0

Reference-LAPACK PR 347 changed some variable names and relative paths

* Update LAPACK to 3.9.0

* Add new functions from LAPACK 3.9.0

* Add new functions from LAPACK 3.9.0

* Restore LOADER command 

as it makes it easier to specify pthread as needed

* Restore LOADER

* Restore EIG/LIN prefixes in cmdbase

* add binary path to lapack_testing.py call

* Restore OpenMP version check

* Restore OpenMP version check

* Restore fix for out-of-bounds array accesses

from #2096
2020-01-01 13:18:53 +01:00

61 lines
1.5 KiB
Makefile

TOPSRCDIR = ../..
include $(TOPSRCDIR)/make.inc
.PHONY: all single double complex complex16
all: single double complex complex16
single: xblat1s xblat2s xblat3s
double: xblat1d xblat2d xblat3d
complex: xblat1c xblat2c xblat3c
complex16: xblat1z xblat2z xblat3z
xblat1s: sblat1.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat1d: dblat1.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat1c: cblat1.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat1z: zblat1.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat2s: sblat2.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat2d: dblat2.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat2c: cblat2.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat2z: zblat2.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat3s: sblat3.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat3d: dblat3.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat3c: cblat3.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
xblat3z: zblat3.o $(BLASLIB)
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
.PHONY: run
run: all
./xblat1s > sblat1.out
./xblat1d > dblat1.out
./xblat1c > cblat1.out
./xblat1z > zblat1.out
./xblat2s < sblat2.in
./xblat2d < dblat2.in
./xblat2c < cblat2.in
./xblat2z < zblat2.in
./xblat3s < sblat3.in
./xblat3d < dblat3.in
./xblat3c < cblat3.in
./xblat3z < zblat3.in
.PHONY: clean cleanobj cleanexe cleantest
clean: cleanobj cleanexe cleantest
cleanobj:
rm -f *.o
cleanexe:
rm -f xblat*
cleantest:
rm -f *.out core