Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] parallel tune

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] parallel tune


Chronological Thread 
  • From: Alain Jacques <ajs.jacques@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] parallel tune
  • Date: Fri, 26 Dec 2008 20:05:35 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=wZyLcLhBbsCnsBWf7/U/JKMYw7dRwykL0RBLBBclEWer3NHou5tJ2cXf+7UuAz8wy/ SK3yfmOWDop4RcAvWblYy6cvt0Ba8OY2JokKLdYZx3FhKisgrra0K6IIohPxVpyHAv+7 QJq6nvN1f4bLHbOHG9OcOr5gW5AmQYWir3X0s=

Let's make a simple test to figure out where it goes wrong. Create a sample mpi_hello.f90 file with:

PROGRAM HelloWorld
include 'mpif.h'
 
call mpi_init(ierr)
call mpi_comm_size(MPI_COMM_WORLD,npes, ierr)
call mpi_comm_rank(MPI_COMM_WORLD,irank,ierr)
 
print*,'Hello World! I am ',irank,' of ',npes
 
call mpi_finalize(ierr)
 
END PROGRAM

Check that your mpi is in the PATH and LD_LIBRARY_PATH ; compile mpi_hello.f90 with
mpif90 -o mpi_hello mpi_hello.f90

Then run it with
mpirun --mca btl sm,self -np 2 mpi_hello

Do you obtain ...
 Hello World! I am            0  of            2
 Hello World! I am            1  of            2

Alain


Physics fany wrote:
227862.77843.qm@web59916.mail.ac4.yahoo.com" type="cite">
Hello,

thanks for replying.

1. I went through "ldd abinip" the following message appeared:

    linux-gate.so.1 =>  (0xffffe000)
    libmpi_f90.so.0 => /usr/local/lib/libmpi_f90.so.0 (0xb8078000)
    libmpi_f77.so.0 => /usr/local/lib/libmpi_f77.so.0 (0xb804a000)
    libmpi.so.0 => /usr/local/lib/libmpi.so.0 (0xb7fc4000)
    libopen-rte.so.0 => /usr/local/lib/libopen-rte.so.0 (0xb7f6f000)
    libopen-pal.so.0 => /usr/local/lib/libopen-pal.so.0 (0xb7f17000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7f13000)
    libnsl.so.1 => /lib/libnsl.so.1 (0xb7efb000)
    libutil.so.1 => /lib/libutil.so.1 (0xb7ef7000)
    libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0xb7e44000)
    libm.so.6 => /lib/libm.so.6 (0xb7e1e000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e10000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7df8000)
    libc.so.6 => /lib/libc.so.6 (0xb7cb4000)
    /lib/ld-linux.so.2 (0xb8099000)

although didn't see any unreferenced libraries, I executed "export  LD_LIBRARY_PATH=/usr/local/lib" and configured again, make and make install, I did what you said about making a parallel test and I recievd the following log:
STOP INIT
STOP INIT
STOP INIT
STOP INIT

...



Archive powered by MHonArc 2.6.15.

Top of Page