- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's the code (intel.sandbox.cpp):
#include "mkl_vsl.h"
int main() {
VSLStreamStatePtr stream_state;
vslNewStream( &stream_state, VSL_BRNG_R250, 1232);
}
What is the simplest way to compile this if I am using:
g++ -I/opt/intel/mkl/10.2.2.025/include intel.sandbox.cpp -L/opt/intel/mkl/10.2.2.025/lib/32/
I realize that I did not include any -lmkl_* I have tried at least 40 variations. There is no global -lmkl in my library.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Dan Connors
Here's the code (intel.sandbox.cpp):
#include "mkl_vsl.h"
int main() {
VSLStreamStatePtr stream_state;
vslNewStream( &stream_state, VSL_BRNG_R250, 1232);
}
What is the simplest way to compile this if I am using:
g++ -I/opt/intel/mkl/10.2.2.025/include intel.sandbox.cpp -L/opt/intel/mkl/10.2.2.025/lib/32/
I realize that I did not include any -lmkl_* I have tried at least 40 variations. There is no global -lmkl in my library.
Please see the article how to link the mkl libraries

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page