[Pw_forum] Another day another compilation problem
H.S.Domingos
hsd22 at hermes.cam.ac.uk
Fri Apr 7 16:02:41 CEST 2006
Dear all,
I have compiled the pwscf code on a linux i686 cluster and strangely I do
not get the MPI version when I run pw.x.
I have been unable to work out the problem. I assume that it is about
make.sys and the parallel environment. Can I please ask your help on this?
You seem to have a knack for getting it right the first time.
Thank you very much in advance.
The make.sys after doctoring is :
#########################################################
# make.sys. Generated from make.sys.in by configure.
# compilation rules
.SUFFIXES :
.SUFFIXES : .o .c .f .f90
.f90.o:
$(MPIF90) $(F90FLAGS) -c $<
.f.o:
$(F77) $(FFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
CC = icc
MPICC = mpicc
CFLAGS = -O3 $(DFLAGS) $(IFLAGS)
CPP = icc -E
CPPFLAGS = $(DFLAGS) $(IFLAGS)
F90 = ifort
MPIF90 = mpif90
F90FLAGS = -zero -nbs -r8 -ip -O3 -tpp7 -axWNBP -arch pn4 -fpp
$(FDFLAGS) $(IFLAGS) $(MODFLAGS)
F90FLAGS_NOOPT = $(FFLAGS_NOOPT) -nomodule -fpp $(FDFLAGS) $(IFLAGS)
$(MODFLAGS)
F77 = ifort
MPIF77 = mpif77
FFLAGS = -zero -nbs -r8 -ip -O3 -tpp7 -axWNBP -arch pn4
FFLAGS_NOOPT = -O0 -assume byterecl
LD = ifort
LDFLAGS = -static -openmp
AR = ar
ARFLAGS = ruv
RANLIB = echo
BLAS_LIBS = -L/opt/intel/mkl/8.0/lib/32/ -lmkl_ia32 -lguide -lpthread
LAPACK_LIBS = -lmkl_lapack
FFT_LIBS = -L/home/guests/hsd22/fftw_lib/lib/ -lfftw
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__USE_INTERNAL_FFTW
FDFLAGS = $(DFLAGS)
IFLAGS = -I../include -I /usr/local/include
MODFLAGS = -I. -I../Modules -I../PW -I../PH -I../iotk/src
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
=======================================================================
| Dr. Helder S. Domingos |
| |
| INESC Microsyst & Nanotechnol, Lisbon, P-1000 Portugal |
| and |
| R&D unit for Molecular Chemical Physics |
| Chemistry Department, University of Coimbra |
=======================================================================
More information about the Pw_forum
mailing list