Newsgroups: comp.parallel.pvm
From: fender@ares.crs4.it (Claudio Gallo)
Subject: some strange features of PVM 3.3.9
Organization: CRS4, Center for Adv. Studies, Research and Development in Sardinia
Date: 22 Sep 1995 07:53:48 GMT
Message-ID: <43tq2c$29p@berlioz.crs4.it>

I have installed PVM 3.3.9 and I have found that on IBM RISC 6000, the
way to detect multiprocessor environment is a bit strange.

In ~/pvm3/lib/pvmgetarch (last lines) you find:

if [ "$ARCH" = RS6K ]; then
     nproc="`/usr/sbin/lsdev -C | grep proc | wc -l`"
     if [ $nproc -gt 2 ]; then ARCH=RS6KMP; fi
fi

When running the command

/usr/sbin/lsdev -C | grep proc | wc -l

on my single processor server I obtain
      ^^^^^^^^^^^^^^^^
hispdgcp0  Defined   00-05-020052800 Graphics control processor card
hispddrp0  Defined   00-05-01        Drawing processor card
hispdshp0  Defined   00-05-01        Shading processor card

These ARE NOT CPU-units, but are accounted as if they were.
The result is the following:

$PVM_ARCH = RS6KMP   instead of   $PVM_ARCH = RS6K

So, in this case, you'll not able to "add" a machine with such devices
and your daemon will fail.

Solution: if you do not have RISC-MULTIPROCESSOR MACHINES, comment
those lines in ~/pvm3/lib/pvmgetarch

--- Claudio

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Claudio Gallo
Junior Researcher
Environmental Modeling Group
CRS4 - Cagliari - Italy
e-mail: fender@crs4.it

>>>>>>>>>     "Mantua me genuit, Calabri rapuere;                    <<<<<<< 
>>>>>>>>>     tenet nunc Partenope; cecini pascua, rura, duces ..."  <<<<<<<
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

