[Wien] Errors in parallel compilation
Nilton
nilton at ufba.br
Sat Mar 8 22:53:00 CET 2008
>
> Dear wien's users,
I am trying to compile wien code 8.0 in parallel mode but unfortunately I
have only got errors mensages. My sistem is CentOS 4.4 linux 2.6.9-55 ELsmp
64 bits, with glibc 2.3.4 under Rock 4.3 tools. I am using ifort 8.0 wiht
mkl9.0. The mpich-1.2.1 was compiled with options: -f90=ifort, -rsh=ssh, and
the blacs and scalapack-1.8.0 were compiled for this mpich too. Below is the
segment of my Makefile and the error mensage I got. If someone already have
the same problem and/or could offer any suggestion it is welcome.
Thanks in advance,
Nilton Dantas
------------------------------ -------- BEGIN OF MAKEFILE
--------------------------------
.SUFFIXES: .F
.SUFFIXES: .F90
SHELL = /bin/sh
FC = ifort
MPF = /opt/mpich-wien/bin/mpif90 <------- ATTENTION: this
script, mpif90 point to ifort compiler
CC = /opt/mpich-wien/bin/mpicc
FOPT = -FR -mp1 -w -prec_div -pc80 -pad -ip -xP -DINTEL_VML
FPOPT = -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
DParallel = '-DParallel'
FGEN = $(PARALLEL)
LDFLAGS = $(FOPT) -L/opt/intel/mkl/9.0/lib/em64t
#R_LIBS = -lmkl_lapack -lmkl_em64t -lguide -lsvml -lpthread <------
ATTENTION: This option I is to compile serial code with static link
R_LIBS = -lmkl_lapack64 -lmkl_em64t -lpthread
C_LIBS = $(R_LIBS)
SC_LIB=-L/usr/local/scalapack-wien
BL_LIB=-L/usr/local/blacs-wien/lib
#MPI_LIB=-L/opt/mpich-wien/lib
RP_LIBS = $(R_LIBS) $(SC_LIB) $(BL_LIB) -lscalapack
-lblacsF77init_MPI-LINUX-0 -lblacsCinit_MPI-LINUX-0 -lblacs_MPI-LINUX-0
CP_LIBS = $(RP_LIBS)
DESTDIR = .
---------------------------------------END OF MAKEFILE
----------------------------------------------------------------
------------------------------ BEGIN OF ERROR MENSAGES ------------------
touch .parallel
make PARALLEL='-DParallel' TYPE='REAL' TYPE_COMMENT='\!_REAL' \
./lapw1_mpi FORT=/opt/mpich-wien/bin/mpif90 FFLAGS=' -FR -mp1 -w -prec_div
-pc80 -pad -ip -DINTEL_VML '-DParallel''
make[1]: Entering directory `/state/partition1/wien2k8/SRC_lapw1'
/opt/mpich-wien/bin/mpif90 -o ./lapw1_mpi abc.o atpar.o bandv1.o calkpt.o
cbcomb.o coors.o cputim.o dblr2k.o dgeqrl.o dgewy.o dgewyg.o dlbrfg.o
dsbein1.o dscgst.o dstebz2.o dsyevx2.o dsymm2.o dsyr2m.o dsyrb4.o dsyrb5l.o
dsyrdt4.o dsytrd2.o dsywyv.o dsyxev4.o dvbes1.o eisps.o errclr.o errflg.o
forfhs.o gaunt1.o gaunt2.o gbass.o gtfnam.o hamilt.o hns.o horb.o inikpt.o
inilpw.o lapw1.o latgen.o lmsort.o locdef.o lohns.o lopw.o matmm.o modules.o
nn.o outerr.o outwin.o pdsyevx16.o prtkpt.o prtres.o pzheevx16.o rdswar.o
rint13.o rotate.o rotdef.o seclit.o seclr4.o seclr5.o select.o service.o
setkpt.o setwar.o sphbes.o stern.o tapewf.o ustphx.o vectf.o warpin.o
wfpnt.o wfpnt1.o ylm.o zhcgst.o zheevx2.o zhemm2.o zher2m.o zhetrd2.o
pdsyr2m.o pzher2m.o jacdavblock.o make_albl.o global2local.o par_syrk.o
my_dsygst.o refblas_dtrsm.o seclit_par.o pdgetrf_my.o pzgetrf_my.o -FR -mp1
-w -prec_div -pc80 -pad -ip -xP -DINTEL_VML -L/opt/intel/mkl/9.0/lib/em64t
-lmkl_lapack64 -lmkl_em64t -lpthread -L/usr/local/scalapack-wien
-L/usr/local/blacs-wien/lib -lscalapack -lblacsF77init_MPI-LINUX-0
-lblacsCinit_MPI-LINUX-0 -lblacs_MPI-LINUX-0
gtfnam.o(.text+0x5d): In function `gtfnam_':
: undefined reference to `mpi_bcast_'
gtfnam.o(.text+0x8f): In function `gtfnam_':
: undefined reference to `mpi_bcast_'
modules.o(.text+0xa): In function `parallel_mp_close_parallel_':
: undefined reference to `mpi_finalize_'
modules.o(.text+0x2195): In function `parallel_mp_barrier_':
: undefined reference to `mpi_barrier_'
modules.o(.text+0xd8d9): In function `parallel_mp_init_parallelmatrices_':
: undefined reference to `blacs_gridinfo_'
modules.o(.text+0xda01): In function `parallel_mp_init_parallelmatrices_':
.
.
. more errrors mensages
.
.
/opt/mpich-wien/lib/libmpich.a(farg.o)(.text+0x6): In function
`mpir_iargc__':
: undefined reference to `f__xargc'
make[1]: *** [lapw1_mpi] Error 1
make[1]: Leaving directory `/state/partition1/wien2k8/SRC_lapw1'
make: *** [rp] Error 2
[root at exu SRC_lapw1]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20080308/65bcd017/attachment.html
More information about the Wien
mailing list