On Tue, 21 Oct 2003, Jeremy Enos wrote:
> Totally feasible. You just need to know how to configure IP for your
> network interfaces in Linux.
> (/etc/sysconfig/network-scripts/ifcfg-ethX) I'm assuming that you know
> not to put them on the same subnet, check default route (gw), etc. Once
> that's done, associate a secondary hostname with the secondary IP
> (/etc/hosts). Then just use the secondary or primary hostnames
> (whichever one doesn't conflict with the traffic you're avoiding) in
> your MPI machinefile.
Most users do this by having some kind of converstion script from the list
of hostnames that PBS generates. i.e., something that converts the
contents of $PBS_HOSTFILE from the "administrative" IP addresses to your
"fast" IP addresses. It could be as simple as a regular expression:
sed -e 's/192.168.1./192.168.2./' $PBS_HOSTFILE > new_hostfile
Someone recently asked about this on the LAM/MPI user's mailing list, and
we've added a feature that will be in the next major release (7.1); the
ability to have a "map" file in the MPI installation that will do this
kind of mapping for you automatically. The system administrator can, for
example, edit a file in the LAM/MPI installation to be something like
this:
-----
oscar1.example.com mpi=oscar1.fastnetwork.example.com
oscar2.example.com mpi=oscar2.fastnetwork.example.com
oscar3.example.com mpi=oscar3.fastnetwork.example.com
oscar4.example.com mpi=oscar4.fastnetwork.example.com
# ...and so on
-----
LAM/MPI will see this file at run time and do the converstion
automatically. More specifically, LAM will use the "oscar1.example"
(slow) network for administrative traffic and the "oscar1.fastnetwork"
(fast) network for MPI traffic.
See the thread where this request started:
http://www.lam-mpi.org/MailArchives/lam/msg06779.php
--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users