wiki:CIAO

Version 27 (modified by cdelarcuz, 20 years ago) ( diff )

--

CIAO

Astronomical software available from here

dkg has done a bit of research into the licensing, which appears to be mostly free. However, there appear to be some external dependencies that may be more complicated. from the 3.3 README:

To build the software you do not need the binary distribution, however
you will need the other three distributions (aux+data, ots, and source).
If you have installed the binary distribution, you should remove the smaller 
ots subtree that was included within it, though if you forget to do this first 
don't worry -- it's not fatal, but tar may complain or give minor permission 
warnings when overlaying the new, larger OTS onto the previous subtree.
You must download/unpack the source, auxiliary, and OTS CXC distributions
(cxc_src.tar, cxc_aux.tar, and cxc_ots_<arch>.tar respectively) into the
same directory, following the same general instructions as given in (II). 

Due to licensing agreements we are unable to distribute the sources for the 
sm library.  The sm libraries in binary form can be downloaded separately if 
you are rebuilding from the source.  We are also unable to distribute the 
FFTW library.  Users who can comply with the GNU General Public License can 
download FFTW from http://www.fftw.org.  Finally, we cannot distribute parts
of the Sherpa Optimization source and pre-compiled libraries.  Due to this 
restriction users will be unable to recompile the sherpa application, and 
the mkrmf, vtpdetect, and dmfilth tools.

the biggest concern appears to be library versioning. (also from the readme):

Q) I cannot run application XYZ in a window setup for CIAO.
A) This is likely due to the fact you other application requires a
slightly different version of libstdc++.so.5. Until recently the gcc
c++ standard libraries have been in flux and are NOT cross
compatible. CIAO was built using gcc 3.2.1 and we require that exact
version of the library to be available. At this time we do not have a
work-around for this issue. 

libstdc++5 is undergoing a lot of changes anyway, so ideally, we will be able to build it ourselves with an up-to-date toolchain.

Installation

Carlos Dowloaded the following files (including the optional packages) for RedHat Linux 8:

CIAO 3.3 Binaryhttp://cxc.harvard.edu/cgi-gen/ciao/download_ciao3.3_linux8.cgi:

Binary 	  cxc_bin_linux8.tar.gz 	 
Auxiliary cxc_aux.tar.gz

CALDB version 3.2.1 of the CALDB from http://cxc.harvard.edu/ciao/download/caldb.html:

caldb_3.2.1_main.tar.gz   	 
acis_bkgrnd_3.0.0.tar.gz 	
acis_psflib_2.9.tar
Source 	cxc_src.tar.gz 	 
OTS 	cxc_ots_linux8.tar.gz 

ATOMDB version 1.3.1 http://cxc.harvard.edu/ciao/download/atomdb.html:

atomdb.tar.gz 

Installation notes can be referenced here/

(1) Created the ciao root directory in /usr/local/ciao3.3:

root@metis:/usr/local/# sudo mkdir ciao3.3

(2) Expanded/uncompressed the distributions:

        root@metis:/usr/local/ciao3.3/CALDB# tar -xvf caldb_3.2.1_main.tar
        root@metis:/usr/local/ciao3.3/CALDB# rm caldb_3.2.1_main.tar
        root@metis:/usr/local/ciao3.3/CALDB# tar xvf acis_bkgrnd_3.0.0.tar
        root@metis:/usr/local/ciao3.3/CALDB# rm acis_bkgrnd_3.0.0.tar
        root@metis:/usr/local/ciao3.3/CALDB# tar xvf acis_psflib_2.9.tar
        root@metis:/usr/local/ciao3.3/CALDB# tar xvf hrc_psflib_2.0.tar
        root@metis:/usr/local/ciao3.3/ATOMDB# tar xvf atomdb.tar.tar 
        root@metis:/usr/local/ciao3.3# tar xvf cxc_bin_linux8.tar
        root@metis:/usr/local/ciao3.3# tar xvf cxc_aux.tar

(3) Ran the GNU configuration script:

root@metis:/usr/local/ciao3.3# ./configure --with-gz

(4) CIAO_scripts.tar file uncrompressed onto root CIAO folder, /usr/local/ciao3.3:

cdelacruz@metis:/usr/local/ciao3.3$ sudo tar xvf CIAO_scripts.tar


(5) Create links to the Calibration and atomic data.


