The intel Math Kernel Library (MKL) comes with a wide variety of functions for BLAS, LAPACK, FFTW etc. You can use the library as below.
module load icc_17
ifort abc.f90 -o abc -mkl
icc xyz.c -o xyz -mkl
icpc uvw.cpp -o uvw -mkl
(The environment variable MKLROOT contains the path to the root of the MKL library.)
Below command gives you a list of various icc options:
See below for more information about MKL linking and compiling options: