[Pw_forum] Problem on compiling espresso-4.3.2
Giovanni Cantele
giovanni.cantele at spin.cnr.it
Tue Jul 17 11:24:41 CEST 2012
ok, the config.log contains the answer, but I guess you didn't
export MKL_PATH=/opt/intel/mkl/lib/intel64/
which is not mandatory, but if you don't do it, you cannot use the variable ${MKL_PATH} but you must specify
for example /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a, etc.
Giovanni
On Jul 17, 2012, at 11:19 AM, Mahdi Faghih nasiri wrote:
> Thank you.
> I've edit the make.sys, But the following occurs:
>
>
>
> linux-0zne:~/Desktop/pwscf/espresso-4.3.2 # ./configure LDFLAGS="-Wl,--start-group ${MKL_PATH}/libmkl_intel_lp64.a ${MKL_PATH}/libmkl_sequential.a ${MKL_PATH}/libmkl_core.a -Wl,--end-group -lpthread -lm"checking build system type... x86_64-unknown-linux-gnu
> checking architecture... x86_64
> checking for ifort... ifort
> configure: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet. If you think this
> configuration is useful to you, please write to autoconf at gnu.org.
> checking for Fortran compiler default output file name...
> configure: error: Fortran compiler cannot create executables
> See `config.log' for more details.
>
>
>
> Mahdi Faghih nasiri
> MSC,
> Guilan University,
> Rasht, Iran.
> From: Giovanni Cantele <giovanni.cantele at spin.cnr.it>
> To: Mahdi Faghih nasiri <mahdi_fn109 at yahoo.com>; PWSCF Forum <pw_forum at pwscf.org>
> Sent: Tuesday, July 17, 2012 1:32 PM
> Subject: Re: [Pw_forum] Problem on compiling espresso-4.3.2
>
>
> On Jul 17, 2012, at 10:51 AM, Mahdi Faghih nasiri wrote:
>
>> Dear all,
>> When I tried to compile espresso-4.3.2 with composer_xe_2011_sp1.6.233, the error "cannot find -lmkl_em64t_nothread" came out.
>> i use this command for installing QE from link below:
>> http://www.democritos.it/pipermail/pw_forum/2011-February/019440.html
>>
>> ./configure BLAS_LIBS="-L/tmp/espresso-4.3.2/install -L/opt/intel/mkl/lib/intel64 -lmkl_em64t_nothread" LAPACK_LIBS="-L/tmp/espresso-4.3.2/install -L/opt/intel/mkl/lib/intel64"
>> make all
>>
>> i think mkl library changed in this version.
>> Please help me to resolve it, thank you in advance!
>>
>>
>> Mahdi Faghih nasiri
>> MSC,
>> Guilan University,
>> Rasht, Iran.
>
>
> try either of the following:
> 1) modify your make.sys according to the following lines:
> LDFLAGS = -static-intel -Wl,--start-group /opt/intel/mkl/lib/intel64//libmkl_intel_lp64.a /opt/intel/mkl/lib/intel64//libmkl_sequential.a /opt/intel/mkl/lib/intel64//libmkl_core.a -Wl,--end-group -lpthread -lm
> BLAS_LIBS = -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
> LAPACK_LIBS =
>
> 2) run the configure script using:
> ./configure LDFLAGS="-Wl,--start-group ${MKL_PATH}/libmkl_intel_lp64.a ${MKL_PATH}/libmkl_sequential.a ${MKL_PATH}/libmkl_core.a -Wl,--end-group -lpthread -lm"
> where MKL_PATH=/opt/intel/mkl/lib/intel64
>
> Anyhow, you can also refer to the following link:
> http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
> where, by selecting the INTEL compiler/mkl version you use and your platform, the correct way of linking to mkl
> is shown.
>
> Giocanni
>
>
> --
>
> **** PLEASE NOTICE THE NEW E-MAIL ADDRESS: giovanni.cantele at spin.cnr.it
>
> Giovanni Cantele, PhD
> CNR-SPIN
> c/o Dipartimento di Scienze Fisiche
> Universita' di Napoli "Federico II"
> Complesso Universitario M. S. Angelo - Ed. 6
> Via Cintia, I-80126, Napoli, Italy
> Phone: +39 081 676910
> Skype contact: giocan74
>
> ResearcherID: http://www.researcherid.com/rid/A-1951-2009
> Web page: http://people.na.infn.it/~cantele
> http://www.nanomat.unina.it
>
>
>
--
**** PLEASE NOTICE THE NEW E-MAIL ADDRESS: giovanni.cantele at spin.cnr.it
Giovanni Cantele, PhD
CNR-SPIN
c/o Dipartimento di Scienze Fisiche
Universita' di Napoli "Federico II"
Complesso Universitario M. S. Angelo - Ed. 6
Via Cintia, I-80126, Napoli, Italy
Phone: +39 081 676910
Skype contact: giocan74
ResearcherID: http://www.researcherid.com/rid/A-1951-2009
Web page: http://people.na.infn.it/~cantele
http://www.nanomat.unina.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20120717/536f64ca/attachment.html>
More information about the users
mailing list