-
Notifications
You must be signed in to change notification settings - Fork 125
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
[ITensors] [BUG] Compilation using ITensors.compile()
doesn't work; "No method is defined..."
#1605
Comments
Please try loading |
Thanks, I’ll try that. Can you update the documentation to reflect that please, since it’s currently not clear? (A quick google for the error I had wasn’t helpful either) |
Sure, will do. |
Add warning in `ITensors.compile()` docstring about requiring `ITensorMPS.jl` to be loaded in ITensors v0.7. Addresses #1605.
This actually still doesn't work for me. I'm doing exactly what you've put in the new docs, i.e. using ITensors, ITensorMPS
ITensors.compile() but I get the same error. I've also replicated this error on three different machines (one Windows, two Linux). |
Oops, sorry about that. I forgot you also have to install and load So this should work: using ITensors, ITensorMPS
using PackageCompiler
ITensors.compile() I'll clarify that in the docs. |
Thanks, seems to be working now! |
Description of bug
When running ITensors.compile(), as detailed here, I get an error: the method doesn't seem to be found. The code in
compile.jl
seems to be missing: see hereMinimal code demonstrating the bug or unexpected behavior
Minimal runnable code
Expected output or behavior
ITensor compiles without issue.
Actual output or behavior
Output of minimal runnable code
Version information
versioninfo()
:using Pkg; Pkg.status("ITensors")
:The text was updated successfully, but these errors were encountered: