huibintemaspamfaq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
huibintemaspamfaq [2017/09/14 06:12] – [SPAM pipeline failure] huibintema | huibintemaspamfaq [2021/02/03 14:26] (current) – huibintema | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== SPAM frequently asked questions ===== | ===== SPAM frequently asked questions ===== | ||
- | This ever-expanding section is based on user feedback. For questions on installing SPAM, see [[huibintemaspaminstall|this page]]. If you encounter a problem not listed below, please feel free to [[intema@strw.leidenuniv.nl|contact me]]. | + | This ever-expanding section is based on user feedback. For questions on installing SPAM, see [[huibintemaspaminstall|this page]]. If you encounter a problem not listed below, please feel free to [[huib.intema@curtin.edu.au|contact me]]. |
+ | |||
+ | ----- | ||
+ | |||
+ | ==== Obit is missing ==== | ||
+ | |||
+ | Q: Why is Obit reported to be missing during the ParselTongue install? | ||
+ | |||
+ | A: The ParselTongue configuration command 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 or system library, not because Obit is missing (the script looks for Obit.so in the ${SPAM_PATH}/ | ||
+ | In bash: | ||
+ | <code bash> | ||
+ | . < | ||
+ | export PYTHONPATH=${SPAM_PATH}/ | ||
+ | export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}: | ||
+ | </ | ||
+ | Or in (t)csh: | ||
+ | <code bash> | ||
+ | source < | ||
+ | setenv PYTHONPATH ${SPAM_PATH}/ | ||
+ | setenv LD_LIBRARY_PATH ${LD_LIBRARY_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 [[https:// | ||
+ | <code bash> | ||
+ | ldd ${SPAM_PATH}/ | ||
+ | </ | ||
+ | This will report all libraries that are needed by Obit. If one is missing, the line will contain the text "=> not found" | ||
+ | |||
+ | ----- | ||
+ | |||
+ | ==== libncurses.so.6 is missing ==== | ||
+ | |||
+ | Q: Why is libncurses.so.6 reported to be missing during the AIPS install? | ||
+ | |||
+ | A: The AIPS install may fail because the libncurses.so.6 library cannot be found. This library is available in the lib subdirectory of the spam install directory. The library can be copied to one of the standard locations (e.g., /usr/lib) or the LD_LIBRARY_PATH environment variable can be modified to include the spam/lib directory before running AIPS install again. The latter can be done in bash: | ||
+ | <code bash> | ||
+ | export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}: | ||
+ | </ | ||
+ | Or in (t)csh: | ||
+ | <code bash> | ||
+ | setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}: | ||
+ | </ | ||
----- | ----- | ||
Line 17: | Line 70: | ||
----- | ----- | ||
+ | |||
==== Too many open files ==== | ==== Too many open files ==== | ||
Line 40: | Line 94: | ||
UPDATE: The latest ParselTongue distributed with SPAM has an improvement in place to reduce the occurence of this error. | UPDATE: The latest ParselTongue distributed with SPAM has an improvement in place to reduce the occurence of this error. | ||
+ | |||
+ | ----- | ||
+ | |||
+ | ==== Out of pty devices ==== | ||
+ | |||
+ | Q: SPAM crashes with a message about "pty devices" | ||
+ | |||
+ | A: Under certain circumstances, | ||
----- | ----- | ||
Line 64: | Line 126: | ||
wprojplanes = <some number, e.g. 128>, stokes = ' | wprojplanes = <some number, e.g. 128>, stokes = ' | ||
</ | </ | ||
+ | |||
+ | For more guidance on the options of CASA clean, go to the [[https:// | ||
+ | |||
+ | ----- | ||
+ | |||
+ | ==== Imaging with WSClean ==== | ||
+ | |||
+ | Q: Can I image the calibrated visibilities (.CAL.UVFITS) with WSClean? | ||
+ | |||
+ | A: Yes you can. Similar to imaging in CASA, you need to convert the UVFITS data to a measurement set in stokes RR. Then, in the Linux shell, use command similar to the following (tested with WSClean v2.5): | ||
+ | < | ||
+ | wsclean -weight briggs 0 -pol RR -size 2048 2048 -scale 4.4asec -niter 100000 -auto-threshold 0.5 -auto-mask 4 | ||
+ | -multiscale -mgain 0.7 < | ||
+ | </ | ||
+ | |||
+ | For more guidance on the options of WSClean, go to the [[https:// | ||
----- | ----- | ||
Line 71: | Line 149: | ||
Q: Why doesn' | Q: Why doesn' | ||
- | A: Updates of the Linux operating system in 2017 has triggered floating point problems when running AIPS tasks on a new line of Intel Xeon E5-xxx CPUs. This is likely caused by an outdated Intel compiler used to build the AIPS binary install. A GNU compiled version of AIPS 31DEC13 fixes the problem and is available [[ftp:// | + | A: Updates of the Linux operating system in 2017 has triggered floating point problems when running AIPS tasks on a new line of Intel Xeon E5-xxx CPUs. This is likely caused by an outdated Intel compiler used to build the AIPS binary install. A GNU compiled version of AIPS 31DEC13 fixes the problem and is available [[https:// |
+ | |||
+ | Q: Why does the SPAM pipeline generate signal 11 errors in certain AIPS tasks? | ||
+ | |||
+ | A: What is causing this is not completely clear, but probably has to do with the newer Intel hardware and Linux installs. A work-around seems to be to use the GNU-compiled version of AIPS 31DEC13 available [[https:// | ||
+ | |||
+ | (Kindly tested by Gerrit Schellenberger and Arnab Chakraborty) | ||
----- | ----- | ||
+ | |||
+ | ==== SPAM pipeline stops after finding no / too few peeled sources ==== | ||
+ | |||
+ | Q: Is there a way to bypass the problem of SPAM finding no / too few peeled sources? | ||
+ | |||
+ | A: The SPAM pipeline needs to peel a sufficient number of sources to perform its direction-dependent calibration and modeling for ionospheric effects. There are several common cases in which SPAM cannot find enough peeled sources, mostly because of poor quality of observational data or because of dynamic-range limitations in the image. The user can force the pipeline to continue using the (direction-independent) self-calibration, | ||
+ | <code python> | ||
+ | process_target( target_uvfits_file_name, | ||
+ | </ | ||
+ | |||
+ | ----- | ||
+ | |||
+ | ==== SPAM crashes in screen session ==== | ||
+ | |||
+ | Q: Why does my SPAM pipeline run crash when the screen session in which I run SPAM is interrupted, | ||
+ | |||
+ | A: As the SPAM pipeline can take several hours to days to run, it is useful to execute it in a screen session when working remotely. However, some users found that the SPAM pipeline crashed during a disconnect from the screen session with the error "Fatal IO error 11 (Resource temporarily unavailable) on X server localhost: | ||
+ | |||
+ | Another problem with using screen was found when reconnecting, | ||
+ | |||
+ | |||
+ | (Kind contributions from Andrea Botteon and Błażej Nikiel-Wroczyński) | ||
+ | |||
+ | ----- | ||
+ | |||
+ | ==== Manual flagging ==== | ||
+ | |||
+ | Q: Can I manually flag bad data in SPAM? | ||
+ | |||
+ | A: Manual flags can be inserted in both the // | ||
+ | <code python> | ||
+ | manual_flags = [ { ' | ||
+ | { ' | ||
+ | { ' | ||
+ | pre_calibrate_targets( uvfits_file_name, | ||
+ | </ | ||
+ | In this example, the antennas with AIPS indices 5 and 12 (corresponding to CASA indices 4 and 11) will be flagged completely (all times, both polarizations), | ||
+ | |||
+ | (Kindly suggested by Chris Riseley) | ||
+ | |||
+ | ----- | ||
+ | |||
+ | ==== Problems running SPAM on new Intel CPUs, possibly after Linux update ==== | ||
+ | |||
+ | Q: Why doesn' | ||
+ | |||
+ | A: Updates of the Linux operating system in 2017 has triggered floating point problems when running AIPS tasks on a new line of Intel Xeon E5-xxx CPUs. This is likely caused by an outdated Intel compiler used to build the AIPS binary install. A GNU compiled version of AIPS 31DEC13 fixes the problem and is available [[https:// | ||
+ | |||
+ | ----- | ||
+ | |||
+ | Feedback: [[intema@strw.leidenuniv.nl|Click here]] | ||
huibintemaspamfaq.1505362347.txt.gz · Last modified: 2017/09/14 06:12 by huibintema