I am building an application and trying to link the intel libraries statically in order not to be obliged to send several of them to the customer.
I am trying to use the option -static-intel for the task, but I'm not getting any results.
What I am trying to do is:
ifort mycode.f -static-intel -L/opt/intel/.../em64t -lmkl_lapack -lmkl -lguide -lpthread -O3 -o myapp
but the 'ldd myapp' still returns dynamic dependencies including Intel libraries (along with the system ones).
Am I doing this all wrong? I have such a feeling.