Hi,
        I recently compile siesta 1.3, with MPI support (blacs, scalapack,
mpi libraries standard comes from debian 3.1), but when i run the program
with mpirun , siesta says it a parallel version and freeze mpirun:

[EMAIL PROTECTED]:~/t2/Vps$ /usr/bin/mpirun -np 2 /opt/siesta/bin/siesta <
sih.fdf
SIESTA 1.3.7  -- [1.3f1 release] (04 Feb 2004)
Architecture  : intel-mpich
Compiler flags: ifort -tpp7 -O2 -w -mp -Vaxlib  -O
SERIAL version

* Running in serial mode
>> Start of run:  10-MAY-2005  16:18:23

                           ***********************
                           *  WELCOME TO SIESTA  *
                           ***********************

reinit: Reading from standard input
SIESTA 1.3.7  -- [1.3f1 release] (04 Feb 2004)
Architecture  : intel-mpich
Compiler flags: ifort -tpp7 -O2 -w -mp -Vaxlib  -O
SERIAL version

* Running in serial mode
************************** Dump of input data file
****************************
>> Start of run:  10-MAY-2005  16:18:23

                           ***********************
                           *  WELCOME TO SIESTA  *
                           ***********************

reinit: Reading from standard input
************************** Dump of input data file
****************************
$ ps
edo       2570  0.0  0.0  2896 1140 pts/0    T    16:18   0:00 /usr/bin/mpirun 
-np 2 /opt/siesta/bin/siesta
edo       2571  0.0  0.0 16444 1668 ?        S    16:18   0:00 
/opt/siesta/bin/siesta
edo       2572  0.0  0.0 16444 1668 ?        S    16:18   0:00 
/opt/siesta/bin/siesta

I check that generate two process (or any specified ni #procs), but don't
nothing do (freeze). I read about for use mpi and extras to have to recompile
these application with the same compilers (ifc, icc , icpc).

When a i run the siesta normally, works fine:

ldd of siesta says:
cluster1:~# ldd /opt/siesta/bin/siesta
        liblapack.so.2 => /usr/lib/atlas/liblapack.so.2 (0x40023000)
        libblas.so.2 => /usr/lib/atlas/libblas.so.2 (0x40666000)
        liblam.so.4 => /usr/lib/lam/lib/liblam.so.4 (0x40950000)
        libm.so.6 => /lib/libm.so.6 (0x40a3f000)
        libcxa.so.5 => /opt/intel_fc_80/lib/libcxa.so.5 (0x40a61000)
        libunwind.so.5 => /opt/intel_fc_80/lib/libunwind.so.5 (0x40a87000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40a8d000)
        libc.so.6 => /lib/libc.so.6 (0x40ade000)
        libg2c.so.0 => /usr/lib/libg2c.so.0 (0x40c11000)
        libutil.so.1 => /lib/libutil.so.1 (0x40c30000)
        libdl.so.2 => /lib/libdl.so.2 (0x40c33000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

my arch.make (with shared or static libraries also includes for test
produce the same binaries):

SIESTA_ARCH=intel-mpich
#
NETCDF_LIBS=
NETCDF_INTERFACE=
DEFS_CDF=-DCDF
#
MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=/usr/lib/mpich/include
DEFS_MPI=-DMPI
#
MPI_LIBS=-L/usr/lib/mpich/lib/libmpich.a -llamf77mpi -lmpi -llam -llammpi++ 
-lpthread
BLACS_LIBS1=-L/usr/lib/libblacs-mpich.a
BLACS_LIBS2=-L/usr/lib/libblacsCinit-mpich.a
BLACS_LIBS3=/usr/lib/libblacsF77init-mpich.a
BLACS=$(BLACS_LIBS3) $(BLACS_LIBS1) $(BLACS_LIBS2)
SCALAPACK_LIBS=/usr/lib/libscalapack-mpich.a
LIBS= $(SCALAPACK_LIBS) $(BLACS) -llapack -lblas\
        $(MPI_LIBS) -lmpi

SYS=bsd
DEFS= $(DEFS_CDF) $(DEFS_MPI)
#
FC=ifort -tpp7 -O2 -w -mp -Vaxlib
#
FC_ASIS=$(FC)
#
FFLAGS= -O
# FFLAGS_DEBUG= -g
# LDFLAGS=-Vaxlib
# RANLIB=echo
# LIBS=
# SYS=bsd
DEFS=
# COMP_LIBS=linalg.a
#
.F.o:
        $(FC) -c $(FFLAGS)  $(DEFS) $<
.f.o:
        $(FC) -c $(FFLAGS)   $<
.F90.o:
        $(FC) -c $(FFLAGS)  $(DEFS) $<
.f90.o:
        $(FC) -c $(FFLAGS)   $<
#

Thanks in Advance

Eduardo Romero
Santiago - Chile.
--


Reply via email to