[Pw_forum] Fortran 77 compiler cannot create executables
Ary Junior
aryjunior at gmail.com
Mon Jul 21 15:18:46 CEST 2008
Please, I'm trying to compile the PWscf v.4.0cvs with the Intel Fortran
Compiler and MKL. When I do:
export PATH=/opt/intel/cc/10.1.008/bin:$PATH
export PATH=/opt/intel/fc/10.1.008/bin:$PATH
export LDFLAGS="-i-static -openmp"
export BLAS_LIBS="-L/opt/intel/mkl/10.0.1.014/lib/em64t/ -lmkl_em64t"
export FFT_LIBS=-lessl
./configure
I get:
checking build system type... x86_64-unknown-linux-gnu
checking architecture... amd64
checking for ifort... ifort
checking for Fortran 77 compiler default output file name... configure:
error: Fortran 77 compiler cannot create executables
See `config.log' for more details.
The relevant config.log content is:
...
configure:1665: ifort -V </dev/null >&5
Intel(R) Fortran Compiler for applications running on IA-32, Version 10.1
Build 20070913 Package ID: l_fc_p_10.1.008
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
configure:1668: $? = 0
configure:1682: checking for Fortran 77 compiler default output file name
configure:1685: ifort -i-static -openmp conftest.f >&5
ld: skipping incompatible /usr/lib/libm.so when searching for -lm
ld: skipping incompatible /usr/lib/libm.a when searching for -lm
ld: skipping incompatible /usr/bin/../lib/libm.so when searching for -lm
ld: skipping incompatible /usr/bin/../lib/libm.a when searching for -lm
ld: skipping incompatible /usr/lib/libm.so when searching for -lm
ld: skipping incompatible /usr/lib/libm.a when searching for -lm
ld: cannot find -lm
configure:1688: $? = 1
configure: failed program was:
| program main
|
| end
configure:1727: error: Fortran 77 compiler cannot create executables
See `config.log' for more details.
...
I'm using Degian 4.0 and the Linux 2.6.18-6-amd64. Anybody can help me?
Thanks very much!!!
Ary Junior
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/pw_forum/attachments/20080721/c612be8b/attachment.htm
More information about the Pw_forum
mailing list