HDTenEightyP/NetNews huggingface dataset:
From: gof@casbah.acns.nwu.edu (Gerald Fountain)
Subject: Suggestions wanted: Max Optimizations for cc and f77
Summary: What would you suggest?
Organization: Department of Chemical Engineering, Northwestern University
Date: Tue, 15 Dec 1992 20:34:38 GMT

We are recompiling several simulations in used in our group for our new
Indigo R4k's.  Since these programs have runtimes on the order of *days* to 
*weeks*, it pays to maximize the optimizations as much as possible.

Does anyone have any suggestions for this.  We are using both cc 3.10 and 
f77 3.10.  Current options used are:

  cc:   -O3 -mips2 -bestGnum     (-lmalloc)
 f77:   -O3 -mips2 -align64 -bestGnum

Almost all the code is numerical simulations, ie. lots of integration, some
large matrix work, lots of double precision floating point.

Any and all suggestions welcome.



-- 
Jerry Fountain                                                             
Northwestern University                    |    gof@bart.chem-eng.nwu.edu  
Department of Chemical Engineering         |    (708) 491-3555 (Office)    
2145 Sheridan Road, Evanston, IL  60208    |    (708) 491-3728 (FAX)
From: beck@enterprise.den.mmc.com (Fred R. Beck)
Newsgroups: comp.sys.sgi
Subject: hostname from IP?!?
Date: 14 Dec 92 22:45:37 GMT


Does anyone know how one might be able to derive
a systems hostname from it's IP address?!?  RARP is
similiar in function in that it is supposed to be able
to derive an IP number from a physical ethernet address,
however, I need to go one step further.

Any help would be appreciated!

P.S. The network I am operating on does not have any
     "open" accounts which could be used for a

		rsh IP# uname -n

     The network is also EXTREMELY heterogeneous and
     LARGE!

Thanx!

-fred


****************************************************************************
  Fred R. Beck	:-)                 Martin Marietta Astronautics Group
  beck@enterprise.den.mmc.com        P.O. Box 179
  (303) 971-1584                     Attn. Fred Beck, M.S. L5420
  FAX:  (303) 971-2563               Denver, Colorado  80201
****************************************************************************
Newsgroups: comp.sys.sgi,comp.sys.sgi.graphics
From: murgesh@rendezvous.esd.sgi.com (Murgesh Navar)
Subject: Re: Indigo Graphics and Z-Buffering
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Thu, 17 Dec 92 01:44:07 GMT


In article <92350.143855SML108@psuvm.psu.edu>, SML108@psuvm.psu.edu writes:
> I have a question for any SGI engineer types reading this...  If an Indigo
> has the starter graphics option, but no hardware Z-buffer, it can simulate
> a Z-buffer using the machine's memory and software.  However, if one has
> the 24 bit color graphics board installed, one must have the hardware
> Z-buffer and software Z-buffering is disabled... Why was this done?
> This seems to be a really dumb feature...
> 

	Not really. The starter graphics option did not (for any amount of $$$)  have a hardware z-buffer option.  So z-buffering was implemented in software. 
The 24 bit color graphics board you allude to cannot/does-not share graphics software with the starter. However for about $2k you can get really fast 3D (z buffered) operations. There wasn't any special effort made to "disable" the soft-z.

							-murgesh
From: leec@leland.stanford.edu (Christopher Lee)
Newsgroups: comp.sys.sgi
Subject: how to send KeyEvents to xwsh on SGI?
Date: 12 Dec 92 13:17:31 GMT

