-
Notifications
You must be signed in to change notification settings - Fork 161
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
fatal error: itensor/config.h: No such file or directory #399
Comments
Thanks for asking. I notice that you write "ITensor/itensor" with one of them capitalized. Is that the name of the folder that the ITensor source code is actually in? More generally, what is the folder on your computer holding the code? Also, did you happen to move the folder after creating it and/or unpacking the .tar.gz file? Lastly, what Makefile are you using? |
ITensor is the name of the unzipped folder. The inside of the folder has exactly these files: Inside of ITensor/ITensor has exactly the files: In another laptop where I installed itensor couple of years ago, I see the file config.h in that directory. ITensor is the directory that the .tar.gz file was extracted into. I did not move the files after unzipping. I am using the makefile in the /ITensor/tutorial/01_one_site and /ITensor/tutorial/01_two_site as-is. |
Thanks! I see. That's the right Makefile to use for your own project based on ITensor. Did you build the ITensor Library itself? That is, did you do the steps described in the file INSTALL.md? Thanks. Those steps are what should generate the config.h file for you. (It is a detail of the building of the library you aren't supposed to need to know about, but I understand here it came up in the error message you saw.) |
I have tried both the github version and the .tar version. Directory ITensor/itensor/ does not have config.h
This error shows when I try the tutorials.
Previous versions had that file, I checked on another laptop.
The text was updated successfully, but these errors were encountered: