I am calling an external program from within MATLAB that requires a LAPACK/BLAS version. For this I am using the non-MATLAB LAPACK/BLAS version as Openblas is giving me greater speed with it. I am using Ubuntu 18.04 LTS.
In order to link to the external program I am setting the:
I am wondering, is there a way to force matlab to use its own version of LAPACK/BLAS (the one it shipped with) whilst my external program is using the openblas version?
I have tried to use the suggestion provided in the link about, however, I receive the following error: "/bin/sh: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory".
Any help on this would be much appreciated.
Thanks!