[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Implementation of BLAS in C

Posted on 2008-11-18
13
Medium Priority
?
675 Views
Last Modified: 2013-11-13
Hi Experts

Is their BLAS available in C? if so, I want to implement BLAS-3 in C. How can I do it?
(I may be using VC++ in a typical windows environment). Kindly give me clue like what is the include library and what are the methods available?
0
Comment
Question by:thirst4truth
  • 4
  • 3
  • 3
  • +1
13 Comments
 
LVL 13

Assisted Solution

by:Kelvin_King
Kelvin_King earned 1000 total points
ID: 22992591
Apprently there is:

http://math.nist.gov/spblas/

Hope that helps
- Kelvin
0
 
LVL 13

Assisted Solution

by:Kelvin_King
Kelvin_King earned 1000 total points
ID: 22992598
The library is implemented in C++. You just include it in your Visual C++ project and use the API.

- Kelvin
0
 
LVL 53

Assisted Solution

by:Infinity08
Infinity08 earned 600 total points
ID: 22992799
"Are optimized BLAS libraries available? Where can I find optimized BLAS libraries?" :

        http://www.netlib.org/blas/faq.html#5


"Is there a C interface to the BLAS?" :

        http://www.netlib.org/blas/faq.html#7
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Assisted Solution

by:jdpipe
jdpipe earned 400 total points
ID: 22993295
Here is an installer for GSL for Windows which includes its own C blas as well as many other useful things. It's packaged for use with the MinGW compiler, but you might be able to use it with VC++ too, with a little effort.

http://ascendwiki.cheme.cmu.edu/Binary_installer_for_GSL-1.11_on_MinGW
0
 

Accepted Solution

by:
thirst4truth earned 0 total points
ID: 22994248
is BLAS are available in VC++ 2005 or 2008 express edition?

I was trying to compile the program, I am getting the following error:

fatal error C1083: Cannot open include file: 'blas_dense.h': No such file or directory
0
 
LVL 7

Expert Comment

by:jdpipe
ID: 23001610
You'll get the help you need by emailing the 'gsl-help' list:
http://lists.gnu.org/mailman/listinfo/help-gsl

Good luck...
JP
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 23001977
>> I am not satisfied with the solution.

What is it that you are not satisfied about ? What further information do you need ? Didn't any of the suggested options work for you ?
0
 

Author Comment

by:thirst4truth
ID: 23003151
If I were to answer the solution I would have said the following :-

1) Install VC++ 2005 and Intel MKL (for trial period).
2) Follow the link http://www.intel.com/support/performancetools/libraries/mkl/win/sb/cs-017282.htm for Compiling and Linking Intel MKL with Microsoft* Visual C/C++*
3)Read the guide http://www.dcsc.sdu.dk/docs/intel-mkl/mklman52.pdf for start programming.
4)I would have also provided a sample working (hello) program.

Just providing a random link with insufficient information won't do.
I have seen those links even before posting question at expert-exchange.

Thank you.
SK
0
 
LVL 7

Expert Comment

by:jdpipe
ID: 23003194
You asked a question about BLAS, not about how to get started with a commercial development platform. Ask the right question and you'll get the right answer. Go away.
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 23003265
>> Just providing a random link with insufficient information won't do.

What I posted is not a random link. netlib.org is the official (reference) site for BLAS. The FAQ I mentioned explains how to use it in C, which was exactly what your question was. They defined a C interface, and all information about it is mentioned in that link.

Others have posted specific implementations.


The solution you mention is Intel and Visual C++ specific. Next time, you could be more specific about what it is you need from us. Rather than asking how to use BLAS in C, you could say that you need specific step-by-step instructions for a specific architecture and a specific compiler/IDE, including installation of the IDE, and a working example. None of that was in your question, so you can't blame us for not knowing what you really wanted.
0
 

Author Comment

by:thirst4truth
ID: 23003269
Hi jdpipe

I am not doing commercial development, it is college research.

My question was :

is BLAS are available in VC++ 2005 or 2008 express edition?

And i found one solution by myself.

if you can't understand the question or if you are not capable of answering the question, you better go away. If you are suggesting somebody, imagine yourself in that person's shoes. Just providing a random link or fake suggestion fora  beginner may reward you points but not the solution for the seeker.

If you are so much worried about your points, let me know I can reward you all 500 points! ha.

You should first of all learn professionalism in your manners.

You need to apologize me.

SK
0
 

Author Comment

by:thirst4truth
ID: 23003758
Hi jdpipe

If there is misunderstanding in a question or solution, that has to clarified. It is quit obvious in professional environment.

However, I have least tolerance to misbehavior . Who are you to say "Go away".  

If you are arrogant, better sit at home.

This is not what I expected in this forum.

SK






0
 
LVL 13

Expert Comment

by:Kelvin_King
ID: 23003844
This is getting ugly...
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Loops Section Overview

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question