From: Maciej Golebiewski <s30125@hotbot.com>
Newsgroups: comp.parallel.mpi
Subject: Re: Building MPICH on SMP: ch_shmem or ch_p4 (?)
Date: Fri, 07 May 1999 10:11:28 +0200
Organization: Organization? Me???
Message-Id: <3732A030.12A6E495@hotbot.com>
References: <7g9jq9$trq$1@vvv.srcc.msu.su> <37285C51.71E7C9CF@hotbot.com>
    <7gphqb$fja$1@nnrp1.dejanews.com> <37314EA1.F1CFD3D5@hotbot.com>
    <7gsrh4$g6b$1@nnrp1.deja.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:5046


matt@mail.ssc.usm.edu wrote:
> Two questions, first
> If you don't use mpirun how do you tell the computer how many processors to
> use??  Is that like a NUM_THREADS variable??

You just start your program with -np #, e.g. myproggy -np 4
and it will fork 3 children.

> second, I keep getting stuff about the profiling objects not found
> 
> comm_util.o(.text+0x35f): undefined reference to `PMPI_Sendrecv'
> comm_util.o(.text+0x3ae): undefined reference to `PMPI_Bcast'
> 
I have never tried the profiling interface so far, so I'll have first
to look at that before I can try to answer that :)

