Supererogatory Penguin Image
Supererogatory Penguin Image
  Myrinet GM-2 Software
for Linux

GM-2 Software Available
Linux
Kernel
Processor
IA32 IA64 AMD64 EM64T Alpha PowerPC PowerPC64 Power4 Power5
2.4 check mark check mark check mark check mark check mark check mark check mark    
2.6 check mark check mark check mark check mark   check mark check mark check mark check mark

Note:


To download Myrinet software, you need a login and password.
If you don't already have these, please request them.

Source | Myrinet roll for Rocks

The Linux GM-2 software is distributed only in source form. Which GM version you use may depend on which Myrinet NICs are used in your hosts. GM rolls for Rocks are also available.

How to use the table below: Generally, all hosts on a single Myrinet network must run the same version of GM. If you have multiple types of NICs on your network, you'll need to use the higher GM version, e.g., if you have PCI64 and PCIXD NICs, the preferred GM version is 2.0.x. If there are multiple versions in a box in the table, they are listed in order of usual preference. Additional information about the version choices is below the table.

GM-2 Source Downloads for Linux
Listed in Order of Usual Preference
NIC
Operating System/
Processor
PCIXE
(Two port,
Lanai 2XP)
PCIXF
(One port,
Lanai 2XP)
and
PCIXD
(One port,
Lanai XP)
PCI64 Series
(Lanai 7 or 9)
Linux 2.6*
IA32, IA64, PowerPC
GM-2.1.29 GM-2.0.28
or
GM-2.1.29
GM-2.0.28
or
GM-2.1.29
Linux 2.6*
AMD64, EM64T, PowerPC64, Power4, Power5
GM-2.1.29 GM-2.0.28
or
GM-2.1.29
not qualified on these hosts
Linux 2.4
IA32, IA64, Alpha, PowerPC
GM-2.1.29 GM-2.0.28
or
GM-2.1.29
GM-2.0.28
or
GM-2.1.29
Linux 2.4
AMD64, EM64T, PowerPC64
GM-2.1.29 GM-2.0.28
or
GM-2.1.29
not qualified on these hosts

* For Linux 2.6.2{1,2,3,4,5} support, you will need the following GM patch for GM-2.0.28. This patch is already included in GM-2.1.29.

* For Linux 2.6.2{6,7,8} support, you will need to apply two patches to GM-2.0.28, gm-2.x.28_linux-2.6.25.patch and gm-Linux-2.6.28.patch3. For GM-2.1.29, you only need to apply the second patch, gm-Linux-2.6.28.patch3.

* For IA64 support with SLES10, you may need two patches as described in this FAQ entry.

GM-2 does not support Xen or VMware virtualization software.

Choices: GM-2.0.x and GM-2.1.x are compatible at the API level, but employ different protocols in the network, so for interoperability you should use the same GM version on all hosts in a Myrinet cluster.

Other version considerations:

GM-1 versus GM-2: GM-2 software is required for use with the PCIX-series NICs and for ethernet-emulation interoperability with M3-SW16-8E Gigabit-ethernet switch line cards. GM 2 provides a number of features not available in GM 1, including fully distributed (active) mapping. Although GM-2 was backported to support the PCI64-series NICs for interoperability between successive generations of NICs, it is not as well optimized for performance on PCI64-series NICs as GM 1.6.x. Thus, we do not recommend at this time upgrading clusters using only PCI64-series NICs to use GM-2 software unless you have need for the new features in GM 2.

NOTE:The installation procedure for GM has changed slightly between gm-1.6.4 and gm-2.0 and later. Refer to the abbreviated installation instructions below. Automated installation scripts will need to be updated!

Abbreviated Installation Instructions

To compile GM on Linux platforms, you will only need GNU make and C/C++ compilers. Please be sure to read the README files for detailed installation instructions and architecture-specific troubleshooting. Unresolved questions may also be addressed in the FAQ.

These abbreviated instructions presume that you are installing GM 2.0. (Here is the README-linux for GM 2.0.)

Abbreviated instructions for installing GM 1.6.4 are available.
Abbreviated instructions for installing GM 1.5.2.1 are available.

Current cautions and common problems:

GM installation is performed in four easy steps:

1. Configuring and compiling GM.

        gunzip -c gm-2.0.28_Linux.tar.gz | tar xvf -
        cd gm-2.0.28_Linux
        ./configure
        make

