Creating executable images

[English version], [Japanese version]

Required Software

This package requires the following software to compile:
On SunOS 4.1.X:

If you use Fortran on mpi, you also need the following software:

On NetBSD-1.2.1 operationg system:

If you use Fortran on mpi, you also need the following software:

On Linux:
And, also:

If you use loadmonitor3d in SCoreD, you also need the following software

The LANai program(mcp) binary image is included in this package in uuencoded form. If you would like to compile mcp from source code, you should obtain the LANAI DEVELOPMENT TOOLS provided by Myricom, Inc.

The JAVA applet compiled image is included in this package. If you would like to compile java from source code, you should obtain the Java Development kit 1.0.2 or later.


Extracting SCore distribution

Extract the source code distribution in the $(TOP) directory.


Compiling Myrinet device driver

On SunOS 4.1.X:
The Myrinet device driver for SunOS 4.1.X will be automatically compiled and installed by the following procedure:
This driver is loaded into the kernel by the modload command at boot time.

On NetBSD-1.2.1:
  1. cd /usr/src
  2. patch -p1 -s < $(TOP)/netbsd.patch
  3. cd sys/arch/i386/conf
  4. /usr/sbin/config MYRINETADP
    If your system's configuration file is GENERICADP, please use the MYRINETADP configuration. Otherwise, if your system's configuration is GENERICOTHER, then please use the MYRINETOTHER configuration.
  5. If you use the MYRINETADP configuration:
    cd ../compile/MYRINETADP
    Otherwise, if you use the MYRINETOTHER configuration:
    cd ../compile/MYRINETOTHER
  6. make depend && make
  7. Please backup the working kernel file (/netbsd) first, then install the new kernel to /netbsd.
  8. cp /usr/src/sys/dev/pci/myri_reg.h /usr/include/dev/pci/
    to install the <myri_reg.h> header file.

On Linux-2.0.33:
This driver must be statically linked into kernel now.
  1. cd /usr/src/linux-2.0.33
  2. patch -p1 -s < $(TOP)/linux-2.0.patch
  3. ``make menuconfig'' or ``make xconfig''
    and select ``RWCP PM (Myricom Myrinet PCI) support'' on ``Character devices'' menu.
  4. edit ``/etc/lilo.conf'' for new kernel
  5. make dep clean; make install


Creatng SCore executable images

First edit configuration file:

In SunOS 4.1.X or Linux, follow the procedure below:

  1. cd $(TOP)
  2. ./configure
  3. make
  4. make install

In NetBSD-1.2.1, please follow the procedure below:
In this example, gmake is command name of GNU make. Please use the actual command name in your environment.

  1. cd $(TOP)
  2. ./configure --make=gmake
  3. gmake
  4. gmake install

$Id: compile.html,v 1.10 1998/06/02 11:49:56 kameyama Exp $