######################################################################## # Options for Linux, GCC Fortran compiler (GCC >= 4.2) # ######################################################################## # The machine (platform) identifier appended to the library names ###### PLAT = # Fortran compiler ##################################################### FC = gfortran FCFLAGS = -O3 -march=native FCFRMT = -ffree-form FCLDFLGS = -O3 -march=native FCNOOPT = -O0 -fp_port # LAPACK and BLAS libraries to be linked to ############################ LAPACKLIB = -llapack TMGLIB = $(HOME)/lapack/libtmglib.a BLASLIB = -lblas # Location of the STETESTER library #################################### STETESTERDIR = $(HOME)/lapack/stetester STETESTERLIB = $(STETESTERDIR)/stetesterlib$(PLAT).a # Interface for the timing function and flops counting ################# # F77T: uses DSECND/SECOND (Fortran 77) # F95T: uses CPU_TIME (Fortran 90/95) # PAPI: uses PAPI's PAPIF_GET_REAL_USEC TIMER = F95T # NONE: flop counting is disabled # PAPI: uses PAPI's PAPIF_FLOPS FLOPS = NONE # If PAPI is used set PAPIINC and PAPILIB accordingly ################## PAPIINC = PAPILIB = # The archiver and flag(s) to use when building archive (library) ###### ARCH = ar ARCHFLAGS = cr RANLIB = touch