[daip] 31DEC09/LNX64

Eric Greisen egreisen at nrao.edu
Fri Dec 11 11:43:33 EST 2009


Stefanie Muehle wrote:
> Hi,
> 
> just to let you know that the binary installation of 31DEC09 with ARCH = 
> LNX64 choked on setting up the MNJ on my laptop (please see below for 
> details). My present workaround is to have installed AIPS with ARCH = 
> LINUX, too. Seems to work, but doubles the disk space needed. So, if you 
> happen to have a free minute at some point ...
> 
> 
> Thanks for all your fine work keeping AIPS up-to-date!
> 
> Cheers,
> 
>   Stefanie
> 
> 
> =================================================================================
> AipsWiz: About to run 'MAKE.BMNJ '...
> AipsWiz: This will generate a fair bit of output.
> AIPS_VERSION=/home/software/aips/31DEC09
> MAKE.BMNJ - Moving to /home/software/aips/31DEC09/LINUX/UPDATE
> MAKE.BMNJ - The MNJ now uses cvs (http://www.cvshome.org) for updates;
> MAKE.BMNJ - looking to see if I can find a copy of it....
> MAKE.BMNJ - Found /usr/bin/cvs.
> MAKE.BMNJ - Setting up your MNJ settings in
> MAKE.BMNJ -  /home/software/aips/31DEC09/LINUX/SYSTEM/UPDCONFIG:
> MAKE.BMNJ -  --------------------------
> # Created by MAKE.MNJ on Thu Dec 10 19:13:22 UTC 2009
> cvscmd=/usr/bin/cvs
> ClientName=localhost
> MailList=stefanie
> ErrorList=stefanie,aipsmgr at nrao.edu
> MAKE.BMNJ -  --------------------------
> MAKE.BMNJ - If you wish to change any of these settings, refer to the
> MAKE.BMNJ - comments at the start of 
> /home/software/aips/31DEC09/SYSTEM/UNIX/UPDATE/UPDCONFIG
> MAKE.BMNJ - and edit /home/software/aips/31DEC09/LINUX/SYSTEM/UPDCONFIG 
> yourself.
> MAKE.BMNJ - Press <RETURN> to acknowledge...:                  
> MAKE.BMNJ - cvs needs to be primed by a login operation; this
> MAKE.BMNJ - is also a good time to test and make sure you can
> MAKE.BMNJ - connect to our server. We will now try to login to
> MAKE.BMNJ - the server (mnj.aoc.nrao.edu); when prompted for
> MAKE.BMNJ - a password, just hit the enter or return key.
> Logging in to :pserver:anoncvs at mnj.aoc.nrao.edu:2401/home/aipssrc/cvs
> CVS password:
> MAKE.BMNJ - /home/stefanie/do_daily.localhost already exists
> MAKE.BMNJ - You might want to add a crontab entry, e.g.
> 
> 30 1 * * 1-6 /home/stefanie/do_daily.localhost
> 
> MAKE.BMNJ - when you are ready to start the MNJ.
> MAKE.BMNJ - Your configuration for the AIPS midnight job is complete.
> AipsWiz: Not good; no 
> /home/software/aips/31DEC09/LNX64/SYSTEM/JOP59/UPDCONFIG found; did 
> MAKE.BMNJ fail?
> AipsWiz: You should investigate this.
> AipsWiz: ==> Press <ENTER> to acknowledge::
>  
> 
> consequences: 
> =============
> UPDCONFIG missing in $AIPS_ROOT/31DEC09/LNX64/SYSTEM
> and some files missing in $AIPS_ROOT/31DEC09/LNX64/SYSTEM/JOP59
> 
> jop59:31DEC09/LNX64/SYSTEM/JOP59> ls
> aips       CDVER.CSH   F2TEXT            LIBR      PRINTENV
> AIPS       CDVER.SH    FDEFAULT.SH       LIBR.DAT  REVENV
> AIPWD      COMLNK.ADD  FDEFAULT.SH.dist  MAKE.MNJ  RSYNC.ME
> ASOPTS.SH  COMRPL.ADD  INCS.SH           NEWEST    SEARCH0.DAT
> CCOPTS.SH  F2PS        LDOPTS.SH         PP.EXE    ZTRLOP.o
> 
> versus
> jop59:31DEC09/LINUX/SYSTEM/JOP59> ls
> aips       CDVER.CSH   F2TEXT            LDOPTS.SH~  PP.EXE       SEARCH0.DAT
> AIPS       CDVER.SH    FDEFAULT.SH       LIBR        PRINTENV     UPDCONFIG
> AIPWD      COMLNK.ADD  FDEFAULT.SH.dist  LIBR.DAT    REVENV       UPDCONFIG~
> ASOPTS.SH  COMRPL.ADD  INCS.SH           MAKE.MNJ    RSYNC.MASTER ZTRLOP.o
> CCOPTS.SH  F2PS        LDOPTS.SH         NEWEST      RSYNC.ME

What has happened is that your $AIPS_ROOT/HOST.LIST file apparently 
defines your host as LINUX not LNX64.  MAKE.BMNJ has a message that 
suggests that it did not find $SYSLOCAL properly and called it

/home/software/aips/31DEC09/LINUX/UPDATE
/home/software/aips/31DEC09/LINUX/SYSTEM/UPDCONFIG

Looking at that code, it inherits this mis-information
     system("sh -c '. $AIPS_ROOT/LOGIN.SH; \$CDTST; $target'");

where $target is MAKE.BMNJ.  The bad information in your HOSTS.LIST file 
accessed by the LOGIN.SH over-rode the good information known inside 
install.pl and caused this failure.  Probably install.pl should detect 
that this a re-install and insist that the installer confirm the 
contents of HOSTS.LIST.  People do seem to have a habit of forgetting 
their site name and, now, changing the architecture without adjusting 
that file.

Eric Greisen




More information about the Daip mailing list