Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!pasteur!ucbvax!UCBVAX.BERKELEY.EDU!"Dan Karron From: Dan Karron@UCBVAX.BERKELEY.EDU Newsgroups: comp.sys.sgi Subject: Re: Parallel Programming Message-ID: <9101311542.AA12460@karron.med.nyu.edu> Date: 31 Jan 91 15:42:20 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron@cmcl2.nyu.edu Organization: The Internet Lines: 50 I happly used the -align16 flag and did not notice anything. Then I started getting very weird crashes with innocent operations with chars' and shorts. DBX would indicate a buss error and not show anything wrong at the source line. Serious hacking showed that the errors were alignment errors that were caused by attempting to assign unaligned shorts to something. My queries to sgi indicated that the -align16, -align32 options were buggy. Then the question arose why use the -alignNN options, and I pointed to the man page. After more up and back with sgi, it was determined that you DON"T need the -alignNN option. You do need 16 BYTE alignment for somethings, but I don't know what for. This was a weird one, and many people apparently can live very happly without ever having problems with the -alignNN options. I appreciate sgi being honest and admiting the problem. >Date: Thu, 31 Jan 91 09:10:57 EST >From: "Lance M. Optican - LMO" >Message-Id: <9101311410.AA02066@> >To: uunet.uu.net!uunet!brl.mil!info-iris >Subject: Parallel Programming > > > Following TFM, I diligently incluided the "-align16" flag >in my compilations. Now I see info-iris mail saying you don't need >this flag. > > What is the truth?! > >----------------------------------------------+-------------------------- > Lance M. Optican | uunet.uu.net!lsr-vax!lmo > Laboratory of Sensorimotor Research | lsr-vax!lmo@uunet.uu.net > National Eye Institute, NIH, Bethesda, MD | (301) 496-3549 >----------------------------------------------+-------------------------- > +-----------------------------------------------------------------------------+ | karron@nyu.edu (E-mail alias that will always find me) | | Fax: 212 263 7190 * Dan Karron, Research Associate | | . . . . . . . . . . . . . . * New York University Medical Center | | 560 First Avenue \*\ Pager <1> (212) 397 9330 | | New York, New York 10016 \**\ <2> 10896 <3> | | (212) 263 5210 \***\_________________________________________ | | Main machine: karron.med.nyu.edu (128.122.135.3) IRIS 85GT | +-----------------------------------------------------------------------------+ NOTE PHONE NUMBER CHANGE: The Med Ctr has changed from 340 to 263 exchange.