Re: Fortran, Lapack

1999-12-07 Thread Oleg Krivosheev
On Tue, 7 Dec 1999, Igor Mozetic wrote: > > How does one compile a Fortran program with Lapack library ??? > I tried: > > # g77 File.for > /tmp/ccRuoSL4.o: In function `MAIN__': > /tmp/ccRuoSL4.o(.text+0x954): undefined reference to `dsbtrd_' > /tmp/ccRuoSL4.o(.text+0x9b2): undefined reference t

Re: Fortran, Lapack

1999-12-07 Thread E.L. Meijer \(Eric\)
On Tue, Dec 07, 1999 at 11:42:55AM +0100, Igor Mozetic wrote: > > How does one compile a Fortran program with Lapack library ??? > I tried: > > # g77 File.for missing library > # g77 -lliblapack File.for wrong switch > # g77 -L/usr/lib -lliblapack File.for wrong switch plus superfluous optio

Re: Fortran, Lapack

1999-12-07 Thread Peter Ross
On 07-Dec-1999, Igor Mozetic <[EMAIL PROTECTED]> wrote: > > How does one compile a Fortran program with Lapack library ??? > I tried: > # g77 File.for -llapack You don't need the lib at the start because it is automatically added. # g77 File.for /usr/lib/liblapack.a would probably also work.

Fortran, Lapack

1999-12-07 Thread Igor Mozetic
How does one compile a Fortran program with Lapack library ??? I tried: # g77 File.for /tmp/ccRuoSL4.o: In function `MAIN__': /tmp/ccRuoSL4.o(.text+0x954): undefined reference to `dsbtrd_' /tmp/ccRuoSL4.o(.text+0x9b2): undefined reference to `dpteqr_' collect2: ld returned 1 exit status Of cours