Dear Hongyi Zhao, Please try to change "MPI_INCLUDE=/home/zhanggp/software/openmpi-1.4.5/include" to " MPI_INCLUDE= ." . Hope this will be helpful.
Regards, Zhe 2012/7/19 Hongyi Zhao <[email protected]> > On 06/28/2012 06:07 PM, Henrik Löfås wrote: > >> >> Dear all, >> >> I have trouble to compile the latest trunk version of siesta (408) in >> the parallell version. I have tried both with intel10.1 and intel12 >> compilers together with openmpi but all fails at the same place. The >> arch.make works fine both for earlier trunk version (364) and the >> siesta-3.1 release. What has changed between these versions and the >> latest trunk version? >> >> The errors are seen below, I have attached the arch.make also. >> >> Best regards >> Henrik >> >> mpif90 -c -O0 -I/beda/users/home/lofas/**siesta-trunk-408/Src/fdf >> -I/beda/sw/apps/netcdf/4.1-**intel11.1/include -DFC_HAVE_FLUSH >> -DFC_HAVE_ABORT -DWXML_INIT_FIX -DMPI -DCDF >> /beda/users/home/lofas/siesta-**trunk-408/Src/fdf/fdf.F90 >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 361: Error in opening the compiled module file. Check INCLUDE >> paths. [MPI_SIESTA] >> use mpi_siesta >> ----------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 403: Error in opening the compiled module file. Check INCLUDE >> paths. [MPI_SIESTA] >> use mpi_siesta >> ----------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 454: Error in opening the compiled module file. Check INCLUDE >> paths. [MPI_SIESTA] >> use mpi_siesta >> ----------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 526: Error in opening the compiled module file. Check INCLUDE >> paths. [MPI_SIESTA] >> use mpi_siesta >> ----------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 588: Error in opening the compiled module file. Check INCLUDE >> paths. [MPI_SIESTA] >> use mpi_siesta >> ----------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 2413: Error in opening the compiled module file. Check INCLUDE >> paths. [MPI_SIESTA] >> use mpi_siesta >> ----------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 2461: Error in opening the compiled module file. Check INCLUDE >> paths. [MPI_SIESTA] >> use mpi_siesta >> ----------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 368: This name does not have a type, and must have an explicit >> type. [MPI_SUCCESS] >> if (ierr .ne. MPI_SUCCESS) then >> --------------------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 381: This name does not have a type, and must have an explicit >> type. [MPI_COMM_WORLD] >> call MPI_Comm_Rank(MPI_COMM_WORLD, rank, ierr) >> -------------------------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 605: This name does not have a type, and must have an explicit >> type. [MPI_INTEGER] >> MPI_INTEGER, reading_node, MPI_COMM_WORLD, ierr) >> ---------------------^ >> fortcom: Error: /beda/users/home/lofas/siesta-** >> trunk-408/Src/fdf/fdf.F90, >> line 622: This name does not have a type, and must have an explicit >> type. [MPI_CHARACTER] >> MPI_CHARACTER, reading_node, MPI_COMM_WORLD, ierr) >> ---------------------^ >> compilation aborted for >> /beda/users/home/lofas/siesta-**trunk-408/Src/fdf/fdf.F90 (code 1) >> make[1]: *** [fdf.o] Error 1 >> make[1]: Leaving directory `/beda/users/home/lofas/** >> siesta-trunk-408/Obj/fdf' >> make: *** [libfdf.a] Error 2 >> > > Could you please try the following arch.make? > > Regards > -- > Hongyi Zhao <[email protected]> > Institute of Semiconductors, Chinese Academy of Sciences > GnuPG DSA: 0xD108493 > -- 李哲(LI Zhe) Solid State Physics and Magnetism Section, K.U.Leuven, Belgium email: [email protected] <[email protected]>
