On Fri, Feb 18, 2005 at 03:17:56PM -0800, Jonathan Greenberg wrote:
>I'm trying to go through the process of learning to write parallel code that
>I'd like to run on my powermac dual-G5. I installed lammpi + all the
>developer code using fink. When I run lamboot:
on a single machine it's easiest just to run
lamboot
and then lamnodes reports something like what you have already seen:
>n0 localhost:1:origin,this_node
which is fine. then run your app with
mpirun h -c 2 programName
and you'll get 2 'threads' running - one for each cpu.
worry about hostfiles and numbers of cpus if you have >1 computer.
you might also like to check that you're not using the usysv rpi for
comms as the G5 OSX is so optimised it's broken in this case. See the
LAM list archives for details.
cheers,
robin
|