jmkmod_tables-YYYMMDD.tar.gz
Fist install the data tables in their final locations, as those locations must be embedded in the source code.
JMKMOD uses various tables to access the optical constants and mirror effective areas. (Effective areas are implemented as "filters"). The indices and effective areas are contained in the separately distributed
jmkmod_tables-YYYMMDD.tar.gz
files, where YYYYMMDD is the release date. We suggest you unarchive this tarball in its permanent location. You will have to update the filter_*.rdb files in the tables directory to track the path to the filter files on your system.
This directory also contains an index file (optconsts.rdb) which points to the location of the optical constants. You will need to update this to point to the location on your system where you will store the optical constants (see below).
You should also update the following parameters in the config.inc file in the source directory:
fltdir: directory location optconstabl: location of the optconst.rdb file
Optical constants are provided in the separately distributed
optconsts-YYYYMMDD.tar.gz
files, where YYYYMMDD is the release date. Currently, there are two sets: Gullikson 95 and Extended Henke 95. They can be placed anywhere; update the optconsts.rdb file in the tables directory mentioned above to track their final location. You can specify the default table in the config.inc optconstdir parameter.
This code is compatible with XSPEC v. 11 and XSPEC v.12. In most cases you should be able to follow the local model compilation instructions provided with XSPEC. Some platforms require some additional steps
JMKMod uses the Fortran double precision complex type, which is not part of the F77 standard. XSPEC sets the -pedantic g77 flag which will cause a compile time error. The workaround is to make g77 use the F90 convention. To do so, first run initpackage, as normal, then execute the following to add the flag:
echo 'HD_FFLAGS += -ff90' >> Makefile
You will probably have to update the parameter values in the config.inc file to reflect where you have stored the optical constant and mirror effective area data. See the sections above on how to do so.