[Wien] Where is the MKL?

2008-04-15 Thread Gerhard Fecher
Libraries are named lib.yy and called to link by -l.

I do not know about the NCM Version,
this type of errors may occure if something in youre setup of the compiler or 
libraries
is not correct. The linker may be confused if different versions are defined by 
ldconfig.
In that case you may need to delete the database file for the dynamical (.so) 
libraries
(I don't have its name on hand) and create a new one by ldconfig.




Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at 
zeus.theochem.tuwien.ac.at] im Auftrag von Pablo de la Mora [delamora at 
servidor.unam.mx]
Gesendet: Montag, 14. April 2008 20:27
An: A Mailing list for WIEN2k users
Betreff: Re: [Wien] Where is the MKL?

Thank you Gerhard,
Yes, my R_LIB options are incomplete, '-pthread' is missing.
The other comment you make is why I use '-lmkl_lapack64', it is
because it is the recommended option, but with '-lmkl_lapack' it
compiles correctly.

What does not compile correctly is 'lapw0' in the WIENNCM package:
the 'dlu.f' program, which seems to be exactly the same as in WIEN2k
gives the following warning:

/opt/intel/mkl/9.1.023/lib/em64t/libmkl_em64t.a(_caxpy_fb.o): In
function `caxpy_':_caxpy_iface.c:(.text+0x0): definiciones m?ltiples de
`caxpy_'
dlu.o:dlu.f:(.text+0x662): primero se defini? aqu?
ld: Aviso: el tama?o del s?mbolo `caxpy_' cambi? de 348 en dlu.o a 278
en /opt/intel/mkl/9.1.023/lib/em64t/libmkl_em64t.a(_caxpy_fb.o)

the same message shows for caxpy, cdotu, cswap, icamax, isamax, sasum,
saxpy, sdot, sscal, sswap

the compiling options are now:
   Current settings:
 O   Compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML
 L   Linker Flags:$(FOPT)
-L/opt/intel/mkl/9.1.023/lib/em64t -lpthread
 P   Preprocessor flags   '-DParallel'
 R   R_LIB (LAPACK+BLAS): -lmkl_lapack -lmkl_em64t -lguide -lvml
-pthread

 Pablo de la Mora

Gerhard Fecher escribi?:
> Youre R_LIB Options seem to be incomplete
> and why do you use -lmkl_lapack64 ?
>
> if you did not set ldconfig -because you like to work with different versions 
> of the libraries- then you always have to give the complete -L option with 
> the libraries.
>
> Did you set all environment variables like LD_LIBRARY_PATH etc. correctly in 
> youre bash.rc ore profile files ?
>
> Gerhard
> 
> Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at 
> zeus.theochem.tuwien.ac.at] im Auftrag von Pablo de la Mora [delamora at 
> servidor.unam.mx]
> Gesendet: Dienstag, 8. April 2008 21:38
> An: A Mailing list for WIEN2k users
> Betreff: [Wien] Where is the MKL?
>
> I am trying to compile the WIEN2k with the Intel package:
> Fortran: fce 10.0.023
> Math Kernel Library mkl 9.1.023
> (this was due to the advice of Gerhard Fecher not to use the latest
> versions, but ifort 10.0 and mkl 9.1)
>
> I have a Athlon x2 with Fedora
> With these options I get an error in the most important packages:
> for example in
> SRC_lapw1/compile.msg
> I get:
> ld: no se puede encontrar -lmkl_lapack64  (==> lmkl_lapack64 cannot be
> found!)
>
> I use the usual compilation options:
> O   Compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip
> -DINTEL_VML
> L   Linker Flags:$(FOPT) -L/opt/intel/mkl/9.1.023/lib/em64t
> -lpthread
> P   Preprocessor flags   '-DParallel'
> R   R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide
>
> I have in the PATH
> PATH=$PATH:/opt/intel/fce/10.0.023/bin
>
> what definition I am missing or having wrong?
> ___
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> ___
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>

___
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien


[Wien] Where is the MKL?

2008-04-14 Thread Pablo de la Mora
Thank you Gerhard,
Yes, my R_LIB options are incomplete, '-pthread' is missing.
The other comment you make is why I use '-lmkl_lapack64', it is 
because it is the recommended option, but with '-lmkl_lapack' it 
compiles correctly.

What does not compile correctly is 'lapw0' in the WIENNCM package:
the 'dlu.f' program, which seems to be exactly the same as in WIEN2k 
gives the following warning:

/opt/intel/mkl/9.1.023/lib/em64t/libmkl_em64t.a(_caxpy_fb.o): In 
function `caxpy_':_caxpy_iface.c:(.text+0x0): definiciones m?ltiples de 
`caxpy_'
dlu.o:dlu.f:(.text+0x662): primero se defini? aqu?
ld: Aviso: el tama?o del s?mbolo `caxpy_' cambi? de 348 en dlu.o a 278 
en /opt/intel/mkl/9.1.023/lib/em64t/libmkl_em64t.a(_caxpy_fb.o)

