[daip] AIPS help
Eric Greisen
egreisen at nrao.edu
Tue Apr 1 13:36:51 EDT 2014
Xingying Liu wrote:
> Thanks a lot! But there is still some problem. I set a new environment variable MYY2K as told, but the problem still exist.
>
> The program was stuck in "Read/Write the input visibility dataset".
>
> It seems that the AIPS is still looking for files on tape, but my files are all in disk.
>
> I wonder how should I set the values of DDISK, MDISK, TDISK and IOTAPE if I have no tape but disk?
>
> and the new output is attatched as follows:
> AIPS 1: * Read/Write the input visibility dataset:
> AIPS 1: GET Y2K000RW
> AIPS 1: Y2KPROC
> AIPS 1: Limited to files matching name parms DY2KS .UVDATA. 0
> AIPS 1: Destroy all files for user 400 disks 1- 1? enter YES or NO
> AIPS 1: Disk Volume name Total Full Free Timd Access
> AIPS 1: # Mbytes % Mbytes days
> AIPS 1: 1 <e/miao/DATA/LOCALHOST_1 66822 46 34332 365 Alluser
> AIPS 1: ZFULLN: NO TRANSLATION FOR LNAME='MYY2K'
> AIPS 1: ZTPOPN: NO SUCH LOGICAL DEVICE = MYY2K:Y2KSUVDATA1
> AIPS 1: TAPIO: ERROR 3 OPENING FILE
> AIPS 1: ALSO COULD NOT OPEN MYY2K:Y2KSUVDATA
> AIPS 1: INVALID TAPE
>
>
> Looking forward for your reply!
>
>
> Michelle
>
>
> ----- 原始邮件 -----
> 发件人: "Eric Greisen" <egreisen at nrao.edu>
> 收件人: "Xingying Liu" <michellezzz at sjtu.edu.cn>
> 抄送: daip at nrao.edu
> 发送时间: 星期二, 2014年 4 月 01日 下午 10:35:50
> 主题: Re: [daip] AIPS help
>
> Xingying Liu wrote:
>> Hello!
>>
>> I find something confusing when using the Y2K benchmark in my desktop and really need your help.
>>
>> Since I am using my desktop, I don't have a tape. So how should I set up the value of DDISK, TDISK, IOTAPE and Y2KDISK?
>>
>> Now I set the value of Y2KDISK to be 'FITS', where FITS=/home/miao/Y2K, an area in my disk. And then I put my Y2KSUVDATA into this folder and run, but the file still cannot be found by AIPS.
>>
>> The output is like this:
>> AIPS 1: * Read/Write the input visibility dataset:
>> AIPS 1: GET Y2K000RW
>> AIPS 1: Y2KPROC
>> AIPS 1: Limited to files matching name parms DY2KS .UVDATA. 0
>> AIPS 1: Destroy all files for user 400 disks 1- 1? enter YES or NO
>> AIPS 1: Disk Volume name Total Full Free Timd Access
>> AIPS 1: # Mbytes % Mbytes days
>> AIPS 1: 1 <e/miao/DATA/LOCALHOST_1 66822 46 34349 365 Alluser
>> AIPS 1: ZTPOPN: DISK DEVICE = FITS:Y2KSUVDATA1 NOT FOUND
>> AIPS 1: TAPIO: ERROR 2 OPENING FILE
>> AIPS 1: ALSO COULD NOT OPEN FITS:Y2KSUVDATA
>> AIPS 1: INVALID TAPE
>>
>> The input is like this:
>> AIPS 1: Input variables
>> AIPS 1: TCODE 'READ' INIT,TEST,READ, or WRIT
>> AIPS 1: TMODE 'T' T or M
>> AIPS 1: TMASK 63 test selection bit mask
>> AIPS 1: Y2KSIZE 'SMALL' SMALL,MEDIUM,LARGE test
>> AIPS 1: DDISK 1 Disk drive #: master UVDATA
>> AIPS 1: MDISK 1 Disk drive #: other masters
>> AIPS 1: TDISK 1 Disk drive #: test files
>> AIPS 1: IOTAPE 1 Input/output tape drive #.
>> AIPS 1: Y2KDISK 'FITS' Disk area for READ and WRIT
>> AIPS 1: EDGSKP 0 Pixels to skip at edges
>> AIPS 1: TERSE 0 > 0 => reduced output
>> AIPS 1: OUTPRINT ' '
>
> This is a but curious. Is it possible that the environment variable
> FITS is being changed by your START_AIPS procedure. We do that here so
> that each computer has its own FITS area. I think that more globally,
> FITS is set to $AIPS_ROOT/FITS. So try setting a new variable e.g.
> setenv MYY2K /home/miao/Y2K
> and then Y2KDISK='MYY2K'. The variable FITS is too global to be trusted.
>
> Eric Greisen
Exit from aips, do the setenv above (or export MYY2K=/home/miao/Y2K if
you use bash shell) - then test it with
echo $MYY2K
ls -l $MYY2k/*
then , if these show the expected results,
aips
and procede. You cannot do a CTRL-Z, set a variable, and then do fg to
have aips know the meaning of that variable.
Eric Greisen
More information about the Daip
mailing list