njoy / NJOY21

NJOY for the 21st Century
https://www.njoy21.io/NJOY21
Other
72 stars 38 forks source link

Installation problem #167

Open KDeo22 opened 2 years ago

KDeo22 commented 2 years ago

I am doing an online installation as per the instructions on the page https://docs.njoy21.io/install.html I get the following error messages after executing make

[ 90%] Building CXX object src/njoy21/Driver/test/CMakeFiles/njoy21.Driver.test.dir/Driver.test.cpp.o c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[2]: [src/njoy21/Driver/test/CMakeFiles/njoy21.Driver.test.dir/build.make:63: src/njoy21/Driver/test/CMakeFiles/njoy21.Driver.test.dir/Driver.test.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2668: src/njoy21/Driver/test/CMakeFiles/njoy21.Driver.test.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

whaeck commented 2 years ago

It is unclear to me of what the actual problem here is due to the limited information available in the error message. In order to properly diagnose the issue, we need more information on the system you are using, the version of cmake and which C++ and fortran compiler you are using.

That said, at the moment NJOY21 does not offer any extra features compared to NJOY2016, which is used under the hood in NJOY21. We are still actively maintaining NJOY2016 and it is still used at LANL as the main production tool for our data libraries. You may want to switch to that version of NJOY instead of NJOY21. It will make compilation a lot simpler.

NJOY21 will be the future, but we've changed our approach to the modernisation effort. Initially, NJOY21 was supposed to be a module by module modernisation (i.e. modernise RECONR, etc.) but we've now decided to go for a component based approach. With the component based approach, we're developing C++ based libraries that have specific tasks (e.g. resonance reconstruction, ENDF data reading and formatting, ACE data reading and formatting, etc.) with a python interface on top. These components provide features that the modernised modules will need but they also provide other functionality of interest to our users that a modernised module cannot provide (e.g. easy access to data inside an ACE file). These components can also be deployed to users more easily and more quickly compared to a full module - which allows us to show off the progress we make more easily.

Eventually, we'll use the components to develop the modernised modules themselves, which will then make it into NJOY21.

KDeo22 commented 2 years ago

Thanks a lot for the quick reply. I was able to install NJOY2016 successfully and is working fine