Dear Nick, Thanks for your kind help! I have solved this problem, but some other errors emerged when 'ifort -transiesta' was going on: ----------------------------------------- m_ts_aux_rout.o: In function `csolveg': /home/users/zjuiseexy/siesta-trunk-424/Transiesta/m_ts_aux_rout.F:342: undefined reference to `zgesv_' m_ts_scattering.o: In function `getgf': /home/users/zjuiseexy/siesta-trunk-424/Transiesta/m_ts_scattering.F:197: undefined reference to `zgesv_' make: *** [transiesta] Error 1 -----------------------------------------
Regards, -- Liu At 2012-11-20 00:14:44,"Nick Papior Andersen" <nickpap...@gmail.com> wrote: That error stems from no mpi-dummy routine has been created. Simply do the following: Replace on line 205: #endif with this: #else subroutine dummy() end subroutine dummy #endif I will correct this in the patched version. Kind regards Nick 2012/11/19 liuyunlong0902 <liuyunlong0...@126.com> Dear Nick, Thanks for your help and sorry for not finding the similar question. I have compiled the siesta successfully, but another error emerges in transiesta compilation, I have no idea about this: ---------------------- fortcom: Error: m_glob_sparse.F90, line 208: The statement following a CONTAINS is not a function-stmt or a subroutine-stmt. end module m_glob_sparse ---------------------- Regards, -- Liu At 2012-11-19 21:46:43,"Nick Papior Andersen" <nickpap...@gmail.com> wrote: This question has been asked before, try and search for it. It is a bug of the intel 10 compiler. However, it can be fixed by removing the index of the lefthand side pointer assignment c(1:Npol) => contour(1:Npol) should be c => contour(1:Npol) etc. for the 3 following assignments... Kind regards Nick 2012/11/19 liuyunlong0902 <liuyunlong0...@126.com> Dear all, I was trying to install the siesta-trunk-424 version recently. Some error occured when I used the arch.make file to compile, but the same *.make file can compile the siesta-trunk-421 successfully. I attached the error information and *.make file, would anyone help me? Best regards, ----- Liu Error---------------------------------------------------------------------------------------------- mpif90 -g -O2 -c -g -O2 `FoX/FoX-config --fcflags` /home/users/zjuiseexy/siesta-trunk-424/Src/m_ts_contour.f90 fortcom: Error: /home/users/zjuiseexy/siesta-trunk-424/Src/m_ts_contour.f90, line 368: Object is not a pointer object [C] c(1:Npol) => contour(1:Npol) ----^ fortcom: Error: /home/users/zjuiseexy/siesta- trunk-424/Src/m_ts_contour.f90, line 379: Object is not a pointer object [C] c(1:Nline) => contour(Npol+1:Npol+Nline) ----^ fortcom: Error: /home/users/zjuiseexy/siesta-trunk-424/Src/m_ts_contour.f90, line 407: Object is not a pointer object [C] c(1:Ncircle) => contour(Npol+Nline+1:Npol+Nline+Ncircle) ----^ compilation aborted for /home/users/zjuiseexy/siesta-trunk-424/Src/m_ts_contour.f90 (code 1) make: *** [m_ts_contour.o] Error 1 --------------------------------------------------------------------------------------------------------- arch.make---------------------------------------------------------------------------------------------- # # This file is part of the SIESTA package. # # Copyright (c) Fundacion General Universidad Autonoma de Madrid: # E.Artacho, J. Gale, A.Garcia, J.Junquera, P.Ordejon, D.Sanchez-Portal # and J.M.Soler, 1996- . # # Use of this software constitutes agreement with the full conditions # given in the SIESTA license, as signed by all legitimate users. # .SUFFIXES: .SUFFIXES: .f .F .o .a .f90 .F90 SIESTA_ARCH=x86_64-unknown-linux-gnu--unknown FPP= FPP_OUTPUT= FC=mpif90 -g -O2 RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) FFLAGS=-g -O2 FPPFLAGS= -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT LDFLAGS= ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= BLAS_LIBS=/home/compiler/intel/mkl /8.1.1/lib/em64t/libmkl_em64t.a /home/compiler/intel/mkl/8.1.1/lib/em64t/libguide.a LAPACK_LIBS=/home/users/zyyao/test/siesta-3.0-rc2-src/Obj/dc_lapack.a /home/compiler/intel/mkl/8.1.1/lib/em64t/libmkl_lapack.a BLACS_LIBS=/home/users/twang/lib/intel9.1/blacsF77init_MPI-LINUX-0.a /home/users/twang/lib/intel9.1/blacs_MPI-LINUX-0.a /home/users/twang/lib/intel9.1/blacsF77init_MPI-LINUX-0.a SCALAPACK_LIBS=/home/users/twang/lib/intel9.1/libscalapack-1.8.0.a COMP_LIBS=dc_lapack.a NETCDF_LIBS= NETCDF_INTERFACE= LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS) -pthread #SIESTA needs an F90 interface to MPI #This will give you SIESTA's own implementation #If your compiler vendor offers an alternative, you may change #to it here. MPI_INTERFACE=libmpi_f90.a MPI_INCLUDE= . #Dependency rules are created by autoconf according to whether #discrete preprocessing is necessary or not. .F.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $< .F90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $< .f.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $< .f90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $< -----------------------------------------------------------------------------------------------------------