[daip] AIPS error in TV open

Eric Greisen egreisen at nrao.edu
Mon Sep 10 15:30:04 EDT 2018


On 09/10/2018 12:03 PM, Lu Shen wrote:
> Dear Eric,
> 
> I cannot open the tv in AIPS. I checked the /etc/sysctl.conf file, it is in correct format. I am running under OS X El Capitan. I remember I am able to use the TV last time. I am not sure what happened, since last time I use it. Could you help me? I attached the error message below. Thank you for helping.

> XAS: ***  Using shared memory option for speed ***
> XAS: Using screen width 3830 height 1078,
>       max grey level 8191 in 16 grey-scale memories
> Shared memory id failure: Invalid argument

Try sysctl kern.sysv in a terminal window.  This will show you the 
current values known to the OS.  You may need to set a larger value to 
shmmax than it currently has.  After you modify /etc/sysctl.conf you 
must reboot the computer to get the values into use by the OS.  Check 
them again with the sysctl command.


          kern.sysv.shmmax=10485760
          kern.sysv.shmmin=1
          kern.sysv.shmmni=32
          kern.sysv.shmseg=8
          kern.sysv.shmall=4096


You may need 16777216 instead.  You do have a large display!

Eric Greisen



More information about the Daip mailing list