the same message shows for caxpy, cdotu, cswap, icamax, isamax, sasum, 
saxpy, sdot, sscal, sswap

the compiling options are now:
   Current settings:
 O   Compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip 
-DINTEL_VML
 L   Linker Flags:$(FOPT) 
-L/opt/intel/mkl/9.1.023/lib/em64t -lpthread
 P   Preprocessor flags   '-DParallel'
 R   R_LIB (LAPACK+BLAS): -lmkl_lapack -lmkl_em64t -lguide -lvml 
-pthread

 Pablo de la Mora

Gerhard Fecher escribi?:
> Youre R_LIB Options seem to be incomplete
> and why do you use -lmkl_lapack64 ?
>
> if you did not set ldconfig -because you like to work with different versions 
> of the libraries- then you always have to give the complete -L option with 
> the libraries.
>
> Did you set all environment variables like LD_LIBRARY_PATH etc. correctly in 
> youre bash.rc ore profile files ?
>
> Gerhard
> 
> Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at 
> zeus.theochem.tuwien.ac.at] im Auftrag von Pablo de la Mora [delamora at 
> servidor.unam.mx]
> Gesendet: Dienstag, 8. April 2008 21:38
> An: A Mailing list for WIEN2k users
> Betreff: [Wien] Where is the MKL?
>
> I am trying to compile the WIEN2k with the Intel package:
> Fortran: fce 10.0.023
> Math Kernel Library mkl 9.1.023
> (this was due to the advice of Gerhard Fecher not to use the latest
> versions, but ifort 10.0 and mkl 9.1)
>
> I have a Athlon x2 with Fedora
> With these options I get an error in the most important packages:
> for example in
> SRC_lapw1/compile.msg
> I get:
> ld: no se puede encontrar -lmkl_lapack64  (==> lmkl_lapack64 cannot be
> found!)
>
> I use the usual compilation options:
> O   Compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip
> -DINTEL_VML
> L   Linker Flags:$(FOPT) -L/opt/intel/mkl/9.1.023/lib/em64t
> -lpthread
> P   Preprocessor flags   '-DParallel'
> R   R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide
>
> I have in the PATH
> PATH=$PATH:/opt/intel/fce/10.0.023/bin
>
> what definition I am missing or having wrong?
> ___
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> ___
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>   



[Wien] Where is the MKL?

2008-04-09 Thread Dr. Sharat Chandra
Hi

You have to run the proper mklvars*.sh or mklvars*.csh file depending on 
your shell (whether bash or csh/tcsh) at the login time (put it in the 
.bashrc or .tcshrc).

Regards
Sharat Chandra



[Wien] Where is the MKL?

2008-04-09 Thread Gerhard Fecher
Youre R_LIB Options seem to be incomplete
and why do you use -lmkl_lapack64 ?

if you did not set ldconfig -because you like to work with different versions 
of the libraries- then you always have to give the complete -L option with the 
libraries.

Did you set all environment variables like LD_LIBRARY_PATH etc. correctly in 
youre bash.rc ore profile files ?

Gerhard

Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at 
zeus.theochem.tuwien.ac.at] im Auftrag von Pablo de la Mora [delamora at 
servidor.unam.mx]
Gesendet: Dienstag, 8. April 2008 21:38
An: A Mailing list for WIEN2k users
Betreff: [Wien] Where is the MKL?

