Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.org.

Commit 8150fb34 authored by jolien's avatar jolien

Initial entry

Original: 5d352b72b37e2777e9bd5571aed35c408a83ec46
parents
lal/test/tools/resamp_10x4.eps filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S5-L1-cat2.txt filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/earth00-19-DE421.dat.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/earth00-19-DE414.dat.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/earth98.dat filter=lfs diff=lfs merge=lfs -text
lalsimulation/src/lalsimburst_btlwnbexamples.svg filter=lfs diff=lfs merge=lfs -text
lalapps/src/inspiral/MachoMasses.dat filter=lfs diff=lfs merge=lfs -text
lalapps/src/inspiral/test/HL-INJECTIONS_1234_INJ001-866088014-2633400.xml filter=lfs diff=lfs merge=lfs -text
lalapps/src/pulsar/CreateEphemeris/ephemMLDC.dat filter=lfs diff=lfs merge=lfs -text
lalframe/test/F-TEST-600000000-60.gwf filter=lfs diff=lfs merge=lfs -text
lalframe/test/H-CAL_REF_V03-734073939-64.gwf filter=lfs diff=lfs merge=lfs -text
lalapps/src/inspiral/inspsrcs100Mpc.errors filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S6-V1-cat2.txt filter=lfs diff=lfs merge=lfs -text
lalburst/test/CLRindata.asc filter=lfs diff=lfs merge=lfs -text
lalinspiral/test/SpaceCovering.par filter=lfs diff=lfs merge=lfs -text
lalsimulation/src/lalsimburst_sinegaussianexamples.svg filter=lfs diff=lfs merge=lfs -text
lalapps/src/calibration/S4H1Filters.txt filter=lfs diff=lfs merge=lfs -text
lalapps/src/pulsar/HeterodyneSearch/H-CW_Injection-875206560-120.gwf filter=lfs diff=lfs merge=lfs -text
lalframe/test/H-CAL_FAC_V03-729273600-5094000.gwf filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/earth00-19-DE200.dat.gz filter=lfs diff=lfs merge=lfs -text
lalapps/src/calibration/S5H1_NoiseCompTimes.txt filter=lfs diff=lfs merge=lfs -text
lalapps/src/calibration/S5L1_NoiseCompTimes.txt filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S6-L1-cat2.txt filter=lfs diff=lfs merge=lfs -text
lalframe/test/F-TEST-600000060-60.gwf filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/earth00-19-DE405.dat.gz filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S6-H1-cat2.txt filter=lfs diff=lfs merge=lfs -text
lalframe/test/L-CAL_REF_V03-731488397-64.gwf filter=lfs diff=lfs merge=lfs -text
lalsimulation/test/reviewed_waveforms.asc filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S5-H1H2-cat2.txt filter=lfs diff=lfs merge=lfs -text
lalapps/src/inspiral/BNSMasses.dat filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S5-V1-cat2.txt filter=lfs diff=lfs merge=lfs -text
lalframe/test/F-TEST-600000120-60.gwf filter=lfs diff=lfs merge=lfs -text
lalframe/test/L-CAL_FAC_V03-729273600-5094000.gwf filter=lfs diff=lfs merge=lfs -text
lalapps/src/findchirp/L1response_psd.dat filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S5-H2-cat2.txt filter=lfs diff=lfs merge=lfs -text
lalapps/src/string/S5-L1segments-cat1.txt filter=lfs diff=lfs merge=lfs -text
lalinference/test/data/2016_subset.xml.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/sun00-19-DE200.dat.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/sun00-19-DE405.dat.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/sun00-19-DE414.dat.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/sun00-19-DE421.dat.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/tdb_2000-2019.dat.gz filter=lfs diff=lfs merge=lfs -text
lalpulsar/test/te405_2000-2019.dat.gz filter=lfs diff=lfs merge=lfs -text
Allen, B
Brown, D
Churches, D K
Creighton, J D E
Creighton, T
Finn, L S
Romano, J D
Sathyaprakash, B S
Wiseman, A G
NOTE: You must install the package FFTW (Fastest Fourier Transform in the
West) before installing this package.
0. Install FFTW and (optionally) the FrameL library and MPI:
You can obtain FFTW from http://www.fftw.org
When configuring, you must use the --enable-float option.
You can obtain FrameL from http://wwwlapp.in2p3.fr/virgo/FrameL
You can obtain the MPICH implementation of MPI from
http://www-unix.mcs.anl.gov/mpi/mpich
(this is the implementation that I have used in testing the LAL routines).
0.1. To install FFTW on your system use the commands:
./configure --enable-float
make
make install
(you must be superuser).
0.2. If you are installing FFTW in your personal account:
./configure --prefix=/home/alice --enable-float
make
make install
Then you must set a few environment variables before continuing.
If you are using sh (or bash):
LIBRARY_PATH=/home/alice/lib
CFLAGS=-I/home/alice/include
If you are using csh (or tcsh):
setenv LIBRARY_PATH /home/alice/lib
setenv CFLAGS -I/home/alice/include
0.3. To install the FrameL library (optional) go to the mgr directory of
the frame library directory structure and run the compilation script
makecc. If you install the FrameL in a non-standard location, you
will need to set the LIBRARY_PATH and CFLAGS variables so that the
library and include files are accessible (as above).
0.4. Install the MPICH implementation of MPI (optional). Then set the
environment variable MPICC to the name of the MPI C-compiler (which
is probably a shell script). For example, if you are using sh:
MPICC=mpicc
or if you are using csh:
setenv MPICC mpicc
Troubles may arise if you compile LAL with gcc but the MPICC script
uses some other cc. In this case, edit the file mpicc to use gcc
rather than cc.
Also, make sure that mpirun will work. This means that you have to
be able to type
rsh <hostname>
(where <hostname> is the name of your computer) and be logged-in
without typing a password! This may require you to add a line in
a file called .rhosts (in your home directory). For example,
for mpirun to work on the machine einstein.institute.edu, the file
/home/alice/.rhosts must include the line
einstein.institute.edu alice
Also, the file .rhosts must have read-write privilege by user only.
To be sure, type
chmod go-rwx /home/alice/.rhosts
You (Alice) should then be able to type
rsh einstein.institute.edu
and be logged in (without entering a password).
1. Install the LAL package.
1.1. If you are installing LAL on the system, use the commands:
./configure [--enable-frame] [--enable-mpi]
make
make install
The --enable-frame argument is only used if you have the FrameL
library installed and you want to include code that uses this
library.
The --enable-mpi argument is only used if you have MPI and want
to run the code that runs on multiple processors.
Optionally you can also type
make check
make dvi
to run a suite of test programs and to latex the documentation files
to produce dvi files. If you want to test the code that reads frame
files, type
LAL_FRAME_PATH=<framedata path>
if you are using sh (or bash) or
setenv LAL_FRAME_PATH <framedata path>
if you are using csh (or tcsh), and then run make check.
1.2. If you are installing LAL on your personal account, use:
./configure --prefix=/home/alice [--enable-frame] [--enable-mpi]
make
make install
The --enable-frame argument is only used if you have the FrameL
library installed and you want to include code that uses this
library.
The --enable-mpi argument is only used if you have MPI and want
to run the code that runs on multiple processors.
Optionally you can also type
make check
make dvi
to run a suite of test programs and to latex the documentation files
to produce dvi files. If you want to test the code that reads frame
files, type
LAL_FRAME_PATH=<framedata path>
if you are using sh (or bash) or
setenv LAL_FRAME_PATH <framedata path>
if you are using csh (or tcsh), and then run make check.
-------------------------------------------------------------------------------
System-specific installation instructions:
SGI running IRIX 6.5.3 with gcc:
Include the flag -n32 the list of compiler flags in the environment CFLAGS.
Make sure that the compiler used is gcc by setting the environment CC to gcc.
-------------------------------------------------------------------------------
Troubleshooting:
* If you need to re-run configure after it has failed while checking for a
working FFTW, FrameL, or MPI, make sure to remove the file config.cache.
## Process this file with automake to produce Makefile.in
SUBDIRS = packages
LIBLAL = $(srcdir)/lib/liblal.a
CLEANFILES = $(LIBLAL) $(srcdir)/include/*.h
EXTRA_DIST = $(srcdir)/lib/README $(srcdir)/include/README lalspec.pdf
install-exec-local:
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
echo "$(INSTALL) $(LIBLAL) $(DESTDIR)$(pkglibdir)/liblal.a"
$(INSTALL) $(LIBLAL) $(DESTDIR)$(pkglibdir)/liblal.a
uninstall-local:
@$(NORMAL_UNINSTALL)
rm -f $(DESTDIR)$(pkglibdir)/liblal.a
Version 0.1: Second test release
This is a preliminary release of version 0.1 of the LAL library.
See the document lalspec.pdf for LAL specification and style guide.
The package contains code and documentation for the following:
create/allocate vectors and sequences of objects
do ffts
do windowing
calculate power spectra
The various packages are in the package directory.
Read the file INSTALL for installation instructions.
This code requires the FFTW (Fastest Fourier Transform in the West) package.
This package can be obtained from http://www.fftw.org
dnl acinclude.m4
AC_DEFUN(AC_LIB_FFTW,
[AC_SEARCH_LIBS(fftw_one, sfftw fftw, ,
[echo "**************************************************************"
echo "* WARNING: Could not find the FFTW library libfftw.a *"
echo "* You must install FFTW (v >= 2.0) on your system. *"
echo "* FFTW is avaliable from http://www.fftw.org *"
echo "* FFTW must be configured with the --enable-float argument. *"
echo "* Install FFTW on your system using the commands: *"
echo "* *"
echo "* ./configure --enable-float *"
echo "* make *"
echo "* make install *"
echo "* *"
echo "* If libfftw.a is in, e.g., /home/bob/lib, you must include *"
echo "* this in the LIBRARY_PATH environment variable. *"
echo "* *"
echo "* Remove the file config.cache before re-running configure. *"
echo "* *"
echo "* Please see the instructions in the file INSTALL. *"
echo "**************************************************************"
AC_MSG_ERROR([FFTW must be properly installed.])
], -lm)
])
AC_DEFUN(AC_LIB_RFFTW,
[AC_SEARCH_LIBS(rfftw_one, srfftw rfftw, ,
[echo "**************************************************************"
echo "* WARNING: Could not find the FFTW library librfftw.a *"
echo "* You must install FFTW (v >= 2.0) on your system. *"
echo "* FFTW is avaliable from http://www.fftw.org *"
echo "* FFTW must be configured with the --enable-float argument. *"
echo "* Install FFTW on your system using the commands: *"
echo "* *"
echo "* ./configure --enable-float *"
echo "* make *"
echo "* make install *"
echo "* *"
echo "* If librfftw.a is in, e.g., /home/bob/lib, you must include *"
echo "* this in the LIBRARY_PATH environment variable. *"
echo "* *"
echo "* Remove the file config.cache before re-running configure. *"
echo "* *"
echo "* Please see the instructions in the file INSTALL. *"
echo "**************************************************************"
AC_MSG_ERROR(FFTW must be properly installed.)
], -lm)
])
AC_DEFUN(AC_HEADER_FFTW,
[AC_CHECK_HEADER(fftw.h, ,
[echo "**************************************************************"
echo "* WARNING: Could not find the FFTW header fftw.h *"
echo "* You must install FFTW on your system. *"
echo "* FFTW is avaliable from http://www.fftw.org *"
echo "* FFTW must be configured with the --enable-float argument. *"
echo "* Install FFTW on your system using the commands: *"
echo "* *"
echo "* ./configure --enable-float *"
echo "* make *"
echo "* make install *"
echo "* *"
echo "* Remove the file config.cache before re-running configure. *"
echo "* *"
echo "**************************************************************"
])])
AC_DEFUN(AC_HEADER_RFFTW,
[AC_CHECK_HEADER(rfftw.h, ,
[echo "**************************************************************"
echo "* WARNING: Could not find the FFTW header rfftw.h *"
echo "* You must install FFTW on your system. *"
echo "* FFTW is avaliable from http://www.fftw.org *"
echo "* FFTW must be configured with the --enable-float argument. *"
echo "* Install FFTW on your system using the commands: *"
echo "* *"
echo "* ./configure --enable-float *"
echo "* make *"
echo "* make install *"
echo "* *"
echo "* Remove the file config.cache before re-running configure. *"
echo "* *"
echo "**************************************************************"
])])
AC_DEFUN(AC_FFTW_WORKS,
[AC_MSG_CHECKING(whether FFTW works)
AC_TRY_RUN([
#include <stdio.h>
#include <sfftw.h>
int main() { return sizeof(fftw_real)-4; }
],
AC_MSG_RESULT(yes)
AC_DEFINE(FFTW_PREFIX),
AC_TRY_RUN([
#include <stdio.h>
#include <fftw.h>
int main() { return sizeof(fftw_real)-4; }
],
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no)
echo "**************************************************************"
echo "* WARNING: FFTW does not seem to be working. *"
echo "* Possible problems: *"
echo "* - FFTW version < 2.0 *"
echo "* - Compiler could not find header sfftw.h or fftw.h *"
echo "* - FFTW was configured with the --enable-float option *"
echo "* *"
echo "* Remove the file config.cache before re-running configure. *"
echo "* *"
echo "* Please see the instructions in the file INSTALL. *"
echo "**************************************************************"
AC_MSG_ERROR([FFTW must be properly installed.])
))])
dnl Process this file with autoconf to produce a configure script.
AC_INIT(include/README)
AM_INIT_AUTOMAKE(lal, 0.2-beta)
dnl Arguments.
AC_ARG_ENABLE(frame,
[ --enable-frame compile code that requires Frame library],
[case "${enableval}" in
yes) frame=true ;;
no) frame=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-frame) ;;
esac], [frame=false])
AM_CONDITIONAL(FRAME, test x$frame = xtrue)
AC_ARG_ENABLE(mpi,
[ --enable-mpi compile code that requires MPI],
[case "${enableval}" in
yes) mpi=true ;;
no) mpi=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mpi) ;;
esac], [mpi=false])
AM_CONDITIONAL(MPI, test x$mpi = xtrue)
dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wall"
fi
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_RANLIB
AC_CHECK_PROG(LATEX, latex, latex)
AC_CHECK_PROGS(MPICC, mpicc hcc, $CC)
dnl Checks for libraries.
AC_CHECK_LIB(m, main)
AC_LIB_FFTW
AC_LIB_RFFTW
AC_FFTW_WORKS
if test "${frame}" = "true"; then
AC_CHECK_LIB(Frame, FrLibIni, ,
[AC_MSG_ERROR(couldn't find Frame library for --enable-frame)] , )
AC_MSG_CHECKING([whether Frame library version >= 3.85])
AC_TRY_RUN([#include "FrameL.h"
int main() { return FRAMELIB_VERSION < 3.85 ? 1 : 0 ; }],
AC_MSG_RESULT(yes),
[AC_MSG_RESULT(no),
AC_MSG_ERROR(FrameL.h not found or FRAMELIB_VERSION < 3.85)])
fi
MPILIBS=""
if test "${mpi}" = "true"; then
save_CC="$CC"
CC="$MPICC"
if test -z "$MPILIBS"; then
AC_CHECK_FUNC(MPI_Init, [MPILIBS=" "])
fi
if test -z "$MPILIBS"; then
AC_CHECK_LIB(mpi, MPI_Init, [MPILIBS="-lmpi"])
fi
if test -z "$MPILIBS"; then
AC_MSG_ERROR(couldn't find mpi library for --enable-mpi)
else
AC_MSG_CHECKING(whether mpi works)
AC_TRY_LINK([#include <mpi.h>
], MPI_Finalize();,
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no)
AC_MSG_ERROR(mpi does not work))
fi
CC="$save_CC"
fi
AC_SUBST(MPILIBS)
dnl Checks for header files.
AC_HEADER_STDC
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
dnl Checks for library functions.
AC_OUTPUT( Makefile \
packages/Makefile \
packages/std/Makefile \
packages/std/doc/Makefile \
packages/std/include/Makefile \
packages/support/Makefile \
packages/support/doc/Makefile \
packages/support/include/Makefile \
packages/support/src/Makefile \
packages/support/test/Makefile \
packages/hello/Makefile \
packages/hello/doc/Makefile \
packages/hello/include/Makefile \
packages/hello/src/Makefile \
packages/hello/test/Makefile \
packages/factories/Makefile \
packages/factories/doc/Makefile \
packages/factories/include/Makefile \
packages/factories/src/Makefile \
packages/factories/test/Makefile \
packages/vectorops/Makefile \
packages/vectorops/doc/Makefile \
packages/vectorops/include/Makefile \
packages/vectorops/src/Makefile \
packages/vectorops/test/Makefile \
packages/utilities/Makefile \
packages/utilities/doc/Makefile \
packages/utilities/include/Makefile \
packages/utilities/src/Makefile \
packages/utilities/test/Makefile \
packages/window/Makefile \
packages/window/doc/Makefile \
packages/window/include/Makefile \
packages/window/src/Makefile \
packages/window/test/Makefile \
packages/fft/Makefile \
packages/fft/doc/Makefile \
packages/fft/include/Makefile \
packages/fft/src/Makefile \
packages/fft/test/Makefile \
packages/stochastic/Makefile \
packages/stochastic/doc/Makefile \
packages/stochastic/include/Makefile \
packages/stochastic/src/Makefile \
packages/stochastic/test/Makefile \
packages/framedata/Makefile \
packages/framedata/doc/Makefile \
packages/framedata/include/Makefile \
packages/framedata/src/Makefile \
packages/framedata/test/Makefile \
packages/comm/Makefile \
packages/comm/doc/Makefile \
packages/comm/include/Makefile \
packages/comm/src/Makefile \
packages/comm/test/Makefile \
packages/findchirp/Makefile \
packages/findchirp/doc/Makefile \
packages/findchirp/include/Makefile \
packages/findchirp/src/Makefile \
packages/findchirp/test/Makefile \
)
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
tranformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
else
instcmd=mkdir
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad