So you've pulled over the compressed tar ball. Now what? You'll need to do four things: install the drivers, make the library, make some routing tables, and then run the tests.
If you have installed the Myricom's drivers already, you just need to copy these drivers over the old ones and reboot. if you haven't, use Myricom's install scripts, then copy these drivers over the old ones and reboot :).
Go into the drivers/dlpi subdirectory and make. Copy the sun4m/myri into /kernel/drv. Do the same for drivers/mmap, and copy sun4m/mlanai into /kernel/drv. If you know what your doing, you can unload and load in the new drivers while the machine is running, otherwise just reboot.
Go into the src sub-directory. Make sure MYRI_HOME is set to the correct place. Also make sure to set the MPL environment variable to LAM. (This to maintain compatibility with the Split-C releases). Use gmake!
If you're running Solaris, you'll need to do a "gmake lcp" first on a SunOS machine, unless you set up your /bin/as as the old /bin/as. If you don't like this set-up, complain to myricom.
On a Solaris machine, the gmake should put libLAM.a into the lib subdirectory.
LCP FILE NAME Number of nodes in the system Route to node 0 Name of node 0 Route to node 1 Name of node 1 ... Route to node P Name of node P
For example, a sample routing file would look like:
/disks/barad-dur/now/AM/lam/LAM/src/lcp.dat 8 51 dawn0 54 dawn1 53 dawn2 56 dawn3 57E dawn4 57D dawn5 57C dawn6 57B dawn7A route represents a set of turns for relative addressed switches. The format is pretty simple, if not a little brain dead. 0 .. +7 represent turns 0-7. A-H represent turns 0 .. -7. i.e. B = -1.
The hostname should be the first part of the name before the first '.'. If you have hosts outside of one DNS domain, you have some Myrinet cluster.
While using config files works OK for small clusters, and is tolerable for 32 node clusters with the mapper, it is a pain. This will be automated in the next release.