NJOY installation

Hey, I want to use NJOY to search for the displacement cross sections and I stuck in cmake process. Does anybody knows how to fix it ? or is there any other way to look for displacement cross section data ?

Hi Azlan, welcome to the openmc community
I also had some issues when compiling NJOY21 last time, but everything looked good when I compiled the NJOY2016. I also noticed that NJOY2016 sometimes has more recent updates than NJOY21. Hope you can use NJOY2106 for your cases

What to type in the cmake ? Because I have struggle there

Pada Jum, 4 Apr 2025, 06.07, Wahid via OpenMC <notifications@openmc.discoursemail.com> menulis:

I just follow the instructions from GitHub

“To compile the latest NJOY2016 version, you can use the following instructions:”

git clone https://github.com/njoy/NJOY2016.git
cd NJOY2016
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make -j8