Dear all, Recently I use dmrg of alps. I run three dmrg programs simultaneously and sometimes I get the following information, which stop the program. I raise a question: since the dmrg write files while it is running, is there a problem when several programs run? These program may wirte the same files to the same folder, which will cause a problem. (I use the alps in windows 7). Thank you very much.
Sincerely, Huaiming Guo
The group '/spectrum' does not exist. Traceback (most recent call last): File "C:\Program Files\VisTrails\Python27_64\lib\site-packages\pyalps\load.py" , line 269, in ReadDiagDataFromFile if 'results' in self.h5f.list_children(respath): PathNotFound: The group '/spectrum' does not exist.
Usually writing in the same file is not very common, since each task gets its own output file.
The error that you see usually refers to the second half of the script, i.e. when you load and evaluate the results. Wen this happens usually something else went wrong in the previous step, i.e. running the actual dmrg program. Do you see any other error message?
Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On Oct 4, 2015, at 8:21 AM, 郭怀明 hmguo@buaa.edu.cn wrote:
Dear all, Recently I use dmrg of alps. I run three dmrg programs simultaneously and sometimes I get the following information, which stop the program. I raise a question: since the dmrg write files while it is running, is there a problem when several programs run? These program may wirte the same files to the same folder, which will cause a problem. (I use the alps in windows 7). Thank you very much.
Sincerely, Huaiming Guo
The group '/spectrum' does not exist. Traceback (most recent call last): File "C:\Program Files\VisTrails\Python27_64\lib\site-packages\pyalps\load.py" , line 269, in ReadDiagDataFromFile if 'results' in self.h5f.list_children(respath): PathNotFound: The group '/spectrum' does not exist.
Dear Michele Dolfi, I meet such error for two times. The system informs me that dmrg.exe has an error. The information contains "ReadDiagDataFromFile". I wonder whether it is the case: while dmrg runs, it saves some temporary datas, which may be saved to the same folder.
By the way, recently I use dmrg to calculate the correlation such as b^{\dagger}_i b_j. Since there are complex parameters in the Hamiltonian, the correlation may be complex number. It seems that the present version only return the real part of the measurement. I wonder whether it is the case.
Sincerely, Huaiming Guo
-----原始邮件----- 发件人: "Michele Dolfi" dolfim@phys.ethz.ch 发送时间: 2015年10月5日 星期一 收件人: comp-phys-alps-users@lists.phys.ethz.ch 抄送: 主题: Re: [ALPS-users] A question about the DMRG of alps
Usually writing in the same file is not very common, since each task gets its own output file.
The error that you see usually refers to the second half of the script, i.e. when you load and evaluate the results. Wen this happens usually something else went wrong in the previous step, i.e. running the actual dmrg program. Do you see any other error message?
Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On Oct 4, 2015, at 8:21 AM, 郭怀明 hmguo@buaa.edu.cn wrote:
Dear all, Recently I use dmrg of alps. I run three dmrg programs simultaneously and sometimes I get the following information, which stop the program. I raise a question: since the dmrg write files while it is running, is there a problem when several programs run? These program may wirte the same files to the same folder, which will cause a problem. (I use the alps in windows 7). Thank you very much.
Sincerely, Huaiming Guo
The group '/spectrum' does not exist. Traceback (most recent call last): File "C:\Program Files\VisTrails\Python27_64\lib\site-packages\pyalps\load.py" , line 269, in ReadDiagDataFromFile if 'results' in self.h5f.list_children(respath): PathNotFound: The group '/spectrum' does not exist.
On Oct 5, 2015, at 3:41 PM, 郭怀明 hmguo@buaa.edu.cn wrote:
Dear Michele Dolfi, I meet such error for two times. The system informs me that dmrg.exe has an error. The information contains "ReadDiagDataFromFile". I wonder whether it is the case: while dmrg runs, it saves some temporary datas, which may be saved to the same folder.
In theory the filenames are made unique by system calls to _mktemp(). If you really want to be sure you can set the parameter TEMP_DIRECTORY to point to different directories.
“ReadDiagDataFromFile” is again a Python function. There must be another reason why dmrg.exe gave an error.
By the way, recently I use dmrg to calculate the correlation such as b^{\dagger}_i b_j. Since there are complex parameters in the Hamiltonian, the correlation may be complex number. It seems that the present version only return the real part of the measurement. I wonder whether it is the case.
I don’t know the dmrg code so well, but indeed it seems to cast the result to real: #530:dmrg/dmrg.h av.push_back(real(iter++->value()));
These should not be an issue with the MPS codes, which unfortunately are outdated in the last Windows binary. If you have the possibility to compile ALPS from sources (either on some Unix machine or in a virtual machine), You should definitely give it a try.
Best regards, Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
Many Thanks, Michele. I am not familiar with compiling from source.
Is there a simple way to remove the “real” for complex value?
#530:dmrg/dmrg.h av.push_back(real(iter++->value()));
发件人: comp-phys-alps-users-bounces@lists.phys.ethz.ch [mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch] 代表 Michele Dolfi 发送时间: 2015年10月5日 22:23 收件人: comp-phys-alps-users@lists.phys.ethz.ch 主题: Re: [ALPS-users] A question about the DMRG of alps
On Oct 5, 2015, at 3:41 PM, 郭怀明 hmguo@buaa.edu.cn wrote:
Dear Michele Dolfi,
I meet such error for two times. The system informs me that dmrg.exe has an error. The information contains "ReadDiagDataFromFile". I wonder whether it is the case: while dmrg runs, it saves some temporary datas, which may be saved to the same folder.
In theory the filenames are made unique by system calls to _mktemp().
If you really want to be sure you can set the parameter TEMP_DIRECTORY to point to different directories.
“ReadDiagDataFromFile” is again a Python function. There must be another reason why dmrg.exe gave an error.
By the way, recently I use dmrg to calculate the correlation such as b^{\dagger}_i b_j. Since there are complex parameters in the Hamiltonian, the correlation may be complex number. It seems that the present version only return the real part of the measurement. I wonder whether it is the case.
I don’t know the dmrg code so well, but indeed it seems to cast the result to real:
#530:dmrg/dmrg.h av.push_back(real(iter++->value()));
These should not be an issue with the MPS codes, which unfortunately are outdated in the last Windows binary. If you have the possibility to compile ALPS from sources (either on some Unix machine or in a virtual machine), You should definitely give it a try.
Best regards,
Michele
--
ETH Zurich
Michele Dolfi
Institute for Theoretical Physics
HIT G 32.4
Wolfgang-Pauli-Str. 27
8093 Zurich
Switzerland
dolfim@phys.ethz.ch
www.itp.phys.ethz.ch
+41 44 633 78 56 phone
+41 44 633 11 15 fax
I’m not sure how many things have to be modified, but for sure doing it will require recompiling ALPS.
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On 05 Oct 2015, at 17:16, Huaiming Guo hmguo@buaa.edu.cn wrote:
Many Thanks, Michele. I am not familiar with compiling from source.
Is there a simple way to remove the “real” for complex value?
#530:dmrg/dmrg.h av.push_back(real(iter++->value()));
发件人: comp-phys-alps-users-bounces@lists.phys.ethz.ch mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch [mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch mailto:comp-phys-alps-users-bounces@lists.phys.ethz.ch] 代表 Michele Dolfi 发送时间: 2015年10月5日 22:23 收件人: comp-phys-alps-users@lists.phys.ethz.ch mailto:comp-phys-alps-users@lists.phys.ethz.ch 主题: Re: [ALPS-users] A question about the DMRG of alps
On Oct 5, 2015, at 3:41 PM, 郭怀明 <hmguo@buaa.edu.cn mailto:hmguo@buaa.edu.cn> wrote:
Dear Michele Dolfi, I meet such error for two times. The system informs me that dmrg.exe has an error. The information contains "ReadDiagDataFromFile". I wonder whether it is the case: while dmrg runs, it saves some temporary datas, which may be saved to the same folder.
In theory the filenames are made unique by system calls to _mktemp(). If you really want to be sure you can set the parameter TEMP_DIRECTORY to point to different directories.
“ReadDiagDataFromFile” is again a Python function. There must be another reason why dmrg.exe gave an error.
By the way, recently I use dmrg to calculate the correlation such as b^{\dagger}_i b_j. Since there are complex parameters in the Hamiltonian, the correlation may be complex number. It seems that the present version only return the real part of the measurement. I wonder whether it is the case.
I don’t know the dmrg code so well, but indeed it seems to cast the result to real: #530:dmrg/dmrg.h av.push_back(real(iter++->value()));
These should not be an issue with the MPS codes, which unfortunately are outdated in the last Windows binary. If you have the possibility to compile ALPS from sources (either on some Unix machine or in a virtual machine), You should definitely give it a try.
Best regards, Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch mailto:dolfim@phys.ethz.ch www.itp.phys.ethz.ch http://www.itp.phys.ethz.ch/
+41 44 633 78 56 phone +41 44 633 11 15 fax
I find the following error information, which cause the dmrg.exe stop. Hope it helps . *** ERROR: Could not open file block_ALPS_106_r.dat
-----原始邮件----- 发件人: "Michele Dolfi" dolfim@phys.ethz.ch 发送时间: 2015年10月5日 星期一 收件人: comp-phys-alps-users@lists.phys.ethz.ch 抄送: 主题: Re: [ALPS-users] A question about the DMRG of alps
Usually writing in the same file is not very common, since each task gets its own output file.
The error that you see usually refers to the second half of the script, i.e. when you load and evaluate the results. Wen this happens usually something else went wrong in the previous step, i.e. running the actual dmrg program. Do you see any other error message?
Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On Oct 4, 2015, at 8:21 AM, 郭怀明 hmguo@buaa.edu.cn wrote:
Dear all, Recently I use dmrg of alps. I run three dmrg programs simultaneously and sometimes I get the following information, which stop the program. I raise a question: since the dmrg write files while it is running, is there a problem when several programs run? These program may wirte the same files to the same folder, which will cause a problem. (I use the alps in windows 7). Thank you very much.
Sincerely, Huaiming Guo
The group '/spectrum' does not exist. Traceback (most recent call last): File "C:\Program Files\VisTrails\Python27_64\lib\site-packages\pyalps\load.py" , line 269, in ReadDiagDataFromFile if 'results' in self.h5f.list_children(respath): PathNotFound: The group '/spectrum' does not exist.
comp-phys-alps-users@lists.phys.ethz.ch