Computer Programs
NEA-1941 IAEA2MCNP.
last modified: 29-APR-2026 | catalog | categories | new | search |

NEA-1941 IAEA2MCNP.

IAEA2MCNP, A Phase Space File conversion tool between IAEA and MCNP6 formats

top ]
1. NAME OR DESIGNATION OF PROGRAM

IAEA2MCNP

top ]
2. COMPUTERS

To submit a request, click below on the link of the version you wish to order. Rules for end-users are available here.

Program name Package id Status Status date
IAEA2MCNP NEA-1941/01 Tested 29-APR-2026

Machines used:

Package ID Orig. computer Test computer
NEA-1941/01 Linux-based PC,PC Windows Gitlab
top ]
3. DESCRIPTION OF PROGRAM OR FUNCTION

MCNP2IAEA performs the reverse step, since, from a binary file generated with MCNP6, it generates two files that contain all the information of the PSF in IAEA format.

top ]
4. METHODS

The first step to the tools usage is the compilation of the provided programs. Both the source code of the phase space file conversions and the IAEA libraries must be in the same directory. Once the programs have been compiled, the executables need the following arguments to be able to do the conversion:

 

usage: ./IAEA2MCNP input_filename (without extension) output_filename MCNP6_version and phase space surface number

usage: ./MCNP2IAEA input_filename output file (without extension) MCNP6_version

 

Where input filename is the name of the file in IAEA or MCNP6 format which will be converted, and output filename is the name of the MCNP6 or IAEA format file which will be obtained, respectively.

Moreover, is necessary to add the argument “1” or “2” (MCNP6_version) depending on whether

the user wants to convert the PSF, for version 1 or 2 of MCNP6. Finally phase space surface number is the number of the surface in which the PSF is recorded. This parameter is need by the MCNP6 code to run the simulation.

top ]
5. RESTRICTIONS ON THE COMPLEXITY OF THE PROBLEM

The conversion time will depend on the size of the phase space to be converted, so very heavy phase space files will require long conversion times. Use of these converters is restricted to MCNP6 versions 6.1 and 6.2. Other versions may have different structures in phase space files, and their correct conversion is not ensured.

top ]
6. TYPICAL RUNNING TIME

Some minutes, depending strongly on the size of the Phase Space File to convert, compiler and operating system.

top ]
7. UNUSUAL FEATURES OF THE PROGRAM

The programs described have not shown any unusual features in the different tests carried out.

top ]
8. RELATED OR AUXILIARY PROGRAMS

To be able to use these tools, the user must download the libraries of reading and writing offered by the IAEA, which are freely distributed and can be found at its webpage: https://www-nds.iaea.org/phsp/phsp.htmlx (https://www-nds.iaea.org/phsp/software/iaea_phsp_Sept2013.zip).

top ]
9. STATUS
Package ID Status date Status
NEA-1941/01 29-APR-2026 Tested at NEADB
top ]
10. REFERENCES
NEA-1941/01, included references:
Oliver S, Juste B, Miro R, Verdu G. Toolkit implementation to exchange
phase-space files between IAEA and MCNP6 monte Carlo code format. Int J Radiat
Biol. 2023;99(3):373-383. doi: 10.1080/09553002.2022.2110296. Epub 2023 Jan 17.
PMID: 35938808
top ]
11. HARDWARE REQUIREMENTS

The programs have been compiled, executed and tested on machines with the following characteristics:

a) Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz

b) AMD EPYC 7282 16-Core Processor

top ]
12. PROGRAMMING LANGUAGE(S) USED
Package ID Computer language
NEA-1941/01 C-LANGUAGE, C++
top ]
13. SOFTWARE REQUIREMENTS

Centos 7, Centos 8, Fedora 33 and Fedora 37.

top ]
15. NAME AND ESTABLISHMENT OF AUTHORS

Sandra Oliver Gil, Belén Juste Vidal, Rafael Miró Herrero

Instituto de Seguridad Industrial, Radiofísica y Medioambiental (ISIRYM)

Universitat Politècnica de València

Camí de Vera s/n

46022 València

Spain

top ]
16. MATERIAL AVAILABLE
NEA-1941/01
The repository hosting the suite of tools for Penelope, which consists of:
- Penelope: A code system for Monte Carlo simulation of electron and photon
transport
- PenGeomJar: A general-purpose geometry package for Monte Carlo simulation of
radiation transport in complex material structures
- PenGUIn: Monte Carlo simulation of coupled electron-photon transport using
Penelope with a GUI
- Documentation
top ]
17. CATEGORIES
  • N. Subsidiary Calculations
  • P. General Mathematical and Computing System Routines

Keywords: MCNP, Monte Carlo simulation, data conversion, file generation, hybrid codes, input conversion, interfaces, particle transport, phase space, simulation.