FRENDY nuclear code -- Where to download it? (for ubuntu 22.04)

Click For Summary
SUMMARY

The discussion focuses on downloading and executing the FRENDY nuclear code on Ubuntu 22.04. Users can access the open-source FRENDY code from the Japan Atomic Energy Agency's website and follow the installation instructions provided in the official PDF documentation (version 1.4). The execution command for FRENDY is "frendy.exe 'input file name'", but users have reported issues with running sample input files, specifically encountering runtime errors related to input data. A GitHub repository containing scripts for processing JENDL with FRENDY is also shared for additional resources.

PREREQUISITES
  • FRENDY nuclear code version 2.00.000
  • Ubuntu 22.04 or compatible Linux distribution
  • Basic command-line skills in Linux
  • Understanding of nuclear data input formats
NEXT STEPS
  • Review the FRENDY installation guide available at FRENDY Installation Guide
  • Explore the GitHub repository for JENDL processing scripts at AI-Pranto/triga-dataLibrary
  • Learn about input file configurations for FRENDY, focusing on the "sigima_zero_data" parameter
  • Investigate troubleshooting methods for runtime errors in FRENDY executions
USEFUL FOR

Researchers, nuclear physicists, and software developers working with nuclear data simulations, particularly those utilizing the FRENDY code for computational analysis.

emilmammadzada
Messages
133
Reaction score
19
TL;DR
FRENDY nuclear code instaling problem
I want to compare njoy2016 and frendy codes.If anyone is using frendy nuclear, I wanted to get information about how to download it for ubuntu 22.04 version?
 
Engineering news on Phys.org
I created the frendy.exe file but I don't know how to run the examples.I couldn't find the sample input files
Code:
emil@DESKTOP-:~/frendy_20220126/frendy/main$ ls
Makefile    libfrendy.a_m    main_frendy.d    remove_old_object_file.sh
frendy.exe  main_frendy.cpp  main_frendy.o_m
 
  • Informative
Likes   Reactions: emilmammadzada
Alex A said:
All I can offer is one of the repositories I found in the search has some scripts for processing JENDL with FRENDY,

https://github.com/AI-Pranto/triga-dataLibrary
Code:
2.3 How to Execute FRENDY
 The execution command is
frendy.exe “input file name”
The input file name is set as a command-line argument
There is such a command in the user manual and I tried it and it didn't work. I wonder if there is a separate method to run the input file of this?
 
Alex A said:
All I can offer is one of the repositories I found in the search has some scripts for processing JENDL with FRENDY,

https://github.com/AI-Pranto/triga-dataLibrary
I tried to run the application and got this result
Code:
emil@DESKTOP-:~/frendy_20220126/frendy/main$ ./frendy.exe test.inp

/////////////////////////////////////////////////////////////////////////////////////////
//                                                                                     //
//  //////////  ///////////    //////////  /////      ///  /////////    ///       ///  //
//  ///         ///      ///   ///         //////     ///  ///     ///   ///     ///   //
//  ///         ///      ///   ///         /// ///    ///  ///      ///   ///   ///    //
//  //////////  ///////////    //////////  ///  ///   ///  ///       ///   ///////     //
//  ///         ///    ///     ///         ///   ///  ///  ///       ///     ///       //
//  ///         ///     ///    ///         ///    /// ///  ///      ///      ///       //
//  ///         ///      ///   ///         ///     //////  ///     ///       ///       //
//  ///         ///       ///  //////////  ///      /////  /////////         ///       //
//                                                                                     //
/////////////////////////////////////////////////////////////////////////////////////////

FRENDY calculation date : 2023/02/18 03:25:30

  Version : 2.00.000 (2022/Jan/26)
  Developed by Japan Atomic Energy Agency++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  === Input file information (original) ===
    Input file name : test.inp

        //Input file of FRENDY for continuous-energy neutron data
        ace_fast_mode  //processing mode (generate fast ACE file)          //Nuclear data file name

            nucl_file_name        U235.dat

          /* ace file name */

          ace_file_name       U235.ace

          temp             296.0 // temperature [K]

          add_grid_data    (0.625 4.0) //Additional energy grid point

          sigima_zero_data //sigma-infinity is 1.0E10 [b]
         (1.0E10 1.0E06 1.0E05 1.0E04 1.0E03 1.0E02
         3.5E02 1.0E02 1.0E01 1.0E-1)++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  === Input file information (without comment) ===
    Input file name : test.inp

        ace_fast_mode
        nucl_file_name        U235.dat
        ace_file_name       U235.ace
        temp             296.0
        add_grid_data    (0.625 4.0)
        sigima_zero_data
        (1.0E10 1.0E06 1.0E05 1.0E04 1.0E03 1.0E02
        3.5E02 1.0E02 1.0E01 1.0E-1)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

=== Read input data for ReconResonance ===
  nucl_file_name     : U235.dat
  add_grid_data [eV]
    1 / 2 : 0.625
    2 / 2 : 4.0
=== Read input data for DopplerBroadening ===
  nucl_file_name          : U235.dat
  temp [K]                : 296.0
=== Read input data for GasProduction ===
  nucl_file_name          : U235.dat
=== Read input data for ProbTable ===
  nucl_file_name          : U235.dat
=== Read input data for ThermalScatter ===
  nucl_file_name                : U235.dat
=== Read input data for AceDataGenerator ===
  nucl_file_name                       : U235.dat
  ace_file_name                        : U235.ace

*************************
*                       *
*  !!! FATAL ERROR !!!  *
*                       *
*************************

  <Class name>
    FrendyInputReader

  <Function name>
    check_not_used_input_data(vector<vector<string> >& input_data)

  <Error message>
    Input type : sigima_zero_data
    Input data (Number of data : 10)
      1 / 10 : 1.0E10
      2 / 10 : 1.0E06
      3 / 10 : 1.0E05
      4 / 10 : 1.0E04
      5 / 10 : 1.0E03
      6 / 10 : 1.0E02
      7 / 10 : 3.5E02
      8 / 10 : 1.0E02
      9 / 10 : 1.0E01
      10 / 10 : 1.0E-1
    This input type is not used for ace_file_generation_fast_mode.

    Please check the calculation mode or input type.

terminate called after throwing an instance of 'std::runtime_error'
  what():  Runtime error. Please check your input file or source file.
Aborted
 

Attachments

Similar threads

Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
1K
  • · Replies 30 ·
2
Replies
30
Views
4K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
23
Views
7K