Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: 15 May 2018

URL: http://cxc.harvard.edu/ciao/download/custom.html

Custom Installation: CIAO 4.10 & CALDB 4.7.8

[IMPORTANT]
No support for 32-bit Linux, nor OSX 10.9 (Mavericks) and earlier.

CIAO is no longer available for 32-bit Linux, nor it it available for OSX 10.9 (Mavericks) or earlier versions of OSX. CIAO 4.7 is still available for users who are unable to upgrade their system. The platform support page describes the operating systems that can be used with CIAO 4.10

This page allows users to create a customized version of the ciao-install installation script: that is, select exactly which packages are installed and whether the source code is also downloaded. The inital options are those used by the Standard Install with the base CALDB version.. If the following does not work then try the Manually Installing CIAO 4.10 thread.

    • The default setting - "Autodetect Platform" - allows ciao-install to determine what platform you are using and to select the appropriate build of CIAO. The Platform Support page has more information on the officially supported CIAO platforms.
      [NOTE]
      Python 3

      The CIAO 4.10 release comes packaged in a fully supported version with Python 3.5. A Python 2.7 legacy version version is provided, as a transitional step towards complete Python 3 integration.

      When "Autodetect Platform" is selected for the customized installation, the Python 3.5 version of CIAO will be obtained by default unless a "--python2" flag is used with ciao-install, which will then obtain the Python 2.7 version of CIAO.

      unix% bash  /<path>/ciao-install --python2
      
    • Sherpa is also available directly from GitHub, if you wish to install it outside of CIAO or help its development, by adding new features, reporting or fixing bugs, or adding documentation.
    • The CALDB contains all the calibration files required for Chandra data analysis. The ciao-install script will determine whether a patch file can be installed, or if a full download is required.
    • The ACIS background files - derived from observations - are large, and so not included in the base CALDB.
    • The HRC background files - derived from observations - are large, and so not included in the base CALDB.
    • The source build option is for users who wish to compile CIAO themselves. There are platform specific build instructions for Linux and OSX when starting with the CIAO precompilied OTS packages. Some common build problems are discussed on the bug page for known source build issues. Users must either also select the appropriate binary packages or must rebuild all the Off The Shelf (OTS) packages as outlined in the instructions.

    [WARNING]
    What is the download called?

    The following document assumes that the script has been downloaded with the name ciao-install. This is the default name, but the web browser may well add on a suffix (such as "(1)") to avoid overwriting an existing file. Please rename the downloaded file - or use the new name - in the following steps!

  1. [WARNING]
    Do Not Install as Root or Super User

    It is strongly suggested that CIAO be installed as a non-privileged, regular user and not as the root or a super user.

    [WARNING]
    Install CIAO in new terminal window

    Users should install CIAO in a new terminal window which is not already configured for CIAO-4.10 or earlier, nor setup for any other common analysis packages such as FTOOLS/HEASOFT/XSPEC, SAS, or others.

    Run the script that has been downloaded; this will download the requested parts of CIAO and install them on your system, and is described in more detail in the Installing CIAO 4.10 using the ciao-install script thread:

    unix% bash /<path>/ciao-install
    

    for the Python 3.5 version, or:

    unix% bash /<path>/ciao-install --python2
    

    for the Python 2.7 version.

    We strongly suggest that the smoke tests are run, the results reviewed, and that the bug page for CIAO installation is reviewed before contacting the CXC Helpdesk if there are any problems.

  2. Set up an alias to start CIAO: for example, if CIAO has been installed into the directory /soft/ciao-4.10/, then

    alias ciao "source /soft/ciao-4.10/bin/ciao.csh"
    

    for csh and tcsh users and

    alias ciao="source /soft/ciao-4.10/bin/ciao.bash"
    

    for bash users.

  3. This alias should then be called in the terminal in which you plan to use CIAO (multiple terminals can be set up to use CIAO at the same time). When called, a version message will be displayed and then the parts of CIAO that were downloaded - such as tools or Sherpa - will be available:

    unix% ciao
    CIAO configuration is complete... 
    CIAO 4.10 Thursday, April 12, 2018
      bindir      : /soft/ciao-4.10/bin
      CALDB       : 4.7.8
    

    Please review the notes on starting and installing CIAO for potential conflicts between CIAO and other systems, such as XMM SAS and HEASoft.

    The ciaover script can be used to display the CIAO and CALDB versions (it reports the same information that the ciao alias above does). The --version flag to python can be used to display the Python version in use (the versions included in CIAO 4.10 are 2.7.14 and 3.5.4);

    unix% python --version
    Python 3.5.4
    
  4. Once CIAO has been started, the MARX suite of tools for simulating the on-orbit performance of Chandra can be downloaded and installed with the install_marx script (it can be installed at any time). The script takes a single argument, the location to install MARX. Change /soft/marx to a suitable location:

    unix% install_marx /soft/marx
    

    An alias can be created to set the MARX environment. For instance

    alias setup_marx "source /soft/marx/setup_marx.csh"
    

    for csh and tcsh users and

    alias setup_marx="source /soft/marx/setup_marx.sh"
    

    for bash users.


[NOTE]
Would you like to receive Chandra and CIAO announcements?

Send an email message to: chandra-announce+subscribe@cfa.harvard.edu


Last modified: 15 May 2018
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.