Jonas Kjellin
06/25/2026, 7:43 AMHaplotypeCaller and mutect2 when we run sarek 3.8.1 on our HPC w/o internet access.
OMP: Error #15: Initializing libomp.so, but found unknown library already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see <http://openmp.llvm.org/>
If we resume the runs it seems like we can get past it and for most runs it doesn't happen at all. So we can still get the work done but it's a bit frustrating. Any idea what could be causing this? We've been running this sarek version for quite some time w/o problems so I'm a bit confused why this is suddenly appearing..Maxime Garcia
06/25/2026, 7:47 AMJonas Kjellin
06/25/2026, 7:53 AMJonas Kjellin
06/25/2026, 7:54 AMThis error occurs because multiple libraries are trying to initialize different copies of the OpenMP (libomp) runtime inside the same Python process. This usually happens when you mix data science packages (like numpy, scikit-learn, pytorch, tensorflow, or matplotlib) that were compiled with different OpenMP variants.Maxime Garcia
06/25/2026, 7:54 AMMaxime Garcia
06/25/2026, 7:56 AMMaxime Garcia
06/25/2026, 7:56 AMMaxime Garcia
06/25/2026, 7:57 AMMatthias De Smet
06/25/2026, 8:04 AMJonas Kjellin
06/25/2026, 8:04 AMMatthias De Smet
06/25/2026, 9:04 AMMaxime Garcia
06/25/2026, 9:06 AMJonas Kjellin
06/25/2026, 10:11 AMJonas Kjellin
06/25/2026, 10:20 AMMaxime Garcia
06/25/2026, 10:23 AM