forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Physics fany <physicsfany@yahoo.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] parallel tune
- Date: Fri, 26 Dec 2008 20:53:12 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=B0bjQngmVlszRLmR9RLC9GR9vJMxzPibODSLP5WnxFIYDkcvGgbPP3Csg4nnRoUAC4gGXD1KnjjI8wvmQNz5vJ0lw+sd3QuVLDr+OWYD8nMAuKHVNsaXvKTqIKIid7mpa02AKHiE7q2IZMh48pgZSk7yABZogU760lW/mPTxdcU=;
Hello Alain,
Followed your test, yes I received
Hello World! I am 0 of 2
Hello World! I am 1 of 2
what is the problem of the errors then?
Followed your test, yes I received
Hello World! I am 0 of 2
Hello World! I am 1 of 2
what is the problem of the errors then?
From: Alain Jacques <ajs.jacques@gmail.com>
To: forum@abinit.org
Sent: Friday, December 26, 2008 10:35:35 PM
Subject: Re: [abinit-forum] parallel tune
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:
....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
- [abinit-forum] parallel tune, Physics fany, 12/26/2008
- Re: [abinit-forum] parallel tune, Alain Jacques, 12/26/2008
- Re: [abinit-forum] parallel tune, Physics fany, 12/26/2008
- Re: [abinit-forum] parallel tune, Alain Jacques, 12/26/2008
- Re: [abinit-forum] parallel tune, Physics fany, 12/26/2008
- <Possible follow-up(s)>
- Re: [abinit-forum] parallel tune, Physics fany, 12/26/2008
- Re: [abinit-forum] parallel tune, Alain Jacques, 12/26/2008
- Re: [abinit-forum] parallel tune, Physics fany, 12/27/2008
- Re: [abinit-forum] parallel tune, matthieu verstraete, 12/27/2008
- Re: [abinit-forum] parallel tune, Alain Jacques, 12/27/2008
- Re: [abinit-forum] parallel tune, Physics fany, 12/28/2008
- Re: [abinit-forum] parallel tune, lan haiping, 12/28/2008
- Re: [abinit-forum] parallel tune, Physics fany, 12/28/2008
- Re: [abinit-forum] parallel tune, lan haiping, 12/28/2008
- Re: [abinit-forum] parallel tune, Physics fany, 12/28/2008
- Re: [abinit-forum] parallel tune, Alain Jacques, 12/27/2008
- Re: [abinit-forum] parallel tune, Alain Jacques, 12/26/2008
- Re: [abinit-forum] parallel tune, Alain Jacques, 12/26/2008
Archive powered by MHonArc 2.6.15.