-
Create a directory (e.g. tempo11) and cd to it.
-
Download the following files from ATNF (Australia) or
Princeton (USA):
Note: these are large files. It may be easier to use anonymous-ftp directly
to download the files rather than downloading them via a web browser.
-
Uncompress the ephemeris files. It is recommended that these be moved to
to a parallel directory, e.g. tempo_ephem.
gunzip DE200.1950.2050.gz DE405.1950.2050.gz TDB1950.2050.gz
mkdir ../tempo_ephem
mv *2050 ../tempo_ephem
-
Un-compress the source files:
gunzip tempo11.tar.gz
-
Un-tar the source code and support files:
tar -xf tempo11.tar
-
This creates several subdirectories, including `src' which
contains the source code. Go to this directory:
cd src
-
Compile the code. The executable will be `tempo11/tpo'
make tpo
-
Go to the tempo11 directory:
cd ..
-
Set environment variable TEMPO to point to the tempo11 directory
using the full path name. For example, using csh in the directory `/disk1':
setenv TEMPO /disk1/tempo11
-
Edit tempo.cfg. Change the CLKDIR and EPHDIR entries to the full
path of the tempo11 directory, including a slash after the path.
Change PARDIR to the full path of the tempo11/tzpar
subdirectory. Change OBSYS to the full path of the file
tempo11/obsys.dat. For example, if the root directory is
`/disk1', these entries in tempo.cfg would be
CLKDIR /disk1/tempo11/
PARDIR /disk1/tempo11/tzpar/
EPHDIR /disk1/tempo_ephem/
OBSYS /disk1/tempo11/obsys.dat
-
Make a backup copy of `tempo.lis' from the distribution:
cp tempo.lis tempo.lis.original
-
Run tempo on a test file:
tpo 0437.tim
-
Compare the tpo output file with the file from the distribution:
diff tempo.lis tempo.lis.original
Ideally only two lines
of these files will differ--the line with the tempo execution time,
and the line with the input file name (with its full path). There
may be more differences in some systems (especially those not using
IEEE arithmetic) due to roundoff errors, etc.