[daip] Quick AIPS installation question
Eric Greisen
egreisen at nrao.edu
Mon Jan 24 23:29:06 EST 2011
On 1/20/2011 4:29 PM, Sarah Tuttle wrote:
> Hi Eric,
> Thanks for your quick reply.
>
> I was getting the shared memory issue, you were right. I went and
> created a file to modify the shared memory. The contents are listed
> below:
>
> kern.sysv.shmmax=16777216
> kern.sysv.shmmin=1
> kern.sysv.shmmni=32
> kern.sysv.shmseg=8
> kern.sysv.shmall=4096
>
>
> But i still get the shared memory error! I did restart my computer,
> and confirmed using $sysctl kern.sysv that the shared memory had
> changed. Results below:
>
> bash-3.2$ sysctl kern.sysv
> kern.sysv.shmmax: 16777216
> kern.sysv.shmmin: 1
> kern.sysv.shmmni: 32
> kern.sysv.shmseg: 8
> kern.sysv.shmall: 4096
> kern.sysv.semmni: 87381
> kern.sysv.semmns: 87381
> kern.sysv.semmnu: 87381
> kern.sysv.semmsl: 87381
> kern.sysv.semume: 10
> kern.sysv: no such MIB
>
> And the output from aips (which is still starting the tek and msg
> servr windows):
>
> START_AIPS: I am GUESSING you are at a workstation called anansi
> START_AIPS: Starting TV servers on anansi asynchronously
> START_AIPS: - with Internet Sockets...
> START_AIPS: Starting TPMON daemons on ANANSI asynchronously...
> Starting up 31DEC10 AIPS with normal priority
> DADEVS.PL: This program is untested under Perl version 5.010
> XASERVERS: Start TV LOCK daemon TVSERV on anansi
> Begin the one true AIPS number 1 (release of 31DEC10) at priority = 0
> XASERVERS: Start XAS on anansi, DISPLAY /tmp/launch-NuIvni/org.x:0
> XASERVERS: Start graphics server TEKSRV on anansi, DISPLAY
> /tmp/launch-NuIvni/org.x:0
> XASERVERS: Start message server MSGSRV on anansi, DISPLAY
> /tmp/launch-NuIvni/org.x:0
> TVSERVER: Starting AIPS TV locking, Inet domain
> XAS: ** TrueColor FOUND!!!
> XAS: *** Using shared memory option for speed ***
> XAS: Using screen width 5110 height 1340,
> max grey level 8191 in 16 grey-scale memories
> Shared memory id failure: Invalid argument
>
> Thanks again for your assistance.
>
> Sarah
>
>
> On 1/20/11 4:15 PM, Eric Greisen wrote:
>> Sarah Tuttle wrote:
>>> Hi,
>>> I just installed the DEC10 version on my desktop (running mac os
>>> X). I'm having trouble getting the tv display to appear. I tried
>>> changing my .bashrc to include "export DISPLAY=localhost:0", but
>>> that didn't spawn a new window, and actually stopped the appearance
>>> of the other two windows (tekserver and message window) that had
>>> been working. We tried a few variants but didn't have any luck.
>>> Any help would be appreciated, thanks.
>>
>> First - get rid of any setting of DISPLAY. That used to be required
>> for Macs and now destroys them with the method that Snow Leopard uses
>> to invoke X Windows applications. Then try again and send me all the
>> messages that AIPS puts out. I will bet in advance that it complains
>> about shared memory. The the AIPS Manager FAQ for the cure for that:
>> http://www.aips.nrao.edu/aipsmgr/index.html
>>
>> ERic Greisen
Our systems guru guesses that you may need bigger numbers
67108864 and shmall 16384.
Give it a try
Eric Greisen
More information about the Daip
mailing list