User Tools

Site Tools


huibintemaspamstartup

Starting up SPAM

Setting up SPAM in Linux bash is done through:

. <spam installation path>/setup.sh

Setting up SPAM in Linux (t)csh is done through:

source <spam installation path>/setup.csh

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:

mkdir -p <new project directory>
cd <new project directory>

Then start ParselTongue:

start_parseltongue.sh . <AIPS userid>

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

Welcome to ParselTongue 2.3
>>>

Next, we import SPAM as a python module

from spam import *

If this returns without errors it is likely that the installation has gone well.


Feedback: Click here

huibintemaspamstartup.txt ยท Last modified: 2020/10/05 17:48 by huibintema

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki