The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

lapack-3.1.1

Open discussion regarding features, bugs, issues, vendors, etc.

lapack-3.1.1

Postby Zahra » Sun Aug 03, 2008 5:31 am

Hi all,

I have installed lapack-3.1.1 on my linux machin on the home directory (/home/lapack-3.1.1). Lapack folder includes these parts:

blas_LINUX.a html lapack_LINUX.a make.inc manpages SRC tmglib_LINUX.a
BLAS COPYING INSTALL Makefile make.inc.example README TESTING

But I can't link my code with this installed library. Can anyone help me with the suitable command needed?


All the best,
Zahra
Zahra
 
Posts: 13
Joined: Fri May 09, 2008 1:11 pm

Re: lapack-3.1.1

Postby Julie » Mon Aug 04, 2008 1:31 pm

You should use something like:
Code: Select all
"Fortran compiler" -o myprog -c myprog.f "pathtolapacklibrary"/lapack.a "pathtoblaslibrary"/blaslibrary.a

the blaslibrary could be the ref blas (provided with the lapack package) or any optimized blas library (goto, atlas, acml. mkl, etc...)

For example:
Code: Select all
gfortran -o myprog -c myprog.f /home/user/lib/lapack.a /home/user/lib/refblas.a
Julie
 
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado

Re: lapack-3.1.1

Postby Zahra » Mon Aug 04, 2008 4:08 pm

Thanks Julie. It worked.
Zahra
 
Posts: 13
Joined: Fri May 09, 2008 1:11 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 8 guests