[Pw_forum] compilation error

Bhagawan Sahu brsahu at physics.utexas.edu
Wed May 17 21:48:11 CEST 2006


Dear Paolo and pwscf users,

I am trying to compile espresso-3.1 (release 17th May 2006) on 64-bit 
linux (EM64T) cluster( intel9.1 compiler, mkl8.1). ./configure step is 
successful and created the following make.sys file:

---
CC             = icc
MPICC          = mpicc
CFLAGS         = -O3 $(DFLAGS) $(IFLAGS)
CPP            = icc -E
CPPFLAGS       =  $(DFLAGS) $(IFLAGS)
F90            = mpif90
MPIF90         = mpif90
F90FLAGS       = $(FFLAGS) $(FDFLAGS) $(IFLAGS) $(MODFLAGS)
F90FLAGS_NOOPT = $\(FFLAGS_NOOPT) $(FDFLAGS) $(IFLAGS) $(MODFLAGS)
F77            = ifort
MPIF77         = mpif77
FFLAGS         = -O
FFLAGS_NOOPT   = -O0
LD             = mpif90
LDFLAGS        =
AR             = ar
ARFLAGS        = ruv
RANLIB         = echo
BLAS_LIBS      = -L/opt/intel/mkl8.1/lib/em64t -lmkl_em64t -lmkl_solver 
-lguide
LAPACK_LIBS    = -L/opt/intel/mkl8.1/lib/em64t -lmkl_lapack
FFT_LIBS       = -L/opt/apps/fftw/fftw-3.1.1/lib -lfftw3
MPI_LIBS       =
MASS_LIBS      =

# -----------------------------
# application-specific settings

# See include/defs.h.README for a list of precompilation options
# (possible arguments to -D or -U) and their meaning
DFLAGS         =  -D__LINUX -D__INTEL -D__FFTW -D__MPI -D__PARA
FDFLAGS        = $(DFLAGS)
IFLAGS         = -I../opt/apps/fftw/fftw-3.1.1/include -I../include
MODFLAGS       = -I. -I../Modules -I../PW -I../PH -I../iotk/src -I../CPV

LIBOBJS        = ../flib/ptools.a ../flib/flib.a ../clib/clib.a 
../iotk/src/libiotk.a
# LIBS must contain the location of all needed external libraries
LIBS           = $(LAPACK_LIBS) $(BLAS_LIBS) $(FFT_LIBS) $(MPI_LIBS) 
$(MASS_LIBS)
# MYLIB can be one of the following (depending on LIBS):
# blas       : compile the local copy of blas routines
# lapack     : compile the local copy of lapack routines
# blas_and_lapack : all of the above - use this for a quick test
#              or if you don't have an optimized blas/lapack library
# lapack_ibm : compile only lapack routines not present in IBM ESSL
#              use this together with IBM ESSL
# lapack_t3e : compile only lapack routines not present in T3E scilib
#              use this together with T3E scilib
# lapack_mkl : compile only lapack routines not present in Intel MKL
#              use this together with Intel MKL
MYLIB          = lapack_mkl
----

However, the 'make all' step gives the following compilation error:

mpif90 -O   -D__LINUX -D__INTEL -D__FFTW -D__MPI -D__PARA 
-I../opt/apps/fftw/fftw-3.1.1/include -I../include  -I. -I../Modules 
-I../PW -I../PH -I../iotk/src -I../CPV -c iotk_attr+COMPLEX1_0.F90 -o 
iotk_attr+COMPLEX1_0.o
fortcom: Error: iotk_attr.spp, line 144: Syntax error, found 
END-OF-STATEMENT when expecting one of: , )
    call iotk_strcat(string,trim(adjustl(tmpval))
-------------------------------------------------^
fortcom: Error: iotk_attr.spp, line 144: There is no matching specific 
subroutine for this generic subroutine call.   [IOTK_STRCAT]
    call iotk_strcat(string,trim(adjustl(tmpval))
---------^
compilation aborted for iotk_attr+COMPLEX1_0.F90 (code 1)
make[2]: *** [iotk_attr+COMPLEX1_0.o] Error 1
make[2]: Leaving directory `/home/utexas/ee/eefz340/espresso-3.1/iotk/src'
make[1]: *** [libiotk.a] Error 2
make[1]: Leaving directory `/home/utexas/ee/eefz340/espresso-3.1/iotk'
make: *** [libiotk] Error 2


Sahu




More information about the users mailing list