I have a compiled file a.out that runs fine when executed directly from my terminal. However, trying to execute that file from my PBS file yields a missing library libmkl_intel_lp64.so. I have already tried

  • exporting the path of the library to LD_LIBARY_PATH

  • using source a.out intel64 to link the executable in my PBS file

Any suggestions?

1 Answer 1


How did you compile a.out? I think for MKL you need a linking option (-L).

  • If it runs correctly from OP's terminal doesn't he have the binary linked properly?
    – chicks
    Aug 24, 2017 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.