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

undefined reference problem #31

Open
DJLMU opened this issue Jan 27, 2021 · 2 comments
Open

undefined reference problem #31

DJLMU opened this issue Jan 27, 2021 · 2 comments

Comments

@DJLMU
Copy link

DJLMU commented Jan 27, 2021

Hello,

compilation of the kgridGen tool fails with the message:

../../symlib/src/librational.a(rational_mathematics.o): In function __rational_mathematics_MOD_get_rationals_in_range': ~/UTILS/kGridGen/symlib/src/rational_mathematics.f90:628: undefined reference to __utilities_MOD_ralloc_integer'
collect2: error: ld returned 1 exit status
Makefile:76: recipe for target 'kptgen.x' failed
make: *** [kptgen.x] Error 1

I tried gfortran as well as ifort with the same error message

Previous build of the symlib worked fine

Can anyone help me?
Thanks.

@glwhart
Copy link
Contributor

glwhart commented Jan 29, 2021

I can't reproduce this error. But I also see that the README.md needs some updating. The autoGR code is built on top of kGridGen. We use autoGR now to generate kpoint grids. The exe kpoints.x is now generated from autoGR, not kGridGen.

Why don't you try autoGR, and let me know if you still have compilation problems.

@DJLMU
Copy link
Author

DJLMU commented Jan 31, 2021

Thank you very much. I tried on a different computer and it fails with the same error. There is also no rule in the Makefile for 'kpoints.x' but for 'kptgen.x'. Anyway it did not work for me. I tried autoGR which worked perfectly. Thanks again for the advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants