Hi @tmendozarias, if you run % echo $LD_PRELOAD inside your Jupyter notebook, does it show the /usr/lib/aarch64-linux-gnu/libgomp.so.1 path that you set it to? If not, Jupyter must not be picking up that environment variable and maybe you can run % export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1 at the top of your notebook.
It seems that Jupyter spawns a separate process to execute the Python code from the notebook, which is why it’s not picking up the LD_PRELOAD variable that you set before.
@dusty_nv As i understand, the command c = get_config() is deprecrated. Am I correct? Because i ran it and it told me that get_config() is not defined.
I was able to solve the problem by modifying the service file that runs the jupyterlab for remote connection. I added the export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1 in the ExecStart line and now it works. Thanks for your help!
The problem I was having and what I think the OP was talking about was using a service to run the jupyter notebook server. Apparently systemd won’t use the library unless you explicitly tell it in the service file. I had to add