dbblumenthal / gedlib

An easily extensible C++ library for (suboptimally) computing the graph edit distance between attributed graphs.
GNU Lesser General Public License v3.0
55 stars 15 forks source link

compile/install error #2

Open toehold opened 4 years ago

toehold commented 4 years ago

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 toomp_get_thread_num' ../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_ull_dynamic_start' ../../lib/libgxlgedlib.so: undefined reference toomp_get_num_threads' ../../lib/libgxlgedlib.so: undefined reference to GOMP_parallel' ../../lib/libgxlgedlib.so: undefined reference toomp_get_max_threads' ../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_end_nowait' ../../lib/libgxlgedlib.so: undefined reference toGOMP_loop_ull_dynamic_next' ../../lib/libgxlgedlib.so: undefined reference to GOMP_critical_start' ../../lib/libgxlgedlib.so: undefined reference toomp_set_num_threads' ../../lib/libgxlgedlib.so: undefined reference to GOMP_loop_dynamic_next' ../../lib/libgxlgedlib.so: undefined reference toGOMP_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 commented 4 years ago

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