[daip] Fwd: Re: aips installation error

Eric Greisen egreisen at nrao.edu
Fri Dec 9 18:28:20 EST 2016




-------- Forwarded Message --------
Subject: Re: [daip] aips installation error
Date: Fri, 9 Dec 2016 16:26:50 -0700
From: Eric Greisen <egreisen at nrao.edu>
Organization: National Radio Astronomy Observatory
To: Shahideh Star <shahidehstar at yahoo.com>

On 12/09/2016 03:46 PM, Shahideh Star wrote:
> Dear Eric,
>
> Thank you for your response. I got the following lines:
>
>
> adib at adib-Lenovo-IdeaPad-S510p:~$ more /home/adib/LOGIN.SH
> #-----------------------------------------------------------------------
> #;  Copyright (C) 1995, 2003
> #;  Associated Universities, Inc. Washington DC, USA.
> #;
> #;  This program is free software; you can redistribute it and/or
> #;  modify it under the terms of the GNU General Public License as
> #;  published by the Free Software Foundation; either version 2 of
> #;  the License, or (at your option) any later version.
> #;
> #;  This program is distributed in the hope that it will be useful,
> #;  but WITHOUT ANY WARRANTY; without even the implied warranty of
> #;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> #;  GNU General Public License for more details.
> #;
> #;  You should have received a copy of the GNU General Public
> #;  License along with this program; if not, write to the Free
> #;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
> #;  MA 02139, USA.
> #;
> #;  Correspondence concerning AIPS should be addressed as follows:
> #;         Internet email: aipsmail at nrao.edu.
> #;         Postal address: AIPS Project Office
> #;                         National Radio Astronomy Observatory
> #;                         520 Edgemont Road
> #;                         Charlottesville, VA 22903-2475 USA
> #-----------------------------------------------------------------------
> # Usage: . LOGIN.SH
> #-----------------------------------------------------------------------
> # Define where the AIPS shell scripts are.  This is usually the aips
> # account's login area.  Set the "AIPS_ROOT" string to the correct area.
> # (leave NO spaces around the = sign in this bourne shell version)
> # This script usually for AIPS installers and programmers only.
> #-----------------------------------------------------------------------
> AIPS_ROOT=/home/adib
> #  set to "YES" for local installation on portable computer
> #Changed [install.pl] to yes
> LAPTOP="YES"
> #
> # Do not change anything below this line
> #
> export AIPS_ROOT
> export LAPTOP
> #
> if [ -d $AIPS_ROOT ] ; then
>    if [ -f $AIPS_ROOT/HOSTS.SH ] ; then
>      . $AIPS_ROOT/HOSTS.SH
>    else
>      echo "Error: no HOSTS.SH file found in $AIPS_ROOT"
>      echo "       Cannot proceed!"
>      exit 2
>    fi
>    if [ -f $AIPS_ROOT/AIPSPATH.SH ] ; then
>      . $AIPS_ROOT/AIPSPATH.SH
>      if [ -f $AIPS_ROOT/AIPSASSN.SH ] ; then
>        . $AIPS_ROOT/AIPSASSN.SH
>      else
>        echo "Warning: AIPSASSN.SH not found in $AIPS_ROOT"
>        echo "         Some or all of AIPS may not work"
>      fi
>    else
>      echo "Error: AIPSPATH.SH not found in $AIPS_ROOT"
>      echo "       AIPS will not work"
>    fi
> else
>    echo "Error: $AIPS_ROOT (\$AIPS_ROOT) is not a directory"
>    echo "       (Check LOGIN.SH and change the \$AIPS_ROOT definition
> there)"
> fi
> adib at adib-Lenovo-IdeaPad-S510p:~$
>
> My Regards,
>
>
> On Saturday, December 10, 2016 2:10 AM, Eric Greisen <egreisen at nrao.edu>
> wrote:
>
>
> On 12/09/2016 03:16 PM, Shahideh Star wrote:
>
>  > Dear Sir/Madam,
>  >
>  > I have a problem after installing AIPS. Please help me.
>  >
>  > I received the following comments after the installation:
>  >
>  >
>  > AipsWiz:  =====> We're DONE!  Let's have a nice Banana Split! <======
>  >
>  > AipsWiz: ***************** READ CAREFULLY **************************
>  >
>  > AipsWiz: ***************** READ CAREFULLY **************************
>  >
>  > AipsWiz: Services should be defined either in /etc/services
>  >  oryour YP/NIS services map (all tcp services)
>  > This may require sudo or root privileges
>  >
>  > AipsWiz: ***************** READ CAREFULLY **************************
>  >
>  > AipsWiz: Here are the final setup instructions for running AIPS
>  >
>  >      1.  Reference the LOGIN.SH file in your .profile file
>  >            or perhaps your .bashrc 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.
>  >
>  >      3.  Make a cron entry for the do_daily.LOCALHOST 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.
>  >
>  >
>  >
>  > After that I use source:
>  > (I used /home/adib to install every thing and put /home/adib as AIPS
> ROOT)
>  >
>  > adib at adib-Lenovo-IdeaPad-S510p
> <mailto:adib at adib-Lenovo-IdeaPad-S510p>:~$ source /home/adib/LOGIN.SH
>  > adib at adib-Lenovo-IdeaPad-S510p
> <mailto:adib at adib-Lenovo-IdeaPad-S510p>:~$ aips
>  > START_AIPS: AIPS_ROOT is not a directory; cannot start AIPS.
>  >
>  >
>  > It does not open AIPS.
>  >
>  > please help..
>  >
>  > My regards,
>
>  >
>  >
>  >
>  > _______________________________________________
>  > Daip mailing list
>  > Daip at listmgr.nrao.edu <mailto:Daip at listmgr.nrao.edu>
>  > https://listmgr.nrao.edu/mailman/listinfo/daip
>  >
> do a "more /home/adib/LOGIN.SH"
>
> After the Copyright and other comments there is a line that defines
> AIPS_ROOT - what does it say?
>
> Eric Greisen
>
>
>
>

Mysterious - are you running bask or tcsh/csh ?

After you source LOGIN.SH type "echo $AIPS_ROOT" does it say /home/adib?

Do you actually have write privilege on /home/adib?  The test that gives
this message is a simple one that asks if /home/adib is a directory and
the OS returns the answer no.

Eric Greisen





More information about the Daip mailing list