Date: Tue, 14 Feb 2006 08:30:46 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Aluminium Oxide <orac000@internet-mail.org> Cc: freebsd-hpc@freebsd.org Subject: Re: HPC: Using Message Passing to distribute threads Message-ID: <20060214163046.GA8572@odin.ac.hmc.edu> In-Reply-To: <1139894933.16845.254309588@webmail.messagingengine.com> References: <1139894933.16845.254309588@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Dropped irrelevent mailing lists. In general CCing lists at multiple sites is bad form]. On Tue, Feb 14, 2006 at 03:58:53PM +1030, Aluminium Oxide wrote: > Forgive me if I am suggesting that we reinvent the wheel, but I have a > problem with a potentially simple solution. >=20 > It concerns the difficulty of adapting an application to use a parallel > computing system, such as with MPI or PVM. >=20 > I would like help possible to write a simple (heh heh) compiler > directive, or header, or a wrapper function which allows one to add a > tag or wrap a function call to a function which will be called > iteratively to spawn not just a new thread, but a new thread ***which > can be passed to another node*** in a parallel computer system? >=20 > This seems like a very simple and elegant method by which > non-parallelised code can be adapted to a parallel architecture. That you're describing is functionally if not syntatcicaly identical to OpenMP. http://en.wikipedia.org/wiki/OpenMP GCC's GOMP project is creating such a implementation for SMP systems at: http://savannah.nongnu.org/projects/gomp/ Note that this won't work for a cluster, there have been implementations of OpenMP on top of message passing libraries, but codes and clusters where such implementations make sense given the communication overhead are rare. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFD8gW0XY6L6fI4GtQRAmnCAKCNyUmlU59AhPlSmRTccEha9U4KYgCfSpAE 713XHA63388Q+R9GYKe66lg= =LW0v -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060214163046.GA8572>