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

Compilation failure due to missing file (spglib) #24

Open
jcavin13 opened this issue Sep 22, 2021 · 5 comments
Open

Compilation failure due to missing file (spglib) #24

jcavin13 opened this issue Sep 22, 2021 · 5 comments

Comments

@jcavin13
Copy link

ifort is returning an error stating that
File not found: '/bandup-master/src/external/spglib-1.5.2/src/.libs/libsymspg.a'
Sure enough, the file isn't there, and neither is the parent directory .libs

@stepan-tsirkin
Copy link
Member

hi @jcavin13 , I see, the problem appears for me also

try entering directory bandup/src/external/spglib-1.5.2 and type 'make' . This will compile needed libraries

then do "build" in the bandup root directory again.

I will look how to fix this to make automatic.

@jcavin13
Copy link
Author

Thanks for the response! Unfortunately, trying make in that directory returns make: *** No targets specified and no makefile found. Stop.

@stepan-tsirkin
Copy link
Member

Ok, if you enter bandup/src/external and type make spglib-1.5.2 ? Will it compile?

@stepan-tsirkin stepan-tsirkin changed the title Compilation failure due to missing file Compilation failure due to missing file (spglib) Nov 22, 2021
@Airanyoung
Copy link

Try to enter bandup/src/external/spglib-1.5.2, and type ./configure and make; then go back to do "./build". It works.

@bmondal94
Copy link

For future reference: as an alternative solution, modify line 55 in bandup/src/python_interface/bandupy/build.py from fcflag, cflag = '-openmp', '-openmp' to fcflag, cflag = '-qopenmp', '-qopenmp'.

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

4 participants