[OMPI users] errors in stdin

2007-05-12 Thread anyi li
Hi, I am currently running the code by using mpirun -np 4 abc.exe < test.in>out abc.exe is my executed file, I list my input values in test.in as AAA value1 BBB value2 I run the same code by using intel mpi, it's fine, it can read parameters from stdin. But when I use open mpi, i

[OMPI users] mpi_rank : use as function arguments, or find it again every time

2007-05-12 Thread Sefa Arslan
Hi, I need to use rank of the mpi processes in my sub functions ( c language). which one has more cost?; creating a new variable& and finding the rank in each sub function by: int mpi_rank; MPI_Comm_rank(MPI_COMM_WORLD,&mpi_rank); or finding the rank in main function once,

Re: [OMPI users] AlphaServers & OpenMPI

2007-05-12 Thread Rob
Jeff Squyres wrote: > > This specific problem may be due to a bug that Brian just found/fixed > in the configure script last night (due to a bug report from Paul Van > Allsburg). Could you try any nightly trunk tarball after r14600 (the > fix hasn't made its way over to the 1.2 release branch

Re: [OMPI users] AlphaServers & OpenMPI

2007-05-12 Thread Jeff Squyres
On May 12, 2007, at 8:25 AM, Rob wrote: > This specific problem may be due to a bug that Brian just found/ fixed > in the configure script last night (due to a bug report from Paul Van > Allsburg). Could you try any nightly trunk tarball after r14600 (the > fix hasn't made its way over to the

Re: [OMPI users] AlphaServers & OpenMPI

2007-05-12 Thread Rob
Jeff Squyres wrote: > > This stuff was just added the other day (remember: trunk = active > ... > > What version of OFED do you have installed, 1.0? We can probably add > a proper configure test for IBV_EVENT_CLIENT_REREGISTER and > protect those sections of the code for OFED installations th

Re: [OMPI users] AlphaServers & OpenMPI

2007-05-12 Thread Jeff Squyres
On May 12, 2007, at 8:49 AM, Rob wrote: > What version of OFED do you have installed, 1.0? We can probably add > a proper configure test for IBV_EVENT_CLIENT_REREGISTER and > protect those sections of the code for OFED installations that do not have it. OFED? Protect sections? No idea what y

Re: [OMPI users] mpi_rank : use as function arguments, or find it again every time

2007-05-12 Thread Rainer Keller
Hello, On Saturday 12 May 2007 11:25, Sefa Arslan wrote: > I need to use rank of the mpi processes in my sub functions ( c > language). which one has more cost?; > creating a new variable& and finding the rank in each sub function by: > int mpi_rank; > MPI_Comm_rank(MPI_COMM_WOR

Re: [OMPI users] errors in stdin

2007-05-12 Thread Jeff Squyres
This is unfortunately a known problem -- see: https://svn.open-mpi.org/trac/ompi/ticket/967 I mostly fixed the problem a few weeks ago, but was called away on other higher-priority items before fully finishing and testing the fix. :-( The workaround until this is fixed is to read from

Re: [OMPI users] AlphaServers & OpenMPI

2007-05-12 Thread Rob
Jeff Squyres wrote: > > If you do not have InfiniBand or iWARP hardware, you can disable this > whole code path with: > ./configure --without-openib ... BINGO! Both of my problems are gone with this configure flag and the make ends successfully, also with the --enable-shared configure flag.

Re: [OMPI users] AlphaServers & OpenMPI

2007-05-12 Thread Rob
Hi, One more question with respect to running OpenMPI on my AlphaServers and other PCs in my lab. Version 1.2.1 fails to build on the AlphaServers, but miraculously the nightly snapshot openmpi-1.3a1r14639 works fine. Now, I need to have OpenMPI set up on a production cluster, but openmpi-1.3XXX