By default, we assume that the kernel header files for your Linux installation are located in /lib/modules/`uname -r`/build. If your Linux installation is not located in /lib/modules/`uname -r`/build, you must configure with the following option:

 
        ./configure --with-linux=<linux-source-dir>

where <linux-source-dir> specifies the directory for the Linux kernel source. The kernel header files MUST match the running kernel exactly: not only should they both be from the same version, but they should also contain the same kernel configuration options.

Note:

2. Installing the GM driver.

Select an installation directory path <install_path>. It is usually best for <install_path> to be the path to an NFS directory available on all machines that are to share this GM installation. The directory must be accessible using <install_path> on all machines that are to share the installation. <install_path> must be an absolute path; it must start with /. However, <install_path> may contain symbolic links.

        cd binary
        ./GM_INSTALL <install_path>

If you omit <install_path>, the driver will be installed in the default directory, /opt/gm/.

Next, you must run

        su root
        <install_path>/sbin/gm_install_drivers
        /etc/init.d/gm start
        echo <install_path>/lib64 >> /etc/ld.so.conf
        echo <install_path>/lib >> /etc/ld.so.conf && /sbin/ldconfig

on each machine. The ldconfig line is optional, and adds the GM library directory to the system library search path. If you do not do this, individual users will have to either manage their LD_LIBRARY_PATH environment variable or link their programs with an -rpath option for the dynamic linker to locate the GM shared library.

Details of these installation scripts can be found in the README-linux. When the GM module is loaded, a mapper daemon called gm_mapper is started for each Myrinet NIC contained in the machine. The PIDs of the running gm_mappers are stored in /var/run/gm_mapper/pid.<board_id>, and the map files are located in /var/run/gm_mapper/map.<board_id>.

Important notes:

If you wish for the driver to auto-load at boot, you must create appropriate links in the /etc/rcN directories to the /etc/init.d/gm and /etc/init.d/myri scripts. Alternatively, you may start and stop the drivers manually using

 
        su root
        /etc/init.d/gm start
        /etc/init.d/gm stop

or

 
        su root
        /etc/init.d/gm restart

to start, stop, or restart the driver, respectively.

For directions on how to uninstall the GM driver, refer to the "Miscellaneous" section of the README-linux.

3. Enabling IP over Myrinet (Ethernet emulation) (OPTIONAL)

If you wish to run IP over Myrinet (ethernet emulation), the Linux command to enable IP over GM is as follows:

   /sbin/ifconfig myri0 <ip_address> up

where you must replace myri0 with the appropriate name (myri1, myri2, etc.) if you have more than one Myrinet NIC per host.

4. Testing the GM Installation.

Once the GM software has been properly installed on all of the hosts in your cluster, you are ready to validate your Myrinet installation by performing the following sequence of tests.

Each of these steps is detailed in the Troubleshooting section of the FAQ.

The test scripts (gm_board_info, gm_debug, gm_allsize, gm_stress) are available in <install_path>/bin in your GM installation. A README describing each of these tests can be found in <install_path>/bin/README. Mute is not included in the GM distribution, but can be downloaded from the SCS webpage.

Congratulations! You have successfully installed GM-2.

Refer to the Software and Documentation Page for details of GM-based software (MPICH-GM, VI-GM, PVM-GM, Sockets-GM). Currently only MPICH-GM, PVM-GM, and Sockets-GM can be used with GM-2. All other middleware requires GM-1. If you encountered difficulties during any phase of this installation process, we recommend that you first consult the README-linux and FAQ, and if you still have unresolved questions, please feel free to contact technical support at help@myri.com.


GM-2 Roll for Rocks v5.0

Processor

NIC
PCIXE PCIXD or PCIXF PCI64
Myrinet Roll for i386 GM-2.1.28 roll for i386 GM-2.0.28 roll for i386 GM-2.0.28 roll for i386
Myrinet Roll for ia64 upon request upon request upon request
Myrinet Roll for x86_64 GM-2.1.28 roll for x86_64 GM-2.0.28 roll for x86_64 not qualified for these hosts

Note: Each Myrinet roll contains GM-2.1.28 (or GM-2.0.28), MPICH-GM 1.2.7p1..20, and Open MPI v1.2.6. Installation instructions are available on the Myrinet FAQ and the Rocks homepage.

Myricom banner
Last updated: 13 March 2009