Re: Problems with CLAPACK SVD routines on OS X



Robert V. wrote:
The framework flag is an option for gcc/g++ on OS X machines. vecLib
is the framework with all the optimized vector libraries. I did
discover yesterday that it also works to use the following compile
line:

g++ svd_test.cpp -I/usr/local/include -L/usr/lib -lclapack -o svd

So if you have a non-Apple system and you want to compile this code, I
think you should just be able to replace the vecLib include line, with
#include "clapack.h".

I do not have clapack. However, I have the lapack library on my Debian
system (Etch), so I do not need clapack.h header. The only difference is
that you are using the C version of the library and I am using the one
compiled from the Fortran source. End result should be the same though.

Thanks for the input file below. However, before I try to test it out
(having a bit of a snag during compiling your example), could you try
compiling your own example program by adding the following compiler
switches:
-std=c++98 -pedantic -Wall

and show me the output here?

Thanks,
->HS

.



Relevant Pages

  • Re: Carrying Libraries on Your Back...
    ... > Why not build on an installed based of assemblies, ... > than porting libraries around, ... download source code ... compile local source against header files ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Using Lattice ispLEVER with VHDL libraries
    ... I am assuming there are some advantages to using the IDE rather than ... I also can't see to get Modelsim to work with ispLever, ... You will have to read about the tool you use to specify compile ... user defined libraries to get things to go under ispLever. ...
    (comp.arch.fpga)
  • Re: Getting started on the HP49g+
    ... either the original HP extable lib ... extable2 lib from http://www.hpcalc.org/details.php?id=3940. ... ask again if you have any problem installing libraries. ... compile the string with ASM (listed in the development lib menu, ...
    (comp.sys.hp48)
  • Re: hid.dll & VC++ 6
    ... but never to compile code based upon any current WDK. ... I'm tasked with writing an application to communicate with a USB card ... missing ')' before identifier 'HIDP_REPORT_TYPE' ... pointed it at the headers and libraries and it worked for a bit until i ...
    (microsoft.public.win32.programmer.kernel)
  • Re: <ctype.h> toLower()
    ... If it's a free standing implimentation, then the scope of the standard is ... > considering portability if makes a heck of a big difference.. ... the code you write will work on /any/ machine you compile it for (if ... the platforms provide the same libraries or even the same program entry ...
    (alt.comp.lang.learn.c-cpp)