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
Thread panicked #485
Comments
Sorry it didn't work! What version of Fil are you using, what version of Python, and what OS? |
fil-profile v 2022.7.1 |
Hm, I guess I should get Conda packages updated... |
You can try installing with |
Conda-Forge now has up-to-date packages (2023.1.0), so if that's what you were using, can you retest? Thank you! |
I installed the update, but haven't had a chance to check the results yet. |
Okay, I have a different error, but unrelated. I think that means it at least got past the thread-panicked problem. |
Great (and not so great). Tell me more about the new error! |
Okay, well our server was down for a bit, but I was able to fix the issues I was seeing in my code and re-run, and I'm still getting this error: thread '' panicked at 'already borrowed: BorrowMutError', filpreload/src/lib.rs:144:29 |
Sorry it's not working, I'll take a look. |
Oh and can you:
Thank you! |
Release:
The backtrace seems to have revealed nothing:
|
However long I run it, it starts, hits that error, continues to run for the duration, doing nothing. The profile is a bunch of memory usage on imports then nothing. |
Just talking through the code to remind myself (have to head out soon):
|
Could it be something in the way the slurm scheduler works? I apologize ahead of time for my lack of knowledge of all the inner workings lol. |
It's an HPC cluster I'm running it on. I do have some ability to add some libraries and such, if that's the problem. |
Probably not slurm. It's possible it's Redhat 7.9? Which BTW is losing extended support in a year, after which you'll have to pay extra for security updates (something to hassle the cluster administrator about). But that's just random guessing, I would have to figure out mechanism. I will read code some more and think. Could you tell me what libraries you're using? Are you using threads? |
It's all Python: python 3.10 As far as Red Hat goes, it's been a whole thing that I stay out of lol. Above my paygrade. |
It's single threaded at the moment. I tried requesting more processers from the server to see if that solved it, but it had no effect. |
Hm. I think I may've found one place that could be causing the issue. |
I will try to do release later today. |
Release with fix is out. |
I'm getting a weird error when I try to use this profiler as part of a batch submission job. The error logs I'm seeing look like this:
Then, that's it. The program never starts. The same command on the command line works fine. Here is my input command:
The text was updated successfully, but these errors were encountered: