wiki:AIPS

Version 22 (modified by cdelarcuz, 20 years ago) ( diff )

--

AIPS

AIPS, the NRAO Astronomical Image Processing System is used primarily for reducing data from synthesis radio telescopes. General information is given in the AIPS FAQ.

Fernando asked the 'makers' of AIPS whether it should work ok in debian:

Subject: Re: [daip] aips on debian
Date: Wed, 28 Dec 2005 09:59:03 -0700
From: Eric Greisen <egreisen@nrao.edu>
To: Fernando Camilo <fernando@astro.columbia.edu>
CC: daip@nrao.edu
References: <43B2C16B.7010202@astro.columbia.edu>

Fernando Camilo writes:

  > Could you please let me know whether there are any known issues for AIPS
  > running under Linux Debian 3.1 (sarge)?  We are building a new Linux-based
  > computing network here at the Columbia Astrophysics Lab and want to make
  > sure that the key packages will work under our proposed operating system.

So far as I know there are no issues.  But I do not know if it has
been tested properly either.  We offer AIPS in both source-code and
binary versions.  The former mostly has issues with compilers, where
some versions of GNU for example simply make many mistakes in
optimization.  The latter is build with the Intel compiler on a RedHat
9 host.  It is possible that some issues might arise from OS
incompatibilities.  In fact, we are seeing serious degradation of AIPS
TV performance on those machines that have been "upgraded" to RedHat
Enterprise.  Whether Enterprise just does not like standard sockets
especially Inet loopback sockets or whether load modules build with an
Enterprise system would work better, we do not yet know.

Eric Greisen

Preliminary/Dependant packages

AIPS installer requires the installation of the following:

	make
	cvs
	ncurses
	gcc-g77-3.4.4 (compilers)
	X-window-system0dev

make

cdelacruz@metis:~$ sudo apt-get install make

cvs and ncurses

cdelacruz@metis:~$ sudo apt-get install cvs
cdelacruz@metis:~$ sudo apt-get install libncurses5-dev
cdelacruz@metis:~$ sudo apt-get install glibc-doc
cdelacruz@metis:~$ sudo apt-get install manpages-dev

3.4 gcc/g77 compiler version

root@phobos:/# apt-get install g77-3.4
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  binutils cpp-3.4 gcc-3.4 libg2c0-dev
Suggested packages:
  binutils-doc g77-3.4-doc gcc-3.4-doc libc6-dev-amd64
Recommended packages:
  libc6-dev
...
root@phobos:/# apt-get install g77-3.4-doc

X-window-system-dev

cdelacruz@metis:/usr/local/gcc/gcc-3.4.4$ sudo apt-get install x-window-system-dev

AIPS Installation

mkdir AIPS in /usr/local/AIPS.

create an aips user/group.

