TL;DR: I’m trying to run a series of convolutions with CLIJ2 in a for() loop, but it seems that my computer “crashes” after a random number of loops. Introducing a wait(500) command after process-heavy steps seems to help somewhat (i.e. more loops get finished), but the code never finishes completely, so I have to tell it to pick up where it left off after each crash. @haesleinhuepf can you help?
Here are my computer specs:
OS: macOS Catalina version 10.15.5 (19F101)
CPU: 2.4 GHz Intel Core i9
RAM: 32 GB 2400 MHz DDR4
GPU1: Intel UHD Graphics 630 1536MB
GPU2: Radeon Pro Vega 20 4GB (I’m using this one for CLIJ2)
CLIJ2 Version 220.127.116.11
I’ve tested individual iterations of the for() loop manually, to check that my GPU has the memory to handle the convolution.
Unfortunately, FIJI doesn’t throw an error. My computer just goes to the login screen halfway through a random iteration of the for() loop, forcing me to log in again. Fiji re-opens on startup, but
Code is attached. The for() loop should go from slice = 1 to slice = 71, but I’ve changed the uploaded version so that it can pick up where it crashed.
Thanks for any advice!
TannerconvolveLITE.ijm (2.4 KB) golubsheet_0.488umwvl_focus_12mm_a1_0.1783mm_d1_0.39465mm-1.tif (7.9 MB) Output.tif (4.0 MB) PSF_1.49NA_1.515RI_509nm_50x50x100nm.tif (4.0 MB)