/PREPRO

ENDF/B pre-processing codes (PREPRO)

Primary LanguageFortranMIT LicenseMIT

PREPRO 2019

The ENDF/B preprocessing codes (PREPRO) are a collection of 18 computer codes, which are designed to convert ENDF/B formatted neutron and/or photon data from the originally distributed form to a form in which the data can be used in applications.

Features of the codes:

  • Data can be plotted on-screen or plots can be saved as PostScript files to disk.
  • The codes run on Windows, Linux and MacOS.
  • PREPRO 2019 is ENDF/B-VIII.0-tested and completely Fortran, C and C++ compatible.

Citation

This computer code package should be cited as follows:

D.E. Cullen, "PREPRO 2019: 2019: ENDF/B Pre-processing Codes", report  IAEA-NDS-39, Rev. 19, August 20, 2019

Important note for users of earlier versions:

Earlier versions of PREPRO (i.e., before version 2019-1) cannot accurately process current ENDF/B-VIII evaluations due to recent changes in the ENDF-6 format and procedures. PREPRO 2019 can handle all existing ENDF/B-VII.0, VII.1 and VIII evaluations.

Relation to the PREPRO 2019 code provided on the IAEA-NDS website:

This repository is complementary to the PREPRO website of the Nuclear Data Section at the IAEA and contains the source files of the PREPRO 2019 codes. If you do not want to compile the codes yourself or are unsuccessful using the instructions provided below, you find executables for Windows, Linux and MacOS here. Additional makefiles are also provided there which may be more pertinent for your system.

Installation

These installation instructions have been only tested on Linux. Assuming that git, GNU make, GNU Fortran, GNU g++ and Xlib (libX11-dev) or compatible are installed on your system, run the following commands from your command line:

    git clone https://github.com/IAEA-NDS/PREPRO.git
    cd PREPRO/source
    make
    make install

If successful, the executables will be available in PREPRO/bin.

Verify the installation by changing into the directory test. There run the command

    ./verify.sh

At the very end of the execution, you will see the plots by COMPLOT comparing the result of PREPRO 2015 and PREPRO 2019. The difference between these versions should not exceed 2%, i.e., the plotted ratio should be between 0.98 and 1.02.

Finally, after successful verification, move the executables to a place of your liking. Under Linux /usr/local/binis usually a good place.

Installation with Singularity

Singularity is a containerisation application similar to Docker. If Singularity is installed, you can run the following instructions for installation:

    git clone https://github.com/IAEA-NDS/PREPRO.git
    cd PREPRO
    singularity build --fakeroot prepro.sif singularity_PREPRO.def
    # alternatively:
    # sudo singularity build prepro.sif singularity_PREPRO.def

The same verification script as described above in the convential installation can be used to verify the proper working:

    singularity run prepro.sif test

The PREPRO codes can be exetued by

    singularity run prepro.sif <PREPRO-CODE>

For instance, <PREPRO-CODE> could be endf2c or fixup.

Supplementary material

The PREPRO 2019 codes can also be found here on the IAEA-NDS website. In particular, these resources are provided:

Legal note

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OR IAEA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.