[daip] Re: aips installation question

Eric Greisen egreisen at cv3.cv.nrao.edu
Mon Jul 15 15:06:08 EDT 2002


Irini Sakelliou writes:

Actually, reading this more closely, I think you have another problem
instead.  You have fooled the computer you are running on (xun5) into
thinking that you are sitting in front of it - presumably your
$DISPLAY variable is set via SSH to something like xun5:10.0 (which is
really xun2 but how is aips to know that).  Furthermore, you have
asked for shared memory for speed but 2 disparate computers do not
share memory, hence the failure.

This is not the mode we recommend.  Instead you should use internet
TVs and have the TV and other display programs actually run on xun2
(or xun1 or ...).  When it works, the easiest way to do this is

             aips  tv=xun2

from xun5.  This will cause xun2 to start the TV servers (assuming
that xun2 is able to run aips, i.e. that it cross mounts the
$AIPS_ROOT directory).  Sometimes this does not work.  In that case,
one starts aips on xun2 to create the TV and other servers - do not
use tv=local there since these must be Inet ones.  The start aips on
xun5 with

              aips tv=xun2 tvok

which says that the TVs are already running.  Note that the question
install.pl asks about Inet vs Unix TVs is really meaningless - both
are always installed.

If you really want to run the way you were attempting, with XASn
running on xun5 with display xun2 then you must turn off shared memory
in your .Xdefaults file and merge that file 

              xrdb -merge ~/.Xdefaults

See help xas for info on the .Xdefaults parameters.

Eric

 > AIPS runs on 
 > SunOS xun5 5.8 Generic_108528-06 sun4u sparc SUNW,Sun-Blade-100
 > 
 > and I'm sitting in front of 
 > SunOS xun2 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10
 > 
 > (and/or SunOS xun1 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-5_10)
 > 
 > 
 > > Could you then send all the messages that come out when you try to
 > > start AIPS in this setup?
 > 
 > Here is the list (I'm running AIPS on XUN5 remotely DISPLAY=xun5:11.0
 > ):
 > 
 > START_AIPS: Will use or start first available Unix Socket based TV
 > START_AIPS: Your initial AIPS printer is the (no description supplied 
 > by installer) 
 > START_AIPS:  - system name ps5, AIPS type PS
 >  
 > START_AIPS: User data area assignments:
 > DADEVS.PL: This program is untested under Perl version 5.006
 >   (Using global default file /xmm3/irini/AIPS/DA00/DADEVS.LIST for 
 > DADEVS.PL)
 >    Disk 1 (1) is /xmm3/irini/AIPS/DATA/XUN5_1
 > 
 > TVDEVS.SH: Starting TV servers on xun5 asynchronously
 > TVDEVS.SH:  - WITH Unix Sockets as requested...
 > TVDEVS.SH: Starting TPMON daemons on XUN5 asynchronously...
 > Starting up 31DEC02 AIPS with normal priority
 > Begin the one true AIPS number 1 (release of 31DEC02) at priority =   
 > 0 
 > AIPS 1: You are not on a local TV device, welcome stranger
 > AIPS 1: You are assigned TV device/server   2
 > AIPS 1: You are assigned graphics device/server   2
 > AIPS 1: Enter user ID number
 > ?DADEVS.PL: This program is untested under Perl version 5.006
 > UNIXSERVERS: Start TV LOCK daemon TVSRV1 on xun5
 > TVSERVER: Starting AIPS TV locking, Unix (local) domain
 > UNIXSERVERS: Start XAS1 on xun5, DISPLAY xun5:11.0
 > XAS: ***********************************
 > XAS: **  No TrueColor found
 > XAS: **  Resorting to PseudoColor
 > XAS: ***********************************
 > XAS: Using screen width height 1142 800, max grey level 196
 > XAS: ***  Using shared memory option for speed ***
 > X Error of failed request:  BadAccess (attempt to access private 
 > resource denied)
 >   Major opcode of failed request:  131 (MIT-SHM)
 >   Minor opcode of failed request:  1 (X_ShmAttach)
 >   Serial number of failed request:  23
 >   Current serial number in output stream:  29
 > UNIXSERVERS: Start graphics server TKSRV1 on xun5, display xun5:11.0
 > UNIXSERVERS: Start message server MSSRV1 on xun5, display xun5:11.0
 > 
 > Many thanks
 > Irini
 > 
 > 
 > 



More information about the Daip mailing list