Search found 7 matches

by Gun
31 Dec 2024, 14:14
Forum: HowTos and FAQ for TeNPy
Topic: Error with resuming dmrg calculation
Replies: 3
Views: 49504

Re: Error with resuming dmrg calculation

Hi everyone, I’m running DMRG on an HPC that allows jobs up to 24 hours. I request 24 hours of walltime on a single node. In my YML file, I set 'max_hours=20' to provide TenPY a buffer to successfully finish the calculation so that the job is not killed in mid sweep. After the run stops, I get an .h...
by Gun
24 Jul 2024, 11:51
Forum: HowTos and FAQ for TeNPy
Topic: Error with resuming dmrg calculation
Replies: 3
Views: 49504

Re: Error with resuming dmrg calculation

My dirty workaround solution would be to add a line between 544 and 545 in simulation.py as follows: params = self.options.subconfig('algorithm_params') #line 544 if 'min_sweeps' in params: params['min_sweeps']=kwargs['resume_data']['sweeps'] #line that updates the min_sweep condition according to p...
by Gun
24 Jul 2024, 00:03
Forum: HowTos and FAQ for TeNPy
Topic: Error with resuming dmrg calculation
Replies: 3
Views: 49504

Re: Error with resuming dmrg calculation

Previously, I had this message as a post-script, but I have decided to submit it as a separate message: I think I should also provide my attempt at debugging. Feel free to ignore my attempt. Short explanation: In the method tenpy.simulations.ground_state_search.GroundStateSearch.init_algorithm , ' r...
by Gun
22 Jul 2024, 12:54
Forum: HowTos and FAQ for TeNPy
Topic: Error with resuming dmrg calculation
Replies: 3
Views: 49504

Error with resuming dmrg calculation

Hello! I have been using TeNPy for investigating a custom model on a cluster provided by my university. For this reason, I have been using the ‘simulation’ interface of TeNPy. However, I have been having trouble continuing calculations that are interrupted before converging due to the time limits on...
by Gun
06 May 2024, 20:35
Forum: HowTos and FAQ for TeNPy
Topic: Issue with Missing Subscripts on Fermionic Operators in all_coupling_terms().to_TermList() Output
Replies: 4
Views: 12039

Re: Issue with Missing Subscripts on Fermionic Operators in all_coupling_terms().to_TermList() Output

Hi again, I wanted to provide additional information. I have encountered a similar problem when using the add_multi_coupling function for defining four-point interactions. More relevant to my project I am trying to implement intearctions of the form: f^\dagger_{i\downarrow}f_{i\uparrow}f^\dagger_{i+...
by Gun
06 May 2024, 11:32
Forum: HowTos and FAQ for TeNPy
Topic: Issue with Missing Subscripts on Fermionic Operators in all_coupling_terms().to_TermList() Output
Replies: 4
Views: 12039

Issue with Missing Subscripts on Fermionic Operators in all_coupling_terms().to_TermList() Output

Hi everyone. I am new to TeNPy and currently working on a project involving spin-half fermions. I’ve come across an issue with the output format from the all_coupling_terms().to_TermList() when using the add_coupling function for defining hopping terms. Description of the Issue: The output seems to ...