# NJOY installation

**URL:** <https://openmc.discourse.group/t/njoy-installation/5408>\
**Category:** User Support\
**Created:** [April 3, 2025, 3:47pm UTC](https://openmc.discourse.group/t/njoy-installation/5408 "2025-04-03T15:47:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azlan846](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Azlan846](https://openmc.discourse.group/u/Azlan846)\
**Post date:** [April 3, 2025, 3:47pm UTC](https://openmc.discourse.group/t/njoy-installation/5408/1 "2025-04-03T15:47:32Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![wahidluthfi](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/wahidluthfi/32/3375_2.png) [@wahidluthfi](https://openmc.discourse.group/u/wahidluthfi)\
**Post date:** [April 3, 2025, 10:57pm UTC](https://openmc.discourse.group/t/njoy-installation/5408/2 "2025-04-03T22:57:39Z")

</div>

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

> **[GitHub - njoy/NJOY2016: Nuclear data processing with legacy NJOY](https://github.com/njoy/NJOY2016)**
>
> Nuclear data processing with legacy NJOY

---

<div class="post-metadata">

**Author:** ![Azlan846](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Azlan846](https://openmc.discourse.group/u/Azlan846)\
**Post date:** [April 4, 2025, 3:53am UTC](https://openmc.discourse.group/t/njoy-installation/5408/3 "2025-04-04T03:53:08Z")

</div>

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](mailto:notifications@openmc.discoursemail.com)\> menulis:

---

<div class="post-metadata">

**Author:** ![wahidluthfi](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/wahidluthfi/32/3375_2.png) [@wahidluthfi](https://openmc.discourse.group/u/wahidluthfi)\
**Post date:** [April 4, 2025, 5:34am UTC](https://openmc.discourse.group/t/njoy-installation/5408/4 "2025-04-04T05:34:10Z")

</div>

I just follow the instructions from GitHub

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

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

```
