[Pw_forum] compiling failer

程迎春 yccheng.nju at gmail.com
Wed Mar 19 02:27:00 CET 2008


Dear pwscfer users:
       The system I used is suse 10 sp1 for IA64, and the fortran compiler
is ifort (IFORT) 9.1 20060323.
The step of configuer of the system is successful. The content of the
make.sys is as follows:
======================================================================================================

.SUFFIXES :
.SUFFIXES : .o .c .f .f90

.f90.o:
        $(MPIF90) $(F90FLAGS) -c $<

.f.o:
        $(F77) $(FFLAGS) -c $<

.c.o:
        $(CC) $(CFLAGS)  -c $<


DFLAGS         =  -D__INTEL -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI -D__PARA
FDFLAGS        = $(DFLAGS)

IFLAGS         = -I../include

MODFLAGS       = -I./  -I../Modules  -I../iotk/src \
                 -I../PW  -I../PH



MPIF90         = mpif90
#F90           = ifort
CC             = icc
F77            = ifort

CPP            = cpp
CPPFLAGS       = -P -traditional $(DFLAGS) $(IFLAGS)

CFLAGS         = -O3 $(DFLAGS) $(IFLAGS)
F90FLAGS       = $(FFLAGS) -nomodule -fpp $(FDFLAGS) $(IFLAGS) $(MODFLAGS)
FFLAGS         = -O2 -assume byterecl

FFLAGS_NOOPT   = -O0 -assume byterecl

LD             = mpif90
LDFLAGS        = -i-static -openmp
LD_LIBS        =

BLAS_LIBS      = -L/opt/intel/mkl/10.0.011/lib/64 -lmkl_ipf

LAPACK_LIBS    =  -L/opt/intel/mkl/10.0.011/lib/64 -lmkl_ipf

FFT_LIBS       = /disk2/phys/fftw/lib

MPI_LIBS       =



MASS_LIBS      =

PGPLOT_LIBS    =

AR             = ar
ARFLAGS        = ruv
ARFLAGS_DYNAMIC= ruv

RANLIB         = ranlib

LIBOBJS        = ../flib/ptools.a ../flib/flib.a ../clib/clib.a
../iotk/src/libiotk.a
LIBS           = $(LAPACK_LIBS) $(BLAS_LIBS) $(FFT_LIBS) $(MPI_LIBS)
$(MASS_LIBS) $(PGPLOT_LIBS) $(LD_LIBS)

==========================================================================================================================

However, when I try to make all, the compiler stop without errors. The make
error occurs both in 3.2.3 and 4.0.

Does anybody know how to solve the problem?

Cheng YC , Nanjing University

2008-3-19
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20080319/af5d8719/attachment.html>


More information about the users mailing list