Re: Problems with CLAPACK SVD routines on OS X
- From: "H.S." <hs.saDELETEMEmix@xxxxxxxxx>
- Date: Wed, 08 Aug 2007 21:08:10 -0400
mecej4 wrote:
H.S. wrote:
Robert V. wrote:<<--C U T-->>
Hello,
#include <vecLib/vecLib.h>
I am not familiar with this header file. What does it do and why do you
need it?
So that he does not generate all the error messages below! Obviously,
I see that one of the errors is due to the absence of this file. How is
it obvious that the others are due to this as well?
Note that the OP is new to C++ source code and is using examples to try
out the library. He may have got the header line from some example and
just never thought about it in his own. This happens. I wanted to make
sure if this was the case.
->HS
the header file contains needed definitions, in the absence of which.
compilation will not be successful.
-- mecej4
<<--C U T-->>
I wanted to run this code of yours (I have lapack libraries installed on
my Linux system) but I do not have a data file that you are trying to
read. But I couldn't get the program compiled ....
g++ svd_test.cpp -I/usr/local/include -framework vecLib -o svd
... If I try to compile your program, I get (after excluding fstream and
sstream headers):
$> g++ testsvn.cc ~/lib/lapack_LINUX.a -I~/include/ -o testsvd
testsvn.cc:1:27: error: vecLib/vecLib.h: No such file or directory
testsvn.cc: In function ‘int main(int, char**)’:
testsvn.cc:27: error: variable ‘std::ifstream infile’ has initializer
but incomplete type
testsvn.cc:46: error: variable ‘std::istringstream s’ has initializer
but incomplete type
testsvn.cc:85: error: variable ‘std::istringstream s’ has initializer
but incomplete type
testsvn.cc:91: error: statement cannot resolve address of overloaded
function
testsvn.cc:122: error: ‘dgesvd_’ was not declared in this scope
- Follow-Ups:
- Re: Problems with CLAPACK SVD routines on OS X
- From: Robert V.
- Re: Problems with CLAPACK SVD routines on OS X
- References:
- Problems with CLAPACK SVD routines on OS X
- From: Robert V.
- Re: Problems with CLAPACK SVD routines on OS X
- From: H.S.
- Re: Problems with CLAPACK SVD routines on OS X
- From: mecej4
- Problems with CLAPACK SVD routines on OS X
- Prev by Date: Re: Problems with CLAPACK SVD routines on OS X
- Next by Date: EM and MCMC: Workhorses for Scientific Computing
- Previous by thread: Re: Problems with CLAPACK SVD routines on OS X
- Next by thread: Re: Problems with CLAPACK SVD routines on OS X
- Index(es):
Relevant Pages
|
Loading