Hi Huan, no problem at all, I am not sure I am being of much help! Also, I
transfer any thanks to deal.ii ppl for making it open source!!

I am wondering if your lib path config is correct? Any chance the
LD_LIBRARY_PATH does not point to the blas/lapack libraries? Can you try to
compile this code? link line would be something like :

ifort lpk.f -I(MKL_ROOT)/include/em64t/
lp64/ -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core
-liomp5

      PROGRAM main
      use lapack95, only: gesv
      implicit none
      integer :: n, nrhs
      complex, allocatable :: a(:,:), aa(:,:), b(:,:), bb(:,:)
      complex, allocatable :: mm(:,:), mm2(:,:)
      real, allocatable :: ar(:,:),ai(:,:),br(:,:),bi(:,:)
      n=4; nrhs=4
      allocate(ar(n,n),ai(n,n),a(n,n),aa(n,n),br(n,nrhs),bi(n,nrhs))
      allocate(b(n,nrhs), bb(n,nrhs), mm(n,nrhs), mm2(n,nrhs) )
      call random_number(ar)
      call random_number(ai)
      call random_number(br)
      call random_number(bi)
      aa=ar+(0.,1.)*ai
      bb=br+(0.,1.)*bi
      a=aa; b=bb
      call gesv(a,b)
      mm = matmul(aa,b)
      mm2 = mm - bb
      write(*,*) mm2
      end PROGRAM main

Aside from what Wolfgang suggested could you try this out and see if your
blas installation is actually ok, aside from the libs being in
LD_LIBRARY_PATH?

Cheers,

C.S.N



On Mon, Feb 22, 2010 at 1:29 PM, Wolfgang Bangerth
<[email protected]>wrote:

>
> > configure: error: BLAS library not installed correctly(mkl_intel_lp64
> > -Wl,--start-group -lmkl_intel_thread -lmkl_core -Wl,--end-group -lguide
> > -lpthread)
>
> You should take a look into config.log to see what the error is that leads
> to
> this message.
>
> Best
>  W.
>
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [email protected]
>                                 www: 
> http://www.math.tamu.edu/~bangerth/<http://www.math.tamu.edu/%7Ebangerth/>
>
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to