31DEC06.tar.gz (text) installation file is downloaded as well as the installation script [ftp://ftp.aoc.nrao.edu/pub/software/aips/31DEC06/install.pl install.pl

make file executable

chmod +x install.pl

Run the install.pl script

cdelacruz@metis:/usr/local/AIPS$ ./install.pl (selected the default options during the install)

===================== AIPS 31DEC06 Install Wizard=====================

Screen 11: FINAL REVIEW before installing!
------------------------------------------
This is your last, best hope for checking the settings before
committing to the install.  Please check thesesettings, and
make sure they are what you want:

   AIPS_ROOT (screen 3): /usr/local/AIPS
       Group (screen 4): aips
 Group Write (screen 4): YES
Architecture (screen 5): LINUX
   Site name (screen 5): AIPSCAL
  AIPS hosts (screen 6): METIS
  Data areas (screen 7): /usr/local/AIPS/DATA/METIS_1
    Printers (screen 8):   Paper type (screen 8): A
 Tape drives (screen 9):
  Tape hosts (screen 9): 127.0.0.1
   Advanced (screen 10): (not listed here)

You can skip back to a previous menu by entering its number,
or use the phrase 'start over' to go back  to the beginning.
         [You may also type B for back, or Q to Quit]

AipsWiz: ===> [A]ccept (default) or menu number:

 ----------------------------------------------------------------------
# interactive AIPS, # batch queues (2 I)
FILAI1: Init POPS memory files 1 through 12 with program POPSGN
FILAI1: Done!
AipsWiz: FILAIP seems to have run correctly.  Now running POPSGN.
AipsWiz: This will show a prompt; don't type anything, as I will
AipsWiz: enter the magic incantations.  If it works, you will see
AipsWiz: the message 'Popsgen complete' momentarily...

Data disk assignments:
  (Using global default file /usr/local/AIPS/DA00/DADEVS.LIST for DADEVS.PL)
   Disk 1 (1) is /usr/local/AIPS/DATA/METIS_1

Starting up POPSGN (RELEASE OF 31DEC06)
Enter Idebug, Mname, Version (1 I, 2 A's) (NO COMMAS)
>POPSG1: Popsgen complete
POPSG1: metis        31DEC06 TST: Cpu=       0.0  Real=       0
AipsWiz: Copying DA00/METIS/* files to 31DEC06/LINUX/TEMPLATE/ area

AipsWiz:  =====> We're DONE!  Let's have a nice Banana Split! <======

AipsWiz: Here are the final setup instructions for running AIPS

        1.  Reference the LOGIN.SH file in your .profile file
              (dot it now too, via ". ./LOGIN.SH")

        2.  Check that it works:

                aips notv tpok

              (this will not start a TV or tape servers).
            Try 'print 2 + 2' for a very basic test.

========================================================================
root@metis:/usr/local/AIPS# . ./LOGIN.SH
root@metis:/usr/local/AIPS# aips notv tpok
START_AIPS: Your initial AIPS printer is the
START_AIPS:  - system name , AIPS type

START_AIPS: User data area assignments:
  (Using global default file /usr/local/AIPS/DA00/DADEVS.LIST for DADEVS.PL)
   Disk 1 (1) is /usr/local/AIPS/DATA/METIS_1

Tape assignments:
   Tape 1 is REMOTE
   Tape 2 is REMOTE

START_AIPS: Assuming TPMON daemons are running or not used (you said TPOK)
Starting up 31DEC06 AIPS with normal priority
Begin the one true AIPS number 1 (release of 31DEC06) at priority =   0
AIPS 1: You are NOT assigned a TV device or server
AIPS 1: You are NOT assigned a graphics device or server
AIPS 1: Enter user ID number
?123
AIPS 1:                          31DEC06 AIPS:
AIPS 1:      Copyright (C) 1995-2005 Associated Universities, Inc.
AIPS 1:            AIPS comes with ABSOLUTELY NO WARRANTY;
AIPS 1:                 for details, type HELP GNUGPL
AIPS 1: This is free software, and you are welcome to redistribute it
AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details.
AIPS 1: Previous session command-line history *not* recovered.
AIPS 1: TAB-key completions enabled, type HELP READLINE for details.
AIPS 1: Loading a brand new POPS vocabulary
>print 2 + 2
AIPS 1:      4
>

========================================================================


        3.  Make a cron entry for the do_daily.METIS file
              that the MAKE.MNJ created, so you can run the
              AIPS 'midnight job'.  This is optional but
              strongly recommended.

AipsWiz: That's it.  You should now have the latest AIPS!  Enjoy.
root@metis:/usr/local/AIPS#

Add the follwowing to the /etc/services file:

#
# Services added for the AIPS Ubuntu Installation
#

sssin           5000/tcp        SSSIN           # AIPS TV server
ssslock         5002/tcp        SSSLOCK         # AIPS TV Lock
msgserv         5008/tcp        MSGSERV         # AIPS Message Server
tekserv         5009/tcp        TEKSERV         # AIPS TekServer
aipsmt0         5010/tcp        AIPSMT0         # AIPS remote FITS disk
access
aipsmt1         5011/tcp        AIPSMT1         # AIPS remote tape 1
aipsmt2         5012/tcp        AIPSMT2         # AIPS remote tape 2
aipsmt3         5013/tcp        AIPSMT3
aipsmt4         5014/tcp        AIPSMT4
aipsmt5         5015/tcp        AIPSMT5
aipsmt6         5016/tcp        AIPSMT6
aipsmt7         5017/tcp        AIPSMT7

***comment out the absolete "radio free ethernet" (5002) service.

# rfe           5002/udp                        # Radio Free Ethernet
# rfe           5002/tcp

Please note: Video must be in 24-bit TruColor mode

Add LOGIN.SH file to the .bashrc file:

### AIPS Environment ###
. /usr/local/AIPS/LOGIN.SH

Changed AIPS directory ownership to aips group:

 sudo chown -R root:aips AIPS

Testing

The following commands/script was successfully executed:

	(1) launch aips (setup the LOGIN.SH under the user profile)
	(2) # 123 (input a password)
	(3) system will issue an id ?XXX
	(4) > task 'mandl'
	(5) inp
	(6) check outname > outname 'test1'
	(7) > input
	(8) > cparm 0
	(9) > go (look at message server)
	(10) > mc (image catalog, print out file test1 (image file))
	(11) > getn 'cat' (input the cat number from the list)
	(12) tvall
	(13) check for error messages in the msgserv.

User Feedback

Nithyanandan Thyagarajan made a couple of suggestions:

(1) create multiple data areas/sets (approx. 10).
(2) Load all of the printers.
(3) verify the midnight job (cvs update script). This will
ultimately depend on how we will install the program.

Updates

A Cron job can be enabled; would prefer manual updates.

'midnight job' (CVS updates); .cvs pass file in home directory enabling cvs to run without passwords.

*.make.MNJ

UPPCONFIG

edit email/contact: 

ErrorList=root, cdelacruz@astro.columbia.edu
Note: See TracWiki for help on using the wiki.