[daip] Difficulties regarding installation of obit task

Bill Cotton bcotton at nrao.edu
Mon Aug 5 20:59:15 EDT 2019


Atanu,
    The installation instructions are:
   Installing and running Linux binary distribution of Obit

1) Unpack the distribution tarball in the directory in which you wish
    to install it; e.g.
  > mv obit-distro-1.1.602.tar.gz /home/mydir/obitinstall
  > cd /home/mydir/obitinstall
  > tar zxf obit-distro-1.1.602.tar.gz

2) Add the top level distribution to your path:
  > setenv PATH "/home/mydir/obitinstall/obit-distro-1.1.602/bin:$PATH"
if you use tcsh or, for bash
  > PATH="/home/mydir/obitinstall/obit-distro-1.1.602/bin:$PATH"; export 
PATH
You may wish to add these to your .cshrc or .profile login files.

3) ObitTalk is the python based user interface, documentation is in
doc/ObitTalk.pdf.

4) Additional customization is possible using the python file
dot.obitrc.py renamed to .obitrc.py and placed in your home directory
($HOME) or in the working directory from which you run ObitTalk.
This can be used to define the location of AIPS and AIPS data
directories as well as FITS data directories.  Alternatively, the
standard AIPS startup scripts will define the AIPS environment.

5) If the host has a version of python in /usr/bin/python, the
distributed versions of the scripts will use it.  Otherwise
/home/mydir/obitinstall/obit-distro-1.1.602/lib/obit/bin/ObitTalk
needs to be modified at the end to use an available python.

    NOTE: If you want to run tasks from 31DEC17 or later AIPS, you'll
need to copy the libraries (lib*.so) from
$AIPS_ROOT/$AIPS_VERSION/LNX64/LIBR/INTELCMP/ to
obit-distro-1.1.602/lib/.


Note: If you're running a current AIPS, you'll need a more recent 
version of obit to run BDF2AIPS as a parameter has been added.
-Bill

On 08/05/2019 01:53 PM, Eric Greisen wrote:
> On 8/4/19 1:35 AM, Atanu Koley via Daip wrote:
>> Dear Sir
>>
>>
>> My problem is that I want to run *BDF2AIPS *in** *AIPS*. For that I  
>> installed *obit* software. I went their 
>> page (https://svn.cv.nrao.edu/obit/linux_distro/  ) and installed 
>> obit-distro-1.1.590.tar.gz.). 
>> <https://svn.cv.nrao.edu/obit/linux_distro/obit-distro-1.1.590.tar.gz>
>>
>>
>> <https://svn.cv.nrao.edu/obit/linux_distro/obit-distro-1.1.590.tar.gz>
>>
>> Then extracted and included the comment in the bash file (  ( 
>> /PATH="/home/mydir/obitinstall/obit-distro-x.x.xxx/bin:$PATH"; export 
>> PATH 
>> <https://svn.cv.nrao.edu/obit/linux_distro/obit-distro-1.1.590.tar.gz>
>>
>>
>> But when I opened the terminal it was showing: bash: 
>> /home/atanukoley/AIPS/obit-distro-1.1.598/bin: 
>> <https://svn.cv.nrao.edu/obit/linux_distro/obit-distro-1.1.590.tar.gz>
>>
>> <https://svn.cv.nrao.edu/obit/linux_distro/obit-distro-1.1.590.tar.gz><https://svn.cv.nrao.edu/obit/linux_distro/obit-distro-1.1.590.tar.gz>means 
>> some problem was occuring in  bash file, it couldnot read the path 
>> that I included.
>>
>>
>> When I want to run *BDF2AIPS* task in *AIPS *it was  showing 
>> *obittalk* is not in your path. So, what exactly problem is ,can you 
>> please tell me. CAn you please tell what exactly I have have to do to 
>> run BDF2AIPS in AIPS.
>
> Setting up the $PATH to ObitTalk has always confused me.  You need to 
> talk to Bill Cotton about it, rather than the AIPS group.  I have 
> CC'ed him on this e-mail and he may be able to advise you. You should 
> cd to the area /home/atanukoley/AIPS/obit-distro-1.1.598/bin and see 
> if you can access it and what it contains (ls -l for starters).
>
> Eric Greisen




More information about the Daip mailing list