Vorticity
Fluid Mechanic
- Joined
- Apr 4, 2002
- Messages
- 2,677
I normally wouldn't bother the folks here with this, but I've been struggling with this problem for days, and it's driving me mad. I figured some of the computer gurus here might be able to help me. Keep in mind while reading this that I am a bare beginner in just about everything you can think of related to this.
I have (very, very) rudimentary C++ programming skills, and I've been using them to write some code to perform some numerics for my research. Lately, I have an application that requires a lot of linear algebra (find eigenvalues, Cholesky decompositions, etc. Never mind if you don't know what that stuff is, it's not important.). There exists a package of C++ routines for all of this called lapack++. I've been struggling for a long time trying to install some version of this on my machine, and make it work.
My understanding is that lapack++ should consist of a bunch of "header files" that contain definitions of functions (I have a vague idea of what a "header file" is.)
1) I'm running Windows ME (I know, I know...)
2) To compile my C++ code, I use Microsoft Visual Studio 6.0 (I know, I know...). I have no idea how to use the "command line compiler". I only found out what a "command line compiler" was recently.
Info about lapack++ can be found at the following locations (to name a few, there are many, see Google):
http://math.nist.gov/lapack++/
http://www.netlib.org/lapack++/
Almost universally, all info and versions of lapack++ online assume you are using Unix/Linux. I, alas, am not. There are a few implementations you can download that claim[\i] to be for Windows, but often the documentation is still written for Unix.
There are some implementations of lapack++ for windows at various sites, for example:
http://sourceforge.net/projects/lapackpp
I downloaded the "setup.exe" from the "download" link on this site. I let it do its setup, but nothing special happened when it was done. No lapack++ functions became available. Then the guessing began. I took all of the ".h" files that came with it and put them in the directory with all of the other .h files that Microsoft Visual Studio uses. Nothing happens when I include the "lapack++.h" header. Just a lot of errors.
I'm absolutely baffled. Most versions of lapack++ online either require you to have a fortran compiler for some arcane purpose (I don't have one), or they require you to "make" a file (I don't know what that means or how to do it. Isn't it a Unix thing?). Even if I had a fortran compiler and all of that, I'd have no clue what to do with it.
So can anyone here help me? I need some step-by-step instructions that explain at a rudimentary two-year-old level how to make any of the lapack++ packages from online go.
Thanks very, very much for any help.
I have (very, very) rudimentary C++ programming skills, and I've been using them to write some code to perform some numerics for my research. Lately, I have an application that requires a lot of linear algebra (find eigenvalues, Cholesky decompositions, etc. Never mind if you don't know what that stuff is, it's not important.). There exists a package of C++ routines for all of this called lapack++. I've been struggling for a long time trying to install some version of this on my machine, and make it work.
My understanding is that lapack++ should consist of a bunch of "header files" that contain definitions of functions (I have a vague idea of what a "header file" is.)
1) I'm running Windows ME (I know, I know...)
2) To compile my C++ code, I use Microsoft Visual Studio 6.0 (I know, I know...). I have no idea how to use the "command line compiler". I only found out what a "command line compiler" was recently.
Info about lapack++ can be found at the following locations (to name a few, there are many, see Google):
http://math.nist.gov/lapack++/
http://www.netlib.org/lapack++/
Almost universally, all info and versions of lapack++ online assume you are using Unix/Linux. I, alas, am not. There are a few implementations you can download that claim[\i] to be for Windows, but often the documentation is still written for Unix.
There are some implementations of lapack++ for windows at various sites, for example:
http://sourceforge.net/projects/lapackpp
I downloaded the "setup.exe" from the "download" link on this site. I let it do its setup, but nothing special happened when it was done. No lapack++ functions became available. Then the guessing began. I took all of the ".h" files that came with it and put them in the directory with all of the other .h files that Microsoft Visual Studio uses. Nothing happens when I include the "lapack++.h" header. Just a lot of errors.
I'm absolutely baffled. Most versions of lapack++ online either require you to have a fortran compiler for some arcane purpose (I don't have one), or they require you to "make" a file (I don't know what that means or how to do it. Isn't it a Unix thing?). Even if I had a fortran compiler and all of that, I'd have no clue what to do with it.
So can anyone here help me? I need some step-by-step instructions that explain at a rudimentary two-year-old level how to make any of the lapack++ packages from online go.
Thanks very, very much for any help.