Myrinet logotype
MX Software Downloads

Home | Mail for Product Information | Documentation | Software Overview |
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 Software

MX (Myrinet Express) 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 PCIX-based Myrinet NICs.

For application or middleware developers who need to develop code using the MX API, refer to the MX API manual.

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 Source Downloads

Operating System
and Processor

Type of NIC
PCIXD
(Lanai XP)
or
PCIXE
(Lanai 2XP)
or
PCIXF
(Lanai 2XP)
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.1.6
Windows
Windows 2000/XP/2003 for i386
Windows XP for ia64, x86_64
Windows Vista* for i386 and x86_64
MX-2G 1.1.1
Solaris
Solaris 10 for UltraSPARC and AMD64
MX-2G 1.1.6
Mac OS X
10.3.x and 10.4.x for Macintosh G5
MX-2G 1.1.6
FreeBSD
v5.x for i386 and AMD64
MX-2G 1.1.6

*Windows Vista support is preliminary since Vista has not yet been officially released.

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.1.6.tar.gz | tar xvf -
	     $ cd mx-1.1.6
	     $ ./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 IP over Myrinet (Ethernet emulation) (OPTIONAL)

Instructions for Linux and FreeBSD:

If you wish to run IP over Myrinet (ethernet emulation), the command to enable IP over MX 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 IP over Myrinet (ethernet emulation), the command to enable IP over MX 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 MX firmware is running on all of the hosts, and all host-to-switch and switch-to-switch cables have been connected, you are ready to install the Fabric Management System (FMS) to verify the health of all of the Myrinet hardware components in the Myrinet installation.

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

The test scripts (mx_dmabench, fm_switch, etc) are available in <install_path>/bin in your MX installation. A README describing each of these tests can be found in <install_path>/bin/README.

Congratulations! You have successfully installed MX.

Refer to the Software and Documentation Page for details of MX-based software (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 Binary Downloads for Windows

Operating System
and Processor

Type of NIC
PCIXD
(Lanai XP)
or
PCIXE
(Lanai 2XP)
or
PCIXF
(Lanai 2XP)
Windows 2000/XP/2003/Vista* for i386 MX-2G 1.1.1
Windows XP/2003 for ia64 MX-2G 1.1.1
Windows XP/2003/Vista* for x86_64 MX-2G 1.1.1

*Windows Vista support is preliminary since Vista has not yet been officially released.

Binary Installation Instructions

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 v4.2

Processor

Type of NIC
PCIXD
(Lanai XP)
or
PCIXE
(Lanai 2XP)
or
PCIXF
(Lanai 2XP)
Myrinet Roll for i386 MX-2G 1.1.4 roll for i386
Myrinet Roll for ia64 coming soon
Myrinet Roll for x86_64 MX-2G 1.1.4 roll for x86_64

Note: Each Myrinet roll contains MX-2G 1.1.4, MPICH-MX 1.2.7..1, and HPL. Installation instructions are available on the Rocks homepage.

Myricom banner
Last updated: 17 November 2006

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