[Wien] mpi parallel compilation

Robert Laskowski rolask at theochem.tuwien.ac.at
Fri Nov 6 13:42:56 CET 2009


Are you sure you have initialized mpi environment. What is your LD_LIBRARY_PATH, does it contain any traces of mpi instalation.

regards

Robert

On Friday 06 November 2009 13:33:57 huangyunmi wrote:
> 
> Dear Peter and Wien2k users:
> 
>        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).
> 
>        os:redhat linux 9.0
> 
>        ifort:10.1
> 
>        mkl:10.0
> 
>        mpich 1.XX 
> 
>        fftw2.1.5
> 
>        my siteconfig_lapw option is :
> 
>        FC = ifort
>        MPF = mpif90
>        CC = cc
>       FOPT =  -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -traceback
>       FPOPT =  $(FOPT)
>       DParallel = '-DParallel'
>       FGEN = $(PARALLEL)
>      LDFLAGS = $(FOPT) -L/opt/intel/mkl/10.0.1.014/lib/em64t -i-static
>      LIBS     = -lmkl_lapack -lmkl_core -lmkl_em64t -lguide -pthread
>      RP_LIBS = -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_sequential -L/opt/intel/fftwv215-mpich/lib -lfftw_mpi -lfftw
> 
> i get following error:
> 
> modules.o: In function `parallel_mp_begend_':
> modules.F:(.text+0x328): undefined reference to `mpi_comm_split_'
> modules.o: In function `parallel_mp_init_parallel_':
> modules.F:(.text+0x443): undefined reference to `mpi_init_'
> modules.F:(.text+0x467): undefined reference to `mpi_comm_size_'
> modules.F:(.text+0x48b): undefined reference to `mpi_comm_rank_'
> energy.o: In function `energy_':
> energy.F:(.text+0xba8): undefined reference to `mpi_allreduce_'
> energy.F:(.text+0xbd9): undefined reference to `mpi_allreduce_'
> gtfnam.o: In function `gtfnam_':
> gtfnam.F:(.text+0x65): undefined reference to `mpi_bcast_'
> gtfnam.F:(.text+0x8f): undefined reference to `mpi_bcast_'
> lapw0.o: In function `MAIN__':
> lapw0.F:(.text+0xa79): undefined reference to `mpi_abort_'
> lapw0.F:(.text+0x7091): undefined reference to `mpi_reduce_'
> lapw0.F:(.text+0x7144): undefined reference to `mpi_send_'
> lapw0.F:(.text+0x886a): undefined reference to `mpi_recv_'
> lapw0.F:(.text+0x960b): undefined reference to `mpi_send_'
> lapw0.F:(.text+0x9ae9): undefined reference to `mpi_barrier_'
> lapw0.F:(.text+0x9af5): undefined reference to `mpi_finalize_'
> lapw0.F:(.text+0x9be6): undefined reference to `mpi_recv_'
> lapw0.F:(.text+0x12d77): undefined reference to `mpi_allreduce_'
> lapw0.F:(.text+0x14f02): undefined reference to `mpi_recv_'
> lapw0.F:(.text+0x15526): undefined reference to `mpi_address_'
> lapw0.F:(.text+0x15551): undefined reference to `mpi_address_'
> lapw0.F:(.text+0x1557c): undefined reference to `mpi_address_'
> lapw0.F:(.text+0x155a7): undefined reference to `mpi_address_'
> lapw0.F:(.text+0x155d2): undefined reference to `mpi_address_'
> lapw0.o:lapw0.F:(.text+0x155fd): more undefined references to `mpi_address_' follow
> lapw0.o: In function `MAIN__':
> lapw0.F:(.text+0x1580b): undefined reference to `mpi_type_struct_'
> lapw0.F:(.text+0x1581e): undefined reference to `mpi_type_commit_'
> lapw0.F:(.text+0x158d1): undefined reference to `mpi_send_'
> lapw0.F:(.text+0x1591d): undefined reference to `mpi_send_'
> lapw0.F:(.text+0x1597a): undefined reference to `mpi_send_'
> lapw0.F:(.text+0x159c6): undefined reference to `mpi_send_'
> lapw0.F:(.text+0x15a23): undefined reference to `mpi_send_'
> lapw0.o:lapw0.F:(.text+0x15a6f): more undefined references to `mpi_send_' follow
> lapw0.o: In function `MAIN__':
> lapw0.F:(.text+0x15c86): undefined reference to `mpi_recv_'
> lapw0.F:(.text+0x15cd9): undefined reference to `mpi_recv_'
> lapw0.F:(.text+0x15d3d): undefined reference to `mpi_recv_'
> lapw0.F:(.text+0x15d90): undefined reference to `mpi_recv_'
> lapw0.F:(.text+0x15df4): undefined reference to `mpi_recv_'
> lapw0.o:lapw0.F:(.text+0x15e47): more undefined references to `mpi_recv_' follow
> lapw0.o: In function `MAIN__':
> lapw0.F:(.text+0x16281): undefined reference to `mpi_send_'
> rean0.o: In function `rean0_':
> rean0.F:(.text+0x14d3): undefined reference to `mpi_allreduce_'
> make[1]: *** [lapw0_mpi] Error 1
> make[1]: Leaving directory `/export/home/lwan/wien2k/SRC_lapw0'
> make: *** [para] Error 2
> Copying programs
>   SRC_lapw0/lapw0
> 
> 
>  
> 
> i have found their answers from maillist,but no success,please help me what's matter?
> 
> Any assistance would be appreciated.
> 
> Thank you
> Sincerely 
> 
> Yunmi Huang
> 
>  		 	   		  
> _________________________________________________________________
> MSN十周年庆典,查看MSN注册时间,赢取神秘大奖
> http://10.msn.com.cn



-- 
Dr Robert Laskowski

Vienna University of Technology, 
Institute of Materials Chemistry, 
Getreidemarkt 9/165-TC, A-1060 Vienna

tel. +43 1 58801 15686
Fax  +43 1 58801 15698


More information about the Wien mailing list