I want to use the Xlib SendEvent() call to send text to an xwsh, such
that xwsh interprets this just as if a user had typed the text in the xwsh.
I have tried the obvious... and it indeed works sending text to my own
X applications, but not to xwsh!  Here is the basic idea of what I've
tried:

  XKeyEvent xpress={KeyPress},xrel={KeyRelease};
  dpy=XOpenDisplay(0);
  if (!dpy) {
    fprintf(stderr, "No connection to X server, check setting of environment's \\$DISPLAY.\n");
    exit(-1);
  }

  xpress.display=xrel.display=dpy;
  xpress.window=xrel.window=xpress.root=xrel.root=
    xpress.subwindow=xrel.subwindow=target;

  while (EOF!=(i=getchar())) {
    xpress.keycode=xrel.keycode=XKeysymToKeycode(dpy,(KeySym)i);
    XSendEvent(dpy,target,False,0,&xpress);  /* PRESS THE KEY */
    XSendEvent(dpy,target,False,0,&xrel);  /* RELEASE IT*/
    XFlush(dpy);
  }

Do I need to do some fancy setting of the XKeyEvent member data to convince
xwsh that the event should really be paid attention to?  Do the .x .y fields
matter?  etc.

What I am *really* trying to do is be able to pipe input to drive a terminal
just as if a user had typed some commands.  Any advice on this would be
appreciated!

Thanks!

Chris Lee
Newsgroups: comp.sys.sgi
From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
Subject: Re: hostname from IP?!?
Reply-To: cmaae47@imperial.ac.uk
Organization: Imperial College of Science, Technology and Medicine
Date: Tue, 15 Dec 92 15:20:13 GMT

- Does anyone know how one might be able to derive
- a systems hostname from it's IP address?!?

(1) nslookup ip.address
    This is the best way, but requires that you run DNS and have a properly
    mainatained nameserver near you. Setting up DNS name servers is not so
    straight forward, as it requires cooperation from other system managers.

(2) Telnet to the machine by address and look at the banners
    This will work if the machine is at all reachable, but the information
    may not be what you want, as many machines still do not display their
    fully qualified domain name in the login prompt.

                                     Thomas

-- 
*** This is the operative statement, all previous statements are inoperative.
*   email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
*   voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
*   snail: Imperial College of Science, Technology and Medicine
*   The Center for Computing Services, Kensington SW7 2BX, Great Britain
Newsgroups: comp.sys.sgi
From: peterb@perturb.esd.sgi.com (Peter Birch)
Subject: Re: Indigo Graphics and Z-Buffering
Followup-To: comp.sys.sgi
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Thu, 17 Dec 92 20:36:01 GMT


In article <tnie1d0@zola.esd.sgi.com>, portuesi@tweezers.esd.sgi.com writes:
> Finally, both the XS and the XS/24 were not strictly
> designed for 3D-intensive applications.  They are scaled
> down versions of the Elan architecture, and are targeted at
> applications such as paint systems and electronic
> publishing which require large screens, 24-bit color,
> and less demanding 3D performance.  The Elan graphics still
> provides superior Z-buffered performance, with fewer
> demands on the main CPU, than the Entry graphics offers.

A quick clarification on Michael's comment.  XS and XS24 *without the hardware
z-buffer* are not intended for 3D applications, since they do not support
z-buffering.  When used with the z-buffer, however, they are good 3D graphics
machines.  Elan, while having significantly better 3D performance (and price
performance,) is also more expensive.  For people looking for a machine with
less emphasis on 3D performance, at a lower price, XS24Z is a great machine.

peter

.....Peter Birch.....peterb@perturb.esd.sgi.com.....MTS, Graphics Hardware.....
......Silicon Graphics, Inc.....Mountain View, CA 94039.....(415)390-1512......
From: imd1707@ggr.co.uk (Ian Dunkin)
Newsgroups: comp.sys.sgi
Subject: Re: Mounting VAX/VMS on SGI?
Date: 16 Dec 92 14:03:53 GMT

(weemba@sagi.wistar.upenn.edu)
>  |> Is it possible to mount a VAX NFS server onto SGI without too much of

(doelz@urz.unibas.ch)
>  I wouldn't recommend it because of
>
>  (*) files on VMS must be in str_LF to be read on UNIX correctly

