User Tools

Site Tools


huibintema:spam:startup
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


huibintema:spam:startup [2020/11/19 15:29] (current) – created huibintema
Line 1: Line 1:
 +===== Starting up SPAM ======
 +
 +Setting up SPAM in Linux bash is done through:
 +<code bash>
 +. <spam installation path>/setup.sh
 +</code>
 +
 +Setting up SPAM in Linux (t)csh is done through:
 +<code bash>
 +source <spam installation path>/setup.csh
 +</code>
 +
 +SPAM uses AIPS in such a way that it allows creation of an isolated, self-consistent work environment per project. To run SPAM, first create a project directory:
 +<code bash>
 +mkdir -p <new project directory>
 +cd <new project directory>
 +</code>
 +
 +Then start ParselTongue:
 +<code bash>
 +start_parseltongue.sh . <AIPS userid>
 +</code>
 +The AIPS userid can be any number from 11 to 9999. I usually stick with 11
 +
 +In the project directory, the start_parseltongue.sh script has set up a local AIPS work environment with 35 AIPS disks (work01-35) and a few other directories (fits, datfil, prtfil, runfil, da00, etc.). Most of this is quite specific to AIPS.
 +
 +If all went well, the final output will have been
 +<code python>
 +Welcome to ParselTongue 2.3
 +>>>
 +</code>
 +
 +Next, we import SPAM as a python module
 +<code python>
 +from spam import *
 +</code>
 +
 +If this returns without errors it is likely that the installation has gone well. 
 +
 +-----
 +
 +Feedback: [[intema@strw.leidenuniv.nl|Click here]]
  
huibintema/spam/startup.txt · Last modified: 2020/11/19 15:29 by huibintema

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki