question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Symbol not found: _GOMP_parallel

See original GitHub issue

Hello, I am relatively new to python. Sorry if I am missing any information.

Velocyto installation completed, but when running velocyto --help to test installation I receive the following error:

$ velocyto --help
Traceback (most recent call last):
  File "/anaconda3/bin/velocyto", line 7, in <module>
    from velocyto.commands.velocyto import cli
  File "/anaconda3/lib/python3.6/site-packages/velocyto/__init__.py", line 13, in <module>
    from .estimation import fit_slope, _fit1_slope, clusters_stats
  File "/anaconda3/lib/python3.6/site-packages/velocyto/estimation.py", line 7, in <module>
    from .speedboosted import _colDeltaCor, _colDeltaCorLog10, _colDeltaCorSqrt
ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/velocyto/speedboosted.cpython-36m-darwin.so, 2): Symbol not found: _GOMP_parallel
  Referenced from: /anaconda3/lib/python3.6/site-packages/velocyto/speedboosted.cpython-36m-darwin.so
  Expected in: flat namespace
 in /anaconda3/lib/python3.6/site-packages/velocyto/speedboosted.cpython-36m-darwin.so

I think this likely has something to do with my gcc version, but I’m not sure how to fix the problem.

$ python -V
Python 3.6.3 :: Anaconda custom (64-bit)
$ which gcc
/anaconda3/bin/gcc
$ gcc --version
gcc (GCC) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
gioelelmcommented, Mar 23, 2018

Finally, if this does not work as well I had prepared a hacky solution for this occurrence.

  • Unistall the current version.
  • Get the source code cloning the repo.
  • Change the setup.py script setting C_COMPILE = False
  • Run pip install -e .

This will install the estensions that I precompiled on my machine.

0reactions
Julie-UMcommented, Apr 8, 2022

Is this solved? If not, try conda install llvm, conda install gcc or conda install libgcc. If this also does not work, try adding -c conda-forge I am pretty sure the version of the compiler provided by conda forge supports openmp.

Hi, when I use conda to RUN velocyto in terminal of macbook pro, it retruns such problem. Do you have any ideas to resolve it? Many thanks! I had tried The methods you mentioned above, but is not suitable for my problem. WechatIMG15

Read more comments on GitHub >

github_iconTop Results From Across the Web

JNI: undefined symbol GOMP_parallel - Stack Overflow
When using objdump to explore the symbols contained by the library, the referred one is found, although it seems to be marked as...
Read more >
"Undefined symbol: GOMP_parallel" on CentOS 6.5
Hello everyone, I am currently running Torch under CentOS 6.5 and I am having some. GOMP related issues that I have been unable...
Read more >
libopenblas0-openmp: undefined symbol: GOMP_parallel ...
Debian Bug report logs - #945791 libopenblas0-openmp: undefined symbol: GOMP_parallel. version graph. Package: libopenblas0-openmp; Maintainer ...
Read more >
The caveat of building OpenMP program | Nan Xiao's Blog
During the link phase, the gcc complained it can't find GOMP_parallel . So we need to add -fopenmp in link command too:
Read more >
undefined reference to symbol 'GOMP_parallel@@GOMP_4.0'
undefined reference to symbol 'GOMP_parallel@@GOMP_4.0'**编译时出现undefined reference to symbol 'GOMP_parallel@@GOMP_4.0'错误如何解决编译时 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found