That was the case with DEC's own `UCX' TCP/IP (and may still be, for all
I know).  Better TCP/IP implementations for VMS, such as Multinet,
provide on-the-fly translation.

    I.
From: tale@uunet.uu.net (David C Lawrence)
Newsgroups: comp.sys.sgi
Subject: newgroup comp.sys.sgi.misc
Date: 12 Dec 92 09:45:11 GMT

comp.sys.sgi.misc is an unmoderated newsgroup which passed its vote for
creation by 172:38 as reported in news.announce.newgroups on 4 Dec 1992.
It supersedes comp.sys.sgi, which will be removed in three months on
10 Mar 1993.

For your newsgroups file:
comp.sys.sgi.misc	General discussion about Silicon Graphics's machines.

The charter, culled from the call for votes:

  misc          Anything else, that doesn't fit one of the above groups.
From: S.H.Kinder@daresbury.ac.uk (Steve Kinder)
Newsgroups: comp.sys.sgi
Subject: Indigo memory UK suppliers
Date: 14 Dec 92 15:27:47 GMT

Does anyone know of any suppliers of memory for indigos in the UK?
If so could you let me have their names and phone numbers please.
Thanks

Steve
From: benoist@netcom.com (Tom Benoist)
Newsgroups: comp.sys.sgi
Subject: Re: Indigo support for MIDI?
Date: 11 Dec 92 19:28:58 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

In article <tfj9fr8@zola.esd.sgi.com> portuesi@tweezers.esd.sgi.com (Michael Portuesi) writes:
>
>SGI offers a MIDI library as part of its Digital Media
>Developer's Option (marketing code: SC4-DMDEV-1.0).
>

Is there a chance that the man pages for this product could
be made available by ftp.   It would be real useful for those
of us thinking about purchasing this product.

-Tom Benoist
 benoist@netcom.com
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: could the rmt hooks be put into dd please...
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Thu, 17 Dec 92 05:46:05 GMT

In <fish.724521919@news.gsfc.nasa.gov> fish@daacdev1.stx.com writes:

| it sure would be nice to have the /etc/rmt hooks put in for
| dd too - i think its great that they are there for tar and
| mt and bru  - thanx for at least the ones you've given us
| 

No, it won't be done for dd; the remote tape access only
works for devices in /dev, so it doesn't help much.

In the next major release, the source to the remote tape
library, and librmt.a itself will both be shipped, so you
can write your own.

| p.s you've jumped the gun by putting a ref to rmtops(3) in 
|     the mt(1) manpage since rmtops isn't avail via irix yet,

It has been there 'forever'.  I was going to remove it in 4.0.5 finally,
to be readded in the next major release, but I was afraid I
might forget to put it back...
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.sys.sgi
From: peterb@perturb.esd.sgi.com (Peter Birch)
Subject: Re: Indigo XS24 Sphere library z-buffering problems
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Thu, 17 Dec 92 02:04:42 GMT


In article <34677@adm.brl.mil>, SML108@psuvm.psu.edu writes:
> Hi, a program I am developing which uses the sphere library runs just
> fine on an IRIS 4D/220 VGS, but when I run it on a nearby Indigo XS24,
> the SPH_HEMI seems to get set true by default with SPH_ORIENT set to
> FALSE (It draws hemispheres which show up as you rotate objects on
> the screen).  If I set SPH_HEMI and SPH_ORIENT to TRUE, this problem
> goes away, but then z-buffering goes away too and the appearance of
> spheres on the screen is as if they all have the same z-coordinate
> and appear in the order in which they are drawn...  The Indigo is
> running 4.0.5 and zbuffer is most definitely set to TRUE...
> 
> Oh, one more thing, this is in a GLX widget that this is happening...
> 
> Scott Le Grand

If this is an XS24 without a hardware z-buffer, then z-buffering is not
supported, independent of whether there is a zbuffer(TRUE) statement or not. 
XS does not support a software z-buffer, unlike the Entry graphics
system.

peter

