Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile/install error #2

Open
toehold opened this issue Oct 3, 2019 · 1 comment
Open

compile/install error #2

toehold opened this issue Oct 3, 2019 · 1 comment

Comments

@toehold
Copy link

toehold commented Oct 3, 2019

Hi,

when trying to compile/install with this command:
python install.py --tests median --clean


                GEDLIB 1.0                    
            Installation Script               

***** External libraries already installed. *****

***** Create directories for shared libraries, executables and output. *****

***** Clean build directory. *****

***** Goto build directory. *****

***** Run CMake. *****
-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 4.9.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Building GEDLIB with build type 'Release'.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Configuring done
-- Generating done
-- Build files have been written to: /data/juno/gedlib/build

***** Build test executables. *****
Scanning dependencies of target gxlgedlib
[ 25%] Building CXX object src/CMakeFiles/gxlgedlib.dir/env/ged_env.gxl.cpp.o
Linking CXX shared library ../../lib/libgxlgedlib.so
[ 25%] Built target gxlgedlib
Scanning dependencies of target median_tests
[ 50%] Building CXX object median/CMakeFiles/median_tests.dir/tests/median_tests.cpp.o
Linking CXX executable ../../median/bin/median_tests
../../lib/libgxlgedlib.so: undefined reference to GOMP_critical_end' ../../lib/libgxlgedlib.so: undefined reference to omp_get_thread_num'
../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_ull_dynamic_start' ../../lib/libgxlgedlib.so: undefined reference to omp_get_num_threads'
../../lib/libgxlgedlib.so: undefined reference to GOMP_parallel' ../../lib/libgxlgedlib.so: undefined reference to omp_get_max_threads'
../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_end_nowait' ../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_ull_dynamic_next'
../../lib/libgxlgedlib.so: undefined reference to GOMP_critical_start' ../../lib/libgxlgedlib.so: undefined reference to omp_set_num_threads'
../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_dynamic_next' ../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_dynamic_start'
collect2: error: ld returned 1 exit status
make[3]: *** [../median/bin/median_tests] Error 1
make[2]: *** [median/CMakeFiles/median_tests.dir/all] Error 2
make[1]: *** [median/CMakeFiles/median.dir/rule] Error 2
make: *** [median] Error 2

***** Successfully installed GEDLIB. *****

Any ideas?

@dbblumenthal
Copy link
Owner

Sorry for replying so late. Seems to be a problem with OpenMP. On which system are you working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants