[Pw_forum] Fortran 77 compiler cannot create executables

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Mon Jul 21 15:37:05 CEST 2008


On Mon, 21 Jul 2008, Ary Junior wrote:

AJ> Please, I'm trying to compile the PWscf v.4.0cvs with the Intel Fortran

please use 4.0.1 before messing with the cvs.
if you are having trouble to compile the cvs code,
that you should not use development software.

AJ> Compiler and MKL. When I do:
AJ> 
AJ> export PATH=/opt/intel/cc/10.1.008/bin:$PATH
AJ> export PATH=/opt/intel/fc/10.1.008/bin:$PATH

ouch. intel 10.1.008 is known to be a _very_ broken compiler.
please update to a recent patchlevel. check out the mailing
list archives. this topic has been discussed several times
in the recent weeks.


AJ> export LDFLAGS="-i-static -openmp"
AJ> export BLAS_LIBS="-L/opt/intel/mkl/10.0.1.014/lib/em64t/ -lmkl_em64t"
AJ> export FFT_LIBS=-lessl
AJ> ./configure
AJ> 
AJ> I get:
AJ> 
AJ> checking build system type... x86_64-unknown-linux-gnu
AJ> checking architecture... amd64
AJ> checking for ifort... ifort
AJ> checking for Fortran 77 compiler default output file name... configure:
AJ> error: Fortran 77 compiler cannot create executables
AJ> See `config.log' for more details.
AJ> 
AJ> The relevant config.log content is:
AJ> 
AJ> ...
AJ> configure:1665: ifort -V </dev/null >&5
AJ> Intel(R) Fortran Compiler for applications running on IA-32, Version 10.1

hmmmm... 
so you want to use the 32-bit version of the compiler (ia-32) 
on a 64-bit install.

AJ> Build 20070913 Package ID: l_fc_p_10.1.008
AJ> Copyright (C) 1985-2007 Intel Corporation.  All rights reserved.
AJ> FOR NON-COMMERCIAL USE ONLY
AJ> 
AJ> configure:1668: $? = 0
AJ> configure:1682: checking for Fortran 77 compiler default output file name
AJ> configure:1685: ifort  -i-static -openmp conftest.f  >&5
AJ> ld: skipping incompatible /usr/lib/libm.so when searching for -lm
AJ> ld: skipping incompatible /usr/lib/libm.a when searching for -lm
AJ> ld: skipping incompatible /usr/bin/../lib/libm.so when searching for -lm
AJ> ld: skipping incompatible /usr/bin/../lib/libm.a when searching for -lm
AJ> ld: skipping incompatible /usr/lib/libm.so when searching for -lm
AJ> ld: skipping incompatible /usr/lib/libm.a when searching for -lm
AJ> ld: cannot find -lm

...and you don't have the 32-bit development libraries
installed. how should this work? this is not the fault
of quantum espresso but a faulty installation. fix your
installation and try again.

cheers,
   axel.


AJ> configure:1688: $? = 1
AJ> configure: failed program was:
AJ> |       program main
AJ> |
AJ> |       end
AJ> configure:1727: error: Fortran 77 compiler cannot create executables
AJ> See `config.log' for more details.
AJ> ...
AJ> 
AJ> I'm using Degian 4.0 and the Linux 2.6.18-6-amd64. Anybody can help me?
AJ> 
AJ> 
AJ> Thanks very much!!!
AJ> 
AJ> Ary Junior
AJ> 

-- 
=======================================================================
Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the users mailing list