Newsgroups: comp.parallel.mpi
From: salo@mrjones.engr.sgi.com (Eric Salo)
Subject: Re: Installing LAM on SGI IRIX 6.2
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: 26 Jul 1996 19:34:22 GMT
Message-ID: <4tb6ju$c3h@murrow.corp.sgi.com>

> I am installing the lam60 on a Power Challenge running IRIX6.2 and I get the
> following error.  
> 
>         cc -DSGI -O -I../../../share/mpi -I/lv0/MPI-LAM/h -DMPI_GER=8
> -DMPIL_LPD_MAX=1000000  -DMPIL_LPD_BASE=50000 -c ../../../share/mpi/rpi.c2c.c
> "../../../share/mpi/rpi.c2c.c", line 1999: error(1041): expression must have
>           arithmetic or pointer type
>                     iov->iov_base += r;
>                     ^
> I have noticed that the documentation talks about IRIX6.1.  Has anyone build
> lam60 on IRIX6.2?  Am I doing something wrong?  

Steve, I also ran into this problem. It appears in a handful of different
places and the fix is simple - replace the above line with:

	iov->iov_base = (char *)iov->iov_base + r;

Eric Salo         Silicon Graphics Inc.             "Do you know what the
(415)933-2998     2011 N. Shoreline Blvd, 8U-808     last Xon said, just
salo@sgi.com      Mountain View, CA   94043-1389     before he died?"

