# cd /opt/score/work # ./bininstall -server
bininstall
will install several daemon programs and startup scripts.
For instance, the following files will be installed for the daemon settings
in addition to installation of several administration commands:
For Red Hat Linux:
/etc/rc.d/init.d/scoreboard /etc/rc.d/init.d/msgbservFor SuSE Linux:
/etc/init.d/scoreboard /etc/init.d/msgbserv
scoreboard
database
scorehosts.db
(5).
The database must be the /opt/score/etc/scorehosts.db
file.
A sample file, scorehosts-db.sample
, is located in the
doc/html/installation/
directory.
In the following example, we assume four dual Pentium III computers are
connected by Myrinet, Gigabit Ethernet, and 100 Mbps Ethernet.
# PM/Myrinet myrinet type=myrinet \ -firmware:file=/opt/score/share/lanai/lanai.mcp \ -config:file=/opt/score/etc/pm-myrinet.conf # PM/Ethernet ethernet type=ethernet \ -config:file=/opt/score/etc/pm-ethernet.conf # PM/Agent/UDP udp type=agent -agent=pmaudp \ -config:file=/opt/score/etc/pm-udp.conf # PM/SHMEM shmem0 type=shmem -node=0 shmem1 type=shmem -node=1 # Macro to define a host #define PCC msgbserv=(server.score.rwcp.or.jp:8764) \ cpugen=pentium-iii speed=500 smp=2 \ network=myrinet,ethernet,udp,shmem0,shmem1 \ group=pcc # comp0.score.rwcp.or.jp PCC comp1.score.rwcp.or.jp PCC comp2.score.rwcp.or.jp PCC comp3.score.rwcp.or.jp PCCIf your Myrinet network is Myrinet 2000 with serial or fiber link interface (M3S-PCI64B and M3F-PCI64B), please use myrinet2k network type and lanaiM2k.mcp firmware.
myrinet
record should be:
# PM/Myrinet (for Myrinet 2000 Serial M3S-PCI64B, or Fiber M3F-PCI64B) myrinet type=myrinet2k \ -firmware:file=/opt/score/share/lanai/lanaiM2k.mcp \ -config:file=/opt/score/etc/pm-myrinet.confIf you don't have some of the above network interfaces, they must be deleted from this file. For example, if you don't have a Myrinet network, then the
PCC
macro should be:
#define PCC msgbserv=(server.score.rwcp.or.jp:8764) \ cpugen=pentium-iii speed=500 smp=2 \ network=ethernet,udp,shmem0,shmem1 \ group=pccIf you only have single-processor Pentium III computers then
smp=1
must be defined in the host macro. Without this entry SCore-D will issue a
warning message saying it is unable to get the SMP field. The above
PCC
macro should, in this case, be replaced with:
#define PCC msgbserv=(server.score.rwcp.or.jp:8764) \ cpugen=pentium-iii speed=500 smp=1 \ network=ethernet,udp \ group=pccBe sure that all hostnames in this database, the compute hosts and msgbserv host, have exactly the same name as that produced by the
hostname
(1) command.
/etc/profile.d
directoryPATH=/opt/score/bin:/opt/score/sbin:/opt/score/deploy:$PATH export PATH PWD SCBDSERV=server.score.rwcp.or.jp export SCBDSERV
set path = (/opt/score/bin /opt/score/sbin /opt/score/deploy $path) setenv SCBDSERV server.score.rwcp.or.jp
/etc/score.conf
file
/etc/score.conf
format is described in
score.conf.
SCBDSERV=server.score.rwcp.or.jp SCOUTGROUP=pcc SCOOPGROUP=pcc
For Red Hat Linux:
# /etc/rc.d/init.d/scoreboard start # /etc/rc.d/init.d/msgbserv startFor SuSE Linux:
# /etc/init.d/scoreboard start # /etc/init.d/msgbserv startLook in the
/var/log/msgbserv.out
file to check
that msgbserv
is correctly running, i.e. there are no errors in
this file.
PM-II MYRINET CONF
(5) man page.
For example,
the following entries should be stored in
/opt/score/etc/pm-myrinet.conf
,
whose file name was specified in /opt/score/etc/scorehosts.db
# Host Number Host Name Switch Number . Port Number 0 comp0.score.rwcp.or.jp 0.0 1 comp1.score.rwcp.or.jp 0.1 2 comp2.score.rwcp.or.jp 0.2 3 comp3.score.rwcp.or.jp 0.3
PM-II Agent/UDP CONF
(5) man page.
For example,
the following entries should be stored in /opt/score/etc/pm-udp.conf
whose file name was specified in /opt/score/etc/scorehosts.db
:
# Host Number Host Name [IP Address] 0 comp0.score.rwcp.or.jp 1 comp1.score.rwcp.or.jp 2 comp2.score.rwcp.or.jp 3 comp3.score.rwcp.or.jp
PM-II ETHERNET CONF
(5) man page.
To set up the PM/Ethernet configuration file, it is better to use
the mkpmethernetconf
(8) command which converts
the PM/Agent/UDP configuration file to the PM/Ethernet configuration file.
Examples are shown below.
Be sure that all hosts listed in the PM/Agent/UDP configuration file are
accessible by the rsh
command.
This means that the /root/.rhosts
file on all hosts
should contain the hostname to run mkpmethernetconf
.
Please see also Compute host setting.
# cd /opt/score/etc # /opt/score/deploy/mkpmethernetconf \ -speed 1000 pm-udp.conf > pm-ethernet.conf
# cd /opt/score/etc # /opt/score/deploy/mkpmethernetconf \ -speed 100 pm-udp.conf > pm-ethernet.conf
# cd /opt/score/etc # /opt/score/deploy/mkpmethernetconf \ -speed 10 pm-udp.conf > pm-ethernet.conf