Myrinet logotype
MX-2G Software
Downloads and Installation Instructions

Home | Mail for Product Information | Documentation | Software Downloads |
Switch Software | Diagnostic Tools | Other Documentation and Tools |
Technical Support | RMA Procedures

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

Source | Binary | Myrinet roll for Rocks

MX-2G Software

MX-2G (Myrinet Express for Myrinet-2000 PCI-X NICs) is a low-level message-passing system for Myrinet networks. The MX software includes the MX library, drivers, Myrinet-NIC control program, and a network mapping program. MX-2G is available for Myrinet-2000 PCI-X NICs. For Myri-10G PCI-Express NICs, refer to the MX-10G Software Download web page.

MX-2G provides kernel-bypass operation for low latency and low host-CPU utilization over Myrinet-2000 networks. In addition to MX over Myrinet (MXoM), MX-2G includes IP communication (TCP/IP and UDP/IP) over Myrinet (IPoM).

For application or middleware developers who need to develop code using the MX API, refer to the MX API manual. MX-2G for Myrinet-2000 PCI-X NICs and MX-10G for Myri-10G PCI-Express NICs are fully compatible at the API and application levels, and use the same MPI and Sockets middleware.

Complete installation instructions and platform-specific information can be found in the README in the top-level directory of the source distribution.

Source code is available for all distributions. However,

MX-2G Source Downloads

Operating System
and Processor

Type of NIC
PCIXD
or
PCIXE
or
PCIXF
Linux
2.6* and 2.4 for i386, ia64, x86_64 (including AMD64 and EM64T), ppc, and ppc64 (including Power4 and Power5)
MX-2G 1.2.7
Linux
2.6* configured with 64K pages (typically ppc64/64k or mips/64k)
MX-2G 1.2.7 (64K pages)
Windows
Windows 2000/XP/2003 for i386
Windows XP for ia64, x86_64
Windows Vista for i386 and x86_64
Windows Server 2008 (Longhorn) for i386 and x86_64
MX-2G 1.2.7
Solaris
Solaris 10 for UltraSPARC and AMD64
MX-2G 1.2.7
Mac OS X
10.3.x, 10.4.x, and 10.5.x for G5 and Intel
MX-2G 1.2.7
FreeBSD
v5.x for i386 and AMD64
MX-2G 1.2.7

* Note for recent Linux versions: we try to support newer Linux versions within a few weeks of their official release. We also encourage customers to report any problem encountered with development Linux versions or release candidates.

Note:

Here is a summary of the CHANGES between MX versions.

Abbreviated Installation Instructions

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

Customer compilation of MX for Windows is not recommended due to the difficulties involved. Users should be comfortable with the Cygwin environment. Contact help@myri.com for instructions.

Current cautions and common problems:

MX installation is performed in four easy steps:

1. Configuring and compiling MX.

	     $ gunzip -c mx2g_1.2.7.tar.gz | tar xvf -
	     $ cd mx-1.2.7
	     $ ./configure
	     $ make

By default, we assume that the header and config files of your Linux kernel (required to compile outside modules and either part of a kernel-headers or kernel-source package depending on your distribution) are pointed by /lib/modules/`uname -r`/{source,build}. If your Linux installation is not standard, or you are cross-compiling for a kernel different from the one of the compile node 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 MX mcp and 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 MX 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.

	     $ make install DESTDIR=<install_path>

If you omit DESTDIR=<install_path>, the mcp and driver will be installed in the directory specified with the configure --prefix option, or the default directory, /opt/mx/. The MX binaries are located in <install_path>/bin and <install_path>/sbin. The 32-bit MX libraries are installed in <install_path>/lib32 and the 64-bit MX libraries are installed in <install_path>/lib64. The <install_path>/lib directory is a symbolic link to either lib64 or lib32 depending on the native wordsize detected by configure. E.g., on most ppc64 distributions, gcc defaults to 32-bit, which means that lib links to lib32. However, on most x86_64 distributions, gcc defaults to 64-bit, so lib links to lib64.

Unless specified on the configure line, MX builds 32-bit libraries on 32-bit architectures (i386, ppc) and 64-bit libraries on 64-bit architectures (ia64, AMD64, ppc64, Alpha). It is possible to build both by using the --enable-32b and --enable-64b configure flags.

