-
Notifications
You must be signed in to change notification settings - Fork 2
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
e-SRRF exception memory #3
Comments
A quick look at the eSRRF code points to a possible issue loading OpenCL. Are you sure you have a working installation? |
Hi Alfonso. How do I check the OpenCL instalallation?
El lun, 2 may 2022 a la(s) 19:07, Afonso Mendes ***@***.***)
escribió:
… A quick look at the eSRRF code points to a possible issue loading OpenCL.
Are you sure you have a working installation?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7M3W2KA5DAPP5CYPUQOOLVIBU3RANCNFSM5TN2NSKQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I believe you are running Linux. If so, can you open a new terminal and write "clinfo" without the quotes, then press Enter. |
Yes, you are right, I have linux. I made a screenshot.
El mar, 3 may 2022 a la(s) 05:39, Afonso Mendes ***@***.***)
escribió:
… I believe you are running Linux. If so, can you open a new terminal and
write "clinfo" without the quotes, then press Enter.
Let me know the output of that.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7M3W5US2YUFH53RL6PBYLVID67ZANCNFSM5TN2NSKQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, I run on another computer with linux. The result is:
Number of platforms 0
El mar, 3 may 2022 a la(s) 07:42, Esley Torres ***@***.***) escribió:
… Yes, you are right, I have linux. I made a screenshot.
El mar, 3 may 2022 a la(s) 05:39, Afonso Mendes ***@***.***)
escribió:
> I believe you are running Linux. If so, can you open a new terminal and
> write "clinfo" without the quotes, then press Enter.
> Let me know the output of that.
>
> —
> Reply to this email directly, view it on GitHub
> <#3 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AM7M3W5US2YUFH53RL6PBYLVID67ZANCNFSM5TN2NSKQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
You did not share the screenshot, I think. For the "Number of platforms 0" error you might want to check this thread: https://stackoverflow.com/questions/54567402/clinfo-shows-number-of-platforms-0 Seems like some issue with your graphics drivers. Do you have an Nvidia or AMD GPU? |
I do not have a GPU. Can I still run e-SRRF?
El mar, 3 may 2022 a la(s) 09:00, Afonso Mendes ***@***.***)
escribió:
… You did not share the screenshot, I think.
For the "Number of platforms 0" error you might want to check this thread:
https://stackoverflow.com/questions/54567402/clinfo-shows-number-of-platforms-0
Seems like some issue with your graphics drivers. Do you have an Nvidia or
AMD GPU?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7M3WY3D6S4VNJELUITTEDVIEWODANCNFSM5TN2NSKQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm not sure, but in theory, yes. OpenCL should detect your CPU as a platform and allow it to be used. I've read multiple recent threads with this issue in Ubuntu and it seems related to your OpenCL SDK. |
So, how can I check the OpenCL SDK?
El jue., 5 may. 2022 5:44, Afonso Mendes ***@***.***>
escribió:
… I'm not sure, but in theory, yes. OpenCL should detect your CPU as a
platform and allow it to be used. I've read multiple recent threads with
this issue in Ubuntu and it seems related to your OpenCL SDK.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7M3W5XBVLZ3LSL6NLHTMDVIORBTANCNFSM5TN2NSKQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi @EsleyGit, you can find some instructions to set up openCL on linux correctly here: https://clij.github.io/clij2-docs/faq |
Hi @EsleyGit, here you find some information on how to setup you CPU for OpenCL: https://www.intel.com/content/www/us/en/developer/articles/tool/opencl-drivers.html |
Hi all, I have the same problem, may I ask for your advice how to fix it? I have Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz with 32.0 GB RAM (31.3 GB usable)
Thanks in advance! |
Hi, this could be also the incompatibility issue with CLIJ (see also #2). Could you please try with a Fiji without CLIJ? |
Hi - Thank you! The error itself: java.lang.NoClassDefFoundError: com/jogamp/opencl/CLMemory Mac: java.lang.NoClassDefFoundError: com/jogamp/opencl/CLException |
Hi, it is hard to pinpoint what exactly is going wrong with openCL. Usually updating everything (Fiji, openCL and JRE) has been a fix for some users. |
I encountered the same issue on three Windows 10 machines running Intel CPUs (two) or AMD Threadripper and Nvidia 2070 or 2070S GPUs with nvidia driver version 531. This is a show stopping bug without any recourse from the user. I lost access to the Threadripper machine but if I remember correctly I worked around the issue by installing the Microsoft DirectX12 wrapper for OpenCL https://apps.microsoft.com/store/detail/opencl%E2%84%A2-and-opengl%C2%AE-compatibility-pack/9NQPSL29BFFF?hl=en-us&gl=us. I am waiting to get admin access on the Intel machines to test the CPU OpenCL Runtime https://www.intel.com/content/www/us/en/developer/articles/technical/intel-cpu-runtime-for-opencl-applications-with-sycl-support.html The CPU runtime works fine on my 12th Gen Intel GPU-less laptop (but it runs slower than the IGP), might be a good option to still executed algorithm if the DX12 wrapper fails. |
Hi
|
If you are working on Windows 10/11 and you would like to use other NanoJ Plugins aswell you might also need to install the OpenCL™ and OpenGL® Compatibility Pack (https://apps.microsoft.com/store/detail/opencl%E2%84%A2-and-opengl%C2%AE-compatibility-pack/9NQPSL29BFFF?hl=en-us&gl=us&activetab=pivot%3Aoverviewtab) In that case please make sure to select the following settings: Advanced settings > Processing device > Default device |
This fixed my issue, thank you! eSRRF is now running correctly. Let me know if you would like to have more precise information regarding the missing libraries, I made a backup of the FIJI folder and could look into that. Thanks again for helping! I will look into the compatibility layer since SQUIRREL is crashing FIJI on my Win11 laptop and at least one of the other Win10 machines. |
Thank you for the fast reply, @DSbioimaging! Glad that it works! I'll try to add the libraries directly to the update site to make sure everyone gets them automatically in the future. The compatibility package should help you with SQUIRREL, just make sure to select the following eSRRF settings: Advanced settings > Processing device > Default device, because there is some overlap in the device names in the resulting OpenCl setup. |
Hi @DSbioimaging, I've now added the libraries that have been removed with the latest Fiji update to the eSRRF update site. They should be automatically downloaded from now on. Thank you for spotting this! Have a great day! Best, Hannah |
@HannahSHeil thank you for taking care of the update site and releasing this great tool. I planned to refine my SRRF protocol during this week and you helped me stay on track. The FRC measured around 70nm from a 3 years old slide, it is so cool! :) There seems to be some hiccups here and there with the Nvidia GPU though. My machine is set by IT to log off after a brief period of inactivity and SRRF occasionally fails to find the device when resuming the session. The parameter sweep is also a bit unreliable (unstable) so I run it with the Intel IGP (HD620). I think this is probably some problem between windows and the graphics card being set to some energy saving state or something about the libraries themselves not playing nice with the Nvidia OpenCL implementation. Will try a fresh eSRRF installation using the update site and report back if I encounter any issue. Best, |
Hi @DSbioimaging, did you retry the update? It is a bit strange, as the checksum timestamp is older than the version that is on the update site. I can try to reproduce this. Was it windows or Mac? |
@HannahSHeil I redownloaded a fresh FIJI folder and verified that SRRF runs on my Intel IGP laptop running Win11. |
Hi, I have the following exception:
(Fiji Is Just) ImageJ 2.3.0/1.53q; Java 1.8.0_172 [64-bit]; Linux 5.13.0-39-generic; 1225MB of 2332MB (52%)
java.lang.NoClassDefFoundError: com/jogamp/opencl/CLException
at nanoj.liveSRRF.gui.LiveSRRF_optimised_.run(LiveSRRF_optimised_.java:155)
at ij.IJ.runUserPlugIn(IJ.java:243)
at ij.IJ.runPlugIn(IJ.java:204)
at ij.Executer.runCommand(Executer.java:152)
at ij.Executer.run(Executer.java:70)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.jogamp.opencl.CLException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 6 more
Can somebody explain me what is the problem and how solve it?
Thank you a lot.
The text was updated successfully, but these errors were encountered: