[Pw_forum] Using make clean

ramesh kumar raamesh123 at rediffmail.com
Tue Nov 27 18:56:25 CET 2007


  
Dear sir,


i have tried with make clean but i am getting the same error again.

when i configure it says

checking build system type... i686-pc-linux-gnu
checking architecture... ia32
checking for ifort... no
checking for ifc... no
checking for pgf90... no
checking for pathf95... no
checking for g95... no
checking for gfortran... gfortran
checking for Fortran 77 compiler default output file name... a.out
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking for mpif90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking version of gfortran... unknown
setting F90... gfortran
setting MPIF90... gfortran
checking for cc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
setting CC... cc
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int *... yes
checking size of int *... 4
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for struct mallinfo.arena... yes
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
setting F77... f77
setting FFLAGS... -O3
setting F90FLAGS... $(FFLAGS) -x f95-cpp-input
setting FFLAGS_NOOPT... -O0
setting CFLAGS... -O3
setting CPP... cpp
setting CPPFLAGS... -P -traditional
setting LD... gfortran
setting LDFLAGS...
setting AR... ar
setting ARFLAGS... ruv
setting ARFLAGS_DYNAMIC...ruv
checking whether make sets $(MAKE)... yes
checking whether Fortran files must be preprocessed... no
checking how to get verbose linking output from f77... -v
checking for Fortran libraries of f77...  -L/usr/lib/gcc/i386-redhat-linux/3.4.6 -L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. -lfrtbegin -lg2c -lm -lgcc_s
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, extra underscore
checking for library containing dgemm... no
in /opt/intel/mkl/*/lib/32: checking for library containing dgemm... no
in /opt/intel/mkl*/lib/32: checking for library containing dgemm... no
in /cineca/prod/intel/lib: checking for library containing dgemm... no
checking for library containing dgemm... no
in /usr/local/lib: checking for library containing dgemm... no
checking for library containing dgemm... -lblas
checking for library containing zggev... -llapack
setting BLAS_LIBS... -lblas
setting LAPACK_LIBS... -llapack
checking for library containing fftwnd... -lfftw
setting FFT_LIBS... -lfftw
checking for library containing fftwnd... (cached) -lfftw
checking fftw.h usability... yes
checking fftw.h presence... yes
checking for fftw.h... yes
setting MASS_LIBS...
checking for library containing mpi_init... no
setting MPI_LIBS...
checking for library containing mpi_init... (cached) no
setting DFLAGS... -D__FFTW
setting IFLAGS... -I../include
setting FDFLAGS... $(DFLAGS)
checking for ranlib... ranlib
setting RANLIB... ranlib
configure: creating ./config.status
config.status: creating include/fft_defs.h
config.status: creating make.sys
config.status: creating configure.msg
config.status: creating include/c_defs.h
config.status: include/c_defs.h is unchanged
--------------------------------------------------------------------
ESPRESSO can take advantage of several optimized numerical libraries
(essl, fftw, mkl...).  This configure script attempts to find them,
but may fail if they have been installed in non-standard locations.
If a required library is not found, the local copy will be compiled.

The following libraries have been found:
  BLAS_LIBS= -lblas 
  LAPACK_LIBS= -llapack
  FFT_LIBS= -lfftw 
Please check if this is what you expect.

If any libraries are missing, you may specify a list of directories
to search and retry, as follows:
  ./configure LIBDIRS="list of directories, separated by spaces"

Parallel environment not detected (is this a parallel machine?).
Configured for compilation of serial executables.

For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
--------------------------------------------------------------------
configure: success

but make all giving the same error

my system is having ia32, gfortran, fortran77 support, lapack, blas and fftw

waiting for your reply sir

with regards
K. Ramesh Kumar





On Tue, 27 Nov 2007 Stefano de Gironcoli wrote :
>ramesh kumar wrote:
>>
>>  
>>Dear users
>>
>>i am new to pwscf when i try to configure it says success and it recognized all the lib files and compliers.
>>
>>but when i give the command make all
>>
>>it says
>>
>>      erry_phase.f90:(.text+0x33): undefined reference to `ln_alloc_'
>>berry_phase.f90:(.text+0x8f): undefined refer
>>
>have you tried   make clean;  ./configure ;  make all ?
>stefano
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/pw_forum/attachments/20071127/dbe93b55/attachment.htm 


More information about the Pw_forum mailing list