- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't entirely understand what you're trying to do but you'll get CBLAS by linking to mkl_core.lib. You will find header file(s) in
The word of warning, be aware that CBLAS is C interface to BLAS (written in FORTRAN) so you'll have some issues to resolve/address.
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
schmmd,
Assuming you are talking about CBLAS,
- the header file is mkl_cblas.h
- You can either call the FORTRAN functions directly from C/C++ (or) use the C interface functions provided in CBLAS to call the functions. I personally find the C interface functions easier to call, but the FORTRAN interfaces also work when called directly from C/C++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After 2.5 years, we have included a C header file (mkl_blacs.h)which should make it easier to directly use the BLACS from C++. We don't have a C interface, so you'll need to make the necessary adjustments for calling functions written in Fortran. The header file might help you.
Is there a particular BLACS function that interests you? WhycallBLACS functions from your app for communication rather than using MPI?
Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tarek, Here's what I mean:
It sounds like you have a C++ application and you want to use PBLAS. Everything should work just fine for you to do so without even considering the question of the existence of the BLACS for the C++ user. The BLACS are there in Intel MKLand the PBLAS that are in Intel MKL should call them correctly without any direct interaction with your C++ application. In my (somewhat limited) experience I haven't seen people using the BLACS directly (from C++ or Fortran).
Now if you do need some communication in your application---outside of, or in support of your use of the PBLAS---then we'd expect you to use MPI communication functions rather than using the BLACS.
But, if I've missed something let us know a little more about your direct use of theBLACS.
Todd
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page