[Wien] (no subject)

liuzw03 at st.lzu.edu.cn liuzw03 at st.lzu.edu.cn
Fri Aug 26 15:49:29 CEST 2005


Dear Mr. Stefaan Cottenier,
Thank you for your reply.
It is my mistake of missing -L in front of /opt/intel_fc_80/lib. I am very sorry.
I have changed my compiler options as you suggested, which is given below:

O   Compiler options:        -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
L   Linker Flags:            -L/opt/goto -L/opt/mkl721/lib/32 -L/intel_fc_80/lib
-L../SRC_lib -pthread 
P   Preprocessor flags        '-DParallel'
R   R_LIB (LAPACK+BLAS):  -lgoto_northwood-32-r0.99-3 -llapack_lapw -lvml

However, a new mistake came out.
ld: cannot find -llapack_lapw. 
This error message was given in compile.msg in directory
SRC_filtvec,SRC_lapw1,SRC_lapw2,SRC_lapwdm,SRC_lapw7,SRC_lapwso and SRC_qtl.
So how should I deal with it?
Thank you in advance and best wishes.

> The undefined references in hamilt are due to vml. I think you can solve
> it either by removing -DINTEL_VML from the compiler options, or by
> adding -lvml to the linker options (libvml.so can be found in the mkl
> package). 
> 
> I suspect a typing error in the options you sent:
> 
> > O    compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip
> > -DINTEL_VML
> > L    Linker Flags:-L../SRC_lib -L/opt/intel/mkl721/lib/32
> > -/opt/intel_fc_80/lib
> > -L/lib -Vaxlib -pthread 
> > P    preprocessor flags:'-DParallel'
> > R    R_LIB(LAPACK+BLAS):/opt/goto/libgoto_northwood-32-r0.99-3.so
> > -llapack_lapw 
> 
> There is an -L missing in front of your intel_fc_80 (maybe vml is there
> as well?). Also, if you specify the path to goto by -L in your linker
> options, you can simpy use -lgoto_northwood-32-r0.99-3 in the R-line.
> 
> Get inspiration by the following (working) example:
> 
> O   Compiler options:        -FR -mp1 -w -prec_div -pc80 -pad -ip 
> -DINTEL_VML
>      L   Linker Flags:            -L/apps/prod/math-lib/goto 
> -L/apps/prod/math-lib/mkl72/lib/em64t -L/lib64 -L../SRC_lib -pthread 
>      P   Preprocessor flags       '-DParallel'
>      R   R_LIB (LAPACK+BLAS):     -lgoto_opt64-r0.96-2 -llapack_lapw -lvml
> 
> Stefaan
> 
>




More information about the Wien mailing list