Newsgroups: comp.parallel.mpi
From: Ron Sercely <sercely@convex.hp.com>
Subject: Re: MPI on share memory machines, anyone?
Organization: Hewlett-Packard/Convex Division
Date: Fri, 18 Apr 1997 09:04:02 -0500
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <33577F52.DF7@convex.hp.com>

It seems to me that you are proposing using threads, such a pthreads.

The pthreads interface is well defined, and might provide you with all
the support you need.

G. Herrmannsfeldt wrote:
> 
> I have started using MPI on a message passing machine, and I understand
> its functionality in that case.  However, it would seem convenient
> to use also on SMP machines, as one should not need a completely new
> API in this case.  But, with proper coding, the data on an SMP machine
> will already be in the right place, so it doesn't need to move.  One
> still needs the task synchronization, though.
> 
> Has anyone tried doing this?  Do you just use task sync. functions,
> or use send/receive but less often?
> 
> I guess really the question is how to write efficient code that
> is portable between MP and SMP machines.
> 
> thanks,
> 
> -- glen

-- 
Ron Sercely

HP/CXTC Toolsmith

