Re: Problems with CLAPACK SVD routines on OS X
- From: mecej4 <mecej4@xxxxxxxxxxxxx>
- Date: Wed, 08 Aug 2007 17:38:37 -0500
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, 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:
- References:
- Problems with CLAPACK SVD routines on OS X
- From: Robert V.
- Re: Problems with CLAPACK SVD routines on OS X
- From: H.S.
- Problems with CLAPACK SVD routines on OS X
- Prev by Date: Re: Problems with CLAPACK SVD routines on OS X
- Next by Date: Re: Problems with CLAPACK SVD routines on OS X
- 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
|