I am trying to compile the WIEN2k with the Intel package:
Fortran: fce 10.0.023
Math Kernel Library mkl 9.1.023
(this was due to the advice of Gerhard Fecher not to use the latest
versions, but ifort 10.0 and mkl 9.1)

I have a Athlon x2 with Fedora
With these options I get an error in the most important packages:
for example in
SRC_lapw1/compile.msg
I get:
ld: no se puede encontrar -lmkl_lapack64  (==> lmkl_lapack64 cannot be
found!)

I use the usual compilation options:
O   Compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML
L   Linker Flags:$(FOPT) -L/opt/intel/mkl/9.1.023/lib/em64t
-lpthread
P   Preprocessor flags   '-DParallel'
R   R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide

I have in the PATH
PATH=$PATH:/opt/intel/fce/10.0.023/bin

what definition I am missing or having wrong?
___
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien


[Wien] Where is the MKL?

2008-04-08 Thread Ricardo Faccio
Dear Pablo
Did you check your /etc/ld.so.conf  file?
It must include all your libraries, for example:
/opt/intel/fc/10.0.026/lib

/opt/intel/mkl/9.1.023/lib/em64t

Best regards

Ricardo
-
-   Dr. Ricardo Faccio

  Mail: Cryssmat-Lab., C?tedra de F?sica, DETEMA
  Facultad de Qu?mica, Universidad de la Rep?blica
   Av. Gral. Flores 2124, C.C. 1157
   C.P. 11800, Montevideo, Uruguay.
  E-mail: rfaccio at fq.edu.uy
  Phone: 598 2 9241860 Int. 109
 598 2 9290705
  Fax:598 2 9241906
  Web:  http://cryssmat.fq.edu.uy/ricardo/ricardo.htm
- Original Message - 
From: "Pablo de la Mora" 
To: "A Mailing list for WIEN2k users" 
Sent: Tuesday, April 08, 2008 4:38 PM
Subject: [Wien] Where is the MKL?


>I am trying to compile the WIEN2k with the Intel package:
> Fortran: fce 10.0.023
> Math Kernel Library mkl 9.1.023
> (this was due to the advice of Gerhard Fecher not to use the latest
> versions, but ifort 10.0 and mkl 9.1)
>
> I have a Athlon x2 with Fedora
> With these options I get an error in the most important packages:
> for example in
> SRC_lapw1/compile.msg
> I get:
> ld: no se puede encontrar -lmkl_lapack64  (==> lmkl_lapack64 cannot be
> found!)
>
> I use the usual compilation options:
> O   Compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip
> -DINTEL_VML
> L   Linker Flags:$(FOPT) -L/opt/intel/mkl/9.1.023/lib/em64t
> -lpthread
> P   Preprocessor flags   '-DParallel'
> R   R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide
>
> I have in the PATH
> PATH=$PATH:/opt/intel/fce/10.0.023/bin
>
> what definition I am missing or having wrong?
> ___
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.8/1363 - Release Date: 
> 07/04/2008 8:56
>
> 



[Wien] Where is the MKL?

2008-04-08 Thread Pablo de la Mora
I am trying to compile the WIEN2k with the Intel package:
Fortran: fce 10.0.023
Math Kernel Library mkl 9.1.023
(this was due to the advice of Gerhard Fecher not to use the latest 
versions, but ifort 10.0 and mkl 9.1)

I have a Athlon x2 with Fedora
With these options I get an error in the most important packages:
for example in
SRC_lapw1/compile.msg
I get:
ld: no se puede encontrar -lmkl_lapack64  (==> lmkl_lapack64 cannot be 
found!)

I use the usual compilation options:
O   Compiler options:-FR -mp1 -w -prec_div -pc80 -pad -ip 
-DINTEL_VML
L   Linker Flags:$(FOPT) -L/opt/intel/mkl/9.1.023/lib/em64t 
-lpthread
P   Preprocessor flags   '-DParallel'
R   R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide

I have in the PATH
PATH=$PATH:/opt/intel/fce/10.0.023/bin

what definition I am missing or having wrong?