Skip to content
  • Cristian Lalescu's avatar
    [broken] setup.py now uses cmake instead of gcc · 813cfbec
    Cristian Lalescu authored
    package is broken, when I try `run_all_tests.sh" I get a linking
    problem:
    
    compiling code with command
    g++ symmetrize_test-single-v2.21.2.post31+gb443b203.dirty.cpp -o symmetrize_test-single-v2.21.2.post31+gb443b203.dirty -Wall -Wfatal-errors -O2 -g -mtune=native -march=native -ffast-math -std=c++11 -fopenmp -gdwarf-2 -rdynamic -fPIC -I/usr/lib/openmpi/include -I/scratch.local/chichi/installs/include -I/scratch.local/chichi/installs/py3/lib/python3.5/site-packages/bfps-2.21.2.post31+gb443b203.dirty-py3.5.egg/bfps/cpp -L/usr/lib/openmpi/lib -L/scratch.local/chichi/installs/lib -L/scratch.local/chichi/installs/lib64 -Wl,-rpath=/usr/lib/openmpi/lib -Wl,-rpath=/scratch.local/chichi/installs/lib -Wl,-rpath=/scratch.local/chichi/installs/lib64 -L/scratch.local/chichi/installs/py3/lib/python3.5/site-packages/bfps-2.21.2.post31+gb443b203.dirty-py3.5.egg/bfps -Wl,-rpath=/scratch.local/chichi/installs/py3/lib/python3.5/site-packages/bfps-2.21.2.post31+gb443b203.dirty-py3.5.egg/bfps -lbfps -lhdf5 -lfftw3_omp -lfftw3f_omp -lfftw3_mpi -lfftw3 -lfftw3f_mpi -lfftw3f -lmpi_cxx -lmpi -fopenmp
    /scratch.local/chichi/installs/py3/lib/python3.5/site-packages/bfps-2.21.2.post31+gb443b203.dirty-py3.5.egg/bfps/libbfps.a(symmetrize_test.cpp.o): In function `symmetrize_test<float>::do_work()':
    symmetrize_test.cpp:(.text._ZN15symmetrize_testIfE7do_workEv[_ZN15symmetrize_testIfE7do_workEv]+0x42): undefined reference to `fftw_planner_string_to_flag[abi:cxx11]'
    symmetrize_test.cpp:(.text._ZN15symmetrize_testIfE7do_workEv[_ZN15symmetrize_testIfE7do_workEv]+0xc8): undefined reference to `fftw_planner_string_to_flag[abi:cxx11]'
    /scratch.local/chichi/installs/py3/lib/python3.5/site-packages/bfps-2.21.2.post31+gb443b203.dirty-py3.5.egg/bfps/libbfps.a(symmetrize_test.cpp.o): In function `symmetrize_test<double>::do_work()':
    symmetrize_test.cpp:(.text._ZN15symmetrize_testIdE7do_workEv[_ZN15symmetrize_testIdE7do_workEv]+0x42): undefined reference to `fftw_planner_string_to_flag[abi:cxx11]'
    symmetrize_test.cpp:(.text._ZN15symmetrize_testIdE7do_workEv[_ZN15symmetrize_testIdE7do_workEv]+0xc8): undefined reference to `fftw_planner_string_to_flag[abi:cxx11]'
    collect2: error: ld returned 1 exit status
    813cfbec