Madan,

I am confused by your arch.make. If your compilation has been done with mpi,
where are the scalapack? and why isn't mpif90 used instead of plain ifort?

Also, I recommend you to upgrade your compiler to version 10.1.015. In a
cluster on which I worked we had compiled mvapich (for using the infiniband
connection between the nodes), Siesta and the necessary libraries with ifort
9 and we had all sorts of esoteric errors. These errors disappeared when we
re-compiled everything with ifort 10.1.015 and mkl 9.x.

Marcos

On Tue, Sep 21, 2010 at 3:58 PM, Madan Mithra. L. M
<[email protected]>wrote:

> Dear All,
>
> I frequently come across the following error.
>
> ---------
> forrtl: Input/output error
> forrtl: severe (38): error during write, unit 15, file
> /global/utemp/phybhotl/siesout/PPF/PPF.DM
> Image              PC                Routine            Line        Source
> s.MPI.DGrid.exe    4000000000B77CB0  Unknown               Unknown  Unknown
> s.MPI.DGrid.exe    4000000000B72D90  Unknown               Unknown  Unknown
> s.MPI.DGrid.exe    4000000000B19D90  Unknown               Unknown  Unknown
> s.MPI.DGrid.exe    4000000000A80E80  Unknown               Unknown  Unknown
> s.MPI.DGrid.exe    4000000000A804B0  Unknown               Unknown  Unknown
> s.MPI.DGrid.exe    4000000000AE4B10  Unknown               Unknown  Unknown
> s.MPI.DGrid.exe    40000000005905D0  Unknown               Unknown  Unknown
>
> Stack trace terminated abnormally.
> MPI: MPI_COMM_WORLD rank 0 has terminated without calling MPI_Finalize()
> MPI: aborting job
> ---------
>
> The Machine is 'Altix' and the code (MPI) was compiled using ifort 9.0
> and linked with MKL libraries and 'scs' libraries. Please help me to
> figure out the error. The error occurs either at the writing stage of
> 'DM' file or 'ORB_INDX' file.
>
> This is the make file I used (arch.make) :
>
> --------
> .SUFFIXES:
> .SUFFIXES: .f .F .o .a .f90 .F90
>
> SIESTA_ARCH=ia64-unknown-linux-gnu--Intel
>
> FPP=
> FPP_OUTPUT=
> FC=ifort
> FC_SERIAL=ifort
> FC_ASIS=$(FC)
>
> RANLIB=ranlib
>
> SYS=nag
>
> SP_KIND=4
> DP_KIND=8
> KINDS=$(SP_KIND) $(DP_KIND)
>
> FFLAGS=-O2 -mp
> FPPFLAGS= -DMPI -DWXML_INIT_FIX -DGRID_DP
> LDFLAGS=
>
> ARFLAGS_EXTRA=
>
> FCFLAGS_fixed_f=
> FCFLAGS_free_f90=
> FPPFLAGS_fixed_F=
> FPPFLAGS_free_F90=
>
> MIT=/opt/intel/mkl/8.0.1/lib/64
>
> BLAS_LIBS= -L$(MIT) -lmkl_lapack -lguide -lmkl_ipf -lmkl_solver
> LAPACK_LIBS= dc_lapack.a \
>           -L$(MIT) -lmkl_lapack -lguide -lmkl_ipf -lmkl_solver
>
> COMP_LIBS=dc_lapack.a
>
> NETCDF_LIBS=
> NETCDF_INTERFACE=
>
> LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS)
> $(NETCDF_LIBS) \
>       -L/usr/lib -lsdsm -lscs -lmpi -ldl
> MPI_INTERFACE=libmpi_f90.a
> MPI_INCLUDE=/usr/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)  $<
>
> -------------------------------------
>
> Thank you
>
> -- Madan
> ----------------------------------------
> Madan Mithra .L.M
> Senior Research Fellow
> Dept.of Physics
> Indian Institute of Science
> Bangalore - 560 012
> INDIA
> .........................................
> Phone : 91-80-22932313 (Lab)
>  FAX   : (080) 360 2602
> ----------------------------------------
>

Responder a