ADMIT Installation Notes

From CARMA
(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
 
   admit
 
   admit
  
will remind you that ADMIT has been installed. The top level Makefile has some useful reminders what can do now. For example
+
will remind you that ADMIT has been installed, it doesn't do anything other than remind you it's (probably) been installed properly. The top level Makefile has some useful reminders what can do now and to do some very basic testing of ADMIT in a CASA environment. For example
  
 
   make python0
 
   make python0
Line 31: Line 31:
 
although that currently does very little testing.
 
although that currently does very little testing.
  
We do have some **rogue testing** installed, these are basically python (pure python as was as casarun-python) scripts that run through some Flow*_AT's. You can run them via
+
We do have some **rogue testing** installed, these are basically python (pure python as well as casarun-python) scripts that run through some Flow*_AT's. You can run them via
  
 
   make unit0_clean
 
   make unit0_clean
Line 38: Line 38:
  
  
and they should not fail. The 2nd run will re-run an existing test and should also not fail.
+
and they should not fail. The 2nd run will re-run an existing test and should also not fail. Those test_Flow* scripts are instructive to see how basic Flow's can be created using ADMIT.

Revision as of 18:40, 6 May 2015

You will need to know where CASA is installed on your machine. The following (csh) commands get your started on installing ADMIT (use USER = anonymous to get a read-only version, developers should know their USER name). bash users use the .sh variant.

  cvs -d :pserver:$USER@cvs.astro.umd.edu:/home/cvsroot checkout admit
  cd admit
  autoconf
  ./configure --with-casa-root=/astromake/opt/casa/stable
  source admit_start.csh

This will define the $ADMIT environment variable. There is also a top level INSTALL file, which contains more hints to install ADMIT with advanced options, most of which you will not need to get started.

The command

  admit

will remind you that ADMIT has been installed, it doesn't do anything other than remind you it's (probably) been installed properly. The top level Makefile has some useful reminders what can do now and to do some very basic testing of ADMIT in a CASA environment. For example

  make python0
  make python1
  make pdf
  make html
  make doc

and to simulate the buildbot

  make buildbot

For beginning developers this may not work if you don't have sphinx added to your CASA, in that case use

  make unit

although that currently does very little testing.

We do have some **rogue testing** installed, these are basically python (pure python as well as casarun-python) scripts that run through some Flow*_AT's. You can run them via

  make unit0_clean
  make unit0
  make unit0


and they should not fail. The 2nd run will re-run an existing test and should also not fail. Those test_Flow* scripts are instructive to see how basic Flow's can be created using ADMIT.

Personal tools