.....Peter Birch.....peterb@perturb.esd.sgi.com.....MTS, Graphics Hardware.....
......Silicon Graphics, Inc.....Mountain View, CA 94039.....(415)390-1512......
From: bruce@seismo.gps.caltech.edu (Bruce Worden)
Newsgroups: comp.sys.sgi
Subject: PD NQS
Date: 15 Dec 1992 17:04:19 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: sis.gps.caltech.edu

I'm interested in finding a public domain version of NQS for 
SGI's various machines.  If you have info, please respond by 
e-mail.  If there is interest here, I'll summarize.

					Thanks,
					CBW
--------------------------------------------------------------------------
C. Bruce Worden                            bruce@seismo.gps.caltech.edu
252-21 Seismological Laboratory, Caltech, Pasadena, CA 91125
Newsgroups: comp.sys.sgi
From: portuesi@tweezers.esd.sgi.com (Michael Portuesi)
Subject: Re: Indigo support for MIDI?
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Fri, 11 Dec 92 17:46:06 GMT


In article <1992Dec11.022412.1@alien.gici.com>, laut@alien.gici.com writes:
> 
> 	So, my question:  Is there a means of plugging
> something like a Kurzweil MIDIboard into an Indigo?

Yes.  Buy a standard Macintosh-compatible MIDI interface
and connect it between your Indigo and your MIDI keyboard.

SGI offers a MIDI library as part of its Digital Media
Developer's Option (marketing code: SC4-DMDEV-1.0).

If you are not into developing your own MIDI applications,
you should look into the products from Blue Ribbon
Soundworks.  They have been offering excellent MIDI
applications on the Amiga platform for years, and they are
now offering their product line of MIDI sequencers and
processing software for the Indigo.

--
Michael Portuesi   Silicon Graphics, Inc.   portuesi@sgi.com
From: panisset@lightning.mcrcim.mcgill.edu (Jean-Francois Panisset)
Newsgroups: comp.sys.sgi
Subject: Sendmail won't deliver outside / or /usr
Date: 12 Dec 92 23:22:39 GMT

I am trying to get mail to run on an Indigo running 4.0.5. Things
are very bizarre, since I am able to send mail to some users without
any problems, but for some of the users mail bounces with the following
headers:

(anything between {} brackets has been replaced to protect the innocent...)

Note this bit of bizarrenes: I thought I had my /usr/lib/sendmail.cf
configure right...
             |
             v
From root@somewhere  Sat Dec 12 13:32:41 1992
Date: Sat, 12 Dec 92 13:32:41 -0500
From: root@somewhere (Super-User)
Apparently-To: root

***** UNDELIVERABLE MAIL sent to {user}, being returned by {host}!root *****
mail: Error #8 'Invalid recipient' encountered on system {host}

Received: by {host} (920330.SGI/911001.SGI)
        for {user} id AA13814; Sat, 12 Dec 92 13:32:40 -0500
Date: Sat, 12 Dec 92 13:32:40 -0500
From: root (Super-User)
Message-Id: <9212121832.AA13814@{host}>
To: {user}
Subject: test

test

--------------------------
As I said, mail would barf for some users but not for others. I finally
figured out that I was able to send mail to all users who had home directories
(as specified in /etc/passwd) under /usr/people (or for that matter, it seems,
anywhere in the / or /usr partition), but would fail for users with their
home directories on a different partition on an external drive (all such
users are in /sd4/u). I got things to work by telling /etc/passwd that
the home directories for these users were in /usr/people and putting in
there symbolic links to their real home directories in /sd4/u, but this
seems like a rather gross kludge. BTW, the machine is not running NIS.

Anybody knows what's going on? Surely someone else has tried (and failed?)
to send mail to a user with a home directory on an external drive?

Thanks in advance for any feedback,

JF Panisset


-- 
Jean-Francois Panisset                    
INET: panisset@mcrcim.mcgill.ca            
      panisset@larry.mcrcim.mcgill.edu
