multinichenetr icon indicating copy to clipboard operation
multinichenetr copied to clipboard

Issue with parallelization of `get_ligand_activities_targets_DEgenes` on some systems

Open browaeysrobin opened this issue 2 years ago • 5 comments

Parellelization seems stalled @maartenciers

in case you encounter this issue: run the function with one core only in serial way

browaeysrobin avatar Aug 10 '23 15:08 browaeysrobin

get_ligand_activities_targets_DEgenes_beta, currently in dev-branch, but soon in main branch, enables parallelization.

browaeysrobin avatar Dec 19 '23 17:12 browaeysrobin

get_ligand_activities_targets_DEgenes_beta is on the main branch now.

browaeysrobin avatar May 16 '24 07:05 browaeysrobin

I have tried to run both get_ligand_activities_targets_DEgenes and get_ligand_activities_targets_DEgenes_beta on RStudio Server on the gizmo compute cluster, but I still experience issues with parallelization. I had to manually remove the parallelization part to run the function in a serial way. I am not sure if this is a specific issue with the settings of RStudio Server on the cluster or with the function itself.

Could you please provide guidance on how to troubleshoot or resolve this issue? Any insights into potential configuration adjustments or code modifications that might be necessary would be greatly appreciated.

Thank you!

Huangy57 avatar Jun 12 '24 18:06 Huangy57

Hi @Huangy57

Unfortunately, we don't have concrete ideas for the reasons behind these issues on some systems, and currently no manpower/bandwidth to look into this.

For other people having this issue; please use n_cores = 1 as argument in the function, you don't need to code to have it run.

browaeysrobin avatar Jul 02 '24 14:07 browaeysrobin