Installation of LDAS (version 0.0.12) ---------------------------------------- Platform: SUN Ultra SPARC II, Solaris 2.6 System software used : -------------------------- 1. Perl 5.00503 (/usr/local/lib/perl5/5.00503/) 2. Tcl/Tk v. 8.2 Preinstalled software: ---------------------- 1. GNU Binutils 2.10.0 2. GNU GCC 2.95.2 3. GNU make 3.76 4. GNU m4 5. GNU autoconf 6. GNU automake 7. GNU libtool 1.3.4 Added software: -------------- 1. Install ObjectSpace: wget http://www.ldas-sw.ligo.caltech.edu/packages/\ ObjectSpace-1.2.0-2-sunos.tar.gz cd /ligo/tmp3/sw tar xfz ObjectSpace-1.2.0-2-sunos.tar.gz ln -s ObjectSpace-1.2.0 ospace 2. Install and patch Perceps: a) get Perceps from http://starship.python.net/~tbryan/PERCEPS/prcpstgz.cgi b) get ldas patch from http://www.ldas-sw.ligo.caltech.edu/packages/perceps-3.5.0-pldas.1 c) unpack Perceps tar xfz prcps350.tar.gz d) patch Perceps cd perceps-3.5.0 patch -p0 < ../perceps-3.5.0-pldas.1 e) change first string of 'perceps.pl' from "#!/ldcg/bin/perl" to "#!/usr/bin/perl" f) install perceps cp perceps.pl /ligo/tmp3/sw/perceps 3. Install SWIG: 4. Install 'patch' wget ftp://gatekeeper.dec.com/pub/GNU/patch/patch-2.5.4.tar.gz cd patch-2.5.4 ./configure --prefix=/ligo/tmp3/sw make make install 5. Install MPICH: a) wget ftp://ftp.mcs.anl.gov/pub/mpi/mpich-1.2.0.tar.gz b) tar xfz mpich-1.2.0.tar.gz c) wget http://www.ldas-sw.ligo.caltech.edu/packages/mpich-1.2.0-pldas.1 d) cd mpich-1.2.0 e) patch -p0 mpich-1.2.0-pldas.1 f) ./configure --prefix=/ligo/tmp3/sw --enable-sharedlib \ --disable-f77 --enable-debug -opt="-g" \ -c++=`which g++` -cc=`which gcc` 6. Install FFTW: a) get b) unpack c) go to dir and run ./configure --prefix=/ligo/tmp3/sw --enable-shared --enable-threads --enable-type-prefix --with-gcc --enable-float d) Building LDAS ------------- 1. Take tarball from http://ldas-sw.ligo.caltech.edu/packages/ldas-0.0.12.tar.gz 2. Unpack tar xfz ldas-0.0.12.tar.gz 3. Run 'configure': cd ldas-0.0.12 ./configure --prefix=/ligo/tmp3/sw --enable-metadata-api=no \ --with-ospace=/ligo/tmp3/sw/ospace 4. Change Makefile in directory ldas-0.0.12/lib/framecpp/tests by adding library libposix4 to library list change line frtoc_LDADD = ../src/libframecpp.la -lz to frtoc_LDADD = ../src/libframecpp.la -lz -lposix4 and change line frcat_LDADD = ../src/libframecpp.la framedir/libframedir.la -lz to frcat_LDADD = ../src/libframecpp.la framedir/libframedir.la -lz -lposix4 5. Run 'make' in directory ldas-0.0.12/ Building LDAS in alternative way ---------------------------------- 1. Take tarball from http://ldas-sw.ligo.caltech.edu/packages/ldas-0.0.12.tar.gz 2. Unpack tar xfz ldas-0.0.12.tar.gz 3'. setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/ligo/tmp3/sw/ospace/lib 4'. Run 'buid-ldas' ./build-ldas -no-stow --prefix=/ligo/tmp3/sw/ldas-0.0 \ --enable-metadata-api=no --with-ospace=/ligo/tmp3/sw/ospace 5'. If make stops with error message: "libospace.so: undefined reference to `sched_yield' " edit Makefile ldas-0.0.12/SunOS-sun4u/lib/framecpp/tests/Makefile to add -lposix4 option at the end of lines: frtoc_LDADD = ../src/libframecpp.la -lz and frcat_LDADD = ../src/libframecpp.la framedir/libframedir.la -lz 6'. Run make at ldas-0.0.12/SunOS-sun4u ------------------------------------------------------------------- February 2001 A. Sazonov sazonov@phys.ufl.ed