From: Colin Scott <cs@iinet.com.au>
Newsgroups: comp.parallel.pvm
Subject: Re: installation problem on Redhat 5.1
Date: Mon, 31 Aug 1998 16:13:58 +0800
Organization: iiNet Technologies
Message-Id: <35EA5B46.F4F06AEC@iinet.com.au>
References: <35E968EC.C363196@ukans.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Ike Ellis wrote:
> 
> After setting the environment variables and attempting to make, I get
> this :
> 
> _______________________
> building in src
> cd srd; ../lib/aimk install
> making in UNKNOWN/ for UNKNOWN
> make[1]: Entering directory '/home/iellis/pvm3/src/UNKNOWN
> make[1]: /home/iellis/pvm3/conf/UNKNOWN.def: No such file or directory
> make[1]: *** No rule to make target
> '/home/iellis/pvm3/conf/UNKNOWN.def'.  Stop.
> make[1]: Leaving directory '/home/iellis/pvm3/src/UNKNOWN'
> make: *** [s] Error 2
> ________________________
> 
> any help in getting past this would be greatly appreciated
> 
> thanks.........ike ellis
 
This really should be in a FAQ somewhere (preferably easily accessable)

The reason this happens is that the pvmgetarch shell script for reasons
unknown only returns LINUX if you have a CPUT that is identified by
i386, i486, or i586. My Cyrix chip identifies itself as a i686, and the
script fails.

The fix is really easy. On line 55 of pvmgetarch (for pvm 3.3.11), alter
the line:

        Linux,i[345]86 )       ARCH=LINUX ;;

to detect you CPU. I just had to add a 6 inbetween the []s. ie:

        Linux,i[3456]86 )       ARCH=LINUX ;;

You can find out what you CPU reports itself with the command :

"cat /proc/cpuinfo"

The number returned for the cpu (line 2) should be your CPU. Mine says
686, I don't know what yours will return. You could add 6, 7, 8, and 9
if you really wanted to. 

Colin Scott

