Initializing libguide40.lib, but found libiomp5md.dll already initialized.
I'm new to Intel MKL, tried compiling and running the example code lapacke_zgesvd_row.c in MS VS2008 and encounter the error "OMP abort:Initializing libguide40.lib, but found libiomp5md.dll already initialized.".
I had selected the Build Components to use Intel Math Kernel Library 10.3.4 and parallel for the Use MKL option. Had also place the "libiomp5md.dll" file in the Debug folder.
I did a search online and understand that this error is caused by linking multiple OpenMP libraries. But I did not amend the example code and performing a search in the installed folder, I could not locate "libguide40.lib".
It seems you must have a copy of libguide40.dll present on your run-time search path, presumably to support applications which you linked several years ago with Intel 10.0 or earlier compilers (or MKL 9.x or earlier). It can be difficult to sort this out if you have allowed past Intel software installations to modify the Windows search paths (the settings you can edit in Windows Advanced System Settings>environment variables). If you take care to rebuild all objects with no references to libguide, you shouldn't run into this.