Supererogatory Penguin Image
Supererogatory Penguin Image
  Myrinet GM-1 Software
for Linux
GM-1 Software Available
Linux
Kernel
Processor
IA32 IA64 Alpha PowerPC
2.4 check mark check mark check mark check mark
2.2 check mark   check mark check mark
2.0 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.

The Linux GM software is distributed only in source form. Which GM version you use may depend on which Myrinet NICs are used in your hosts.

Recommended-version GM-1 Source Downloads for Linux
NIC
Operating System/
Processor
PCI64B and PCI64C
(Lanai 9)
PCI64 and PCI64A
(Lanai 7)
PCI32C
(1MB)
(Lanai 4)
PCI32B
(512KB)
(Lanai 4)
PCI32A
(256KB)
(Lanai 4)
Linux 2.4
IA64
GM-1.6.7 GM-1.6.7 - - -
Linux 2.4
IA32, Alpha, PowerPC
GM-1.6.7 GM-1.6.7 GM-1.5.2.1 GM-1.5.2.1 -
Linux 2.2
IA32, Alpha,
PowerPC
GM-1.6.7 GM-1.6.7 GM-1.5.2.1 GM-1.5.2.1 GM-1.2.3
Linux 2.0
IA32, Alpha
GM-1.4 GM-1.4 GM-1.4 GM-1.4 GM-1.2.3

Linux 2.4 requires GM 1.5 or higher. Certain of the legacy PCI32 NICs cannot run GM 1.5.x for lack of sufficient memory, thus, cannot be used with Linux 2.4.

Important note: GM-1.5.2 or later is required for PCI64C NICs running on machines with 33MHz PCI buses!

VERY IMPORTANT NOTE: The installation procedure for GM has changed significantly between GM-1.5.2.1 and GM-1.6.3 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 1.6.5 or later. (Here is the README-linux for GM 1.6.5.)

Abbreviated instructions for installing GM 1.5.2.1 are still available. (Here is the README-linux for GM 1.5.2.1.)

Current cautions and common problems:

GM installation is performed in four easy steps:

1. Configuring and compiling GM.

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

By default, we assume that the kernel header files for your Linux installation are located in /usr/src/linux. If your Linux installation is not located in /usr/src/linux, 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>

You may omit <install_path> to install the driver in /opt/gm/.

Next, you must run

        su root
        <install_path>/sbin/gm_install_drivers
        /etc/init.d/gm start

on each machine to install/copy the drivers on that machine.

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.

Note: If the host is rebooted, you must reload the GM driver (and rerun the GM mapper).

3. Running the GM Mapper.

        cd  <install_path>/sbin/
        su root
        ./mapper ../etc/gm/map_once.args

There are 3 ways in which the GM Mapper can be run. Refer to the README-linux for details.

4. Testing the GM Installation.

A variety of test scripts are available in bin/ to test your GM installation. We recommend the five tests described in bin/README.

Congratulations! You have successfully installed GM.

Refer to the Software and Documentation Page for details of GM-based software (MPICH-GM, VI-GM, PVM-GM, Sockets-GM). 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.

Myricom banner
Last updated: 15 May 2008