Child pages
  • Hyak_lapack
Skip to end of metadata
Go to start of metadata

Programs using LAPACK and BLAS can be compiled by below steps. Here trial.f contains calls to LAPACK and/or BLAS subroutines.

For GNU gfortran compiler:

gfortran trial.f -llapack -lblas

For Intel ifort compiler:

module load icc_17

ifort trial.f -llapack -lblas


ifort trial.f -mkl

For Use in Makefiles:

If you are using makefiles then add the LAPACK and BLAS options to the FFLAGS variable as shown below:

FFLAGS = -O2 -llapack -lblas

  • No labels