Newsgroups: comp.parallel.pvm
From: spohr@rog.rwth-aachen.de     (Axel Spohr)
Subject: Re: How to introduce parallel subroutines to PVM programs?
Organization: Rogowski-Institut
Date: 10 Nov 1995 08:04:56 GMT
Message-ID: <47v138$21k@news.rwth-aachen.de>

In case you are not really looking for a HPF-style solution, you can easily
code parallel sorting/searching or whatsoever using pvm. Your procedures
will simply have to do all the administration themselves, so that when you
make a call to parallel_sort() in your (serial) program, parallel_sort() starts
to look for an already running pvmd, connects to it and starts spawning
further processes. While parallel_sort() can be part of a lib, the processes
spawned from any such routine would have to be executables lying in
$PVM_ROOT/bin or $PVM_ROOT/lib. This of course could also be a routine that
reacts to different messages with different subroutines as suggested earlier.
Thus the calling program never gets an idea of the sorting beeing done in
parallel. Hope this helps..

			Axel

 
-----------------------------------------------------------------------------
Axel Spohr					     spohr@rog.rwth-aachen.de
Ludwigsallee 1b
D-52062 Aachen						
+49-241-154701
-----------------------------------------------------------------------------
        This mail was sent using unbleached, recycled electrons.



