huibintemaspaminstall
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
huibintemaspaminstall [2018/10/31 00:38] – [Download SPAM and dependencies] huibintema | huibintemaspaminstall [2021/02/03 14:23] (current) – [Download SPAM and dependencies] huibintema | ||
---|---|---|---|
Line 10: | Line 10: | ||
An installation of SPAM on Linux requires at least the following items: | An installation of SPAM on Linux requires at least the following items: | ||
- | * The latest SPAM package, found [[ftp:// | + | * The latest SPAM package, found [[https:// |
- | * SPAM support files, found [[ftp:// | + | * SPAM support files, found [[https:// |
- | * AIPS version 31DEC13 (LNX64 binary tarball with extras), found [[ftp:// | + | * AIPS version 31DEC13 (LNX64 binary tarball with extras), found [[https:// |
- | * ParselTongue version 2.3 (with changes), found [[ftp:// | + | * ParselTongue version 2.3 (with changes), found [[https:// |
- | * Obit core (LNX64 binary with changes), found [[ftp:// | + | * Obit core (LNX64 binary with changes), found [[https:// |
The following necessary items are often already available on a standard scientific Linux installation: | The following necessary items are often already available on a standard scientific Linux installation: | ||
Line 63: | Line 63: | ||
Next, run the setup file. In Linux bash (sh) this is done through: | Next, run the setup file. In Linux bash (sh) this is done through: | ||
<code bash> | <code bash> | ||
- | . setup.sh | + | source |
</ | </ | ||
In Linux C-shell ([t]csh) this is done through: | In Linux C-shell ([t]csh) this is done through: | ||
Line 104: | Line 104: | ||
screen 11: <2x enter> | screen 11: <2x enter> | ||
</ | </ | ||
- | And during installation: | + | And during installation: |
+ | This should run without errors (see [[huibintemaspamfaq|SPAM FAQ]] if it can't find libncurses.so). | ||
- | Now we need to increase number of interactive AIPS sessions to 32. In your Linux shell, type n Linux bash (sh) | + | Now we need to increase number of interactive AIPS sessions to 32. In your Linux shell, type in the Linux shell |
<code bash> | <code bash> | ||
- | . LOGIN.SH | + | source |
- | </ | + | |
- | or in C-shell ([t]csh) | + | |
- | <code bash> | + | |
- | source LOGIN.CSH | + | |
</ | </ | ||
Then | Then | ||
Line 118: | Line 115: | ||
RUN SETPAR | RUN SETPAR | ||
</ | </ | ||
- | In SETPAR | + | In SETPAR |
<code bash> | <code bash> | ||
2 < | 2 < | ||
Line 152: | Line 149: | ||
tar xzf obit_< | tar xzf obit_< | ||
</ | </ | ||
+ | And that's it. | ||
----- | ----- | ||
Line 163: | Line 161: | ||
sh ./configure --prefix=${SPAM_PATH}/ | sh ./configure --prefix=${SPAM_PATH}/ | ||
</ | </ | ||
- | This should return without errors (see below if it can't find obit). Then type: | + | This should return without errors (see [[huibintemaspamfaq|SPAM FAQ]] if it can't find obit). Then type: |
<code bash> | <code bash> | ||
make install | make install | ||
Line 188: | Line 186: | ||
----- | ----- | ||
- | |||
- | ==== Obit is missing? ==== | ||
- | |||
- | The ParselTongue configuration may give you the following error message: | ||
- | <code bash> | ||
- | checking for Obit... missing | ||
- | configure: error: Obit is not available | ||
- | </ | ||
- | This is likely to be caused by a missing python package, not because Obit is missing (the script looks for Obit.so in the ${SPAM_PATH}/ | ||
- | |||
- | In bash: | ||
- | <code bash> | ||
- | export PYTHONPATH=${SPAM_PATH}/ | ||
- | </ | ||
- | Or in (t)csh: | ||
- | <code bash> | ||
- | setenv PYTHONPATH ${SPAM_PATH}/ | ||
- | </ | ||
- | Then | ||
- | <code bash> | ||
- | ${PYTHON} | ||
- | </ | ||
- | And in python: | ||
- | <code python> | ||
- | import OSystem, OErr | ||
- | </ | ||
- | Something will fail here, probably a missing python package or a missing library. Some of the missing libraries can be found [[ftp:// | ||
< | < | ||
Line 236: | Line 207: | ||
<!-- End of StatCounter Code for Default Guide --> | <!-- End of StatCounter Code for Default Guide --> | ||
</ | </ | ||
+ | |||
+ | Feedback: [[intema@strw.leidenuniv.nl|Click here]] | ||
huibintemaspaminstall.txt · Last modified: 2021/02/03 14:23 by huibintema