For Mac OS X, when the Apple Xcode compiler is 64-bit, MX fat libraries are built which are usable by both 32-bit and 64-bit applications, and libraries are always installed in <install_path>/lib.

For Linux and FreeBSD, add the MX library directory to the system library search path. Otherwise, individual users will have to either manage their LD_LIBRARY_PATH environment variable or link their program with an -rpath option for the dynamic linker to locate the MX shared library.

Next, you must run

	     $ su root
	     $ <install_path>/sbin/mx_local_install
	     $ <install_path>/sbin/mx_start_stop start
	  

on each machine to perform local install steps, to load the modules, and to start a mapper for each Myrinet NIC contained in the machine. If applicable, the mx_start_stop script is also available in /etc/init.d/mx.

Important notes:

3. Enabling IPoM (OPTIONAL)

Instructions for Linux and FreeBSD:

If you wish to run IP communication (TCP/IP and UDP/IP) over Myrinet, the command to enable IPoM 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.

Instructions for Solaris:

If you wish to run IPoM, the command to enable IPoM is as follows:

	   ifconfig myri0 plumb <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.

Instructions for Mac OS X:

You should configure the MX ethernet emulation interface as you would any other ethernet interface. On most systems, the MX ethernet adaptor will appear as en1. It is possible, if you have additional network cards, that the adaptor will appear as en2, en3, etc.

To verify which ethernet adaptor belongs to MX, you may need to run the Network Utility /Applications/Utilities/Network Utility. Click the Info tab and select Network Interface from the menu until you find the one whose Vendor is Myricom, and whose Hardware Address matches the MAC address printed by mx_info.

Once you have found the correct adaptor, configure it via:

	  System Preferences -> Network -> Show -> Ethernet Adaptor (enX)
	  

4. Testing the MX Installation.

Once the MXoM firmware is running on all of the hosts, and all host-to-switch and switch-to-switch cables have been connected, you should verify that all hosts are mapped in the network (via the mx_info command) before launching jobs on the network. We also recommend that you check the health of all of the Myricom hardware components in the Myrinet installation as instructed in the Troubleshooting section of the FAQ.

Congratulations! You have successfully installed MX.

Refer to the Software and Documentation Page for details of MX-based middleware (MPICH-MX, Sockets-MX). If you encountered difficulties during any phase of this installation process, we recommend that you first consult the README and FAQ, and if you still have unresolved questions, please feel free to contact technical support at help@myri.com.


MX-2G Binary Downloads for Windows

Operating System
and Processor

Type of NIC
PCIXD
or
PCIXE
or
PCIXF
Windows 2000/XP/2003/Vista/2008 for i386 MX-2G 1.2.7 (signed by Myricom)
Windows XP/2003 for ia64 MX-2G 1.2.6 (non-WHQL-certified)
Windows XP/2003/Vista/2008 for x86_64 MX-2G 1.2.7 (signed by Myricom)

Binary Installation Instructions

To install on Windows Vista or Windows Server 2008 (Longhorn), refer to this FAQ entry.

The binary Windows driver can be installed on the command line or via the graphical interface. The instructions for installing the driver on the command line can be found in the README. The user interface for installing a device has changed with each new release of Windows. Steps for each OS are given below. We suggest booting into safe mode and uninstalling old drivers before reinstalling new ones.


MX-2G Roll for Rocks v5.0

Processor

Type of NIC
PCIXD
or
PCIXE
or
PCIXF
Myrinet Roll for i386 MX-2G 1.2.6 roll for i386
Myrinet Roll for ia64 upon request
Myrinet Roll for x86_64 MX-2G 1.2.6 roll for x86_64

Note: Each Myrinet roll contains MX-2G 1.2.6, MPICH2-MX 1.0.7..2, MPICH-MX 1.2.7..7, and Open MPI v1.2.6. Installation instructions are available on the Myrinet FAQ and the Rocks homepage.

Myricom banner
Last updated: 12 September 2008

Home | Mail for Product Information | Documentation | Software Downloads |
Switch Software | Diagnostic Tools | Other Documentation and Tools |
Technical Support | RMA Procedures