Ok, I just figure out it. Now it is ok. Thanks a lot for your help.<br>Have a nice weekend.<br>Nilton<br><br><div class="gmail_quote">2011/12/10 Laurence Marks <span dir="ltr"><<a href="mailto:L-marks@northwestern.edu">L-marks@northwestern.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I did not notice before. You have a format error in your options. "-L"<br>
is used for a directory where there are libraries, "-l" (lower case)<br>
for the libraries. Remove the name of the file from the -L for RP and<br>
add -lfftw_mpi -lfftw<br>
<br>
2011/12/10 Nilton <<a href="mailto:nilton@ufba.br">nilton@ufba.br</a>>:<br>
<div class="HOEnZb"><div class="h5">> Dear Dr. Marks,<br>
> thanks for the answer. I have checked the fftw libraries and it seems ok as<br>
> you can see at below,<br>
> _______________________///___________________________________<br>
> [root@bodesking SRC_lapw0]# nm /usr/local/fftw/lib/libfftw_mpi.a | grep -e<br>
> f77<br>
> fftw_f77_mpi.o:<br>
> 0000000000000090 T fftw2d_f77_mpi_create_plan_<br>
> 0000000000000050 T fftw3d_f77_mpi_create_plan_<br>
> 0000000000000160 T fftw_f77_mpi_<br>
> 0000000000000190 T fftw_f77_mpi_create_plan_<br>
> 0000000000000180 T fftw_f77_mpi_destroy_plan_<br>
> 0000000000000150 T fftw_f77_mpi_local_sizes_<br>
> 0000000000000010 T fftwnd_f77_mpi_<br>
> 00000000000000c0 T fftwnd_f77_mpi_create_plan_<br>
> 0000000000000040 T fftwnd_f77_mpi_destroy_plan_<br>
> 0000000000000000 T fftwnd_f77_mpi_local_sizes_<br>
> __________________________//___________________________<br>
><br>
> they have one underscore. I compiled teh fft-2.1.5 with the parameters:<br>
> ./configure --prefix=/usr/local/fftw --enable-mpi --enable-thread F77=ifort<br>
><br>
> and this came from configure comand to fftw:<br>
><br>
> "checking for Fortran name-mangling scheme... lower case, underscore, no<br>
> extra underscore"<br>
><br>
> the same fortran compiler I am using to compile wien2k.<br>
> So, I dont now how to fix it. Any clue?<br>
> Nilton<br>
><br>
><br>
> 2011/12/10 Laurence Marks <<a href="mailto:L-marks@northwestern.edu">L-marks@northwestern.edu</a>><br>
>><br>
>> I think I know what this is, but I may be wrong. Try<br>
>><br>
>> nm /usr/local/fftw/lib/libfftw_mpi.a | grep -e f77<br>
>><br>
>> and the same for the other fftw library. Almost certainly you will<br>
>> find the ones you want but without a "_" at the end. Almost certainly<br>
>> this is because they were compiled with a different compiler than what<br>
>> you are using and/or incorrect flags.<br>
>><br>
>> 2011/12/10 Nilton <<a href="mailto:nilton@ufba.br">nilton@ufba.br</a>>:<br>
>> > Dear wien2k users,<br>
>> > I tried to compile WIEN2k_11 in parallel mode and I got same error<br>
>> > mensages.<br>
>> > Anyone can help me? Thanks in advance. The error is only for lapw0. the<br>
>> > others is ok.<br>
>> ><br>
>> > ------------------------------<br>
>> > ------------------------------Error mensages--------------------------<br>
>> > fftw_para.o: In function `exec_fftw_para_':<br>
>> > fftw_para.F:(.text+0x7b): undefined reference to `fftwnd_f77_mpi_'<br>
>> > fftw_para.F:(.text+0xb6): undefined reference to `fftwnd_f77_mpi_'<br>
>> > fftw_para.o: In function `init_fftw_para_':<br>
>> > fftw_para.F:(.text+0x101): undefined reference to<br>
>> > `fftw3d_f77_mpi_create_plan_'<br>
>> > fftw_para.F:(.text+0x129): undefined reference to<br>
>> > `fftw3d_f77_mpi_create_plan_'<br>
>> > fftw_para.F:(.text+0x14d): undefined reference to<br>
>> > `fftwnd_f77_mpi_local_sizes_'<br>
>> > make[1]: *** [lapw0_mpi] Error 1<br>
>> > make[1]: Leaving directory `/home/nilton/wien2k/SRC_lapw0'<br>
>> > make: *** [para] Error 2<br>
>> ><br>
>> > -----------------------------------------------------------------------------------------------------------------<br>
>> > Makefile I have used<br>
>> ><br>
>> > FC = ifort<br>
>> > MPF = mpif90<br>
>> > CC = cc<br>
>> > FOPT = -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback<br>
>> > FPOPT = -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback<br>
>> > DParallel = '-DParallel'<br>
>> > FGEN = $(PARALLEL)<br>
>> > LDFLAGS = $(FOPT) -L$(MKLROOT)/lib/intel64 -pthread<br>
>> > R_LIBS = -lmkl_blas95_lp64 -lmkl_lapack95_lp64<br>
>> > $(MKLROOT)/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group<br>
>> > $(MKLROOT)/lib/intel64/libmkl_cdft_core.a<br>
>> > $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a<br>
>> > $(MKLROOT)/lib/intel64/libmkl_intel_thread.a<br>
>> > $(MKLROOT)/lib/intel64/libmkl_core.a<br>
>> > $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group<br>
>> > -openmp<br>
>> > -lpthread<br>
>> > RP_LIBS = -L/usr/local/fftw/lib/libfftw_mpi.a<br>
>> > -L/usr/local/fftw/lib/libfftw.a $(R_LIBS)<br>
>> ><br>
>> > System specifications:<br>
>> > fftw-2.1.5<br>
>> > mpich2<br>
>> > fortran 12 and mkl 10.3<br>
>> > Rocks cluster 5.4<br>
>> ><br>
>> > --<br>
>> > Nilton S. Dantas<br>
>> > Universidade Estadual de Feira de Santana<br>
>> > Departamento de Ciências Exatas<br>
>> > Área de Informática<br>
>> > Av. Transnordestina, S/N, Bairro Novo Horizonte<br>
>> > CEP 44036900 - Feira de Santana, Bahia, Brazil<br>
>> > Tel./Fax <a href="tel:%2B55%2075%2032248086" value="+557532248086">+55 75 32248086</a><br>
>> ><br>
>> > _______________________________________________<br>
>> > Wien mailing list<br>
>> > <a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
>> > <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Professor Laurence Marks<br>
>> Department of Materials Science and Engineering<br>
>> Northwestern University<br>
>> <a href="http://www.numis.northwestern.edu" target="_blank">www.numis.northwestern.edu</a> <a href="tel:1-847-491-3996" value="+18474913996">1-847-491-3996</a><br>
>> "Research is to see what everybody else has seen, and to think what<br>
>> nobody else has thought"<br>
>> Albert Szent-Gyorgi<br>
>> _______________________________________________<br>
>> Wien mailing list<br>
>> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
>> <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Nilton S. Dantas<br>
> Universidade Estadual de Feira de Santana<br>
> Departamento de Ciências Exatas<br>
> Área de Informática<br>
> Av. Transnordestina, S/N, Bairro Novo Horizonte<br>
> CEP 44036900 - Feira de Santana, Bahia, Brazil<br>
> Tel./Fax <a href="tel:%2B55%2075%2032248086" value="+557532248086">+55 75 32248086</a><br>
><br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
><br>
<br>
<br>
<br>
--<br>
Professor Laurence Marks<br>
Department of Materials Science and Engineering<br>
Northwestern University<br>
<a href="http://www.numis.northwestern.edu" target="_blank">www.numis.northwestern.edu</a> <a href="tel:1-847-491-3996" value="+18474913996">1-847-491-3996</a><br>
"Research is to see what everybody else has seen, and to think what<br>
nobody else has thought"<br>
Albert Szent-Gyorgi<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Nilton S. Dantas<br>Universidade Estadual de Feira de Santana<br>Departamento de Ciências Exatas<br>Área de Informática<br>Av. Transnordestina, S/N, Bairro Novo Horizonte<br>
CEP 44036900 - Feira de Santana, Bahia, Brazil<br>Tel./Fax +55 75 32248086<br>