UUCP: ...!mcgill-vision!panisset           
Xref: sparky comp.sys.sgi:18034 comp.windows.x:20219
From: duong@chestnut.chem.upenn.edu (Duc Duong)
Newsgroups: comp.sys.sgi,comp.windows.x
Subject: X11R5 server building??
Date: 15 Dec 92 14:53:17 GMT
Followup-To: comp.sys.sgi
Organization: NMR Biochemistry Graduate Research Lab


Did any one get the X11R5 server build for sgi machine?? I am trying
to build the X11R5 server for my 310VGX/R4000 machine. If I commented
out the #define BuildServer NO line in the sgi.cf..the installation went
through but if I want to build the server, I got the error message
when it does: make Makefiles in that mit/server subdirectory..Any
hints, suggestion??E-mail please..
From: gavin@krypton.asd.sgi.com (Gavin Bell)
Newsgroups: comp.sys.sgi
Subject: Re: Inventor Question
Date: 15 Dec 1992 05:05:23 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA
NNTP-Posting-Host: krypton.asd.sgi.com

In <1992Dec14.204933.14551@erenj.com> ram@ramsgi.erenj.com (ram rajagopalan) writes:
>Hi,
> I am trying to use Inventor to draw about 800 spheres.  I find the 
> performance to be very slow.  I am not sure why this is happening.
> I am using transforms to position the sphere and scale the sphere
> and then creating the node sphere. All these are done under a 
> separator node so that the transforms are not cumulated.    
> My question is this.  Is there a better way of doing this to increase
> performance.  Thanks.
>Ram  Rajagopalan

Some things to try:

-- Put a complexity node at the top of your scene graph, and turn down
the complexity (its default is 0.5).  Inventor will then use fewer
polygons to render your spheres.

-- Make sure render caching is turned on at the separator node if you
aren't changing the sphere's transformations or geometry.  Viewers
turn on caching automatically, but if you know what parts of your
scene graph will change and what parts won't, you can do a better job
of it by turning caching on and off at particular separators.  Caching
is particularly important at node (like spheres) that calculate their
geometry on the fly; every time a sphere is traversed it recomputes
its geometry (turn on caching to get the geometry saved!).

-- It would be faster to 'flatten' your scene graph to pre-transform
all of the geometry and get rid of all of the transformations.  Every
transformation sends GL commands to manipulate the GL's transformation
matrix; the time used to do that could (potentially) be used to draw
polygons.  There is no easy way of doing this; with OpenGL's
non-editable display lists, OpenGL display lists should be
able to flatten out all of the GL transformation matrix commands
(Inventor doesn't do this for you).
  The fastest scene graph would have one SoIndexedTriangleMesh that
represented the polygons in all of your spheres, pre-transformed into
world space.  But eventually you will probably want to move or scale
just one sphere, or show all of the spheres bouncing around (if they
represent atoms in a chemical reaction or something...), or add new
spheres, and flattening everything into one IndexedTriangleMesh will
make those kinds of operations a lot harder.

-- Inventor relies on GL, so don't do things that cause the GL to
render things more slowly.  Don't turn on texturing, don't use
multiple light sources, don't use semi-transparent blended surfaces,
etc (unless of course you really need to and can live with the
performance hit).

--
--gavin     (gavin@sgi.com,  (415)390-1024)
Newsgroups: comp.sys.sgi
From: hillig@U.Chem.LSA.UMich.EDU (Kurt Hillig)
Subject: X windows shared memory transport
Date: Wed, 16 Dec 92 18:38:21 EST
Organization: Department of Chemistry, University of Michigan, Ann Arbor

I've got several networked SGI systems, with one of them acting as
an NFS file server.  Among other things, I've set up a half-gig
shared /usr/tmp filesystem which the clients all NFS-mount.

(All are running Irix 4.0.5)

The new machines all seem to want to use the "shared memory transport"
in Xsgi, which screws things up, since they all try to share the
accidentally common /usr/tmp/shmtrans0 file.

The man page for Xsgi says in part:

	Clients may access shared memory by requesting the display shm:0.
and
	Shared memory transport should not be used on diskless
	systems or systems that mount /usr/tmp from another machine
	via NFS.

Naturally, I'd like to make sure clients don't do this, but clearly
something is, since the /usr/tmp/shmtrans0 file keeps popping up.

But, if I do a find / ..... | grep "shm:", I can't find any files
on the system where the "shm:0" display is requested for any
applications.

So, who's doing this to me?  (There are several new Indigos here, and
lots of students have been playing with the various demos etc.  Could
this be hard-coded into one of the demo programs?)


