Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added full instructions to load ciao via "ml ASTRO conda+/ciao"

...

To use astro-software you should have these lines in your .bashrc so you will be able to see all the modulefiles for the configured workspaces and software.

Code Block
languagebash
if [ -d "/cluster/apps/software/_profile" ]; then
  if [ -z $SOFTWARE ]; then
    source "/cluster/apps/software/_profile/globals.bash"
  fi
fi
if [ -d "/cluster/apps/software/.profile.d" ]; then
  if [ -z $SOFTWARE ]; then
    source "/cluster/apps/software/.profile.d/globals.bash"
  fi
fi

Run first ml ASTRO to load the ASTRO workspace. This will set the environment and make available the ASTRO software modulefiles for loading.

Code Block
languagebash

#show available modules to load
[username@computername ~]$ ml av
----------------------------------------------- /cluster/apps/software/_profile/lmod/WORKSPACE -----------------------------------------
   ASTRO    CORE
----------------------------------------- /cluster/apps/spack/2022a/lmod/linux-fedora36-x86_64/Core ------------------------------------
# load the ASTRO module then show again the available modules
[username@computername ~]$ ml ASTRO
[username@computername ~]$ ml av
------------------------------------------- /cluster/apps/software/_profile/lmod/modulefiles/ASTRO -------------------------------------
   CALDB    conda+/ciao    conda+/fermi (D)    ds9/8.3    heasoft/6.30.1    heasoft/6.31 (D)    iraf/2.17
   starlink/fc36           starlink/2021A (D)  trm
---------------------------------------------- /cluster/apps/software/_profile/lmod/WORKSPACE ------------------------------------------
   ASTRO (L)    CORE
----------------------------------------- /cluster/apps/spack/2022a/lmod/linux-fedora36-x86_64/Core ------------------------------------
   anaconda3/2021.05    anaconda3/2022.05 (D)    gcc/10.2.0

...

Some python packages are installed via anaconda (https://anaconda.cloud/package-categories/scientific). To load it type:

Code Block
languagebash

[username@computername ~]$ ml anaconda3
##################################################################################### 
#### Run "conda env list" to list all the environments
#### Load environment "conda activate env_name" where env_name is one from the list
#### Remember to run "conda deactivate" before unload/purge anaconda3
#### otherwise you will have to restart your shell to avoid possible issues
#################################################################################
[username@computername ~]$ init-conda[username@computername ~]$ conda env list
# conda environments:
#base                     /cluster/apps/software/anaconda3/2022.05
astroconda               /cluster/apps/software/anaconda3/2022.05/envs/astroconda
astrosource              /cluster/apps/software/anaconda3/2022.05/envs/astrosource
ciao                     /cluster/apps/software/anaconda3/2022.05/envs/ciao
fermi     fermitools               /cluster/apps/software/anaconda3/2022.05/envs/fermifermitools
iraf                     /cluster/apps/software/anaconda3/2022.05/envs/iraf
phoebe                   /cluster/apps/software/anaconda3/2022.05/envs/phoebe
posydon                  /cluster/apps/software/anaconda3/2022.05/envs/posydon
python-2.7               /cluster/apps/software/anaconda3/2022.05/envs/python-2.7
[username@computername ~]$ conda activate astrosource

# after finishing your tasks either exit the terminal or, you must deactivate the
# environment before unloading/purging the loaded modulefiles
(astrosource) [username@computername ~]$ conda deactivate
[username@computername ~]$ ml purge

...

  • ciao: Chandra Interactive Analysis of Observations (https://cxc.cfa.harvard.edu/ciao/)
    • Description: CIAO is the software package developed by the Chandra X-Ray Center for analysing data from the Chandra X-ray Telescope. It can also be used with data from other Astronomical observatories, whether ground or space based.
    • To load it: ml anaconda3 then conda activate ciao
      or from own module with: ml ASTRO conda+/ciao then conda activate ciao
    • Version installed (ciaover): caldb_main 4.9.7, ciao 4.14.0, ciao-contrib 4.14.2, ds9 8.3, sherpa 4.14.0
    • Acknowledgement: Fruscione et al. 2006, SPIE Proc. 6270, 62701V, D.R. Silvia & R.E. Doxsey, eds.

...

...

  • iraf: Image Reduction and Analysis Facility (https://iraf-community.github.io/)
    • Description: IRAF is the Image Reduction and Analysis Facility, a general purpose software system for the reduction and analysis of astronomical data. Development and maintenance of IRAF is discontinued since 2013.
    • To load it: ml ASTRO iraf; init- iraf
    • To set it up (first time only): setup-iraf
    • Version installed: 2.17
    • To start iraf: init-iraf-ecl (which has the arrow and backspace keys working properly) or init-iraf-cl
    • Version installed: 2.17
    • Acknowledgement: Acknowledgement: The software was written by the National Optical Astronomy Observatories (NOAO) in Tucson, Arizona. 

...

  • psrcat: ATNF pulsar catalog (https://www.atnf.csiro.au/research/pulsar/psrcat/)
    • Description: The catalogue includes all published rotation-powered pulsars, including those detected only at high energies. It also includes Anomalous X-ray Pulsars (AXPs) and Soft Gamma-ray Repeaters (SGRs) for which coherent pulsations have been detected. However, it excludes accretion-powered pulsars such as Her X-1 and the X-ray millisecond pulsars, for example,  SAX J1808.4-3658.
    • To run it: psrcat
    • Version installed (psrcat -v): Software version: 1.50. Catalogue version number = 1.6970
    • Acknowledgement: If you make use of the ATNF Pulsar Catalogue in a publication, we request that you acknowledge the source of the information by referencing the paper: Manchester, R. N., Hobbs, G. B., Teoh, A. & Hobbs, M., Astron. J., 129, 1993-2006 (2005) (astro-ph/0412641), which gives a full description of the catalogue, and by quoting the web address http://www.atnf.csiro.au/research/pulsar/psrcat.

...

See also: https://apps.datacentral.org.au/pygedm/
/cluster/apps/software/ASTRO/pygedm/README.md