Page 1 of 1

How to set BLAS route for an Athlon cpu?

Posted: Mon Aug 25, 2008 10:20 am
by d1018
Dear all,
I want to compile vasp 4.6 on my pc. But the compiler cannot find the file "libmkl_intel_lp64.a" . I went for google and made some changes in the path, but all failed.
Thank you
----------------------------------------
CPU : AMD Athlon 2 5000+
OS : centOS 5.2 x86_64
Compiler : Intel Fortran Compiler version 9.1
Library : Intel MKL version 10.0.4.023
----------------------------------------
error information
----------------------------------------
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t//libguide.so when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t//libguide.a when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t//libguide.so when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t//libguide.a when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t/libguide.so when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t/libguide.a when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/64/libguide.so when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/64/libguide.a when searching for -lguide
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t//libmkl_lapack.so when searching for -lmkl_lapack
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t//libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t//libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a(_DftiCreateDescriptorDM1_fortran_lp64.o): warning: sh_link not set for section `.IA_64.unwind'
ld: skipping incompatible /opt/intel/mkl/10.0.4.023/lib/64/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: cannot find libmkl_intel_lp64.a
make: *** [vasp] Error 1
----------------------------------------------
my makefile
----------------------------------------------
#BLAS= $(HOME)/OPT/src/vasp.4.6/libgoto_opteron-32-r0.99.so -lpthread
BLAS= -L/opt/intel/mkl/10.0.4.023/lib/em64t/ -lmkl_em64t -lguide -lpthread
#BLAS= /opt/libs/libgoto/libgoto_p4_512-r0.6.so


# LAPACK, simplest use vasp.4.lib/lapack_double
LAPACK= -lmkl_lapack

#-----------------------------------------------------------------------

LIB = -L../vasp.4.lib -ldmy \
../vasp.4.lib/linpack_double.o $(LAPACK) \
$(BLAS)

# options for linking (for compiler version 6.X, 7.1) nothing is required
LINK = -lsvml -L/opt/intel/mkl/10.0.4.023/lib/em64t/
# compiler version 7.0 generates some vector statments which are located
# in the svml library, add the LIBPATH and the library (just in case)
#LINK = -L/opt/intel/compiler70/ia32/lib/ -lsvml
-------------------------------------------------------------
:)

<span class='smallblacktext'>[ Edited ]</span>

Re: How to set BLAS route for an Athlon cpu?

Posted: Wed Sep 04, 2024 12:12 pm
by support_vasp

Hi,

We're sorry that we didn’t answer your question. This does not live up to the quality of support that we aim to provide. The team has since expanded. If we can still help with your problem, please ask again in a new post, linking to this one, and we will answer as quickly as possible.

Best wishes,

VASP