确保您仔细阅读了错误信息,并根据提示进行调试。如果错误信息明确指出缺少gomp_parallel的引用,那么很可能是链接选项没有正确设置。 综上所述,解决“undefined reference to `gomp_parallel'”问题的关键在于确保OpenMP库被正确链接到您的程序中。检查编译命令、编译器支持和OpenMP库的安装情况,并根据需要调整编译选项。
ImportError: ../wrapper/bilateralfilter/build/lib.linux-x86_64-3.6/_bilateralfilter.cpython-36m-x86_64-linux-gnu.so: undefined symbol: GOMP_parallel Would you kindly give me some suggestions for solving this problem? Any suggestions will be appreciated. And can you post your version of libraries...
GOMP_parallel stack traceback: [C]: in function 'error' /home/pepe/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' fast_neural_style.lua:3: in main chunk [C]: in function 'dofile' ...pepe/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main ...
undefined symbol: dnnl_reorder_primitive_desc_create (./libinfer-jna.so) undefined symbol: GOMP_parallel, version VERSION (./libinfer-jna.so) undefined symbol: dnnl_stream_destroy (./libinfer-jna.so) undefined symbol: dnnl_stream_create (./libinfer-jna.so) undefined symbol: _ZN11paddle2...
/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_critical_end'/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_parallel'/usr/bin/ld:...
undefined reference to 'GOMP_barrier' ../lib/.libs/libgretl-1.0.so: error: undefined reference to 'omp_get_wtime' ../lib/.libs/libgretl-1.0.so: error: undefined reference to 'omp_set_num_threads' ../lib/.libs/libgretl-1.0.so: error: undefined reference to 'GOMP_parallel' ../lib/...
/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_critical_end'/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_parallel'/usr/bin/ld: /cluster/...
/usr/local/lib/libopencv_core.so.3.3.0:undefined reference to ‘GOMP_parallel@GOMP_4.0’ collect2: error: ld returned 1 exit status CMakeFiles/example.dir/build.make:138: recipe for target 'example' failed make[2]: *** [example] Error 1 ...
/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_critical_end'/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_parallel'/usr/bin/ld: /cluster/...
/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_critical_end'/usr/bin/ld: /cluster/shared/apps/oneapi/mkl/2024.0/lib/libmkl_gnu_thread.so: undefined reference to `GOMP_parallel'/usr/bin/ld:...