Hi,<br /><br /> I solved this compilation problem by installing thr openmpi-devel and using ./configure MPI_LIBS=-L/path/to -lmpi_f90.<br /><br /><br /> thanks,<br /><br /><br /> Alexander<br /> <br /><br />
<hr style="border-top: 1px solid #ccc;" />
Em 24/09/2010 18:01, <strong>alex.msilva < alex.msilva@uol.com.br ></strong> escreveu:<br />Hi all,<br /><br /> I was trying to compile the last version of pwscf but the compilation fais in this point:<br /><br />(...)<br />a - iotk_write_interf.o<br />a - iotk_xtox.o<br />a - iotk_xtox_interf.o<br />ranlib libiotk.a<br />mpif90 -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW -I../include -c iotk_print_kinds.f90<br />make loclib_only<br />make[3]: Entrando no diretório `/home/alex/tmp/espresso-4.2.1/S3DE/iotk/src'<br />make[3]: Nada a ser feito para `loclib_only'.<br />make[3]: Saindo do diretório `/home/alex/tmp/espresso-4.2.1/S3DE/iotk/src'<br />mpif90 -g -o iotk_print_kinds.x iotk_print_kinds.o libiotk.a <br />/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi_f90<br />collect2: ld returned 1 exit status<br />make[2]: ** [iotk_print_kinds.x] Erro 1<br />make[2]: Saindo do diretório `/home/alex/tmp/espresso-
4.2.1/S3DE/iotk/src'<br />make[1]: ** [libiotk] Erro 2<br />make[1]: Saindo do diretório `/home/a lex/tmp/espresso-4.2.1/extlibs'<br />make: ** [libiotk] Erro 2<br />#<br /><br /> The libmpi_f90.so.0.0. is located in /usr/lib64/mpi/gcc.../lib64/. I have used ./configure MPI_LIBS="/this_address" but the compiler is not able to locate this library. I also have made a copy oh thses libraries at /usr/lib64/gcc/x86_64-suse-linux/4.5/ but I still have this error message. I'm using the rpm openmpi of Opensuse 11.3 and gfortran. How can fix this?<br /><br /> Thanks in advance,<br /><br /> Alexander.<br /> <br />