#!/bin/sh # # Load static myrinet routes into just myself. # Assumes two myri cards present on node: unit 0 and unit 1. # Requires presence of files static.{hosts,map,routes} as generated # by a single node with "./mapper static.args". # # Add "-verbose" to the -mapper-args to watch it more carefully. # # 9 Feb 2001 # srcdir=/usr/local/gm/sbin cd $srcdir for unit in 0 1 ; do echo -n "Myrinet unit $unit " ./file_mapper \ -mapper-args \ -map-file static.map \ -host-file static.hosts \ -never-configure-others \ -map-once \ -unit $unit \ -route-args \ -routes-file static.routes done exit 0