Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does xtb-6.7.1 (win) have a limitation on the memory or atoms’ number? #1155

Closed
ErXiu-d opened this issue Jan 11, 2025 · 4 comments
Closed
Labels
unconfirmed This report has not yet been confirmed by the developers

Comments

@ErXiu-d
Copy link

ErXiu-d commented Jan 11, 2025

Describe the bug

In the Windows environment, I ran xtb-6.7.1 from the command line to optimize a molecular system. However, it did not fully execute my command and exited directly without any error messages. My molecular system consists of three molecules, with a total of 355 atoms. I believe xtb is correctly installed, as it runs normally on smaller molecular systems.

To Reproduce
CMD:
xtb X1X1_R83_T.xyz --gfn 2 --ohess normal --chrg 0 --uhf 0 --molden > X1X1_R83_T.out
I have provided the xyz file (XR_T.txt) and the output file (XR_T_outFile.txt).

XR_T_inFile.txt

XR_T_outFile.txt

@ErXiu-d ErXiu-d added the unconfirmed This report has not yet been confirmed by the developers label Jan 11, 2025
@foxtran
Copy link
Contributor

foxtran commented Jan 11, 2025

Did you get any error messages in stderr?

I'm computing up to 2000 atoms and it works for me.

@ErXiu-d
Copy link
Author

ErXiu-d commented Jan 12, 2025

Did you get any error messages in stderr?

I'm computing up to 2000 atoms and it works for me.

I haven't seen any error messages or files. Based on my testing, it seems that the xtb (win) has a limit of 250 atoms (1 fragment). I'm not sure if this limitation can be overcome with certain settings. You can try the input file I provided. Feel free to reach out again for further discussion.

@foxtran
Copy link
Contributor

foxtran commented Jan 13, 2025

Hmm... You can try to increase stack size by patching binary with the following command:

editbin.exe /STACK:64000000 xtb.exe

What is editbin?

@ErXiu-d
Copy link
Author

ErXiu-d commented Jan 13, 2025

Hmm... You can try to increase stack size by patching binary with the following command:

editbin.exe /STACK:64000000 xtb.exe

What is editbin?

Thank you very much for your reply.
xtb starts to compute normally.

@ErXiu-d ErXiu-d closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unconfirmed This report has not yet been confirmed by the developers
Projects
None yet
Development

No branches or pull requests

2 participants