[daip] MNJ key

Neil Nagar neil at arcetri.astro.it
Sun Jan 21 12:38:51 EST 2001


Hi,

I've newly installed AIPS on my Linux machine (the
registration information is at the end of this email).
(Patrick: the memory problem was finally fixed even though
the dealers wouldn't believe it as it didn't show up using
standard memory diagnostics!).
Could you please send me the key required for the
midnight job.

The only problem I had with the installation (so far!)
was with the following lines in the install.pl script

    open(OLD, "<Makefile");
    open(NEW, ">Makefile.new");
    while (OLD) {
        if (/^CC_$ARCH/) {
            printf NEW "CC_$ARCH = $CCOM\n";
        } else {
            print NEW;
        }
    }
    close(OLD); close(NEW);

On reaching these lines the script went into an infinite loop,
i.e. hogging all the cpu but not continuing. I'm not familiar with
advanced Perl programming but changing these statements to basic
Perl i.e. reading in with "while ($line= <OLD>)"  etc.
solved the problem. Anyway, I hadn't changed the
default compiler, so didn't need these lines.

Thanks,
Neil Nagar.

---
AIPSVER=31DEC01
AIPSDATE="Sun Jan 21 17:13:44 CET 2001"
INSTNAME="Arcetri Observatory"
INSTADDR1="Largo E. Fermi 5"
INSTADDR2="Firenze, 50125"
INSTADDR3="Italy" CONTACT="Neil Nagar"
PHONE="+39 055 2752214"
EMAIL="neil at arcetri.astro.it"
SITE="ARCNN"
FIRSTHOSTS=" NAGAR LINUX"
ARCH="Linux"
AIPSARCH="LINUX"
ARCHALL="Linux nagar 2.2.14-12 #1 Tue Apr 25 12:50:06 EDT 2000 i686
unknown"
NUM="1"



More information about the Daip mailing list