Closed gijzelaerr closed 6 years ago
The package just puts aips in /opt/aips
and doesn't do much else for you. You still need to set up the rest yourself. That said, there is a script called runaips
in /usr/bin
that could be what you need.
If this works for I can update the same package to KERN-3, but I don't have the time to update AIPS itself, it is just too much unrewarding work.
ok... it seems to work:
root@e21aca0f7aa3:/# /usr/bin/runaips tpok tv=local
START_AIPS: Will use or start first available Unix Socket based TV
START_AIPS: Your initial AIPS printer is the
START_AIPS: - system name , AIPS type
START_AIPS: User data area assignments:
DADEVS.PL: This program is untested under Perl version 5.022
(Using global default file /opt/aips/DA00/DADEVS.LIST for DADEVS.PL)
Disk 1 (1) is /opt/aips/DATA/LOCALHOST_1
Tape assignments:
Tape 1 is REMOTE
Tape 2 is REMOTE
START_AIPS: I am GUESSING you are at a workstation called localhost
START_AIPS: - but have chosen to run the TV locally on LOCALHOST
START_AIPS: Starting TV servers on localhost asynchronously
START_AIPS: - WITH Unix Sockets as requested...
START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...
Starting up 31DEC16 AIPS with normal priority
Begin the one true AIPS number 1 (release of 31DEC16) at priority = 0
AIPS 1: You are not on a local TV device, welcome stranger
AIPS 1: You are assigned TV device/server 3
AIPS 1: You are assigned graphics device/server 3
AIPS 1: Enter user ID number
?DADEVS.PL: This program is untested under Perl version 5.022
STARTPMON: [LOCALHOST] The FITS area (/opt/aips/FITS) is not a directory!
STARTPMON: [LOCALHOST] This area is needed by TPMON1 (for FITS disk access)
STARTPMON: [LOCALHOST] Will NOT start any TPMON daemons.
UNIXSERVERS: TVSRV1 is already running on host localhost, user root
UNIXSERVERS: Start XAS1 on localhost, DISPLAY :1
XAS: ** TrueColor FOUND!!!
XAS: *** Using shared memory option for speed ***
XAS: Using screen width 1910 height 980,
max grey level 8191 in 16 grey-scale memories
UNIXSERVERS: Start graphics server TKSRV1 on localhost, display :1
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 1 (X_ShmAttach)
Serial number of failed request: 26
Current serial number in output stream: 27
/opt/aips/31DEC16/SYSTEM/UNIX/UNIXSERVERS: 352: /opt/aips/31DEC16/SYSTEM/UNIX/UNIXSERVERS: xterm: not found
UNIXSERVERS: Start message server MSSRV1 on localhost, display :1
/opt/aips/31DEC16/SYSTEM/UNIX/UNIXSERVERS: 460: /opt/aips/31DEC16/SYSTEM/UNIX/UNIXSERVERS: xterm: not found
1978
AIPS 1: 31DEC16 AIPS:
AIPS 1: Copyright (C) 1995-2018 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
>pcat
AIPS 1: Catalog on disk 1
AIPS 1: Cat Usid Mapname Class Seq Pt Last access Stat
>
although it has issues with the Xserver...
I guess having it in KERN-3 as is would not be a bad thing to do. I can try to sort out the X issues later.
Uploaded the same package to KERN-3. If somebody needs a newer AIPS package please do a PR on the kernsuite-debian/aips branch.
Indeed, AIPS is not packaged in KERN-3
However, I can't start it even from KERN-2 it seems, and it is there. What I did was to install the base KERN image, then go to KERN-2 by executing while logged into the base image (as per the launchpad):
Then, I installed AIPS:
apt-get install aips
which completes without issues:
When I try to run it:
root@c11ac0b01b4a:/# aips tpok tv=local
, I get:bash: aips: command not found
.