I am now writing a makefile for a code not written by me. It uses 'MKL'. But the difficult part for me is that I do not know which 'lib' to include.
Now when I try to generate a executable file, errors are:
undefined reference to XXX
I know I do not link the correct MKL lib to the code since I do not know subroutine is include in which lib.
What should I do? I do not want to link all the 'lib' files in $(MKLROOT)/lib.