-- 
      Kurt Hillig
   Dept. of Chemistry      I always tell the     khillig@umich.edu
 University of Michigan     absolute truth    Telephone (313)747-2867
Ann Arbor, MI  48109-1055    as I see it.    hillig@chem.lsa.umich.edu
From: suh@rainbow.dcrt.nih.gov (Edward Suh)
Newsgroups: comp.sys.sgi
Subject: X11/Xfuncs.h
Date: 12 Dec 92 09:34:42 GMT

Could someone tell me where I can get the Xfuncs.h include 
file?  I can't compile a program because it can't find the
X11/Xfuncs.h include file.


----------------------------------------------------------
Edward B. Suh			Phone: (301) 402-3045
Bldg. 12A, Rm. 2021		Internet: suh@alw.nih.gov
National Institutes of Health
Bethesda, MD 20892
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: Bug in ls -L ?
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Tue, 15 Dec 92 18:34:04 GMT

In <1992Dec14.190234.25355@cc.umontreal.ca> gaumondp@ERE.UMontreal.CA (Gaumond Pierre) writes:

| if I do (on csh):
| 
| % ls -l /usr/bin/vi
| l---------   1 root     sys            2 Mar 29  1992 /usr/bin/vi -> ex
| % ls -L /usr/bin/vi
| /usr/bin/vi
| 
| The man pages for ls say about "-L" parameter:
| 
|      -L   If the file is a symbolic link, list the file that the link
|           references.
| 
| I should have obtained "/usr/bin/ex" with the ls -L commabd. Is it a bug?
| Is there something I did not understand?

The man page could be clearer.  It means follow the link, and get
the 'stat' info from the file that is pointed to by the link,
not to change the name that is printed.  See also 'man lstat'.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Xref: sparky comp.sys.sgi:18143 comp.sys.sgi.graphics:34
From: frank@marvin.contex.com (Frank Perdicaro)
Newsgroups: comp.sys.sgi,comp.sys.sgi.graphics
Subject: Re: Indigo Graphics and Z-Buffering
Date: 17 Dec 92 14:50:14 GMT
Followup-To: comp.sys.sgi
Organization: Xyvision Design Systems

In article <1glhm0INNlu@fido.asd.sgi.com> kipp@warp.asd.sgi.com (Kipp Hickman) writes:
>
>The OpenGL doesn't have this problem.  Depthbuffering must be provided
>on all OpenGL implementations, even if it has to be emulated in
>software.  This will apply to the XS version of OpenGL too.
>
>					kipp

Regarding zbuffering, I have wondered about this also, and suspected
something like this was coming.  I think G.T. did the zbuffer stuff in
the Entry graphics.  He must laugh and feel vindicated when people
note that the Crimson entry graphics can draw P zbuffered polygons
per second, but when you install the XS&Z "upgrade", zbuffered polygon
performance drops to something like P/3!  I suspect that for tuned
code on the R4000A, this is like P/10.....good thing this is going
away some time soon.


-- 
	 Frank E Perdicaro, Systems Admin, etc.		Xyvision Color Systems
      Legalize guns, drugs and cash...today.		101 Edgewater Drive
   inhouse: frank@marvin, x5572				Wakefield MA
outhouse: frank@contex.com, 617-245-4100x5572		018801285