[Wien] Compilation problem of lapw0_mpi(fftw)

Hiroki Takahashi hiroki_takahashi at mitsui-kinzoku.co.jp
Tue Oct 26 09:45:11 CEST 2010


Dear WIEN2k Users,

I am trying to install WIEN2k_10.1 on a cluster computer. But I
got an error in compiling lapw0_mpi. The error message is :


---------------------
mpif90 -FR -w -mp1 -prec_div -pad -ip -DINTEL_VML -O3 -xP -DParallel -c W2kinit.F
mpif90 -o lapw0_mpi cputim.o modules.o reallocate.o ainv.o am05_xscss.o b88.o blyp.o brj
*-----------*
zfft3d.o  W2kutils.o W2kinit.o -L/opt/intel/fce/9.1.052/lib -i-static 
-Bstatic -lguide -lguide_stats -lsvml -Bdynamic -lpthread  
-L/opt/intel/mkl/10.0.2.018/lib/em64t -Bstatic -lmkl_scala
pack -lmkl_blacs_lp64 -lmkl_blacs_ilp64 -lmkl_lapack -lmkl_em64t
-lguide -Bdynamic -lpth read -L/usr/local/fftw/lib -lfftw_mpi
-lfftw -L/usr/local/mpich-1.2.7/lib -lmpich 
fftw_para.o(.text+0x7c): In function `exec_fftw_para_':
: undefined reference to `fftwnd_f77_mpi_'
fftw_para.o(.text+0xba): In function `exec_fftw_para_':
: undefined reference to `fftwnd_f77_mpi_'
fftw_para.o(.text+0xf5): In function `init_fftw_para_':
: undefined reference to `fftw3d_f77_mpi_create_plan_'
fftw_para.o(.text+0x11d): In function `init_fftw_para_':
: undefined reference to `fftw3d_f77_mpi_create_plan_'
fftw_para.o(.text+0x143): In function `init_fftw_para_':
: undefined reference to `fftwnd_f77_mpi_local_sizes_'
make[1]: *** [lapw0_mpi] Error 1
make[1]: Leaving directory `/usr/local/WIEN2k_10/SRC_lapw0'
make: *** [para] Error 2
(END) 
---------------------

os:Redhat Linux
ifort:9.1.052
mkl:10.0.2.018
mpich1.2.7
fftw2.1.5 (with --enable-mpi switch)

My Makefile option is :
FC = ifort
MPF = mpif90
CC = cc
FOPT =  -FR -w -mp1 -prec_div -pad -ip -DINTEL_VML -O3 -xP
FPOPT =  -FR -w -mp1 -prec_div -pad -ip -DINTEL_VML -O3 -xP
DParallel = '-DParallel'
FGEN = $(PARALLEL)
LDFLAGS = -L/opt/intel/fce/9.1.052/lib -i-static -Bstatic  -lguide -lguide_stats -lsvml -Bdynamic -lpthread
R_LIBS     = -L/otp/intel/mkl/10.0.2.018/lib/em64t -Bstatic -lmkl_lapack -lmkl_em64t -lguide -Bdynamic -lpthread
RP_LIBS = -L/opt/intel/mkl/10.0.2.018/lib/em64t -Bstatic  -lmkl_scalapack -lmkl_blacs_lp64  -lmkl_blacs_ilp64
-lmkl_lapack -lmkl_em64t -lguide -Bdynamic -lpthread -L/usr/local/fftw/lib -lfftw_mpi -lfftw
-L/usr/local/mpich-1.2.7/lib -lmpich

Though I refered to WIEN mailing list and FAQ on web for
option/flags, I still got an compiling error of fftw. I am
wondering if anyone could help me.

Regards
-----------------------
Hiroki Takahashi
hiroki_takahashi at mitsui-kinzoku.co.jp
Mitsui Mining & Smelting Co., Ltd.
-----------------------





More information about the Wien mailing list