[daip] AIPS help.

Eric Greisen egreisen at nrao.edu
Tue Jan 27 17:11:42 EST 2009


Akash Pirya Saxena wrote:
> Dear Sir,
> 
> I have installed AIPS 31Dec 07 in my home directory. ( say akash's home)
> For this particular user (akash) it is working very properly,
> But, is it possible that may i login to AIPS from other users( say 
> akash1) on the same machine/or from different machine ?
> If yes, please suggest me which file/directory should be modified/edited ?
> And also, I want to make my machine as a AIPS server so that other 
> person may also login into AIPS.
> Please suggest me that in which manner may i handle this problem ?
>

i will tell you what we do here:

We have a disk area on a file server call /home/AIPS which is 
automounted on all computers which might want to run aips.  For 
simplicity I will assume that both machines are Linux (it gets messier 
to support > 1 architecture but that can be done).

/home/AIPS is the $AIPS_ROOT - its file HOSTS.LIST has many lines such as

+  PEGASUS    LINUX   COAOARN  NONE        Pentium 4 1300MHz Greg
+  PENNS      LINUX   COAOARN  NONE        P-IV 1.4GHz, George
+  PHECDA     LINUX   COAOARN  NONE        Dual Xeon 1.8GHz, Public
+  PRIMATE    LINUX   COAOARN  NONE        Pentium 500 MHz, Eric Greisen
+  PYANFAR    LINUX   COAOARN  NONE        Pentium 4 3GHz, Jean Eilek

listing all the computers that will run AIPS off of this central 
installation.

The area $AIPS_ROOT/DA00 contains directories which are normally soft 
links such as

/home/pegasus/AIPS/PEGASUS  ->  PEGASUS
/home/penns/AIPS/PENNS      ->  PENNS
/home/phecda/AIPS/PHECDA    ->  PHECDA

etc.  Note that it is important to have the actual files on the host 
that uses them.  These are the areas that are set up by FILAIP run on 
each machine or the proc SYSSETUP <host> for a new <host>.

The data areas are set up in a variety of ways (we use a global map but 
there are easier ways):  in file $AIPS_ROOT/DA00/DADEVS.LIST we list e.g.
-  /DATA/PEGASUS_1
-  /DATA/PEGASUS_2
-  /DATA/PENNS_1
-  /DATA/PENNS_2
-  /DATA/PENNS_3
-  /DATA/PENNS_4
-  /DATA/PHECDA_1
-  /DATA/PHECDA_2
-  /DATA/PILABO_1
-  /DATA/PILABO_2
-  /DATA/PILABO_3
-  /DATA/PILABO_4
-  /DATA/PILABO_5
-  /DATA/PILABO_6
-  /DATA/PRIMATE_1
-  /DATA/PRIMATE_2
-  /DATA/PRIMATE_3
-  /DATA/PRIMATE_4
-  /DATA/PYANFAR_1
-  /DATA/PYANFAR_2
-  /DATA/PYANFAR_3
-  /DATA/PYANFAR_4
-  /DATA/PYANFAR_5
-  /DATA/PYANFAR_6
-  /DATA/PYANFAR_7

An easier way would be to set up soft links in

$AIPS_ROOT/DATA/

as, e.g.

/home/pegasus/AIPS/PEGASUS_1/     -> PEGASUS_1
/home/pegasus2/AIPS/PEGASUS_2/    -> PEGASUS_2

etc

The file $AIPS_ROOT/DA00/NETSP also needs an entry for each data area:
/DATA/PEGASUS_1           365.0    0    0    0    0    0    0    0    0
/DATA/PEGASUS_2           365.0    0    0    0    0    0    0    0    0
/DATA/PENNS_1             365.0    0    0    0    0    0    0    0    0
/DATA/PENNS_2             365.0    0    0    0    0    0    0    0    0
/DATA/PENNS_3             365.0    0    0    0    0    0    0    0    0
/DATA/PENNS_4             365.0    0    0    0    0    0    0    0    0
/DATA/PHECDA_1            365.0    0    0    0    0    0    0    0    0
/DATA/PHECDA_2            365.0    0    0    0    0    0    0    0    0
/DATA/PILABO_1            365.0    0    0    0    0    0    0    0    0
/DATA/PILABO_2            365.0    0    0    0    0    0    0    0    0
/DATA/PILABO_3            365.0    0    0    0    0    0    0    0    0
/DATA/PILABO_4            365.0    0    0    0    0    0    0    0    0
/DATA/PILABO_5            365.0    0    0    0    0    0    0    0    0
/DATA/PILABO_6            365.0    0    0    0    0    0    0    0    0
/DATA/PRIMATE_1           365.0    0    0    0    0    0    0    0    0
/DATA/PRIMATE_2           365.0    0    0    0    0    0    0    0    0
/DATA/PRIMATE_3           365.0    0    0    0    0    0    0    0    0
/DATA/PRIMATE_4           365.0    0    0    0    0    0    0    0    0
/DATA/PYANFAR_1           365.0    0    0    0    0    0    0    0    0
/DATA/PYANFAR_3           365.0    0    0    0    0    0    0    0    0
/DATA/PYANFAR_4           365.0    0    0    0    0    0    0    0    0
/DATA/PYANFAR_5           365.0    0    0    0    0    0    0    0    0
/DATA/PYANFAR_6           365.0    0    0    0    0    0    0    0    0
/DATA/PYANFAR_7           365.0    0    0    0    0    0    0    0    0

Note that this file can be used to restrict access to specific user 
numbers (all 0's means no restriction)

Finally, we make all areas owned by groups "aipsuser" and put everyone 
who wants to use aips in a secondary aipsuser group.

Much of this information and more may be found on the aips manager FAQ 
from our web site

    http://www.aips.nrao.edu/

Eric Greisen




More information about the Daip mailing list