[Pw_forum] Compilation issue (phenom II and ACML)

Vit vitruss at gmail.com
Sun May 3 14:36:45 CEST 2009


Good day, everyone!
I'm trying to use PWSCF on my own computer with Phenom II x4 with Arch
Linux onboard. The User guide says that I can get huge benefit from
using ACML from AMD.
I've downloaded and installed it. Now I'm trying to compile QE with
this library. If I use just "configure" it uses internal BLAS, LAPACK
and FFTW libraries. If I try
LDFLAGS="-L/opt/acml4.2.0/gfortran64_mp/lib/ -lacml" it says:

checking build system type... x86_64-unknown-linux-gnu
checking architecture... amd64
checking for Fortran 77 compiler default output file name...
configure: error: Fortran 77 compiler cannot create executables
See `config.log' for more details.

What's wrong?

Config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ESPRESSO configure 4.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure F90=mpif90 F77=mpif77
LDFLAGS=-L/opt/acml4.2.0/gfortran64_mp/lib/ -lacml

## --------- ##
## Platform. ##
## --------- ##

hostname = Arch
uname -m = x86_64
uname -r = 2.6.29-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Apr 29 15:36:46 CEST 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/wine/bin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/bin/perlbin/site
PATH: /usr/bin/perlbin/vendor
PATH: /usr/bin/perlbin/core


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1398: checking build system type
configure:1416: result: x86_64-unknown-linux-gnu
configure:1665: checking for Fortran 77 compiler version
configure:1668: mpif77 --version </dev/null >&5
GNU Fortran (GCC) 4.4.0
Copyright (C) 2009 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

configure:1671: $? = 0
configure:1673: mpif77 -v </dev/null >&5
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-threads=posix
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-__cxa_atexit --disable-multilib --libdir=/usr/lib
--libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch
--with-tune=generic
Thread model: posix
gcc version 4.4.0 (GCC)
configure:1676: $? = 0
configure:1678: mpif77 -V </dev/null >&5
gfortran: '-V' option must have argument
configure:1681: $? = 1
configure:1695: checking for Fortran 77 compiler default output file
name
configure:1698: mpif77  -L/opt/acml4.2.0/gfortran64_mp/lib/ -lacml
conftest.f  >&5
/usr/bin/ld: cannot find -lacml
collect2: ld returned 1 exit status
configure:1701: $? = 1
configure: failed program was:
|       program main
|
|       end
configure:1740: error: Fortran 77 compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_F77_set=set
ac_cv_env_F77_value=mpif77
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/opt/acml4.2.0/gfortran64_mp/lib/ -lacml'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC=''
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77='mpif77'
FFLAGS=''
FLIBS=''
LDFLAGS='-L/opt/acml4.2.0/gfortran64_mp/lib/ -lacml'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='ESPRESSO'
PACKAGE_STRING='ESPRESSO 4.0'
PACKAGE_TARNAME='espresso'
PACKAGE_VERSION='4.0'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
SIZEOF_INT_P=''
ac_ct_CC=''
ac_ct_F77=''
ar=''
arflags=''
arflags_dynamic=''
bindir='${exec_prefix}/bin'
blas_libs=''
blas_line=''
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
cc=''
cflags=''
cpp=''
cppflags=''
datadir='${prefix}/share'
dflags=''
exec_prefix='NONE'
f77='mpif77'
f90='mpif90'
f90flags=''
f90rule=''
fdflags=''
fflags=''
fflags_noopt=''
fft_libs=''
fft_line=''
host_alias=''
iflags=''
imod=''
includedir='${prefix}/include'
includefftw=''
infodir='${prefix}/info'
lapack_libs=''
lapack_line=''
ld=''
ldflags='-L/opt/acml4.2.0/gfortran64_mp/lib/ -lacml'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mass_libs=''
mass_line=''
mpi_libs=''
mpi_line=''
mpif90=''
oldincludedir='/usr/include'
parallel_report=''
pgplot_libs=''
pre_fdflags=''
prefix='NONE'
program_transform_name='s,x,x,'
ranlib=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "ESPRESSO"
#define PACKAGE_STRING "ESPRESSO 4.0"
#define PACKAGE_TARNAME "espresso"
#define PACKAGE_VERSION "4.0"

configure: exit 77


More information about the Pw_forum mailing list