Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: 19 April 2017

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

Downloading CIAO 4.9

[IMPORTANT]
OSX Sierra

[New] (06 Apr 2017) A recent patch to macos Sierra has caused a problem with chips. The third smoke test now fails with messages that look like:

error: xp_import_surface returned: 2
xp_destroy_surface: assertion failed: s != NULL
xp_destroy_surface error: 3
xp_import_surface: assertion failed: s == NULL

The CIAO team is currently reviewing this issue. [Updated] (19 Apr 2017) It originally was thought to be an isolated problem related to restoring state files; however, additional failures have been seen when working with multiple plot windows (for example after clear() is used to close an existing plot).

[IMPORTANT]
No support for 32-bit Linux and OSX 10.6.8, 10.7, 10.8

CIAO is no longer available for 32-bit Linux, OSX 10.6.8, 10.7, & 10.8. 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.9

[NOTE]
Python 3 beta version

The standard CIAO 4.9 release is packaged with Python 2.7. For the first time we are also providing aa CIAO 4.9 version packaged with Python3.5. This beta release is a transitional step towards complete Python 3 integration; we expect to phase out Python 2 support in the coming years.

Users that use ciao-install with the standard quick installation or customized installation with platform autodetection can obtain the Python 3 version of CIAO with a "--python3" flag, otherwise the Python 2 version will be installed.

unix% bash /<path>/ciao-install --python3
[TIP]
CIAO on Mac needs recent XQuartz and XCode

OSX users, particularly those that have upgraded to 10.11 from an earlier OSX version, should ensure that compatible versions of XQuartz (at least version 2.7.11) and XCode (also comes as part of Apple Developer Tools) are installed on the system before proceeding with the CIAO installation.

Steps to install CIAO (if the following does not work then try the Manually Installing CIAO 4.9 thread):

  1. [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!

  2. 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.9 using the ciao-install script thread:

    unix% bash /<path>/ciao-install
    

    for the Python 2.7 version, or:

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

    for the Python 3.5 beta 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.

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

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

    for csh and tcsh users and

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

    for bash users.

  4. 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.9 December 2016
      bindir      : /soft/ciao-4.9/bin
      CALDB       : 4.7.3
    

    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 supported in CIAO 4.9 are 2.7.11 and 3.5.1);

    unix% python --version
    Python 3.5.1
    
  5. 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
    
    [WARNING]
    Warning
    Some users have reported problems with MARX built with the default llvm/clang compilers on OSX. More information about the problem can be found on the Downloading and Installing Marx page.

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

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

    for csh and tcsh users and

    alias setup_marx="source /soft/marx/marx_setup.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: 19 April 2017
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:   cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.