LAPACK Archives

[Lapack] regrading complication


Hi Anshul,

One thing you are missing for sure is the BLAS library. LAPACK needs the BLAS 
library and this is what your first error is about.

Something like:
gfortran eigensystem.f -o exe /home/anshul/libray/lapack-3.5.0/liblapack.a 
/home/anshul/libray/lapack-3.5.0/libblas.a
Might be a little better.

If you do not have libblas.a, then type "make blaslib" in 
/home/anshul/libray/lapack-3.5.0/SRC and then it should be there.

Cheers,
Julien.



From: Anshul Deep Singh Parmar 
<adsp1989xy@Domain.Removed<mailto:adsp1989xy@Domain.Removed>>
Date: Friday, November 28, 2014 at 11:46 PM
To: "lapack@Domain.Removed<mailto:lapack@Domain.Removed>" 
<lapack@Domain.Removed<mailto:lapack@Domain.Removed>>
Subject: Re: [Lapack] regrading complication

if I use
gfortran eigensystem.f -o exe    -L/home/anshul/libray/lapack-3.5.0/liblapack.a

then also error persists.
/tmp/ccd7Ayqq.o: In function `MAIN__':
eigensystem.f:(.text+0x431): undefined reference to `dsyev_'
collect2: error: ld returned 1 exit status


On Sat, Nov 29, 2014 at 12:13 PM, Anshul Deep Singh Parmar 
<adsp1989xy@Domain.Removed<mailto:adsp1989xy@Domain.Removed>> wrote:
Hi Lapack,


                  I have installed lapack-3.5.0 in mu ubuntu machine.
The path is
/home/anshul/libray/lapack-3.5.0

and I am calling DSYEV(JOBZ,UPLO, N, A, LDA, W, WORK, LWORK, INFO)

in my fortran code. The complication command is
gfortran eigensystem.f -o exe    /home/anshul/libray/lapack-3.5.0/liblapack.a

I am getting lot of errors such as:
  /home/anshul/libray/lapack-3.5.0/liblapack.a(dsyev.o): In function `dsyev_':
dsyev.f:(.text+0x59f): undefined reference to `dscal_'
All of such statements.


Please guide be to solve the issue.
--
ANSHUL DEEP SINGH PARMAR,
PhD Student,
Phone: +91-9916341613
"When the mouse laughs at the cat, there certainly is a hole nearby.:)"



--
ANSHUL DEEP SINGH PARMAR,
PhD Student,
Phone: +91-9916341613
"When the mouse laughs at the cat, there certainly is a hole nearby.:)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.eecs.utk.edu/mailman/private/lapack/attachments/20141201/b50cbe60/attachment.html>

<Prev in Thread] Current Thread [Next in Thread>
  • [Lapack] regrading complication, Langou, Julien <=


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or