Coder Social home page Coder Social logo

Building problem on Linux about njoy21 HOT 9 CLOSED

njoy avatar njoy commented on July 29, 2024
Building problem on Linux

from njoy21.

Comments (9)

jlconlin avatar jlconlin commented on July 29, 2024

When you say it gets "stuck", what do you mean? How long is it stuck? Does it make the njoy21 binary?

from njoy21.

ATM-Jahid avatar ATM-Jahid commented on July 29, 2024

By stuck, I mean my system becomes unresponsive totally.

% sudo make
[ 21%] Built target utility 
[ 78%] Built target njoy 
[ 82%] Built target njoy_c_bindings 
[ 84%] Building CXX object CMakeFiles/njoy21.dir/src/main.cpp.o

After that I have to restart it.

Right after executing make command, everything seems normal but after reaching that 84%, CPU usage skyrockets (I am assuming ram usage does too) and at some point my laptop becomes unresponsive to anything. The result is the same when I run more than one job (make -j 4)at a time.

What is the destination of the njoy21 binary? I have checked /usr/bin/ and /usr/sbin/. There is no njoy21 file there.

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

@ATM-Jahid If you have a slow machine, or if there isn't much memory, this could cause some problems. NJOY21 does require a fair amount of memory to compile. It would be easier on the machine if you just did one job (make -j1).

from njoy21.

ATM-Jahid avatar ATM-Jahid commented on July 29, 2024

Well, I am not sure if memory is the problem. I ran make and make test on the same machine before.

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

make test likely uses less memory than make does.

from njoy21.

ATM-Jahid avatar ATM-Jahid commented on July 29, 2024

I remember running make that time. It went smoothly. I was running other programs in parallel and I didn't face this sort of problem then.

And, exactly how memory intensive is the process?

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

I don't know exactly off the top of my head. I wouldn't be surprised if it consumed up to 4 GB.

from njoy21.

marton384 avatar marton384 commented on July 29, 2024

Hey guys! I managed to compile/install the program after solving several issues with permissions and config commands. Yet when I try to run an input I get the following error message:

reconr... 0.0s
At line 212 of file /home/base/NJOY21/subprojects/njoy/src/util.f90 (unit = 20)
Fortran runtime error: Cannot open file 'tape20': No such file or directory

This is not clear so far: should I provide this 'tape20' file or the program was supposed to find it somewhere? When I run the 'make test' command everything is OK, but I cannot run any other input because the code cannot open the tape the input refers to. I checked the NJOY2016 manual but there is no information on such issues. Thanks!!!

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

@marton384 In short, yes you need to provide your own tape20, this is generally (but not required) to be the evaluated file (i.e., ENDF-formatted file).

from njoy21.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.