-
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
Two issues in installing ITensor c++ on Windows #392
Comments
Hi. I ran into the same issue as YuhanLiuSYSU when I updated ITensor on Cygwin. I did a quick Google search and got here. |
Could one of you make a pull request with the minimal changes needed to get it working on Cygwin? If the tests pass we can merge it. |
Would it help if I placed the file here? |
Please try making a pull request with the desired changes. If you don't know how, there are many resources online to learn how to do it. Have you considered using the Julia version (https://github.com/ITensor/ITensors.jl)? We highly recommend that version over the C++ version (for many reasons, one of which is that the installation is much easier). |
Hello Matthew, thanks for the tip. |
Hi, I struggled with this cygwin problem as well for a bit (and found this issue here exactly after I managed to solve it :) |
@haggaila , please go ahead, by all means! I'm actually sold on the idea of migrating to the Julia version and I'm giving it a try... ;) Thanks! |
@mtfishman could you please advise on the preferred naming convention for the local variables |
That seems fine. Or what about |
|
I am using windows 10 with Cygwin for installation and here are two issues I encounter, along with my (might not be the most elegant) solutions:
Issue 1
The
Makefile
in itensor folder does not write onthis_dir.mk
. To resolve it, I replace@echo "THIS_DIR=$(PWD)"
byIssue 2
When compling
algs.cc
, I got the error:My solution is simply replacing
_N
and_Rrows
by names that don't contain underscore. I don't fully understand the reason behind and I still wonder what cause this problem.I am a very beginner to makefile so these might be really trivial. But maybe it can help other beginners :)
The text was updated successfully, but these errors were encountered: