🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.math.num-analysis
Article #1303

LAPACK & TNT

#1303
From: wroot
Date: Wed, 30 Aug 2000 00:00
28 lines
1701 bytes
HI,

I'm trying to solve the eigenvalue / eigenvector problem in C++ (I need
both). TNT ( http://math.nist.gov/tnt/ ) doesn't have an eigenvalue
problem routine of its own, but it has a lapack.h header file that
supposedly calls LAPACK Fortran subroutines for this.

I installed LAPACK and BLAS RPMs on my Redhat system, however, linking
with lapack doesn't work: When I do

g++ -llapack -o f f.o
or
g++ -llapack -lblas -o f f.o

the linker ld tells me that a bunch of refrences are undefined (
 e_wsfe z_abs c_sqrt s_cmp r_lg10 z_exp c_exp etime_ c_div do_fio pow_dd
z_sqrt s_cat s_stop c_abs d_lg10 z_div s_wsfe s_copy)
Using "grep" I figured out that they are only encountered in lapack
library files.

How can I get this to link? TNT doesn't not provide any documentation
to speak of or support for linking to Fortran routines.

Wroot


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <8ojqj7$8tp$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,84c96c38d1efb0f2,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1094ba,84c96c38d1efb0f2,start
X-Google-Attributes: gid1094ba,public
X-Google-Thread: 107079,84c96c38d1efb0f2,start
X-Google-Attributes: gid107079,public
From: wroot@my-deja.com
Subject: LAPACK & TNT
Date: 2000/08/30
Message-ID: <8ojqj7$8tp$1@nnrp1.deja.com>
X-Deja-AN: 664465525
X-Http-Proxy: 1.0 x69.deja.com:80 (Squid/1.1.22) for client 156.111.29.82
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Wed Aug 30 20:25:40 2000 GMT
X-MyDeja-Info: XMYDJUIDwroot
Newsgroups: sci.math.num-analysis,comp.lang.fortran,gnu.gcc.help
X-Http-User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-6.1.1smp i686)