Skip to content
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

LinkObject Error #196

Open
GibbsJR opened this issue Jul 19, 2023 · 1 comment
Open

LinkObject Error #196

GibbsJR opened this issue Jul 19, 2023 · 1 comment

Comments

@GibbsJR
Copy link

GibbsJR commented Jul 19, 2023

Hi Tyson,

I have had another error I was hoping you could help identify the cause.

In my notebook I set off an iterative algorithm, which starts without complaining, then after several iterations I get this 'LinkObject' error, which breaks everything and I have to reset the notebook. I'm really not sure what causes it. I was wondering if my memory was blowing up for some reason, so I was using the 'MemoryInUse[]' function to print out the memory after each iteration, which as you can see does not seem to be significantly increasing. For reference I am operating on a ~10 qubit system with the density matrix simulator on a Tesla V100, which I think it should be able to handle comfortably.

Please let me know if you have suggestions of what may be the cause, your help is much appreciated.

Thanks,
Joe

image
@TysonRayJones
Copy link
Member

Hi Joe,

Sincere apologies for the enormous delay! Somehow I missed this issue - we can always discuss these in-person now ;)
The error you encountered seems a severe one; Mathematica disconnected from the QuESTlink backend process, possibly because that process crashed or communicated invalidly to the Mathematica kernel, or something timed out.

This is most likely a bug (and a worrisome one!) in QuESTlink's C++ backend. I share your suspicions that a memory leak caused an overflow somewhere; maybe local stack memory (much smaller than your total ~.2GB) was somewhere exceeded.
Could you give me some more information about the code you were running during this crash? (if you even remember! I imagine I'm hopelessly, uselessly late eheh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants