<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear Peter and Wien2k users:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i am compiling wien2k09_2 with mpi parallel,but i meet some questions.non-mpi compilation is no problem.my cluster have 16nodes (each node have 2cpu with 4core).<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; os:redhat linux 9.0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ifort:10.1<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkl:10.0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpich 1.XX <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fftw2.1.5<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my siteconfig_lapw option is :<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FC = ifort<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;MPF = mpif90<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;CC = cc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FOPT =&nbsp; -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -traceback<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FPOPT =&nbsp; $(FOPT)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DParallel = '-DParallel'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FGEN = $(PARALLEL)<BR>&nbsp;&nbsp;&nbsp;&nbsp; LDFLAGS = $(FOPT) -L/opt/intel/mkl/10.0.1.014/lib/em64t -i-static<BR>&nbsp;&nbsp;&nbsp;&nbsp; LIBS&nbsp;&nbsp;&nbsp;&nbsp; = -lmkl_lapack -lmkl_core -lmkl_em64t -lguide -pthread<BR>&nbsp;&nbsp;&nbsp;&nbsp; RP_LIBS = -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_sequential -L/opt/intel/fftwv215-mpich/lib -lfftw_mpi -lfftw<BR>
i get following error:<BR>
modules.o: In function `parallel_mp_begend_':<BR>modules.F:(.text+0x328): undefined reference to `mpi_comm_split_'<BR>modules.o: In function `parallel_mp_init_parallel_':<BR>modules.F:(.text+0x443): undefined reference to `mpi_init_'<BR>modules.F:(.text+0x467): undefined reference to `mpi_comm_size_'<BR>modules.F:(.text+0x48b): undefined reference to `mpi_comm_rank_'<BR>energy.o: In function `energy_':<BR>energy.F:(.text+0xba8): undefined reference to `mpi_allreduce_'<BR>energy.F:(.text+0xbd9): undefined reference to `mpi_allreduce_'<BR>gtfnam.o: In function `gtfnam_':<BR>gtfnam.F:(.text+0x65): undefined reference to `mpi_bcast_'<BR>gtfnam.F:(.text+0x8f): undefined reference to `mpi_bcast_'<BR>lapw0.o: In function `MAIN__':<BR>lapw0.F:(.text+0xa79): undefined reference to `mpi_abort_'<BR>lapw0.F:(.text+0x7091): undefined reference to `mpi_reduce_'<BR>lapw0.F:(.text+0x7144): undefined reference to `mpi_send_'<BR>lapw0.F:(.text+0x886a): undefined reference to `mpi_recv_'<BR>la!
 pw0.F:(.text+0x960b): undefined reference to `mpi_send_'<BR>lapw0.F:(.text+0x9ae9): undefined reference to `mpi_barrier_'<BR>lapw0.F:(.text+0x9af5): undefined reference to `mpi_finalize_'<BR>lapw0.F:(.text+0x9be6): undefined reference to `mpi_recv_'<BR>lapw0.F:(.text+0x12d77): undefined reference to `mpi_allreduce_'<BR>lapw0.F:(.text+0x14f02): undefined reference to `mpi_recv_'<BR>lapw0.F:(.text+0x15526): undefined reference to `mpi_address_'<BR>lapw0.F:(.text+0x15551): undefined reference to `mpi_address_'<BR>lapw0.F:(.text+0x1557c): undefined reference to `mpi_address_'<BR>lapw0.F:(.text+0x155a7): undefined reference to `mpi_address_'<BR>lapw0.F:(.text+0x155d2): undefined reference to `mpi_address_'<BR>lapw0.o:lapw0.F:(.text+0x155fd): more undefined references to `mpi_address_' follow<BR>lapw0.o: In function `MAIN__':<BR>lapw0.F:(.text+0x1580b): undefined reference to `mpi_type_struct_'<BR>lapw0.F:(.text+0x1581e): undefined reference to `mpi_type_commit_'<BR>lapw0.F:(.tex!
 t+0x158d1): undefined reference to `mpi_send_'<BR>lapw0.F:(.text+0x159
1d): undefined reference to `mpi_send_'<BR>lapw0.F:(.text+0x1597a): undefined reference to `mpi_send_'<BR>lapw0.F:(.text+0x159c6): undefined reference to `mpi_send_'<BR>lapw0.F:(.text+0x15a23): undefined reference to `mpi_send_'<BR>lapw0.o:lapw0.F:(.text+0x15a6f): more undefined references to `mpi_send_' follow<BR>lapw0.o: In function `MAIN__':<BR>lapw0.F:(.text+0x15c86): undefined reference to `mpi_recv_'<BR>lapw0.F:(.text+0x15cd9): undefined reference to `mpi_recv_'<BR>lapw0.F:(.text+0x15d3d): undefined reference to `mpi_recv_'<BR>lapw0.F:(.text+0x15d90): undefined reference to `mpi_recv_'<BR>lapw0.F:(.text+0x15df4): undefined reference to `mpi_recv_'<BR>lapw0.o:lapw0.F:(.text+0x15e47): more undefined references to `mpi_recv_' follow<BR>lapw0.o: In function `MAIN__':<BR>lapw0.F:(.text+0x16281): undefined reference to `mpi_send_'<BR>rean0.o: In function `rean0_':<BR>rean0.F:(.text+0x14d3): undefined reference to `mpi_allreduce_'<BR>make[1]: *** [lapw0_mpi] Error 1<BR>make[1!
 ]: Leaving directory `/export/home/lwan/wien2k/SRC_lapw0'<BR>make: *** [para] Error 2<BR>Copying programs<BR>&nbsp; SRC_lapw0/lapw0<BR><BR>
&nbsp;<BR>
i have found their answers from maillist,but no success,please help me what's matter?<BR>
Any assistance would be appreciated.<BR><BR>Thank you<BR>Sincerely <BR>
Yunmi Huang<BR><BR>                                               <br /><hr />使用Messenger保护盾2.0,支持多账号登录! <a href='http://im.live.cn/safe/' target='_new'>现在就下载!</a></body>
</html>