LIBS =  -L$(MAGMADIR)/lib -L$(CUDADIR)/lib64  -L. -lmagma -lcudart -lcublas -lcusparse -lstdc++ -lpthread -llapack -lrefblas

STATIC_LIBS = -L../../lib -lfxdr

F90 = mpif90 -fopenmp

F90FLAGS = -cpp -DHAVE_CUBLAS -O3 -I$(MAGMADIR)/include -I$(CUDADIR)/include -I/gpfs/panther/local/apps/gcc/openmpi/2.0.2/lib -Dmagma_devptr_t="integer(kind=8)" 

F90FLAGS1 = $(F90FLAGS)
LDFLAGS=$(F90FLAGS)