root@metis:/usr/local/ciao3.3# ln -s /usr/local/ciao3.3/CALDB CALDB
root@metis:/usr/local/ciao3.3# ln -s /usr/local/ciao3.3/ATOMDB ATOMDB

*** For final workstation, install/link CALDB/ATOMDB under /user/local.
Outside of ciao---to facilitate updates.


root@metis:/usr/local/ciao3.3#

(6) Tested configuration script:

root@metis:/usr/local/ciao3.3# cd bin
root@metis:/usr/local/ciao3.3/bin# ls
root@metis:/usr/local/ciao3.3/bin# source ciao.bash
CIAO configuration is complete...
 CIAO version     :  CIAO 3.3 Wednesday, November 16, 2005
 Proposal Toolkit version :  Cycle 8 Wednesday, November 16, 2005
 bin dir          :  /usr/local/ciao3.3/bin
root@metis:/usr/local/ciao3.3/bin#

(7) Added alias to .bashrc for ciao startup:

### CIAO Environment ###
alias ciao=". /usr/local/ciao3.3/bin/ciao.bash"


(8) Chips exits with the message:

   chips> exit

   libgcc_s.so.1 must be installed for pthread_cancel to work

[This message is due to the fact that CIAO packages include 
libgcc_s.so.1. We need to package this because this library is not
available by default on older linux distributions. Most systems that
show this error we have been able to clear up the message by renaming 
$ASCDS_INSTALL/lib/libgcc_s.so.1 and using the system version of this 
file.] 

cdelacruz@metis:/usr/local/ciao3.3/lib$ sudo mv libgcc_s.so.1 libgcc_s.so.1.bk


We recommend that you start FTOOLS before CIAO; 
this is necessary for version 4.x of FTOOLS and ensures 
that the online help facility of the CIAO tools will work when using version 5.x of FTOOLS.
This message contains a complete history of your 
CXC Helpdesk ticket. New tickets: this is an 
acknowledgment of your submission; your ticket will be 
assigned ASAP. 

NOTE: A "reply" to this email will not work. 
Please contact gokas directly at gokas@head.cfa.harvard.edu. 

-----------------------------------------------------
TICKET INFORMATION
-----------------------------------------------------
Name: Fernando Camilo
E-Mail: fernando@astro.columbia.edu
Ticket #: 8061
Priority: Enhancement
Date Open: 12/28/2005
Status: Closed
Category: CIAO:general
-----------------------------------------------------

The Problem/Request Description is: 

Dear friends,

(please neglect previous e-mail, I was asking you a question about IRAF there!)

Could you please let me know whether there are any known issues for CIAO running under Linux Debian 3.1 (sarge)?  We are building a new Linux-based computing network here at the Columbia Astrophysics Lab and want to make sure that the key packages will work under our proposed operating system.

Thanks very much,
Fernando 
[ 12/28/2005 11:47:50 AM - fmcamilo - Submit Ticket ]
[ 12/28/2005 12:06:42 PM - gokas - Go Assign ]
[ 12/28/2005 12:19:54 PM - gokas - Go Respond ]
[ 01/09/2006 04:00:44 PM - gokas - Go Respond ]

Resolution:

[ 12/28/2005 12:06:42 PM - gokas - Go Assign ]
Hi Fernando,

 The Linux version you are asking about is not a platform that we currently officially support. 

>From this page http://cxc.harvard.edu/ciao/download/platforms.html:

 "While we currently offically support only these versions of Red Hat Linux, in general the linux8 build has worked without issue with most modern Linux platforms. If the user encounters problems then they should try the linux6 build." 

 I know we have had helpdesk questions from users running CIAO under Debian. I will check our helpdesk archive to see if users ran into any platform-specific problems. I can not think of any offhand.

I hope this information is useful. I will get back to you on whether or not there are specific problems our users have encountered.

Tara
[ 12/28/2005 12:19:54 PM - gokas - Go Respond ]

Hello again,
 
  Based on past tickets, you shouldn't experience any problems, as long as you use the linux 8 binaries to install CIAO.  I can't make any guarantee of course, as this isn't an officially supported platform. If you do run into difficulties, please don't hesitate to submit a HelpDesk ticket.

  Please let me know if you have any new questions on this topic. Otherwise, I would like to close this case.

Tara


[ 01/09/2006 04:00:44 PM - gokas - Go Respond ] 
-----------------------------------------------------
Note: See TracWiki for help on using the wiki.