Acquire the CR-SIM lookup tables

AOSPRE depends on a large set of lookup tables provided with the CR-SIM software download. The tables require more than 20GB of disk space, and are not included in the AOSPRE download. The CR-SIM package can be downloaded from https://www.bnl.gov/cmas/cr-sim.php. Download the full software package.

Download the CR-SIM software package

The recommendation is to move to the top level AOSPRE/ directory, and download the CR-SIM package into this directory. The download file is a compressed tar file more than 12GB in size. The file will be named according to the version of CR-SIM downloaded: crsim-<version>.tar.gz.

Unpack CR-SIM tar file

Once downloaded untar the crsim tar file:

tar -xvf crsim-<version>.tar.gz

or you may choose to unpack only the tables needed for AOSPRE:

tar -xvf crsim-<version>.tar.gz crsim-<version>/share/crsim/aux

Either way, contents of the tar file will be unpacked into a directory named crsim-<version>/.

Once unpacked, the downloaded crsim tar file may be removed.

The CR-SIM tables are located in directory crsim-<version>/share/crsim/aux/. When AOSPRE runs, it assumes it will find tables under a directory called aux/ immediately above the working directory. Further examples in this documentation assume that execution of AOSPRE will occur in a working directory under the top-level AOSPRE/ directory. For this reason, it is recommended to create a soft link in this top-level directory to the aux/ tables directory:

ln -s crsim<version>/share/crsim/aux .

If you set up to run AOSPRE in other locations, remember to link the CR-SIM aux/ directory with a soft link aux just above your AOSPRE run directory.