[daip] problem with lnx64 site

Eric Greisen egreisen at nrao.edu
Wed Sep 23 15:31:22 EDT 2009


Rob Ivison wrote:
> hi Eric -
> 
> if i comment out the following in START_AIPS
> 
> #[ "$HAVE_PERL" != "" ] && $SYSUNIX/DADEVS.PL $$
> #if [ -f $tmpfil ] ; then
> #  . $tmpfil
> #  rm -f $tmpfil
> #else
> (and the accomanying "fi")
> 
> then AIPS works, though with this error:
> 
> awk: cmd. line:13: warning: error writing standard output (No space left 
> on device)
> 
> but i'm not sure if that points the finger at PERL or not?
> 
> Rob
> 
> 
> 
> 
> On Wed, 23 Sep 2009, Eric Greisen wrote:
> 
>> Date: Wed, 23 Sep 2009 08:55:19 -0600
>> From: Eric Greisen <egreisen at nrao.edu>
>> To: Rob Ivison <rji at roe.ac.uk>
>> Subject: Re: [daip] problem with lnx64 site
>>
>> Rob Ivison wrote:
>>> thanks. we're on v5.10.0 built for x86_64-linux-gnu-thread-multi so 2 
>>> versions ahead of you guys. i'll try to persuade our sysadmin to 
>>> revert to 5.8 but i doubt i'll succeed. maybe i can install an old 
>>> version of perl and trick the system into using it.
>>>
>>> back to working with 32bit, it seems. a shame because the 64GB 64bit 
>>> machine is (was) like greased lightning compared to my 32GB Mac 
>>> desktop (possibly more down to disk speed than anything else).
>>>
>>> cheers,
>>>
>>> Rob
>>>
>>>> Date: Wed, 23 Sep 2009 08:27:50 -0600
>>>> From: Eric Greisen <egreisen at nrao.edu>
>>>> To: Rob Ivison <rji at roe.ac.uk>
>>>> Subject: Re: [daip] problem with lnx64 site
>>>>
>>>> Rob Ivison wrote:
>>>>>> From: Eric Greisen <egreisen at nrao.edu>
>>>>>> To: Rob Ivison <rji at roe.ac.uk>
>>>>>> Cc: daip at nrao.edu
>>>>>> Subject: Re: [daip] problem with lnx64 site
>>>>>>
>>>>>> Rob Ivison wrote:
>>>>>>> hi there -
>>>>>>>
>>>>>>> i run umpteen aips machines in Edinburgh - mac, linux and one 
>>>>>>> instance of lnx64.
>>>>>>>
>>>>>>> this latter machine suddenly started reporting:
>>>>>>>
>>>>>>> ~ 8:51 > aips notv
>>>>>>>
>>>>>>> You have a choice of 2 printers.  These are:
>>>>>>>
>>>>>>>      No. [ type  ] Description
>>>>>>> -------------------------------------------------------------
>>>>>>>       1. [     PS] Crawford, downstairs
>>>>>>>       2. [     PS] Adeline
>>>>>>> -------------------------------------------------------------
>>>>>>>
>>>>>>> START_AIPS: Enter your choice, or the word QUIT [default is 2]:
>>>>>>> START_AIPS: Your initial AIPS printer is the Adeline
>>>>>>> START_AIPS:  - system name ast_ricoh, AIPS type PS
>>>>>>>
>>>>>>> START_AIPS: User data area assignments:
>>>>>>> DADEVS.PL: This program is untested under Perl version 5.010
>>>>>>>    (Using global default file /disk1/rji/aips/DA00/DADEVS.LIST 
>>>>>>> for DADEVS.PL)
>>>>>>>     Disk 1 (1) is /disk1/rji/aips/DATA/GRAEMSAY_1
>>>>>>>     Disk 2 (2) is /disk1/rji/aips/DATA/GRAEMSAY_2
>>>>>>>     Disk 3 (3) is /disk1/rji/aips/DATA/GRAEMSAY_3
>>>>>>>
>>>>>>> START_AIPS: Cannot start AIPS because there are no defined data 
>>>>>>> areas!
>>>>>>> START_AIPS: (check DADEVS.LIST or .dadevs files, or AIPSASSN.\*)
>>>>>>> ~ 8:51 >
>>>>>>>
>>>>>>> where
>>>>>>>
>>>>>>> ~ 8:51 > cd /disk1/rji/aips/DA00
>>>>>>> /disk1/rji/aips/DA00
>>>>>>> /disk1/rji/aips/DA00 8:51 > more DADEVS.LIST
>>>>>>> #----------------------------------------------------------------------- 
>>>>>>> #----------------------------------------------------------------------- 
>>>>>>> #;  Copyright (C) 1995
>>>>>>> #;  Associated Universities, Inc. Washington DC, USA.
>>>>>>> #;
>>>>>>> #;  This program is free software; you can redistribute it and/or
>>>>>>> #;  modify it under the terms of the GNU General Public License as
>>>>>>> #;  published by the Free Software Foundation; either version 2 of
>>>>>>> #;  the License, or (at your option) any later version.
>>>>>>> #;
>>>>>>> #;  This program is distributed in the hope that it will be useful,
>>>>>>> #;  but WITHOUT ANY WARRANTY; without even the implied warranty of
>>>>>>> #;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>>>>>> #;  GNU General Public License for more details.
>>>>>>> #;
>>>>>>> #;  You should have received a copy of the GNU General Public
>>>>>>> #;  License along with this program; if not, write to the Free
>>>>>>> #;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
>>>>>>> #;  MA 02139, USA.
>>>>>>> #;
>>>>>>> #;  Correspondence concerning AIPS should be addressed as follows:
>>>>>>> #;         Internet email: aipsmail at nrao.edu.
>>>>>>> #;         Postal address: AIPS Project Office
>>>>>>> #;                         National Radio Astronomy Observatory
>>>>>>> #;                         520 Edgemont Road
>>>>>>> #;                         Charlottesville, VA 22903-2475 USA
>>>>>>> #----------------------------------------------------------------------- 
>>>>>>> # DADEVS.LIST
>>>>>>> #----------------------------------------------------------------------- 
>>>>>>> # This is a DADEVS list file containing a list of AIPS data 
>>>>>>> directories.
>>>>>>> # Refer to $AIPS_ROOT/DADEVS.SH for more information.
>>>>>>> #----------------------------------------------------------------------- 
>>>>>>> -  /disk1/rji/aips/DATA/GRAEMSAY_1
>>>>>>> -  /disk1/rji/aips/DATA/GRAEMSAY_2
>>>>>>> -  /disk1/rji/aips/DATA/GRAEMSAY_3
>>>>>>>
>>>>>>> and
>>>>>>>
>>>>>>> setenv AIPS_ROOT /disk1/rji/aips
>>>>>>>
>>>>>>> in LOGIN.CSH, START_TVSERVERS etc.
>>>>>>>
>>>>>>> any idea what might be going wrong?
>>>>>>>
>>>>>>> the only thing that i can think might have changed is PERL, 
>>>>>>> because i have to keep it up to date to run HIPE for Herschel on 
>>>>>>> this machine.
>>>>>>>
>>>>>>> is this the cause, do you think?
>>>>>>>
>>>>>>> i note that my 32-bit linux machines report, e.g.:
>>>>>>>
>>>>>>> START_AIPS: User data area assignments:
>>>>>>>    (Using global default file /horn/rji/aips/DA00/DADEVS.LIST for 
>>>>>>> DADEVS.PL)
>>>>>>>     Disk 1 (1) is /horn/rji/aips/DATA/HORN_1
>>>>>>>
>>>>>>> i.e. without the:
>>>>>>> DADEVS.PL: This program is untested under Perl version 5.010
>>>>>> I am clueless - it works fine on my LNX64 machine.  To debug, 
>>>>>> change your START_AIPS - there is after the reference to DADEVS.PL 
>>>>>> a place wher it executes the file /tmp/DADEVS.$pid and then 
>>>>>> deletes it.  You could comment out the deletion and see what the 
>>>>>> file contains.  It should define DA01, DA02, DA03, and NVOL in 
>>>>>> your case.
>>>>>>
>>>>>> Eric Greisen
>>>>>
>>>>> the /tmp/DADEVS.$pid file is empty.
>>>>>
>>>>> our sysadmin report that Perl was security-upgraded on 
>>>>> 2009-09-09... usually a sure sign that something will break ;-)
>>>>>
>>>>> do you know which version of perl your lnx64 machine is running, Eric?
>>>>>
>>>>> cheers,
>>>>>
>>>>> Rob
>>>>>
>>>>> _______________________________________________
>>>>> Daip mailing list
>>>>> Daip at listmgr.cv.nrao.edu
>>>>> http://listmgr.cv.nrao.edu/mailman/listinfo/daip
>>>> We are running perl 5.8
>>>>
>>>> Eric
>>>>
>>
>> Try debugging further - DADEVS.PL writes a file - in the code for it 
>> you could put debug print statements at the write points to make sure 
>> they are being done and also at the close to make sure it is done.
>>
>> Somewhere it decides whether to do DADEVS.PL or other script DADEVS - 
>> you could force it to skip the perl version perhaps...
>>
>> Just thoughts - LNX64 should be faster than LINUX on the same box.
>> \
>> ERic
>>
>>

Can you send all the messages that come out - this error message is 
disturbing but line 13 makes no sense?  I looked and the DADEVS.PL does 
explicitly close the output file so it should have been flushed and 
contain the needed assignment statements.

eric




More information about the Daip mailing list