Giter Club home page Giter Club logo

Comments (13)

gabrieliacc avatar gabrieliacc commented on July 19, 2024

I can correct the error using
ulimit -s unlimited
Thank you

from enso.

fabothch avatar fabothch commented on July 19, 2024

Thank you for pointing this out.
I will update the documentation so that this is clear.

By the way: Since you are most probably also using xTB: ulimit -s unlimited should be used in general for xtb
See: https://xtb-docs.readthedocs.io/en/latest/setup.html#setting-up-xtb

All the best,

Fabian

from enso.

gabrieliacc avatar gabrieliacc commented on July 19, 2024

You are right, but I could run xtb without explicitly set "ulimit -s unlimited".

Best regards

Gabriel

from enso.

awvwgk avatar awvwgk commented on July 19, 2024

xtb nowadays runs seldom into issues with stackoverflows since I removed most of the automatic arrays from the core implementation, yet stackoverflows happen from time to time also in xtb when you least expect them, setting ulimit -s unlimited mitigates this problem before it becomes one.

Compared to this anmr still relies heavily on automatic arrays which are placed on the stack rather than on the heap, requiring an adequately sized system stack to avoid running into stackoverflows.

from enso.

gabrieliacc avatar gabrieliacc commented on July 19, 2024

Thank you Sebastian Ehlert for you very clear explanation.

Best regards

Gabriel

from enso.

Vilsenhet avatar Vilsenhet commented on July 19, 2024

I'm having the exact same problem with running anmr. I have set ulimit -s unlimited successfully, and I carefully followed all of the instructions on the setting up xtb page, but I'm still getting the severe (174) segmentation fault error. I've successfully followed the usage example all the way up to the anmr command.
I'm pretty new to all of this, so is there something I'm doing wrong? I've simply put the anmr statically compiled binary in my path, is there something else I need to do with it, like setting LD_LIBRARY_PATH or something? I'm running windows subsystem for linux, ubuntu distribution on a windows 10 machine. I appreciate any help, thanks!

from enso.

fabothch avatar fabothch commented on July 19, 2024

Hi,

can you run anmr -h and get the anmr help page printed to your terminal?
If not please type ulimit -s unlimited in your terminal and re-run anmr -h . Does the output appear now?
Best,

Fabian

from enso.

Vilsenhet avatar Vilsenhet commented on July 19, 2024

Thanks for the speedy response Fabian.
No, I've tried it, and I get the exact same forrtl: severe (174) segfault error. I've double and triple checked that stack size is unlimited by running "ulimit -s" to verify that the printed response is "unlimited". It doesn't seem to matter what arguments I pass to anmr, the segfault error originally reported by Gabriel always comes up.

I'm not sure if this helps at all (again, I'm pretty new to all of this and I'm just following google suggestions), but I backtraced the segfault using gdb and I get:

0x000000000186ae60 in __libc_start_main (main=0x402030

, argc=1, argv=0x7ffffffedd58,
init=0x186b2f0 <__libc_csu_init>, fini=0x186b380 <__libc_csu_fini>, rtld_fini=0x0, stack_end=0x7ffffffedd48)
at libc-start.c:285
285 libc-start.c: No such file or directory.

from enso.

fabothch avatar fabothch commented on July 19, 2024

I will have to check if I can find an error. On my machine setting ulimit -s unlimited removes all stackoverflows

from enso.

Vilsenhet avatar Vilsenhet commented on July 19, 2024

Thanks, I appreciate your help. I was really excited to find this program. Accurately simulating NMR spectra would really help in my research. I've spent hours trying to figure out how to set up all of this to get it up and running. I'll be really disappointed if I can't overcome this final roadblock. Let me know if you come up with anything, or if you have any other tips or tricks for me to try.

from enso.

fabothch avatar fabothch commented on July 19, 2024

I recompiled the anmr binary anmr-new. You can test if this hopefully fixes your issue.

from enso.

jouteurestaque avatar jouteurestaque commented on July 19, 2024

Hi
I have also that error, and the only way to resolve, was to lower the amount of confs.
Albeit some other calculations work fine with more conformers to analyze, even the same exact compound analyze with crest or crest_combi.
I have to say I don't understand

from enso.

jouteurestaque avatar jouteurestaque commented on July 19, 2024

Edit on that part. I think the problem was the file done with crenso somehow, with censo I don't get that error

from enso.

Related Issues (10)

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.